Skip to content

Instantly share code, notes, and snippets.

@someara
Created June 7, 2011 16:04
Show Gist options
  • Save someara/1012554 to your computer and use it in GitHub Desktop.
Save someara/1012554 to your computer and use it in GitHub Desktop.
redis fc16 epel6 backport attempt
[mockbuild@localhost SRPMS]$ cat /var/lib/mock/epel-6-x86_64/result/build.log
Mock Version: 1.1.10
ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/redis.spec'], False, '/var/lib/mock/epel-6-x86_64/root/', None, 0, True, 0, 500, 502, None, logger=<mock.trace_decorator.getLog object at 0x15d5b90>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/redis.spec']
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/redis-2.2.5-2.el6.src.rpm
Child returncode was: 0
LEAVE do -->
ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/redis.spec'], False, '/var/lib/mock/epel-6-x86_64/root/', None, 0, True, 0, 500, 502, None, logger=<mock.trace_decorator.getLog object at 0x15d5b90>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/redis.spec']
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VBP7Gq
+ umask 022
+ cd /builddir/build/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /builddir/build/BUILD
+ rm -rf redis-2.2.5
+ /bin/tar -xf -
+ /usr/bin/gzip -dc /builddir/build/SOURCES/redis-2.2.5.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd redis-2.2.5
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #0 (redis-2.2.2-redis.conf.patch):
+ echo 'Patch #0 (redis-2.2.2-redis.conf.patch):'
+ /usr/bin/patch -s -p1 --fuzz=0
+ /bin/cat /builddir/build/SOURCES/redis-2.2.2-redis.conf.patch
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.D9XmQQ
+ umask 022
+ cd /builddir/build/BUILD
+ cd redis-2.2.5
+ LANG=C
+ export LANG
+ unset DISPLAY
+ make DEBUG= 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -std=c99' USE_TCMALLOC=yes all
cd src && make all
make[1]: Entering directory `/builddir/build/BUILD/redis-2.2.5/src'
cd ../deps/hiredis && make static ARCH=""
make[2]: Entering directory `/builddir/build/BUILD/redis-2.2.5/deps/hiredis'
cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -std=c99 net.c
cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -std=c99 hiredis.c
cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -std=c99 sds.c
cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -std=c99 async.c
ar rcs libhiredis.a net.o hiredis.o sds.o async.o
make[2]: Leaving directory `/builddir/build/BUILD/redis-2.2.5/deps/hiredis'
cd ../deps/linenoise && make ARCH=""
make[2]: Entering directory `/builddir/build/BUILD/redis-2.2.5/deps/linenoise'
cc -c -Wall -W -Os -g linenoise.c
cc -c -Wall -W -Os -g example.c
cc -Wall -W -Os -g -o linenoise_example linenoise.o example.o
make[2]: Leaving directory `/builddir/build/BUILD/redis-2.2.5/deps/linenoise'
cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -std=c99 ae.c
cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -std=c99 anet.c
cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -std=c99 -I../deps/hiredis redis-benchmark.c
cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -std=c99 sds.c
cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -std=c99 adlist.c
cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -std=c99 zmalloc.c
cd ../deps/hiredis && make static
make[2]: Entering directory `/builddir/build/BUILD/redis-2.2.5/deps/hiredis'
make[2]: Nothing to be done for `static'.
make[2]: Leaving directory `/builddir/build/BUILD/redis-2.2.5/deps/hiredis'
cc -o redis-benchmark -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -std=c99 -lm -pthread -ltcmalloc ae.o anet.o redis-benchmark.o sds.o adlist.o zmalloc.o ../deps/hiredis/libhiredis.a
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../libtcmalloc.so when searching for -ltcmalloc
/usr/bin/ld: skipping incompatible /usr/lib/libtcmalloc.so when searching for -ltcmalloc
/usr/bin/ld: cannot find -ltcmalloc
collect2: ld returned 1 exit status
make[1]: Leaving directory `/builddir/build/BUILD/redis-2.2.5/src'
RPM build errors:
make[1]: *** [redis-benchmark] Error 1
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.D9XmQQ (%build)
Bad exit status from /var/tmp/rpm-tmp.D9XmQQ (%build)
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/redis.spec']
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/mock/trace_decorator.py", line 70, in trace
result = func(*args, **kw)
File "/usr/lib/python2.6/site-packages/mock/util.py", line 328, in do
raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/redis.spec']
LEAVE do --> EXCEPTION RAISED
[mockbuild@localhost SRPMS]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment