Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/efibootmgr.spec'], chrootPath='/var/lib/mock/dist-circle8-build-19626-3635/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/efibootmgr-16-1.el8_3.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/efibootmgr.spec'], chrootPath='/var/lib/mock/dist-circle8-build-19626-3635/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Nngo2O + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf efibootmgr-16 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/efibootmgr-16.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd efibootmgr-16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + git init Initialized empty Git repository in /builddir/build/BUILD/efibootmgr-16/.git/ + git config user.email example@example.com + git config user.name 'RHEL Ninjas' + git add . + git commit -a -q -m '16 baseline.' + git am + git config --unset user.email + git config --unset user.name + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6IJlUz + umask 022 + cd /builddir/build/BUILD + cd efibootmgr-16 + make -j16 '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' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' EFIDIR=circle Building with EFIDIR as circle make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-16/src' 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 -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 -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\\\\circle\\\\grub.efi\" -MM -MG -MF .efibootmgr.d efibootmgr.c 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 -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\\\\circle\\\\grub.efi\" -MM -MG -MF .efi.d efi.c 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 -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\\\\circle\\\\grub.efi\" -MM -MG -MF .unparse_path.d unparse_path.c make[2]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-16/src' 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" 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 -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\\\\circle\\\\grub.efi\" -I/usr/include/efivar -c -o efibootmgr.o efibootmgr.c make[2]: Entering directory '/builddir/build/BUILD/efibootmgr-16/src' make[2]: Nothing to be done for 'deps'. make[2]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' 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 -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\\\\circle\\\\grub.efi\" -I/usr/include/efivar -c -o efi.o efi.c 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 -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\\\\circle\\\\grub.efi\" -I/usr/include/efivar -c -o unparse_path.o unparse_path.c 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 -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\\\\circle\\\\grub.efi\" -I/usr/include/efivar -c -o efibootdump.o efibootdump.c 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] rc = efidp_format_device_path(text_path, text_path_len, ^~~~~~~~~ In file included from /usr/include/efivar/efivar.h:258, from /usr/include/efivar/efiboot.h:33, from efibootdump.c:12: /usr/include/efivar/efivar-dp.h:1247:16: note: expected 'unsigned char *' but argument is of type 'char *' extern ssize_t efidp_format_device_path(unsigned char *buf, size_t size, ^~~~~~~~~~~~~~~~~~~~~~~~ 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] rc = efidp_format_device_path(text_path, text_path_len, ^~~~~~~~~ In file included from /usr/include/efivar/efivar.h:258, from efibootmgr.c:47: /usr/include/efivar/efivar-dp.h:1247:16: note: expected 'unsigned char *' but argument is of type 'char *' extern ssize_t efidp_format_device_path(unsigned char *buf, size_t size, ^~~~~~~~~~~~~~~~~~~~~~~~ efibootmgr.c:955:34: error: pointer targets in passing argument 1 of 'efidp_format_device_path' differ in signedness [-Werror=pointer-sign] rc = efidp_format_device_path(text_path, text_path_len, ^~~~~~~~~ In file included from /usr/include/efivar/efivar.h:258, from efibootmgr.c:47: /usr/include/efivar/efivar-dp.h:1247:16: note: expected 'unsigned char *' but argument is of type 'char *' extern ssize_t efidp_format_device_path(unsigned char *buf, size_t size, ^~~~~~~~~~~~~~~~~~~~~~~~ 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.... cc1: all warnings being treated as errors make[1]: *** [/builddir/build/BUILD/efibootmgr-16/Make.rules:32: efibootmgr.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-16/src' make: *** [Makefile:12: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.6IJlUz (%build) Bad exit status from /var/tmp/rpm-tmp.6IJlUz (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, 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 aarch64 --nodeps /builddir/build/SPECS/efibootmgr.spec