Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/SLOF.spec'], chrootPath='/var/lib/mock/SLOF-20170724-2.git89f519f.el7-20180411012608-13192/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=1006) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --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 warning: Could not canonicalize hostname: x86-01.bsys.centos.org Building target platforms: i686 Building for target i686 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 i686 --nodeps /builddir/build/SPECS/SLOF.spec'], chrootPath='/var/lib/mock/SLOF-20170724-2.git89f519f.el7-20180411012608-13192/root'shell=Falseuid=1006env={'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 i686 --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: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jZB4wB + 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/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.MsK9VX + umask 022 + cd /builddir/build/BUILD + cd SLOF-qemu-slof-20170724 + export CROSS= + CROSS= + unset RELEASE + make qemu -j16 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 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-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 -C libelf FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " make -C libhvcall FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " make -C libvirtio FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " make -C libusb FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " make -C libveth FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " make -C libe1k FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " make -C libnet FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " make -C libbootmenu FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " 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/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/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]: 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[3]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libvirtio' gcc -m64 -M -I../libc/include -DCPU_PPCP7 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -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 virtio.c virtio-blk.c p9.c virtio-9p.c virtio-scsi.c virtio-net.c virtio-serial.c > Makefile.dep make[3]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libusb' gcc -m64 -M -I../libc/include -DCPU_PPCP7 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/slof -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 usb-core.c usb-ohci.c usb-ehci.c usb-slof.c usb-key.c usb-hid.c usb-hub.c usb-xhci.c > Makefile.dep make[3]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libveth' gcc -m64 -M -I../libc/include -DCPU_PPCP7 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -I../libhvcall -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 veth.c > Makefile.dep make[3]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libe1k' gcc -m64 -M -I../libc/include -DCPU_PPCP7 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -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 e1k.c > Makefile.dep make[3]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libhvcall' gcc -m64 -M -I../libc/include -DCPU_PPCP7 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -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 brokensc1.c rfill.c hvcall.S > Makefile.dep gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv make[3]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libbootmenu' gcc -m64 -M -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. -I.. -I../libc/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/slof -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include bootmenu.c > Makefile.dep gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv 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 -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 -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 envvar.o envvar.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/board-qemu/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -c -o virtio.o virtio.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 -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 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -I../libhvcall -c -o veth.o veth.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/board-qemu/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -c -o e1k.o e1k.c gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv make[3]: *** No rule to make target `Makefile.dep', needed by `all'. Stop. make[3]: *** Waiting for unfinished jobs.... gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: error: unrecognized command line option '-mno-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized argument in option '-mabi=no-altivec' make[3]: *** [nvram.o] Error 1 gcc: note: valid arguments to '-mabi=' are: ms sysv make[3]: *** Waiting for unfinished jobs.... gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized command line option '-mno-altivec' make[3]: *** [elf.o] Error 1 make[3]: *** Waiting for unfinished jobs.... gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized command line option '-mno-altivec' make[3]: *** [elf32.o] Error 1 gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv make[3]: *** [envvar.o] Error 1 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/board-qemu/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/slof -c -o usb-core.o usb-core.c make[3]: Entering directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libnet' gcc -m64 -M -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. -I.. -I../libc/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C ethernet.c ipv4.c udp.c tcp.c dns.c bootp.c dhcp.c tftp.c ipv6.c dhcpv6.c icmpv6.c ndp.c netload.c ping.c args.c > Makefile.dep 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/board-qemu/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/slof -c -o usb-ohci.o usb-ohci.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/board-qemu/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -c -o brokensc1.o brokensc1.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/board-qemu/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -c -o virtio-blk.o virtio-blk.c make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libelf' make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libnvram' make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libveth' 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/board-qemu/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/slof -c -o usb-ehci.o usb-ehci.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/board-qemu/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -c -o rfill.o rfill.c make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libe1k' gcc -m64 -I../libc/include -DCPU_PPCP7 -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/board-qemu/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include/ppcp7 -DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C -DCPU_PPCP7 -Wa,-mregnames -c hvcall.S -o hvcall.o make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libvirtio' make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libusb' 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. -I.. -I../libc/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/slof -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -c -o bootmenu.o bootmenu.c make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libbootmsg' make[3]: *** [veth.o] Error 1 make[3]: *** [virtio.o] Error 1 make[2]: *** [libnvram] Error 2 make[3]: make[2]: *** Waiting for unfinished jobs.... *** Waiting for unfinished jobs.... make[2]: *** [libelf] Error 2 make[2]: *** [libveth] Error 2 gcc: error: unrecognized command line option '-mno-altivec' make[3]: *** [e1k.o] Error 1 gcc: error: unrecognized command line option '-mno-altivec' make[3]: *** [usb-core.o] Error 1 make[2]: *** [libe1k] Error 2 make[3]: gcc: error: unrecognized argument in option '-mabi=no-altivec' *** Waiting for unfinished jobs.... gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized command line option '-mno-altivec' make[3]: *** [usb-ohci.o] Error 1 make[3]: *** [brokensc1.o] Error 1 make[3]: *** Waiting for unfinished jobs.... gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv make[3]: *** [virtio-blk.o] Error 1 gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv make[2]: *** [libvirtio] Error 2 gcc: error: unrecognized command line option '-mno-altivec' gcc: error: unrecognized command line option '-mno-altivec' make[3]: *** [rfill.o] Error 1make[3]: *** [usb-ehci.o] Error 1 gcc: error: unrecognized command line option '-mno-altivec' make[2]: *** [libusb] Error 2 bootmsg_lvl.S:1:0: sorry, unimplemented: 64-bit mode not compiled in /****************************************************************************** ^ make[3]: *** [bootmsg_lvl.o] Error 1 make[2]: *** [libbootmsg] Error 2 gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized command line option '-mno-altivec' make[3]: *** [bootmenu.o] Error 1 gcc: error: unrecognized command line option '-mno-altivec' make[2]: *** [libbootmenu] Error 2 hvcall.S:1:0: sorry, unimplemented: 64-bit mode not compiled in #define _ASM ^ make[3]: *** [hvcall.o] Error 1 make[2]: *** [libhvcall] Error 2 make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libbootmenu' make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libhvcall' 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. -I.. -I../libc/include -I/builddir/build/BUILD/SLOF-qemu-slof-20170724/include -DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C -c -o ethernet.o ethernet.c 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 make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libc' gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized command line option '-mno-altivec' make[3]: *** [strcat.o] Error 1 make[3]: *** Waiting for unfinished jobs.... gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv gcc: error: unrecognized command line option '-mno-altivec' make[3]: *** [strchr.o] Error 1 gcc: error: unrecognized argument in option '-mabi=no-altivec' gcc: note: valid arguments to '-mabi=' are: ms sysv make[2]: *** [libc] Error 2 gcc: error: unrecognized command line option '-mno-altivec' make[3]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib/libnet' make[2]: Leaving directory `/builddir/build/BUILD/SLOF-qemu-slof-20170724/lib' make[3]: *** [ethernet.o] Error 1 make[2]: *** [libnet] 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/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 sloffs sloffs.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 error: Bad exit status from /var/tmp/rpm-tmp.MsK9VX (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.MsK9VX (%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 i686 --nodeps /builddir/build/SPECS/SLOF.spec