Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/SLOF.spec'], chrootPath='/var/lib/mock/c71804-00-armhfp/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1004) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/SLOF.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/SLOF-20170724-2.git89f519f.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/SLOF.spec'], chrootPath='/var/lib/mock/c71804-00-armhfp/root'shell=Falseuid=1004env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/SLOF.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hluZOr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf SLOF-qemu-slof-20170724 + /usr/bin/gzip -dc /builddir/build/SOURCES/qemu-slof-20170724.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd SLOF-qemu-slof-20170724 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #2 (0002-spec-Remove-FlashingSLOF.pdf.patch):' Patch #2 (0002-spec-Remove-FlashingSLOF.pdf.patch): + /usr/bin/cat /builddir/build/SOURCES/0002-spec-Remove-FlashingSLOF.pdf.patch + /usr/bin/patch -p1 --fuzz=0 patching file INSTALL patching file README + echo 'Patch #3 (slof-virtio-net-rework-the-driver-to-support-multiple-ope.patch):' Patch #3 (slof-virtio-net-rework-the-driver-to-support-multiple-ope.patch): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/slof-virtio-net-rework-the-driver-to-support-multiple-ope.patch patching file board-qemu/slof/virtio-net.fs patching file lib/libvirtio/virtio-net.c patching file lib/libvirtio/virtio-net.h patching file lib/libvirtio/virtio.c patching file lib/libvirtio/virtio.code patching file lib/libvirtio/virtio.h Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sw9FHV + exit 0 + umask 022 + cd /builddir/build/BUILD + cd SLOF-qemu-slof-20170724 + export CROSS= + CROSS= + unset RELEASE + make qemu -j4 V=2 ******** Building qemu system ******** make[1]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu' make -C ../tools make -C ../romfs/tools BOARD=qemu PLATFORM= FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " TARG=ppc64 make[2]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/tools' gcc -W -g -Wall -W -O2 -I. -I../include -I../romfs/tools -c gen_reloc_table.c gcc -W -g -Wall -W -O2 -I. -I../include -I../romfs/tools -c sloffs.c gcc -W -g -Wall -W -O2 -I. -I../include -I../romfs/tools -c ../romfs/tools/crclib.c -o crclib.o sloffs.c: In function 'sloffs_dump': sloffs.c:452:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type '__uint64_t' [-Wformat=] printf(" Image Length: %ld", be64_to_cpu(header->flashlen)); ^ sloffs.c:453:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type '__uint64_t' [-Wformat=] printf(" (0x%lx) bytes\n", be64_to_cpu(header->flashlen)); ^ sloffs.c:456:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' [-Wformat=] printf(" Header CRC : 0x%016lx CRC check: ", crc); ^ sloffs.c:481:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' [-Wformat=] printf(" Image CRC : 0x%016lx CRC check: ", crc); ^ sloffs.c: In function 'sloffs_list': sloffs.c:558:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' [-Wformat=] printf(" 0x%08lx", offset); ^ sloffs.c:564:3: warning: format '%ld' expects argument of type 'long int', but argument 2 has type '__uint64_t' [-Wformat=] printf("%07ld ", be64_to_cpu(file.len)); ^ sloffs.c:565:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type '__uint64_t' [-Wformat=] printf("(0x%06lx)", be64_to_cpu(file.len)); ^ sloffs.c:566:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type '__uint64_t' [-Wformat=] printf(" 0x%08lx\n", be64_to_cpu(file.flags)); ^ make[2]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/romfs/tools' gcc -MM -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -I. -g -Wall -W -O2 -I. -I../include build_ffs.c cfg_parse.c create_flash.c create_crc.c crclib.c > Makefile.dep gcc -g -Wall -W -O2 -I. -I../include -I../romfs/tools -o gen_reloc_table gen_reloc_table.o ====== Building common libraries ====== make -C /builddir/build/BUILD/SLOF-qemu-slof-20170724/lib libc libbootmsg libbases libnvram libelf libhvcall libvirtio libusb libveth libe1k libnet libbootmenu make[2]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib' make -C libc FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " make -C libbootmsg FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " make[3]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libbootmsg' gcc -m64 -MM -I../libc/include -DCPU_PPCP7 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -I. -I../../include -g -O2 -fno-builtin -ffreestanding -nostdinc -msoft-float -fno-strict-aliasing -mno-altivec -mabi=no-altivec -fno-stack-protector -Wall -Wmissing-prototypes -Wstrict-prototypes -Wformat-security bootmsg_lvl.S > Makefile.dep gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt gcc: error: unrecognized command line option '-m64' gcc: error: unrecognized command line option '-mno-altivec' gcc -m64 -I../libc/include -DCPU_PPCP7 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -I. -I../../include -DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C -DCPU_PPCP7 -Wa,-mregnames -c bootmsg_lvl.S -o bootmsg_lvl.o gcc: error: unrecognized command line option '-m64' make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libbootmsg' make[3]: *** [bootmsg_lvl.o] Error 1 make[2]: *** [libbootmsg] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libc' gcc -m64 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libc/include -g -O2 -fno-builtin -ffreestanding -nostdinc -msoft-float -fno-strict-aliasing -mno-altivec -mabi=no-altivec -fno-stack-protector -Wall -Wmissing-prototypes -Wstrict-prototypes -Wformat-security -c /builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libc/string/strcat.c -o strcat.o make[2]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/romfs/tools' gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt gcc: error: unrecognized command line option '-m64' gcc: error: unrecognized command line option '-mno-altivec' make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libc' make[2]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib' make[3]: *** [strcat.o] Error 1 make[2]: *** [libc] Error 2 make[1]: *** [common-libs] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/romfs/tools' gcc -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -I. -g -Wall -W -O2 -I. -I../include -DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C -c build_ffs.c -o build_ffs.o gcc -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -I. -g -Wall -W -O2 -I. -I../include -DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C -c cfg_parse.c -o cfg_parse.o gcc -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -I. -g -Wall -W -O2 -I. -I../include -DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C -c create_flash.c -o create_flash.o gcc -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -I. -g -Wall -W -O2 -I. -I../include -DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C -c create_crc.c -o create_crc.o gcc -g -Wall -W -O2 -I. -I../include -I../romfs/tools -o sloffs sloffs.o crclib.o gcc -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -I. -g -Wall -W -O2 -I. -I../include -DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C -c crclib.c -o crclib.o make[2]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/tools' gcc -g -Wall -W -O2 -I. -I../include -DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C -o build_romfs build_ffs.o cfg_parse.o create_flash.o create_crc.o crclib.o make[2]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/romfs/tools' make[1]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu' make: *** [qemu] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.sw9FHV (%build) Bad exit status from /var/tmp/rpm-tmp.sw9FHV (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/SLOF.spec