+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/bios_extract.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 warning: Macro expanded in comment on line 13: %{name} warning: Macro expanded in comment on line 14: %{name}-%{version}/ %{git_commit} | xz > %{name}-%{version}.tar.xz Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GeC0Qt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bios_extract-0 + /usr/bin/xz -dc /builddir/build/SOURCES/bios_extract-0.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bios_extract-0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (bios_extract-0001-Identification-of-some-more-Award-BIOS-images.patch):' Patch #1 (bios_extract-0001-Identification-of-some-more-Award-BIOS-images.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .more_award_types --fuzz=0 patching file bios_extract.c + install -p -m 0644 xfv/README.txt README-xfv.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7dH3HS + umask 022 + cd /builddir/build/BUILD + cd bios_extract-0 + 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 -fpack-struct' + make -j4 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 -fpack-struct -c -o lh5_extract.o lh5_extract.c 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 -fpack-struct -c -o ami.o ami.c 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 -fpack-struct -c -o award.o award.c 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 -fpack-struct -c -o phoenix.o phoenix.c ami.c: In function 'AMI95Extract': ami.c:190:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, BIOSImage + BootOffset, BIOSLength - BootOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phoenix.c: In function 'PhoenixExtract': phoenix.c:845:26: warning: implicit declaration of function 'memmem'; did you mean 'memset'? [-Wimplicit-function-declaration] unsigned char *bcpcmp = memmem(BIOSImage, BIOSLength - 6, "BCPCMP", 6); ^~~~~~ memset phoenix.c:845:26: warning: initialization makes pointer from integer without a cast [-Wint-conversion] phoenix.c: In function 'PhoenixVolume1': phoenix.c:621:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, BIOSImage + Base, Length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phoenix.c: In function 'phx_write_file': phoenix.c:264:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, BIOSImage + offset + 0x18, length - 0x18); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phoenix.c: In function 'PhoenixVolume2': phoenix.c:712:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, BIOSImage + Base, Length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phoenix.c:727:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, BIOSImage + Base, Length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phoenix.c: In function 'PhoenixModule': phoenix.c:408:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, ModuleData, Packed); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phoenix.c:417:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, ModuleData, Packed); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fpack-struct -c -o bios_extract.o bios_extract.c 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 -fpack-struct -c -o compat.o compat.c phoenix.c: In function 'PhoenixVolume1': phoenix.c:611:43: warning: '.bin' directive output may be truncated writing 4 bytes into a region of size between 3 and 9 [-Wformat-truncation=] snprintf(Name, sizeof(Name), "hole_%02x.bin", ^~~~ In file included from /usr/include/stdio.h:862:0, from phoenix.c:20: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 12 and 18 bytes into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fpack-struct -c -o lzss_extract.o lzss_extract.c phoenix.c: In function 'PhoenixVolume2': phoenix.c:717:43: warning: '.bin' directive output may be truncated writing 4 bytes into a region of size between 3 and 9 [-Wformat-truncation=] snprintf(Name, sizeof(Name), "hole_%02x.bin", ^~~~ In file included from /usr/include/stdio.h:862:0, from phoenix.c:20: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 12 and 18 bytes into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fpack-struct -c -o bcpvpd.o bcpvpd.c phoenix.c: In function 'PhoenixExtract': phoenix.c:375:30: warning: '.rom' directive writing 4 bytes into a region of size between 3 and 5 [-Wformat-overflow=] sprintf(filename, "%02X_%1d.rom", Module->Type, Module->Id); ^~~~ In file included from /usr/include/stdio.h:862:0, from phoenix.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 11 bytes into a destination of size 9 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fpack-struct -c -o ami_slab.o ami_slab.c 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 -fpack-struct -c -o xfv/Decompress.o xfv/Decompress.c 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 -fpack-struct -c -o xfv/efidecomp.o xfv/efidecomp.c 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 -fpack-struct lh5_extract.o ami.o award.o phoenix.o bios_extract.o compat.o -o bios_extract 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 -fpack-struct lzss_extract.o bcpvpd.o -o bcpvpd 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 -fpack-struct ami_slab.o -o ami_slab cc -I xfv/ -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 -fpack-struct -o xfv/efidecomp xfv/Decompress.o xfv/efidecomp.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BMKC7e + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64 + cd bios_extract-0 + install -p -m 0755 -D bios_extract /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/bin/bios_extract + install -p -m 0755 -D ami_slab /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/bin/ami_slab + install -p -m 0755 -D bcpvpd /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/bin/bcpvpd + install -p -m 0755 -D change-mcp55-mac.pl /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/bin/change-mcp55-mac.pl + install -p -m 0755 -D csmcoreparse.py /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/bin/csmcoreparse.py + install -p -m 0755 -D decap.sh /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/bin/decap.sh + install -p -m 0755 -D dell_inspiron_1100_unpacker.py /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/bin/dell_inspiron_1100_unpacker.py + install -p -m 0755 -D hp_6715b_nc6320_unpacker.py /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/bin/hp_6715b_nc6320_unpacker.py + install -p -m 0755 -D microcode_extract.py /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/bin/microcode_extract.py + install -p -m 0755 -D phoenix_extract.py /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/bin/phoenix_extract.py + install -p -m 0755 -D xfv/efidecomp /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/bin/efidecomp + install -p -m 0755 -D xfv/xfv.py /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/bin/xfv.py + /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 *** WARNING: ./usr/bin/hp_6715b_nc6320_unpacker.py is executable but has empty or no shebang, removing executable bit *** WARNING: mangling shebang in ./usr/bin/xfv.py from #!/usr/bin/python to #!/usr/bin/python2. This will become an ERROR, fix it manually! *** WARNING: ./usr/bin/dell_inspiron_1100_unpacker.py is executable but has empty or no shebang, removing executable bit *** WARNING: mangling shebang in ./usr/bin/csmcoreparse.py from #!/usr/bin/env python to #!/usr/bin/python2. This will become an ERROR, fix it manually! *** WARNING: ./usr/bin/microcode_extract.py is executable but has empty or no shebang, removing executable bit *** WARNING: ./usr/bin/phoenix_extract.py is executable but has empty or no shebang, removing executable bit Processing files: bios_extract-0-0.19.20150611gita257643.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.l3eAOg + umask 022 + cd /builddir/build/BUILD + cd bios_extract-0 + DOCDIR=/builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/share/doc/bios_extract + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/share/doc/bios_extract + cp -pr COPYING /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/share/doc/bios_extract + cp -pr README /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/share/doc/bios_extract + cp -pr README-xfv.txt /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64/usr/share/doc/bios_extract + exit 0 Provides: bios_extract = 0-0.19.20150611gita257643.fc28 bios_extract(riscv-64) = 0-0.19.20150611gita257643.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh /usr/bin/perl /usr/bin/python2 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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.fc28.riscv64 Wrote: /builddir/build/SRPMS/bios_extract-0-0.19.20150611gita257643.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/bios_extract-0-0.19.20150611gita257643.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.IavW5g + umask 022 + cd /builddir/build/BUILD + cd bios_extract-0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bios_extract-0-0.19.20150611gita257643.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