Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/SLOF.spec'], chrootPath='/var/lib/mock/SLOF-20170724-2.git89f519f.el7-20180412195214-10121/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.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=1002) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/SLOF.spec'] with env {'LANG': 'en_GB.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: aarch64 Building for target aarch64 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 aarch64 --nodeps /builddir/build/SPECS/SLOF.spec'], chrootPath='/var/lib/mock/SLOF-20170724-2.git89f519f.el7-20180412195214-10121/root'shell=Falseuid=1002env={'LANG': 'en_GB.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 aarch64 --nodeps /builddir/build/SPECS/SLOF.spec'] with env {'LANG': 'en_GB.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ReoUaY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf SLOF-qemu-slof-20170724 + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/qemu-slof-20170724.tar.gz + 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/cat /builddir/build/SOURCES/slof-virtio-net-rework-the-driver-to-support-multiple-ope.patch + /usr/bin/patch -p1 --fuzz=0 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sCbHqU + umask 022 + cd /builddir/build/BUILD + cd SLOF-qemu-slof-20170724 + export CROSS= + CROSS= + unset RELEASE + make qemu -j8 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 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 ====== 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 -C libbases FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " make -C libnvram 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 make[3]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libnvram' gcc -m64 -MM -I../libc/include -DCPU_PPCP7 -DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -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 nvram.c envvar.c > Makefile.dep make[3]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libbases' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libbases' make -C libelf FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " gcc: error: unrecognized command line option '-m64' gcc: error: unrecognized command line option '-msoft-float' gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized command line option '-mabi=no-altivec' gcc: error: unrecognized command line option '-m64' gcc: error: unrecognized command line option '-msoft-float' gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized command line option '-mabi=no-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 -m64 -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 -I../libc/include -DCPU_PPCP7 -DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -I. -I../../include -c -o nvram.o nvram.c gcc: error: unrecognized command line option '-m64' gcc: error: unrecognized command line option '-msoft-float' gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized command line option '-mabi=no-altivec' gcc: error: unrecognized command line option '-m64' make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libbootmsg' make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libnvram' make[3]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libelf' gcc -m64 -MM -I../libc/include -DCPU_PPCP7 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -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 elf.c elf32.c elf64.c elf_claim.c > Makefile.dep make[3]: *** [bootmsg_lvl.o] Error 1 make[2]: make[3]: *** [libbootmsg] Error 2*** [nvram.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [libnvram] Error 2 gcc: error: unrecognized command line option '-m64' gcc: error: unrecognized command line option '-msoft-float' gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized command line option '-mabi=no-altivec' gcc -m64 -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 -I../libc/include -DCPU_PPCP7 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -c -o elf.o elf.c gcc -m64 -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 -I../libc/include -DCPU_PPCP7 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -c -o elf32.o elf32.c gcc: error: unrecognized command line option '-m64' gcc: error: unrecognized command line option '-msoft-float' gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized command line option '-mabi=no-altivec' make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libelf' make[3]: *** [elf.o] Error 1 make[3]: gcc: error: unrecognized command line option '-m64' *** Waiting for unfinished jobs.... gcc: error: unrecognized command line option '-msoft-float' gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized command line option '-mabi=no-altivec' make[3]: *** [elf32.o] Error 1 make[2]: *** [libelf] Error 2 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 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/strchr.c -o strchr.o gcc: error: unrecognized command line option '-m64' gcc: error: unrecognized command line option '-msoft-float' gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized command line option '-mabi=no-altivec' make[3]: *** [strcat.o] Error 1 make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libc' make[3]: *** Waiting for unfinished jobs.... gcc: error: unrecognized command line option '-m64' gcc: error: unrecognized command line option '-msoft-float' gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized command line option '-mabi=no-altivec' make[3]: *** [strchr.o] Error 1 make[2]: *** [libc] Error 2 make[1]: *** [common-libs] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib' make[2]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/romfs/tools' 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 -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 gcc -g -Wall -W -O2 -I. -I../include -I../romfs/tools -o gen_reloc_table gen_reloc_table.o gcc -g -Wall -W -O2 -I. -I../include -I../romfs/tools -o sloffs sloffs.o crclib.o 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/tools' 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.sCbHqU (%build) Bad exit status from /var/tmp/rpm-tmp.sCbHqU (%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 aarch64 --nodeps /builddir/build/SPECS/SLOF.spec