+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/coreboot-utils.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nKccTf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf coreboot-4.6 + /usr/bin/tar -xof - + /usr/bin/xz -dc /builddir/build/SOURCES/coreboot-4.6.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd coreboot-4.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/coreboot-utils-0001-util-cbfstool-lz4frame.c-Add-comment-to-fall-through.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/coreboot-utils-0001-msrtool-Remove-no-pic-from-CFLAGS.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ksQZMY + umask 022 + cd /builddir/build/BUILD + cd coreboot-4.6 + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' -C util/romcc romcc make: Entering directory '/builddir/build/BUILD/coreboot-4.6/util/romcc' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 romcc.c -o romcc romcc.c: In function 'string_constant': romcc.c:10786:7: warning: 'ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] *ptr = '\0'; ~~~~~^~~~~~ make: Leaving directory '/builddir/build/BUILD/coreboot-4.6/util/romcc' + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' -C util/cbmem make: Entering directory '/builddir/build/BUILD/coreboot-4.6/util/cbmem' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I ../../src/commonlib/include -c -o cbmem.o cbmem.c cc cbmem.o -o cbmem make: Leaving directory '/builddir/build/BUILD/coreboot-4.6/util/cbmem' + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' -C util/ifdfake make: Entering directory '/builddir/build/BUILD/coreboot-4.6/util/ifdfake' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ifdfake.o ifdfake.c cc -o ifdfake ifdfake.o make: Leaving directory '/builddir/build/BUILD/coreboot-4.6/util/ifdfake' + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' -C util/ifdtool make: Entering directory '/builddir/build/BUILD/coreboot-4.6/util/ifdtool' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ifdtool.o ifdtool.c gcc -o ifdtool ifdtool.o make: Leaving directory '/builddir/build/BUILD/coreboot-4.6/util/ifdtool' + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' -C util/cbfstool make: Entering directory '/builddir/build/BUILD/coreboot-4.6/util/cbfstool' HOSTCC cbfstool/cbfstool.o HOSTCC cbfstool/common.o HOSTCC cbfstool/cbfs_image.o HOSTCC cbfstool/cbfs-mkstage.o HOSTCC cbfstool/cbfs-mkpayload.o HOSTCC cbfstool/elfheaders.o HOSTCC cbfstool/rmodule.o HOSTCC cbfstool/xdr.o HOSTCC cbfstool/fit.o HOSTCC cbfstool/partitioned_file.o HOSTCC cbfstool/cbfs.o HOSTCC cbfstool/fsp_relocate.o HOSTCC cbfstool/mem_pool.o HOSTCC cbfstool/region.o HOSTCC cbfstool/2sha_utility.o HOSTCC cbfstool/2sha1.o HOSTCC cbfstool/2sha256.o HOSTCC cbfstool/2sha512.o HOSTCC cbfstool/fmap.o HOSTCC cbfstool/kv_pair.o HOSTCC cbfstool/valstr.o HOSTCC cbfstool/linux_trampoline.o HOSTCC cbfstool/cbfs-payload-linux.o HOSTCC cbfstool/compress.o HOSTCC cbfstool/lz4.o HOSTCC cbfstool/lz4hc.o HOSTCC cbfstool/lz4frame.o HOSTCC cbfstool/xxhash.o HOSTCC cbfstool/lz4_wrapper.o HOSTCC cbfstool/lzma.o HOSTCC cbfstool/LzFind.o HOSTCC cbfstool/LzmaDec.o HOSTCC cbfstool/LzmaEnc.o HOSTCC cbfstool/fmaptool.o HOSTCC cbfstool/cbfs_sections.o HOSTCC cbfstool/fmap_from_fmd.o HOSTCC cbfstool/rmodtool.o HOSTCC cbfstool/ifwitool.o HOSTCC cbfstool/cbfscomptool.o HOSTCC cbfstool/fmd.o HOSTCC cbfstool/rmodtool (link) HOSTCC cbfstool/fmd_parser.o HOSTCC cbfstool/fmd_scanner.o HOSTCC cbfstool/cbfstool (link) HOSTCC cbfstool/cbfs-compression-tool (link) HOSTCC cbfstool/ifwitool (link) HOSTCC cbfstool/fmaptool (link) make: Leaving directory '/builddir/build/BUILD/coreboot-4.6/util/cbfstool' + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' -C util/amdfwtool make: Entering directory '/builddir/build/BUILD/coreboot-4.6/util/amdfwtool' cc amdfwtool.c -o amdfwtool make: Leaving directory '/builddir/build/BUILD/coreboot-4.6/util/amdfwtool' + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' -C util/intelvbttool make: Entering directory '/builddir/build/BUILD/coreboot-4.6/util/intelvbttool' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 intelvbttool.c -o intelvbttool make: Leaving directory '/builddir/build/BUILD/coreboot-4.6/util/intelvbttool' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Tsj4sz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64 + cd coreboot-4.6 + install -d /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/bin + install -d /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/share + install -d /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/share/man/man1 + make -j4 DESTDIR=/builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64 PREFIX=/usr -C util/ifdfake install make: Entering directory '/builddir/build/BUILD/coreboot-4.6/util/ifdfake' mkdir -p /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/bin /usr/bin/install ifdfake /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/bin make: Leaving directory '/builddir/build/BUILD/coreboot-4.6/util/ifdfake' + install util/ifdtool/ifdtool /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/bin + install util/cbfstool/cbfstool /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/bin + install util/amdfwtool/amdfwtool /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/bin + install util/intelvbttool/intelvbttool /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/bin + install util/cbmem/cbmem /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/bin + install util/romcc/romcc /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/bin + install -pm644 util/romcc/romcc.1 /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/share/man/man1/ + install -pm644 util/superiotool/README README.superiotool + install -pm644 util/superiotool/COPYING COPYING.superiotool + install -pm644 util/nvramtool/README README.nvramtool + install -pm644 util/nvramtool/COPYING COPYING.nvramtool + install -pm644 util/nvramtool/DISCLAIMER DISCLAIMER.nvramtool + install -pm644 util/romcc/COPYING COPYING.romcc + install -pm644 util/optionlist/README README.optionlist + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: coreboot-utils-4.6-3.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ncib3S + umask 022 + cd /builddir/build/BUILD + cd coreboot-4.6 + DOCDIR=/builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/share/doc/coreboot-utils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/share/doc/coreboot-utils + cp -pr README.superiotool /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/share/doc/coreboot-utils + cp -pr COPYING.superiotool /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/share/doc/coreboot-utils + cp -pr README.nvramtool /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/share/doc/coreboot-utils + cp -pr COPYING.nvramtool /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/share/doc/coreboot-utils + cp -pr DISCLAIMER.nvramtool /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/share/doc/coreboot-utils + cp -pr COPYING.romcc /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/share/doc/coreboot-utils + cp -pr README.optionlist /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64/usr/share/doc/coreboot-utils + exit 0 Provides: coreboot-utils = 4.6-3.fc28 coreboot-utils(riscv-64) = 4.6-3.fc28 superiotool = 4.6-3.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Obsoletes: superiotool <= 0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64 Wrote: /builddir/build/SRPMS/coreboot-utils-4.6-3.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/coreboot-utils-4.6-3.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5LHBiE + umask 022 + cd /builddir/build/BUILD + cd coreboot-4.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/coreboot-utils-4.6-3.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff