Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/SLOF.spec'], chrootPath='/var/lib/mock/c71708-pass-armhfp-96c878909a930b1415c5e826c053f9eda5a063bc/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=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/SLOF-20170303-4.git66d250e.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/SLOF.spec'], chrootPath='/var/lib/mock/c71708-pass-armhfp-96c878909a930b1415c5e826c053f9eda5a063bc/root'shell=Falseuid=995env={'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 noarch --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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9Gw0UN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf SLOF-qemu-slof-20170303 + /usr/bin/gzip -dc /builddir/build/SOURCES/qemu-slof-20170303.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd SLOF-qemu-slof-20170303 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #2 (0002-spec-Remove-FlashingSLOF.pdf.patch): + echo '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 Patch #3 (slof-logo-Update-the-logo.patch): + echo 'Patch #3 (slof-logo-Update-the-logo.patch):' + /usr/bin/cat /builddir/build/SOURCES/slof-logo-Update-the-logo.patch + /usr/bin/patch -p1 --fuzz=0 patching file board-js2x/slof/OF.fs patching file board-qemu/slof/OF.fs patching file board-qemu/slof/copyright-oss.fs patching file slof/fs/banner.fs patching file slof/fs/slof-logo.fs Patch #4 (slof-Rework-the-printing-of-the-banner-during-boot.patch): + echo 'Patch #4 (slof-Rework-the-printing-of-the-banner-during-boot.patch):' + /usr/bin/cat /builddir/build/SOURCES/slof-Rework-the-printing-of-the-banner-during-boot.patch + /usr/bin/patch -p1 --fuzz=0 patching file board-js2x/slof/OF.fs patching file board-qemu/slof/OF.fs patching file slof/fs/boot.fs Patch #5 (slof-pci-Put-non-prefetchable-64bit-BARs-into-32bit-MMIO-.patch): + echo 'Patch #5 (slof-pci-Put-non-prefetchable-64bit-BARs-into-32bit-MMIO-.patch):' + /usr/bin/cat /builddir/build/SOURCES/slof-pci-Put-non-prefetchable-64bit-BARs-into-32bit-MMIO-.patch + /usr/bin/patch -p1 --fuzz=0 patching file slof/fs/pci-properties.fs Patch #6 (slof-pci-Fix-assigned-addresses-for-64bit-nonprefetchable.patch): + echo 'Patch #6 (slof-pci-Fix-assigned-addresses-for-64bit-nonprefetchable.patch):' + /usr/bin/cat /builddir/build/SOURCES/slof-pci-Fix-assigned-addresses-for-64bit-nonprefetchable.patch + /usr/bin/patch -p1 --fuzz=0 patching file slof/fs/pci-properties.fs Patch #7 (slof-pci-phb-Set-pci-max-mem64-to-the-correct-value.patch): + echo 'Patch #7 (slof-pci-phb-Set-pci-max-mem64-to-the-correct-value.patch):' + /usr/bin/cat /builddir/build/SOURCES/slof-pci-phb-Set-pci-max-mem64-to-the-correct-value.patch + /usr/bin/patch -p1 --fuzz=0 patching file board-qemu/slof/pci-phb.fs Patch #8 (slof-pci-Generate-a-64-bit-range-property-if-necessary.patch): + echo 'Patch #8 (slof-pci-Generate-a-64-bit-range-property-if-necessary.patch):' + /usr/bin/cat /builddir/build/SOURCES/slof-pci-Generate-a-64-bit-range-property-if-necessary.patch + /usr/bin/patch -p1 --fuzz=0 patching file slof/fs/pci-properties.fs Patch #9 (slof-pci-Reserve-free-space-at-the-end-of-bridge-windows-.patch): + echo 'Patch #9 (slof-pci-Reserve-free-space-at-the-end-of-bridge-windows-.patch):' + /usr/bin/cat /builddir/build/SOURCES/slof-pci-Reserve-free-space-at-the-end-of-bridge-windows-.patch + /usr/bin/patch -p1 --fuzz=0 patching file slof/fs/pci-scan.fs + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5VNAiS + umask 022 + cd /builddir/build/BUILD + cd SLOF-qemu-slof-20170303 + export CROSS= + CROSS= + unset RELEASE + make qemu -j4 V=2 ******** Building qemu system ******** make[1]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170303/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-20170303/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 make[2]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170303/romfs/tools' gcc -MM -I/builddir/build/BUILD/SLOF-qemu-slof-20170303/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170303/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 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)); ^ 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-20170303/lib libc libbootmsg libbases libnvram libelf libhvcall libvirtio libusb libveth libe1k libnet make[2]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170303/lib' make -C libc make[2]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170303/romfs/tools' make[2]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170303/romfs/tools' gcc -I/builddir/build/BUILD/SLOF-qemu-slof-20170303/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170303/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 make[3]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170303/lib/libc' gcc -m64 -I/builddir/build/BUILD/SLOF-qemu-slof-20170303/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 -c /builddir/build/BUILD/SLOF-qemu-slof-20170303/lib/libc/string/strcat.c -o strcat.o 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-20170303/lib/libc' make[2]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170303/lib' gcc -I/builddir/build/BUILD/SLOF-qemu-slof-20170303/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170303/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 make[3]: *** [strcat.o] Error 1 make[2]: *** [libc] Error 2 make[1]: *** [common-libs] Error 2 make[1]: *** Waiting for unfinished jobs.... gcc -I/builddir/build/BUILD/SLOF-qemu-slof-20170303/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170303/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-20170303/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170303/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 -I/builddir/build/BUILD/SLOF-qemu-slof-20170303/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170303/board-qemu/include -I. -g -Wall -W -O2 -I. -I../include -DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C -c crclib.c -o crclib.o gcc -g -Wall -W -O2 -I. -I../include -I../romfs/tools -o sloffs sloffs.o crclib.o make[2]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170303/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-20170303/romfs/tools' make[1]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170303/board-qemu' make: *** [qemu] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.5VNAiS (%build) Bad exit status from /var/tmp/rpm-tmp.5VNAiS (%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 noarch --nodeps /builddir/build/SPECS/SLOF.spec