D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch warning: /home/iurt/rpmbuild/SPECS/slof.spec line 56: autopatch: no matching patches in range Installing /home/iurt/rpmbuild/SRPMS/@2210012:slof-0.1.git20210217-7.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.1SjUSU Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.JflwLf + umask 022 + cd /home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build + rm -rf SLOF-qemu-slof-20210217 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/qemu-slof-20210217.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd SLOF-qemu-slof-20210217 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.0okUba + umask 022 + cd /home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd SLOF-qemu-slof-20210217 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export CROSS=powerpc64-linux-gnu- + CROSS=powerpc64-linux-gnu- + /usr/bin/make -O -j12 V=1 VERBOSE=1 qemu V=2 ******** Building qemu system ******** /usr/bin/make -C ../tools /usr/bin/make -C ../romfs/tools BOARD=qemu PLATFORM= FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " TARG=ppc64 make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/tools' gcc -W -g -Wall -W -O2 -I. -I../include -I../romfs/tools -c gen_reloc_table.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/tools' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/tools' gcc -g -Wall -W -O2 -I. -I../include -I../romfs/tools -o gen_reloc_table gen_reloc_table.o make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/tools' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/tools' gcc -W -g -Wall -W -O2 -I. -I../include -I../romfs/tools -c ../romfs/tools/crclib.c -o crclib.o make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/tools' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/romfs/tools' gcc -MM -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/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 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/romfs/tools' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/board-qemu' ====== Building common libraries ====== make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/board-qemu' /usr/bin/make -C /home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib libc libbootmsg libbases libnvram libelf libhvcall libvirtio libusb libveth libe1k libnet libbootmenu libtpm /usr/bin/make -C libc FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " /usr/bin/make -C libbootmsg FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " /usr/bin/make -C libbases FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " /usr/bin/make -C libnvram FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " /usr/bin/make -C libelf FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " /usr/bin/make -C libhvcall FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " make[3]: Nothing to be done for 'all'. /usr/bin/make -C libvirtio FLAG="-DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C " make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libbootmsg' powerpc64-linux-gnu-gcc -m64 -MM -I../libc/include -DCPU_PPCP7 -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/board-qemu/include -I. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full bootmsg_lvl.S > Makefile.dep powerpc64-linux-gnu-gcc: error: unrecognized argument in option '-mtune=generic' powerpc64-linux-gnu-gcc: note: valid arguments to '-mtune=' are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power10 power11 power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libbootmsg' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libnvram' powerpc64-linux-gnu-gcc -m64 -MM -I../libc/include -DCPU_PPCP7 -DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/board-qemu/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include/ppcp7 -I. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full nvram.c envvar.c > Makefile.dep powerpc64-linux-gnu-gcc: error: unrecognized argument in option '-mtune=generic' powerpc64-linux-gnu-gcc: note: valid arguments to '-mtune=' are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power10 power11 power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libnvram' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libelf' powerpc64-linux-gnu-gcc -m64 -MM -I../libc/include -DCPU_PPCP7 -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include/ppcp7 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full elf.c elf32.c elf64.c elf_claim.c > Makefile.dep powerpc64-linux-gnu-gcc: error: unrecognized argument in option '-mtune=generic' powerpc64-linux-gnu-gcc: note: valid arguments to '-mtune=' are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power10 power11 power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libelf' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libhvcall' powerpc64-linux-gnu-gcc -m64 -M -I../libc/include -DCPU_PPCP7 -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/board-qemu/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include/ppcp7 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full brokensc1.c rfill.c hvcall.S > Makefile.dep powerpc64-linux-gnu-gcc: error: unrecognized argument in option '-mtune=generic' powerpc64-linux-gnu-gcc: note: valid arguments to '-mtune=' are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power10 power11 power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libhvcall' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libnvram' powerpc64-linux-gnu-gcc -m64 -I../libc/include -DCPU_PPCP7 -DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/board-qemu/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include/ppcp7 -I. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o nvram.o -c /home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libnvram/nvram.c powerpc64-linux-gnu-gcc: error: unrecognized argument in option '-mtune=generic' powerpc64-linux-gnu-gcc: note: valid arguments to '-mtune=' are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power10 power11 power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan make[3]: *** [/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/make.rules:55: nvram.o] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libnvram' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libelf' powerpc64-linux-gnu-gcc -m64 -I../libc/include -DCPU_PPCP7 -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include/ppcp7 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o elf.o -c /home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libelf/elf.c powerpc64-linux-gnu-gcc: error: unrecognized argument in option '-mtune=generic' powerpc64-linux-gnu-gcc: note: valid arguments to '-mtune=' are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power10 power11 power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan make[3]: *** [/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/make.rules:55: elf.o] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libelf' make[2]: *** [Makefile:24: libnvram] Error 2 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:24: libelf] Error 2 make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libhvcall' powerpc64-linux-gnu-gcc -m64 -I../libc/include -DCPU_PPCP7 -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/board-qemu/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include/ppcp7 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o brokensc1.o -c /home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libhvcall/brokensc1.c powerpc64-linux-gnu-gcc: error: unrecognized argument in option '-mtune=generic' powerpc64-linux-gnu-gcc: note: valid arguments to '-mtune=' are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power10 power11 power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan make[3]: *** [/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/make.rules:55: brokensc1.o] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libhvcall' make[2]: *** [Makefile:24: libhvcall] Error 2 make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libvirtio' powerpc64-linux-gnu-gcc -m64 -M -I../libc/include -DCPU_PPCP7 -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/board-qemu/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include/ppcp7 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full virtio.c virtio-blk.c p9.c virtio-9p.c virtio-scsi.c virtio-net.c virtio-serial.c > Makefile.dep powerpc64-linux-gnu-gcc: error: unrecognized argument in option '-mtune=generic' powerpc64-linux-gnu-gcc: note: valid arguments to '-mtune=' are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power10 power11 power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libvirtio' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libvirtio' powerpc64-linux-gnu-gcc -m64 -I../libc/include -DCPU_PPCP7 -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/board-qemu/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include/ppcp7 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o virtio.o -c /home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libvirtio/virtio.c powerpc64-linux-gnu-gcc: error: unrecognized argument in option '-mtune=generic' powerpc64-linux-gnu-gcc: note: valid arguments to '-mtune=' are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power10 power11 power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan make[3]: *** [/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/make.rules:55: virtio.o] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libvirtio' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libvirtio' powerpc64-linux-gnu-gcc -m64 -I../libc/include -DCPU_PPCP7 -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/board-qemu/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include/ppcp7 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o virtio-blk.o -c /home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libvirtio/virtio-blk.c powerpc64-linux-gnu-gcc: error: unrecognized argument in option '-mtune=generic' powerpc64-linux-gnu-gcc: note: valid arguments to '-mtune=' are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power10 power11 power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan make[3]: *** [/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/make.rules:55: virtio-blk.o] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libvirtio' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libc' powerpc64-linux-gnu-gcc -m64 -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libc/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c /home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libc/string/strcat.c -o strcat.o powerpc64-linux-gnu-gcc: error: unrecognized argument in option '-mtune=generic' powerpc64-linux-gnu-gcc: note: valid arguments to '-mtune=' are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power10 power11 power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan make[3]: *** [/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libc/string/Makefile.inc:22: strcat.o] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libc' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libvirtio' powerpc64-linux-gnu-gcc -m64 -I../libc/include -DCPU_PPCP7 -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/board-qemu/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include/ppcp7 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o p9.o -c /home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libvirtio/p9.c powerpc64-linux-gnu-gcc: error: unrecognized argument in option '-mtune=generic' powerpc64-linux-gnu-gcc: note: valid arguments to '-mtune=' are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power10 power11 power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan make[3]: *** [/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/make.rules:55: p9.o] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libvirtio' make[2]: *** [Makefile:24: libvirtio] Error 2 make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libc' powerpc64-linux-gnu-gcc -m64 -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libc/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c /home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libc/string/strchr.c -o strchr.o powerpc64-linux-gnu-gcc: error: unrecognized argument in option '-mtune=generic' powerpc64-linux-gnu-gcc: note: valid arguments to '-mtune=' are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power10 power11 power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan make[3]: *** [/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libc/string/Makefile.inc:22: strchr.o] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libc' make[2]: *** [Makefile:24: libc] Error 2 make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libbootmsg' powerpc64-linux-gnu-gcc -m64 -I../libc/include -DCPU_PPCP7 -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/board-qemu/include -I. -I../../include -DRTAS_NVRAM -DBROKEN_SC1 -DDHCPARCH=0x0C -DCPU_PPCP7 -Wa,-mregnames -c bootmsg_lvl.S -o bootmsg_lvl.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libbootmsg' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libbootmsg' ar -rc ../libbootmsg.a bootmsg_lvl.o powerpc64-linux-gnu-ranlib ../libbootmsg.a make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/lib/libbootmsg' make[1]: *** [/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/Makefile.gen:167: common-libs] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/romfs/tools' gcc -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/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 '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/romfs/tools' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/romfs/tools' gcc -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/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 In file included from create_crc.c:22: create_crc.c: In function 'createHeaderImage': /home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/board-qemu/include/product.h:21:23: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (9 chars into 8 available) [-Wunterminated-string-initialization] 21 | #define FLASHFS_MAGIC "magic123" | ^~~~~~~~~~ create_crc.c:81:26: note: in expansion of macro 'FLASHFS_MAGIC' 81 | .magic = FLASHFS_MAGIC, | ^~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/romfs/tools' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/tools' gcc -W -g -Wall -W -O2 -I. -I../include -I../romfs/tools -c sloffs.c sloffs.c: In function 'sloffs_header': sloffs.c:194:46: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'ssize_t' {aka 'int'} [-Wformat=] 194 | printf("Reading header, rc %ld, errno %d\n", rc, errno); | ~~^ ~~ | | | | long int ssize_t {aka int} | %d sloffs.c: In function 'sloffs_append': sloffs.c:341:53: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'ssize_t' {aka 'int'} [-Wformat=] 341 | printf("Extending file failed, rc %ld, errno %d\n", rc, errno); | ~~^ ~~ | | | | long int ssize_t {aka int} | %d sloffs.c: In function 'sloffs_dump': sloffs.c:465:35: warning: format '%ld' expects argument of type 'long int', but argument 2 has type '__uint64_t' {aka 'long long unsigned int'} [-Wformat=] 465 | printf(" Image Length: %ld", be64_to_cpu(header->flashlen)); | ~~^ | | | long int | %lld sloffs.c:466:23: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type '__uint64_t' {aka 'long long unsigned int'} [-Wformat=] 466 | printf(" (0x%lx) bytes\n", be64_to_cpu(header->flashlen)); | ~~^ | | | long unsigned int | %llx sloffs.c:469:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 469 | printf(" Header CRC : 0x%016lx CRC check: ", crc); | ~~~~~^ ~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %016llx sloffs.c:502:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 502 | printf(" Image CRC : 0x%016lx CRC check: ", crc); | ~~~~~^ ~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %016llx sloffs.c: In function 'sloffs_list': sloffs.c:579:34: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 579 | printf(" 0x%08lx", offset); | ~~~~^ ~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %08llx sloffs.c:585:29: warning: format '%ld' expects argument of type 'long int', but argument 2 has type '__uint64_t' {aka 'long long unsigned int'} [-Wformat=] 585 | printf("%07ld ", be64_to_cpu(file.len)); | ~~~~^ | | | long int | %07lld sloffs.c:586:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type '__uint64_t' {aka 'long long unsigned int'} [-Wformat=] 586 | printf("(0x%06lx)", be64_to_cpu(file.len)); | ~~~~^ | | | long unsigned int | %06llx sloffs.c:587:33: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type '__uint64_t' {aka 'long long unsigned int'} [-Wformat=] 587 | printf(" 0x%08lx\n", be64_to_cpu(file.flags)); | ~~~~^ | | | long unsigned int | %08llx make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/tools' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/romfs/tools' gcc -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/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 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/romfs/tools' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/tools' gcc -g -Wall -W -O2 -I. -I../include -I../romfs/tools -o sloffs sloffs.o crclib.o make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/tools' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/romfs/tools' gcc -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/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[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/romfs/tools' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/romfs/tools' gcc -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/include -I/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/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[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/romfs/tools' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/romfs/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 '/home/iurt/rpmbuild/BUILD/slof-0.1.git20210217-build/SLOF-qemu-slof-20210217/romfs/tools' make: *** [Makefile:56: qemu] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.0okUba (%build) RPM build warnings: /home/iurt/rpmbuild/SPECS/slof.spec line 56: autopatch: no matching patches in range RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.0okUba (%build) I: [iurt_root_command] ERROR: chroot