Mock Version: 0.9.19 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/opentracker.spec'], False, '/var/lib/mock/fedora-rawhide-i386/root/', None, 0, True, 0, 500, 480, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/opentracker.spec'] Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/opentracker-0-0.7.20090915cvs.fc12.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/opentracker.spec'], False, '/var/lib/mock/fedora-rawhide-i386/root/', None, 0, True, 0, 500, 480, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/opentracker.spec'] Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UKsSlE + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf opentracker-0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/opentracker-0.tar.bz2 + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd opentracker-0 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (opentracker-0-Makefile.patch):' Patch #0 (opentracker-0-Makefile.patch): + /bin/cat /builddir/build/SOURCES/opentracker-0-Makefile.patch + /usr/bin/patch -s -p1 --fuzz=0 + echo 'Patch #1 (opentracker-0-daemon.patch):' Patch #1 (opentracker-0-daemon.patch): + /bin/cat /builddir/build/SOURCES/opentracker-0-daemon.patch + /usr/bin/patch -s -p1 --fuzz=0 + echo 'Patch #2 (opentracker-0-not-nobody.patch):' Patch #2 (opentracker-0-not-nobody.patch): + /bin/cat /builddir/build/SOURCES/opentracker-0-not-nobody.patch + /usr/bin/patch -s -p1 --fuzz=0 + echo 'Patch #3 (opentracker-0-ipv6-correct-parse.patch):' Patch #3 (opentracker-0-ipv6-correct-parse.patch): + /bin/cat /builddir/build/SOURCES/opentracker-0-ipv6-correct-parse.patch + /usr/bin/patch -s -p1 --fuzz=0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.B9nGN1 + umask 022 + cd /builddir/build/BUILD + cd opentracker-0 + LANG=C + export LANG + unset DISPLAY + sed -i 's|INPUTCONFFILEHERE|/etc/opentracker-ipv4/opentracker-ipv4.conf|g' opentracker.c + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' + make opentracker gcc -c -o opentracker.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/dietlibc/include/libowfat -Wall -pipe -Wextra -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DWANT_ACCESSLIST_WHITE -DWANT_IP_FROM_QUERY_STRING -DWANT_COMPRESSION_GZIP -DWANT_FULLSCRAPE opentracker.c gcc -c -o trackerlogic.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/dietlibc/include/libowfat -Wall -pipe -Wextra -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DWANT_ACCESSLIST_WHITE -DWANT_IP_FROM_QUERY_STRING -DWANT_COMPRESSION_GZIP -DWANT_FULLSCRAPE trackerlogic.c opentracker.c: In function 'main': opentracker.c:583: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result opentracker.c:584: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result gcc -c -o scan_urlencoded_query.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/dietlibc/include/libowfat -Wall -pipe -Wextra -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DWANT_ACCESSLIST_WHITE -DWANT_IP_FROM_QUERY_STRING -DWANT_COMPRESSION_GZIP -DWANT_FULLSCRAPE scan_urlencoded_query.c gcc -c -o ot_mutex.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/dietlibc/include/libowfat -Wall -pipe -Wextra -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DWANT_ACCESSLIST_WHITE -DWANT_IP_FROM_QUERY_STRING -DWANT_COMPRESSION_GZIP -DWANT_FULLSCRAPE ot_mutex.c gcc -c -o ot_stats.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/dietlibc/include/libowfat -Wall -pipe -Wextra -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DWANT_ACCESSLIST_WHITE -DWANT_IP_FROM_QUERY_STRING -DWANT_COMPRESSION_GZIP -DWANT_FULLSCRAPE ot_stats.c gcc -c -o ot_vector.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/dietlibc/include/libowfat -Wall -pipe -Wextra -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DWANT_ACCESSLIST_WHITE -DWANT_IP_FROM_QUERY_STRING -DWANT_COMPRESSION_GZIP -DWANT_FULLSCRAPE ot_vector.c ot_stats.c: In function 'stats_issue_event': ot_stats.c:655: warning: ignoring return value of 'write', declared with attribute warn_unused_result ot_stats.c:666: warning: ignoring return value of 'write', declared with attribute warn_unused_result gcc -c -o ot_clean.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/dietlibc/include/libowfat -Wall -pipe -Wextra -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DWANT_ACCESSLIST_WHITE -DWANT_IP_FROM_QUERY_STRING -DWANT_COMPRESSION_GZIP -DWANT_FULLSCRAPE ot_clean.c gcc -c -o ot_udp.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/dietlibc/include/libowfat -Wall -pipe -Wextra -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DWANT_ACCESSLIST_WHITE -DWANT_IP_FROM_QUERY_STRING -DWANT_COMPRESSION_GZIP -DWANT_FULLSCRAPE ot_udp.c gcc -c -o ot_iovec.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/dietlibc/include/libowfat -Wall -pipe -Wextra -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DWANT_ACCESSLIST_WHITE -DWANT_IP_FROM_QUERY_STRING -DWANT_COMPRESSION_GZIP -DWANT_FULLSCRAPE ot_iovec.c gcc -c -o ot_fullscrape.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/dietlibc/include/libowfat -Wall -pipe -Wextra -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DWANT_ACCESSLIST_WHITE -DWANT_IP_FROM_QUERY_STRING -DWANT_COMPRESSION_GZIP -DWANT_FULLSCRAPE ot_fullscrape.c gcc -c -o ot_accesslist.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/dietlibc/include/libowfat -Wall -pipe -Wextra -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DWANT_ACCESSLIST_WHITE -DWANT_IP_FROM_QUERY_STRING -DWANT_COMPRESSION_GZIP -DWANT_FULLSCRAPE ot_accesslist.c ot_fullscrape.c: In function 'fullscrape_make': ot_fullscrape.c:188: warning: format '%zd' expects type 'signed size_t', but argument 3 has type 'ot_time' gcc -c -o ot_http.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/dietlibc/include/libowfat -Wall -pipe -Wextra -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DWANT_ACCESSLIST_WHITE -DWANT_IP_FROM_QUERY_STRING -DWANT_COMPRESSION_GZIP -DWANT_FULLSCRAPE ot_http.c gcc -c -o ot_livesync.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/dietlibc/include/libowfat -Wall -pipe -Wextra -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DWANT_ACCESSLIST_WHITE -DWANT_IP_FROM_QUERY_STRING -DWANT_COMPRESSION_GZIP -DWANT_FULLSCRAPE ot_livesync.c gcc -o opentracker opentracker.o trackerlogic.o scan_urlencoded_query.o ot_mutex.o ot_stats.o ot_vector.o ot_clean.o ot_udp.o ot_iovec.o ot_fullscrape.o ot_accesslist.o ot_http.o ot_livesync.o -L/usr/lib/dietlibc/lib-i386 -lowfat -pthread -lpthread -lz -lc -lgcc /usr/lib/dietlibc/lib-i386/libc.a(stderr.o): In function `__fflush_stderr': (.text+0xb): warning: warning: your code uses stdio (7+k bloat). opentracker.o: In function `drop_privileges': /builddir/build/BUILD/opentracker-0/opentracker.c:486: warning: warning: you used setegid without including /usr/lib/dietlibc/lib-i386/libc.a(setegid.o): warning: warning: you used setegid without including /usr/lib/dietlibc/lib-i386/libc.a(__sendfile64.o): In function `sendfile64': (.text+0x86): warning: sendfile is not portable /usr/lib/dietlibc/lib-i386/libc.a(__sendfile64.o): warning: sendfile64 is not portable /usr/lib/gcc/i686-redhat-linux/4.4.2/../../../crt1.o: In function `_start': (.text+0xc): undefined reference to `__libc_csu_fini' /usr/lib/gcc/i686-redhat-linux/4.4.2/../../../crt1.o: In function `_start': (.text+0x11): undefined reference to `__libc_csu_init' collect2: ld returned 1 exit status make: *** [opentracker] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.B9nGN1 (%build) Bad exit status from /var/tmp/rpm-tmp.B9nGN1 (%build) Child returncode was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/opentracker.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 324, 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 i686 --nodeps builddir/build/SPECS/opentracker.spec'] LEAVE do --> EXCEPTION RAISED