Mock Version: 1.1.18 Mock Version: 1.1.18 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/0xFFFF.spec'], False, '/var/lib/mock/f17-build-1217012-195830/root/', None, 86400, True, False, 496, 496, None, False, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/0xFFFF.spec'] warning: Could not canonicalize hostname: x86-18.phx2.fedoraproject.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/0xFFFF-0.3.9-6.fc17.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/0xFFFF.spec'], False, '/var/lib/mock/f17-build-1217012-195830/root/', None, 86400, True, False, 496, 496, None, False, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/0xFFFF.spec'] Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2fjVVF + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf 0xFFFF-0.3.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/0xFFFF-0.3.9.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd 0xFFFF-0.3.9 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/^LDFLAGS/d' config.mk + sed -i 's/^CFLAGS+=.*/CFLAGS+=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic/' config.mk + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Azgwpj + umask 022 + cd /builddir/build/BUILD + cd 0xFFFF-0.3.9 + LANG=C + export LANG + unset DISPLAY + make -C src -j16 make: Entering directory `/builddir/build/BUILD/0xFFFF-0.3.9/src' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.3.9\" -Wall -g -I . -pedantic -std=c99 -DHAVE_USB=1 -c -o main.o main.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.3.9\" -Wall -g -I . -pedantic -std=c99 -DHAVE_USB=1 -c -o fiasco.o fiasco.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.3.9\" -Wall -g -I . -pedantic -std=c99 -DHAVE_USB=1 -c -o hexdump.o hexdump.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.3.9\" -Wall -g -I . -pedantic -std=c99 -DHAVE_USB=1 -c -o dump.o dump.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.3.9\" -Wall -g -I . -pedantic -std=c99 -DHAVE_USB=1 -c -o flash.o flash.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.3.9\" -Wall -g -I . -pedantic -std=c99 -DHAVE_USB=1 -c -o serial.o serial.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.3.9\" -Wall -g -I . -pedantic -std=c99 -DHAVE_USB=1 -c -o qmode.o qmode.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.3.9\" -Wall -g -I . -pedantic -std=c99 -DHAVE_USB=1 -c -o hash.o hash.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.3.9\" -Wall -g -I . -pedantic -std=c99 -DHAVE_USB=1 -c -o fpid.o fpid.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.3.9\" -Wall -g -I . -pedantic -std=c99 -DHAVE_USB=1 -c -o query.o query.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.3.9\" -Wall -g -I . -pedantic -std=c99 -DHAVE_USB=1 -c -o pieces.o pieces.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.3.9\" -Wall -g -I . -pedantic -std=c99 -DHAVE_USB=1 -c -o utils.o utils.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.3.9\" -Wall -g -I . -pedantic -std=c99 -DHAVE_USB=1 -c -o devices.o devices.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.3.9\" -Wall -g -I . -pedantic -std=c99 -DHAVE_USB=1 -c -o console.o console.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.3.9\" -Wall -g -I . -pedantic -std=c99 -DHAVE_USB=1 -c -o squeue/squeue.o squeue/squeue.c dump.c: In function 'rf_extract': dump.c:40:3: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'off_t' [-Wformat] dump.c:40:3: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'off_t' [-Wformat]In file included from squeue/squeue.c:5:0: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" [-Wcpp] dump.c:59:3: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'off_t' [-Wformat] fiasco.c: In function 'fiasco_add': fiasco.c:199:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] fiasco.c:203:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] fiasco.c:214:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] fiasco.c:216:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] fiasco.c:219:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] fiasco.c:221:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] fiasco.c:222:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] fiasco.c:223:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] fiasco.c:225:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] fiasco.c:232:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] fiasco.c: In function 'fiasco_new': fiasco.c:147:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] serial.c: In function 'console': serial.c:66:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] serial.c:79:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] fiasco.c:148:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] fiasco.c: In function 'fiasco_data_read': fiasco.c:134:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] fiasco.c: In function 'openfiasco': fiasco.c:48:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] fiasco.c:60:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] main.c: In function 'main': main.c:332:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] qmode.c: In function 'process_message': qmode.c:44:2: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] qmode.c:44:6: warning: assignment makes pointer from integer without a cast [enabled by default] qmode.c:45:2: warning: implicit declaration of function 'strchr' [-Wimplicit-function-declaration] qmode.c:45:8: warning: incompatible implicit declaration of built-in function 'strchr' [enabled by default] qmode.c:46:7: warning: comparison between pointer and integer [enabled by default] qmode.c:49:3: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] qmode.c:51:17: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] qmode.c:50:9: warning: unused variable 'buf' [-Wunused-variable] qmode.c:59:4: warning: implicit declaration of function 'reboot_board' [-Wimplicit-function-declaration] qmode.c:65:4: warning: implicit declaration of function 'get_rd_flags' [-Wimplicit-function-declaration] qmode.c:67:4: warning: implicit declaration of function 'get_nolo_version' [-Wimplicit-function-declaration] qmode.c:69:4: warning: implicit declaration of function 'get_usb_mode' [-Wimplicit-function-declaration] qmode.c: In function 'queue_mode': qmode.c:98:3: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration] qmode.c:107:3: warning: implicit declaration of function 'chmod' [-Wimplicit-function-declaration] main.c: In function 'unpack_callback': main.c:116:8: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Wunused-result] dump.c: In function 'reverse_extract_pieces': dump.c:545:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] dump.c:560:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] dump.c:567:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] dump.c: In function 'dump_config': dump.c:501:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] dump.c:530:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] squeue/squeue.c: In function 'squeue_open': squeue/squeue.c:46:3: warning: implicit declaration of function 'chmod' [-Wimplicit-function-declaration] squeue/squeue.c:65:6: warning: implicit declaration of function 'usleep' [-Wimplicit-function-declaration] squeue/squeue.c:88:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] dump.c: In function 'is_n800': dump.c:466:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] dump.c: In function 'rf_strip': dump.c:450:19: warning: ignoring return value of 'truncate', declared with attribute warn_unused_result [-Wunused-result] dump.c: In function 'nanddump': dump.c:385:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] dump.c:406:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] dump.c: In function 'rf_extract': dump.c:55:9: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Wunused-result] fpid.c: In function 'fpid_file': fpid.c:66:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] utils.c: In function 'progressbar': utils.c:56:10: warning: non-ISO-standard escape sequence, '\e' [enabled by default] qmode.c: In function 'process_message': qmode.c:46:7: warning: 'c' may be used uninitialized in this function [-Wuninitialized] console.c: In function 'console_prompt': console.c:156:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] console.c:158:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] console.c:160:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] console.c: In function 'cmd_shell': console.c:110:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] dump.c: In function 'check_badblocks': dump.c:213:12: warning: 'stat1.failed' may be used uninitialized in this function [-Wmaybe-uninitialized] dump.c:217:12: warning: 'stat1.corrected' may be used uninitialized in this function [-Wmaybe-uninitialized] cc -o 0xFFFF main.o fiasco.o hexdump.o dump.o flash.o serial.o qmode.o hash.o fpid.o query.o pieces.o utils.o devices.o console.o squeue/squeue.o `if [ "1" = 1 ]; then echo '-lusb'; fi` make: Leaving directory `/builddir/build/BUILD/0xFFFF-0.3.9/src' + make -C logotool 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' make: Entering directory `/builddir/build/BUILD/0xFFFF-0.3.9/logotool' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o logotool.o logotool.c logotool.c: In function 'main': logotool.c:89:10: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] logotool.c:105:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o compress.o compress.c compress.c: In function 'compress_image': compress.c:69:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] compress.c:71:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] compress.c:73:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] compress.c:74:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] compress.c:91:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] compress.c:97:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] compress.c:106:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] compress.c:112:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o uncompress.o uncompress.c uncompress.c: In function 'uncompress_image': uncompress.c:74:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uncompress.c:74:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uncompress.c:108:2: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat] uncompress.c:66:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] uncompress.c:67:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] uncompress.c:81:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] uncompress.c:113:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o rgb2yuv.o rgb2yuv.c rgb2yuv.c: In function 'rgb2yuv': rgb2yuv.c:66:17: warning: variable 'src' set but not used [-Wunused-but-set-variable] rgb2yuv.c:93:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] rgb2yuv.c:101:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] rgb2yuv.c:105:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] rgb2yuv.c:109:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] cc logotool.o compress.o uncompress.o rgb2yuv.o -o logotool make: Leaving directory `/builddir/build/BUILD/0xFFFF-0.3.9/logotool' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dXvrsY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/0xFFFF-0.3.9-6.fc17.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/0xFFFF-0.3.9-6.fc17.x86_64 ++ dirname /builddir/build/BUILDROOT/0xFFFF-0.3.9-6.fc17.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/0xFFFF-0.3.9-6.fc17.x86_64 + cd 0xFFFF-0.3.9 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/0xFFFF-0.3.9-6.fc17.x86_64 + mkdir -p /builddir/build/BUILDROOT/0xFFFF-0.3.9-6.fc17.x86_64/usr/bin + install -m0755 src/0xFFFF /builddir/build/BUILDROOT/0xFFFF-0.3.9-6.fc17.x86_64/usr/bin/0xFFFF + install -m0755 logotool/logotool /builddir/build/BUILDROOT/0xFFFF-0.3.9-6.fc17.x86_64/usr/bin/logotool + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/0xFFFF-0.3.9 extracting debug info from /builddir/build/BUILDROOT/0xFFFF-0.3.9-6.fc17.x86_64/usr/bin/logotool extracting debug info from /builddir/build/BUILDROOT/0xFFFF-0.3.9-6.fc17.x86_64/usr/bin/0xFFFF 185 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: 0xFFFF-0.3.9-6.fc17.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iryRtE + umask 022 + cd /builddir/build/BUILD + cd 0xFFFF-0.3.9 + DOCDIR=/builddir/build/BUILDROOT/0xFFFF-0.3.9-6.fc17.x86_64/usr/share/doc/0xFFFF-0.3.9 + export DOCDIR + /bin/mkdir -p /builddir/build/BUILDROOT/0xFFFF-0.3.9-6.fc17.x86_64/usr/share/doc/0xFFFF-0.3.9 + cp -pr COPYING README INSTALL /builddir/build/BUILDROOT/0xFFFF-0.3.9-6.fc17.x86_64/usr/share/doc/0xFFFF-0.3.9 + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libusb-0.1.so.4()(64bit) rtld(GNU_HASH) Processing files: 0xFFFF-debuginfo-0.3.9-6.fc17.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/0xFFFF-0.3.9-6.fc17.x86_64 warning: Could not canonicalize hostname: x86-18.phx2.fedoraproject.org Wrote: /builddir/build/RPMS/0xFFFF-0.3.9-6.fc17.x86_64.rpm Wrote: /builddir/build/RPMS/0xFFFF-debuginfo-0.3.9-6.fc17.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.T2EEhH + umask 022 + cd /builddir/build/BUILD + cd 0xFFFF-0.3.9 + rm -rf /builddir/build/BUILDROOT/0xFFFF-0.3.9-6.fc17.x86_64 + exit 0 Child returncode was: 0 LEAVE do -->