Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/efibootmgr.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-196248-60841/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=989gid=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-18-1.an8.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-an8.6-build-196248-60841/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=989gid=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.2RjX0L + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf efibootmgr-18 + /usr/bin/gzip -dc /builddir/build/SOURCES/efibootmgr-18.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd efibootmgr-18 + /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 add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'efibootmgr-18 base' + git config --local --add efibootmgr.efidir anolis + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UiLmZi + umask 022 + cd /builddir/build/BUILD + cd efibootmgr-18 + /usr/bin/make -O -j8 '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' Building with EFIDIR as anolis /usr/bin/make -f /builddir/build/BUILD/efibootmgr-18/Make.deps \ SOURCES="efibootmgr.c efi.c parse_loader_data.c" \ SUBDIR_CFLAGS="-I/builddir/build/BUILD/efibootmgr-18/src/include" \ PKGS="efivar efiboot popt" \ deps make[2]: Entering directory '/builddir/build/BUILD/efibootmgr-18/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-18/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="\"18\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -I/usr/include/efivar -MM -MG -MF .efi.d efi.c make[2]: Leaving directory '/builddir/build/BUILD/efibootmgr-18/src' make[2]: Entering directory '/builddir/build/BUILD/efibootmgr-18/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-18/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="\"18\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -I/usr/include/efivar -MM -MG -MF .parse_loader_data.d parse_loader_data.c make[2]: Leaving directory '/builddir/build/BUILD/efibootmgr-18/src' make[2]: Entering directory '/builddir/build/BUILD/efibootmgr-18/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-18/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="\"18\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -I/usr/include/efivar -MM -MG -MF .efibootmgr.d efibootmgr.c make[2]: Leaving directory '/builddir/build/BUILD/efibootmgr-18/src' /usr/bin/make -f /builddir/build/BUILD/efibootmgr-18/Make.deps \ SOURCES="efibootmgr.c efi.c parse_loader_data.c" \ SUBDIR_CFLAGS="-I/builddir/build/BUILD/efibootmgr-18/src/include" \ PKGS="efivar efiboot popt" \ deps make[2]: Nothing to be done for 'deps'. make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-18/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-18/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="\"18\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -I/usr/include/efivar -c -o parse_loader_data.o parse_loader_data.c make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-18/src' make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-18/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-18/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="\"18\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -I/usr/include/efivar -c -o efi.o efi.c make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-18/src' make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-18/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-18/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="\"18\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -I/usr/include/efivar -c -o efibootdump.o efibootdump.c make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-18/src' make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-18/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-18/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="\"18\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -I/usr/include/efivar -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fno-merge-constants -Wl,--fatal-warnings,--no-allow-shlib-undefined -Wl,-O2 -Wl,--no-undefined-version -o efibootdump efibootdump.o parse_loader_data.o -lefivar -lefiboot -lpopt make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-18/src' make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-18/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-18/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="\"18\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -I/usr/include/efivar -c -o efibootmgr.o efibootmgr.c make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-18/src' make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-18/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-18/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="\"18\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\anolis\\\\grub.efi\" -I/usr/include/efivar -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fno-merge-constants -Wl,--fatal-warnings,--no-allow-shlib-undefined -Wl,-O2 -Wl,--no-undefined-version -o efibootmgr efibootmgr.o efi.o parse_loader_data.o -lefivar -lefiboot make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-18/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9Y2F6O + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/efibootmgr-18-1.an8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/efibootmgr-18-1.an8.aarch64 ++ dirname /builddir/build/BUILDROOT/efibootmgr-18-1.an8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/efibootmgr-18-1.an8.aarch64 + cd efibootmgr-18 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/efibootmgr-18-1.an8.aarch64 'INSTALL=/usr/bin/install -p' libdir=/usr/lib64 bindir=/usr/bin mandir=/usr/share/man localedir=/usr/share/locale/ includedir=/usr/include libexecdir=/usr/libexec datadir=/usr/share Building with EFIDIR as anolis make[1]: Entering directory '/builddir/build/BUILD/efibootmgr-18/src' /usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/efibootmgr-18-1.an8.aarch64//usr/sbin/ /usr/bin/install -p -m 755 efibootmgr /builddir/build/BUILDROOT/efibootmgr-18-1.an8.aarch64//usr/sbin/efibootmgr /usr/bin/install -p -m 755 efibootdump /builddir/build/BUILDROOT/efibootmgr-18-1.an8.aarch64//usr/sbin/efibootdump /usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/efibootmgr-18-1.an8.aarch64//usr/share/man/man8/ /usr/bin/install -p -m 644 efibootmgr.8 /builddir/build/BUILDROOT/efibootmgr-18-1.an8.aarch64//usr/share/man/man8/efibootmgr.8 /usr/bin/install -p -m 644 efibootdump.8 /builddir/build/BUILDROOT/efibootmgr-18-1.an8.aarch64//usr/share/man/man8/efibootdump.8 make[1]: Leaving directory '/builddir/build/BUILD/efibootmgr-18/src' + %generate_compatibility_deps /var/tmp/rpm-tmp.9Y2F6O: line 43: fg: no job control RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.9Y2F6O (%install) Bad exit status from /var/tmp/rpm-tmp.9Y2F6O (%install) 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