Skip to content

Instantly share code, notes, and snippets.

@santisaez
Created January 18, 2012 09:27
Show Gist options
  • Save santisaez/1632139 to your computer and use it in GitHub Desktop.
Save santisaez/1632139 to your computer and use it in GitHub Desktop.
memcached 1.4.11 RPM build on RHEL-6 i386
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yLSyEc
+ umask 022
+ cd /home/powerstack/BUILD
+ cd /home/powerstack/BUILD
+ rm -rf memcached-1.4.11
+ /usr/bin/gzip -dc /home/powerstack/SOURCES/memcached-1.4.11.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd memcached-1.4.11
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (memcached-1.4.11-gcc-atomictest.patch):'
Patch #0 (memcached-1.4.11-gcc-atomictest.patch):
+ /bin/cat /home/powerstack/SOURCES/memcached-1.4.11-gcc-atomictest.patch
+ /usr/bin/patch -s -p1 -b --suffix .gcc-atomictest --fuzz=2
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.f3Nwlc
+ umask 022
+ cd /home/powerstack/BUILD
+ cd memcached-1.4.11
+ CFLAGS='-O2 -g -march=i386 -mtune=i686'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -march=i386 -mtune=i686'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -march=i386 -mtune=i686'
+ export FFLAGS
+ ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for icc in use... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether __SUNPRO_C is declared... no
checking for gcc option to accept ISO C99... -std=gnu99
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking for gcov... /usr/bin/gcov
checking for main in -lgcov... yes
checking for library containing clock_gettime... -lrt
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for libevent directory... (system)
checking for library containing umem_cache_create... no
checking for library containing gethugepagesizes... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inttypes.h... (cached) yes
checking for print macros for integers (C99 section 7.8.1)... yes
checking for an ANSI C-conforming const... yes
checking for socklen_t... yes
checking for endianness... little
checking for htonll... no
checking for library containing pthread_create... none required
checking for mlockall... yes
checking for getpagesizes... no
checking for memcntl... no
checking for sigignore... yes
checking for clock_gettime... yes
checking for alignment... need
checking for setppriv... no
checking umem.h usability... no
checking umem.h presence... no
checking for umem.h... no
checking for xml2rfc... no
checking for xsltproc... /usr/bin/xsltproc
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
+ make -j4
make all-recursive
make[1]: Entering directory `/home/powerstack/BUILD/memcached-1.4.11'
Making all in doc
make[2]: Entering directory `/home/powerstack/BUILD/memcached-1.4.11/doc'
make all-am
make[3]: Entering directory `/home/powerstack/BUILD/memcached-1.4.11/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/powerstack/BUILD/memcached-1.4.11/doc'
make[2]: Leaving directory `/home/powerstack/BUILD/memcached-1.4.11/doc'
make[2]: Entering directory `/home/powerstack/BUILD/memcached-1.4.11'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -O2 -g -march=i386 -mtune=i686 -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-memcached.o -MD -MP -MF .deps/memcached-memcached.Tpo -c -o memcached-memcached.o `test -f 'memcached.c' || echo './'`memcached.c
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -O2 -g -march=i386 -mtune=i686 -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-hash.o -MD -MP -MF .deps/memcached-hash.Tpo -c -o memcached-hash.o `test -f 'hash.c' || echo './'`hash.c
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -O2 -g -march=i386 -mtune=i686 -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-slabs.o -MD -MP -MF .deps/memcached-slabs.Tpo -c -o memcached-slabs.o `test -f 'slabs.c' || echo './'`slabs.c
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -O2 -g -march=i386 -mtune=i686 -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-items.o -MD -MP -MF .deps/memcached-items.Tpo -c -o memcached-items.o `test -f 'items.c' || echo './'`items.c
mv -f .deps/memcached-hash.Tpo .deps/memcached-hash.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -O2 -g -march=i386 -mtune=i686 -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-assoc.o -MD -MP -MF .deps/memcached-assoc.Tpo -c -o memcached-assoc.o `test -f 'assoc.c' || echo './'`assoc.c
mv -f .deps/memcached-assoc.Tpo .deps/memcached-assoc.Po
mv -f .deps/memcached-items.Tpo .deps/memcached-items.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -O2 -g -march=i386 -mtune=i686 -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-thread.o -MD -MP -MF .deps/memcached-thread.Tpo -c -o memcached-thread.o `test -f 'thread.c' || echo './'`thread.c
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -O2 -g -march=i386 -mtune=i686 -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-daemon.o -MD -MP -MF .deps/memcached-daemon.Tpo -c -o memcached-daemon.o `test -f 'daemon.c' || echo './'`daemon.c
mv -f .deps/memcached-slabs.Tpo .deps/memcached-slabs.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -O2 -g -march=i386 -mtune=i686 -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-stats.o -MD -MP -MF .deps/memcached-stats.Tpo -c -o memcached-stats.o `test -f 'stats.c' || echo './'`stats.c
cc1: warnings being treated as errors
thread.c: In function 'refcount_incr':
thread.c:89: error: value computed is not used
thread.c: In function 'refcount_decr':
thread.c:104: error: value computed is not used
make[2]: *** [memcached-thread.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/memcached-daemon.Tpo .deps/memcached-daemon.Po
mv -f .deps/memcached-stats.Tpo .deps/memcached-stats.Po
mv -f .deps/memcached-memcached.Tpo .deps/memcached-memcached.Po
make[2]: Leaving directory `/home/powerstack/BUILD/memcached-1.4.11'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/powerstack/BUILD/memcached-1.4.11'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.f3Nwlc (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.f3Nwlc (%build)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment