Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/efibootmgr.spec'], chrootPath='/var/lib/mock/f33-build-466963-63681/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/efibootmgr.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1596672000 Wrote: /builddir/build/SRPMS/efibootmgr-16-9.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/efibootmgr.spec'], chrootPath='/var/lib/mock/f33-build-466963-63681/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/efibootmgr.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1596672000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WSkQw6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf efibootmgr-16 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/efibootmgr-16.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd efibootmgr-16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'efibootmgr-16 base' + /usr/bin/git apply --index --reject - + /usr/bin/cat /builddir/build/SOURCES/efibootmgr-16-efidp_format_device_path-argfix.patch Checking patch src/efibootdump.c... Checking patch src/efibootmgr.c... Checking patch src/eficonman.c... Applied patch src/efibootdump.c cleanly. Applied patch src/efibootmgr.c cleanly. Applied patch src/eficonman.c cleanly. + /usr/bin/git commit -q -m efibootmgr-16-efidp_format_device_path-argfix.patch --author 'rpm-build ' + git config --local --add efibootmgr.efidir fedora + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GxAsi5 + umask 022 + cd /builddir/build/BUILD + cd efibootmgr-16 + /usr/bin/make -O -j4 V=1 VERBOSE=1 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' Building with EFIDIR as fedora /usr/bin/make -f /builddir/build/BUILD/efibootmgr-16/Make.deps deps SOURCES="efibootmgr.c efi.c unparse_path.c" SUBDIR_CFLAGS="-I/builddir/build/BUILD/efibootmgr-16/src/include" make[2]: Entering directory '/builddir/build/BUILD/efibootmgr-16/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/builddir/build/BUILD/efibootmgr-16/src/include -Werror -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\fedora\\\\grub.efi\" -MM -MG -MF .efibootmgr.d efibootmgr.c make[2]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' make[2]: Entering directory '/builddir/build/BUILD/efibootmgr-16/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/builddir/build/BUILD/efibootmgr-16/src/include -Werror -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\fedora\\\\grub.efi\" -MM -MG -MF .efi.d efi.c make[2]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' make[2]: Entering directory '/builddir/build/BUILD/efibootmgr-16/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/builddir/build/BUILD/efibootmgr-16/src/include -Werror -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\fedora\\\\grub.efi\" -MM -MG -MF .unparse_path.d unparse_path.c make[2]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' /usr/bin/make -f /builddir/build/BUILD/efibootmgr-16/Make.deps deps SOURCES="efibootmgr.c efi.c unparse_path.c" SUBDIR_CFLAGS="-I/builddir/build/BUILD/efibootmgr-16/src/include" make[2]: Nothing to be done for 'deps'. make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-16/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/builddir/build/BUILD/efibootmgr-16/src/include -Werror -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\fedora\\\\grub.efi\" -I/usr/include/efivar -c -o unparse_path.o unparse_path.c make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-16/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/builddir/build/BUILD/efibootmgr-16/src/include -Werror -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\fedora\\\\grub.efi\" -I/usr/include/efivar -c -o efi.o efi.c make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-16/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/builddir/build/BUILD/efibootmgr-16/src/include -Werror -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\fedora\\\\grub.efi\" -I/usr/include/efivar -c -o efibootdump.o efibootdump.c make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' efibootdump.c: In function 'print_boot_entry': efibootdump.c:70:32: error: pointer targets in passing argument 1 of 'efidp_format_device_path' differ in signedness [-Werror=pointer-sign] 70 | rc = efidp_format_device_path((unsigned char *)text_path, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/efivar/efivar.h:238, from /usr/include/efivar/efiboot.h:33, from efibootdump.c:12: /usr/include/efivar/efivar-dp.h:1245:47: note: expected 'char *' but argument is of type 'unsigned char *' 1245 | extern ssize_t efidp_format_device_path(char *buf, size_t size, const_efidp dp, | ~~~~~~^~~ cc1: all warnings being treated as errors make[1]: *** [/builddir/build/BUILD/efibootmgr-16/Make.rules:32: efibootdump.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-16/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/builddir/build/BUILD/efibootmgr-16/src/include -Werror -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"16\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\fedora\\\\grub.efi\" -I/usr/include/efivar -c -o efibootmgr.o efibootmgr.c make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' efibootmgr.c: In function 'show_vars': efibootmgr.c:944:34: error: pointer targets in passing argument 1 of 'efidp_format_device_path' differ in signedness [-Werror=pointer-sign] 944 | rc = efidp_format_device_path((unsigned char *)text_path, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/efivar/efivar.h:238, from efibootmgr.c:47: /usr/include/efivar/efivar-dp.h:1245:47: note: expected 'char *' but argument is of type 'unsigned char *' 1245 | extern ssize_t efidp_format_device_path(char *buf, size_t size, const_efidp dp, | ~~~~~~^~~ efibootmgr.c:955:34: error: pointer targets in passing argument 1 of 'efidp_format_device_path' differ in signedness [-Werror=pointer-sign] 955 | rc = efidp_format_device_path((unsigned char *)text_path, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/efivar/efivar.h:238, from efibootmgr.c:47: /usr/include/efivar/efivar-dp.h:1245:47: note: expected 'char *' but argument is of type 'unsigned char *' 1245 | extern ssize_t efidp_format_device_path(char *buf, size_t size, const_efidp dp, | ~~~~~~^~~ cc1: all warnings being treated as errors make[1]: *** [/builddir/build/BUILD/efibootmgr-16/Make.rules:32: efibootmgr.o] Error 1 make: *** [Makefile:12: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.GxAsi5 (%build) Bad exit status from /var/tmp/rpm-tmp.GxAsi5 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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/efibootmgr.spec