Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bios_extract.spec'], chrootPath='/var/lib/mock/f30-build-35856-20107/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bios_extract.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 13: %{name} BUILDSTDERR: warning: Macro expanded in comment on line 14: %{name}-%{version}/ %{git_commit} | xz > %{name}-%{version}.tar.xz Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/bios_extract-0-0.21.20150611gita257643.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bios_extract.spec'], chrootPath='/var/lib/mock/f30-build-35856-20107/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bios_extract.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 13: %{name} BUILDSTDERR: warning: Macro expanded in comment on line 14: %{name}-%{version}/ %{git_commit} | xz > %{name}-%{version}.tar.xz Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hK7RkG + 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.VjOjrN + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpack-struct -c -o phoenix.o phoenix.c BUILDSTDERR: ami.c: In function 'AMI95Extract': BUILDSTDERR: ami.c:190:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd, BIOSImage + BootOffset, BIOSLength - BootOffset); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: phoenix.c: In function 'PhoenixExtract': BUILDSTDERR: phoenix.c:845:26: warning: implicit declaration of function 'memmem'; did you mean 'memset'? [-Wimplicit-function-declaration] BUILDSTDERR: unsigned char *bcpcmp = memmem(BIOSImage, BIOSLength - 6, "BCPCMP", 6); BUILDSTDERR: ^~~~~~ BUILDSTDERR: memset BUILDSTDERR: phoenix.c:845:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: phoenix.c: In function 'PhoenixVolume1': BUILDSTDERR: phoenix.c:621:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd, BIOSImage + Base, Length); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: phoenix.c: In function 'phx_write_file': BUILDSTDERR: phoenix.c:264:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd, BIOSImage + offset + 0x18, length - 0x18); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: phoenix.c: In function 'PhoenixVolume2': BUILDSTDERR: phoenix.c:712:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd, BIOSImage + Base, Length); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: phoenix.c:727:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd, BIOSImage + Base, Length); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: phoenix.c: In function 'PhoenixModule': BUILDSTDERR: phoenix.c:408:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd, ModuleData, Packed); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: phoenix.c:417:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd, ModuleData, Packed); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpack-struct -c -o compat.o compat.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpack-struct -c -o lzss_extract.o lzss_extract.c BUILDSTDERR: phoenix.c: In function 'PhoenixVolume1': BUILDSTDERR: 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=] BUILDSTDERR: snprintf(Name, sizeof(Name), "hole_%02x.bin", BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from phoenix.c:20: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 12 and 18 bytes into a destination of size 16 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpack-struct -c -o bcpvpd.o bcpvpd.c BUILDSTDERR: phoenix.c: In function 'PhoenixVolume2': BUILDSTDERR: 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=] BUILDSTDERR: snprintf(Name, sizeof(Name), "hole_%02x.bin", BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from phoenix.c:20: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 12 and 18 bytes into a destination of size 16 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpack-struct -c -o xfv/Decompress.o xfv/Decompress.c BUILDSTDERR: phoenix.c: In function 'PhoenixExtract': BUILDSTDERR: phoenix.c:375:30: warning: '.rom' directive writing 4 bytes into a region of size between 3 and 5 [-Wformat-overflow=] BUILDSTDERR: sprintf(filename, "%02X_%1d.rom", Module->Type, Module->Id); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from phoenix.c:20: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 11 bytes into a destination of size 9 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpack-struct ami_slab.o -o ami_slab 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpack-struct lh5_extract.o ami.o award.o phoenix.o bios_extract.o compat.o -o bios_extract 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpack-struct -o xfv/efidecomp xfv/Decompress.o xfv/efidecomp.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.91vnt8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64 + cd bios_extract-0 + install -p -m 0755 -D bios_extract /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/bios_extract + install -p -m 0755 -D ami_slab /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/ami_slab + install -p -m 0755 -D bcpvpd /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/bcpvpd + install -p -m 0755 -D change-mcp55-mac.pl /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/change-mcp55-mac.pl + install -p -m 0755 -D csmcoreparse.py /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/csmcoreparse.py + install -p -m 0755 -D decap.sh /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/decap.sh + install -p -m 0755 -D dell_inspiron_1100_unpacker.py /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.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.21.20150611gita257643.fc30.riscv64/usr/bin/hp_6715b_nc6320_unpacker.py + install -p -m 0755 -D microcode_extract.py /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/microcode_extract.py + install -p -m 0755 -D phoenix_extract.py /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/phoenix_extract.py + install -p -m 0755 -D xfv/efidecomp /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/efidecomp + install -p -m 0755 -D xfv/xfv.py /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/xfv.py + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0-0.21.20150611gita257643.fc30 --unique-debug-suffix -0-0.21.20150611gita257643.fc30.riscv64 --unique-debug-src-base bios_extract-0-0.21.20150611gita257643.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bios_extract-0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/efidecomp explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/bios_extract explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/bcpvpd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/ami_slab extracting debug info from /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/efidecomp extracting debug info from /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/bios_extract extracting debug info from /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/ami_slab extracting debug info from /builddir/build/BUILDROOT/bios_extract-0-0.21.20150611gita257643.fc30.riscv64/usr/bin/bcpvpd /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. BUILDSTDERR: 171 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/bin/xfv.py: #!/usr/bin/python. Change it to python3 (or python2) explicitly. BUILDSTDERR: *** WARNING: ./usr/bin/dell_inspiron_1100_unpacker.py is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/bin/microcode_extract.py is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/bin/phoenix_extract.py is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/bin/csmcoreparse.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. BUILDSTDERR: *** WARNING: ./usr/bin/hp_6715b_nc6320_unpacker.py is executable but has empty or no shebang, removing executable bit mangling shebang in /usr/bin/decap.sh from /bin/sh to #!/usr/bin/sh BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.91vnt8 (%install) RPM build errors: BUILDSTDERR: Macro expanded in comment on line 13: %{name} BUILDSTDERR: Macro expanded in comment on line 14: %{name}-%{version}/ %{git_commit} | xz > %{name}-%{version}.tar.xz BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.91vnt8 (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bios_extract.spec