Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/gnu-efi.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1722555449.138460/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/gnu-efi.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/gnu-efi-3.0.11-8.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/gnu-efi.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1722555449.138460/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/gnu-efi.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/gnu-efi-3.0.11-8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/gnu-efi.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1722555449.138460/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/gnu-efi.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.22F3sj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gnu-efi-3.0.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gnu-efi-3.0.9.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd gnu-efi-3.0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + git init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /builddir/build/BUILD/gnu-efi-3.0.9/.git/ + git config user.email gnu-efi-owner@fedoraproject.org + git config user.name 'Fedora Ninjas' + git config sendemail.to gnu-efi-owner@fedoraproject.org + git add . + git commit -a -q -m '3.0.11 baseline.' + git am /builddir/build/SOURCES/0001-Set-0-properly-in-StrnCpy.patch /builddir/build/SOURCES/0002-Fix-typeo-in-efierr.h-EFI_WARN_UNKNOWN_GLYPH-definit.patch /builddir/build/SOURCES/0003-Fixed-typeo-lib-error.c-EFI_WARN_UNKNOWN_GLYPH-defin.patch /builddir/build/SOURCES/0004-efilink-fix-build-with-gcc-4.8.patch /builddir/build/SOURCES/0005-Fix-for-problem-with-undeclared-intptr_t-type.patch /builddir/build/SOURCES/0006-Redefine-jmp_buf-to-comply-with-C-calling-convention.patch /builddir/build/SOURCES/0007-Make.rules-incomplete-wrong-make-r-failure.patch /builddir/build/SOURCES/0008-gnuefi-Makefile-uses-a-strange-rule-to-create-libgnu.patch /builddir/build/SOURCES/0009-efiapi.h-fix-EventGroup-parameter-of-EFI_CREATE_EVEN.patch /builddir/build/SOURCES/0010-Do-not-include-efisetjmp.h-on-efi.h.patch /builddir/build/SOURCES/0011-Bump-revision-to-VERSION-3.0.10.patch /builddir/build/SOURCES/0012-Revert-efilink-fix-build-with-gcc-4.8.patch /builddir/build/SOURCES/0013-Bump-revision-to-VERSION-3.0.11.patch /builddir/build/SOURCES/0014-efibind-Fix-usage-of-efi-headers-from-C-code.patch /builddir/build/SOURCES/0015-Fix-ARCH-on-ARMv6.patch /builddir/build/SOURCES/0016-Re-add-back-the-original-symbol-typeo.patch /builddir/build/SOURCES/0017-Add-elf.h-for-cross-building-without-a-system-libelf.patch /builddir/build/SOURCES/0018-make-parameter-to-compile-apps-add-example-output-di.patch /builddir/build/SOURCES/0019-Support-for-building-on-macOS-systems.patch /builddir/build/SOURCES/0020-Make-apps-link-against-the-local-gnuefi-and-crt-obje.patch /builddir/build/SOURCES/0021-Add-.travis.yml.patch /builddir/build/SOURCES/0022-Use-EFI-canonical-names-everywhere-the-compiler-does.patch /builddir/build/SOURCES/0023-Fix-a-minor-coverity-complaint-in-some-apps.patch /builddir/build/SOURCES/0024-Add-stuff-that-s-got-weird-characters-to-.gitattribu.patch /builddir/build/SOURCES/0025-Get-rid-of-some-unused-junk-that-has-the-BSD-4-claus.patch /builddir/build/SOURCES/0026-Get-rid-of-unused-make-like-files-from-yore.patch /builddir/build/SOURCES/0027-Make-ELF-constructors-and-destructors-work.patch /builddir/build/SOURCES/0028-Remove-the-accidental-lib-Makefile.orig.patch /builddir/build/SOURCES/0029-gitignore-add-our-build-directories.patch /builddir/build/SOURCES/0030-make-Fix-shell-exit-status-handling.patch /builddir/build/SOURCES/0031-make-Make-make-clean-use-and-rm-v-everywhere.patch /builddir/build/SOURCES/0032-Make-our-dummy-.reloc-sections-not-depend-on-section.patch /builddir/build/SOURCES/0033-Make-CHAR8-and-similar-be-defined-the-same-way-edk2-.patch /builddir/build/SOURCES/0034-Make-make-TOPDIR-actually-work-and-get-rid-of-unused.patch /builddir/build/SOURCES/0035-Make-make-make-DESTDIR-.-foo-install-work-right.patch /builddir/build/SOURCES/0036-Install-our-libraries-in-LIBDIR-gnuefi-ARCH.patch /builddir/build/SOURCES/0037-Install-all-headers-for-all-arches.patch /builddir/build/SOURCES/0038-Rename-our-installed-.o-and-linker-scripts.patch /builddir/build/SOURCES/0039-Supply-makefile-templates.patch /builddir/build/SOURCES/0040-Semi-asciibetize-_Print-s-formatters.patch /builddir/build/SOURCES/0041-Implement-Print-L-p-ptr.patch /builddir/build/SOURCES/0042-Switch-to-fPIE.patch /builddir/build/SOURCES/0043-lfbgrid-Make-pointer-size-testing-not-arch-name-depe.patch /builddir/build/SOURCES/0044-Fix-the-arch-subdirs-in-.gitignore.patch /builddir/build/SOURCES/0045-Use-CFLAGS-with-gcc-print-libgcc-file-name-to-get-th.patch /builddir/build/SOURCES/0046-CFLAGS-add-Wno-pointer-sign.patch .git/rebase-apply/patch:540: new blank line at EOF. + warning: 1 line adds whitespace errors. Applying: Set '\0' properly in StrnCpy() Applying: Fix typeo in efierr.h EFI_WARN_UNKNOWN_GLYPH definition. Applying: * Fixed typeo lib/error.c EFI_WARN_UNKNOWN_GLYPH definition. On couple of locations in runtime string library (rtstr.c) there are calls to non-runtime variant of StrLen function. * Another issue is with formatting 1394 paths. The F1394_DEVICE_PATH::Guid is formatted as %g, but 1394 GUID is 8 byte integer, not EFI_GUID and therefore should be formatted as e.g. %016lx (as edk2 does). * Beyond what's mentioned above, changed the format of the harddrive path, so it's in line with edk2 format and spec (2.7 errata A, chapter 10.6.1.6, table 102). Applying: efilink: fix build with gcc 4.8 Applying: Fix for problem with undeclared intptr_t type Applying: Redefine jmp_buf to comply with C calling convention. Applying: Make.rules incomplete/wrong; make -r failure Applying: gnuefi/Makefile uses a strange rule to create libgnuefi.a, which only works because of a "make" builtin rule. This breaks make -r, and it is an inefficient way to build, at least for multiple files. Applying: efiapi.h: fix EventGroup parameter of EFI_CREATE_EVENT_EX prototype Applying: Do not include efisetjmp.h on efi.h Applying: Bump revision to VERSION = 3.0.10 Applying: Revert "efilink: fix build with gcc 4.8" Applying: Bump revision to VERSION = 3.0.11 Applying: efibind: Fix usage of efi headers from C++ code Applying: Fix ARCH on ARMv6. Applying: Re-add back the original symbol, typeo. Applying: Add elf.h for cross-building without a system libelf installed. Applying: make parameter to compile apps + add example output directory Applying: Support for building on macOS systems Applying: Make apps link against the local gnuefi and crt objects Applying: Add .travis.yml Applying: Use EFI canonical names everywhere the compiler doesn't care. Applying: Fix a minor coverity complaint in some apps Applying: Add stuff that's got weird characters to .gitattributes Applying: Get rid of some unused junk that has the BSD 4-clause license. Applying: Get rid of unused make-like files from yore. Applying: Make ELF constructors and destructors work. Applying: Remove the accidental lib/Makefile.orig Applying: gitignore: add our build directories. Applying: make: Fix shell exit status handling. Applying: make: Make "make clean" use @ and rm -v everywhere Applying: Make our dummy .reloc sections not depend on section order. Applying: Make CHAR8 and similar be defined the same way edk2 does it. Applying: Make: make TOPDIR actually work and get rid of unused CDIR Applying: Make: make "make DESTDIR=../foo install" work right. Applying: Install our libraries in $(LIBDIR)/gnuefi/$(ARCH) Applying: Install all headers for all arches. Applying: Rename our installed .o and linker scripts. Applying: Supply makefile templates. Applying: Semi-asciibetize _Print()'s formatters. Applying: Implement Print(L"%p", ptr); Applying: Switch to -fPIE Applying: lfbgrid: Make pointer size testing not arch name dependent. Applying: Fix the arch subdirs in .gitignore. Applying: Use CFLAGS with "gcc -print-libgcc-file-name" to get the right one. Applying: CFLAGS: add -Wno-pointer-sign + git config --unset user.email + git config --unset user.name + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vtYEeQ + umask 022 + cd /builddir/build/BUILD + cd gnu-efi-3.0.9 + make LIBDIR=/usr/lib mkdir -p /builddir/build/BUILD/gnu-efi-3.0.9/aa64/lib make -C /builddir/build/BUILD/gnu-efi-3.0.9/aa64/lib -f /builddir/build/BUILD/gnu-efi-3.0.9//lib/Makefile SRCDIR=/builddir/build/BUILD/gnu-efi-3.0.9//lib ARCH=aa64 make[1]: Entering directory '/builddir/build/BUILD/gnu-efi-3.0.9/aa64/lib' gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/boxdraw.c -o boxdraw.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/smbios.c -o smbios.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/console.c -o console.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/crc.c -o crc.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/data.c -o data.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/debug.c -o debug.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/dpath.c -o dpath.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/entry.c -o entry.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/error.c -o error.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/event.c -o event.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/exit.c -o exit.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/guid.c -o guid.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/hand.c -o hand.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/hw.c -o hw.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/init.c -o init.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/lock.c -o lock.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/misc.c -o misc.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/print.c -o print.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/sread.c -o sread.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/str.c -o str.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/cmdline.c -o cmdline.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/runtime/rtlock.c -o runtime/rtlock.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/runtime/efirtlib.c -o runtime/efirtlib.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/runtime/rtstr.c -o runtime/rtstr.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/runtime/vm.c -o runtime/vm.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/runtime/rtdata.c -o runtime/rtdata.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/aa64/initplat.c -o aa64/initplat.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/aa64/math.c -o aa64/math.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/aa64/setjmp.S -o aa64/setjmp.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/ctors.S -o ctors.o /builddir/build/BUILD/gnu-efi-3.0.9//lib/ctors.S: Assembler messages: /builddir/build/BUILD/gnu-efi-3.0.9//lib/ctors.S:11: Warning: entity size for SHF_MERGE not specified /builddir/build/BUILD/gnu-efi-3.0.9//lib/ctors.S:19: Warning: entity size for SHF_MERGE not specified /builddir/build/BUILD/gnu-efi-3.0.9//lib/ctors.S:27: Warning: entity size for SHF_MERGE not specified /builddir/build/BUILD/gnu-efi-3.0.9//lib/ctors.S:35: Warning: entity size for SHF_MERGE not specified ar -rv -U libefi.a boxdraw.o smbios.o console.o crc.o data.o debug.o dpath.o entry.o error.o event.o exit.o guid.o hand.o hw.o init.o lock.o misc.o print.o sread.o str.o cmdline.o runtime/rtlock.o runtime/efirtlib.o runtime/rtstr.o runtime/vm.o runtime/rtdata.o aa64/initplat.o aa64/math.o aa64/setjmp.o ctors.o ar: creating libefi.a a - boxdraw.o a - smbios.o a - console.o a - crc.o a - data.o a - debug.o a - dpath.o a - entry.o a - error.o a - event.o a - exit.o a - guid.o a - hand.o a - hw.o a - init.o a - lock.o a - misc.o a - print.o a - sread.o a - str.o a - cmdline.o a - runtime/rtlock.o a - runtime/efirtlib.o a - runtime/rtstr.o a - runtime/vm.o a - runtime/rtdata.o a - aa64/initplat.o a - aa64/math.o a - aa64/setjmp.o a - ctors.o make[1]: Leaving directory '/builddir/build/BUILD/gnu-efi-3.0.9/aa64/lib' mkdir -p /builddir/build/BUILD/gnu-efi-3.0.9/aa64/gnuefi make -C /builddir/build/BUILD/gnu-efi-3.0.9/aa64/gnuefi -f /builddir/build/BUILD/gnu-efi-3.0.9//gnuefi/Makefile SRCDIR=/builddir/build/BUILD/gnu-efi-3.0.9//gnuefi ARCH=aa64 make[1]: Entering directory '/builddir/build/BUILD/gnu-efi-3.0.9/aa64/gnuefi' gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//gnuefi -I/builddir/build/BUILD/gnu-efi-3.0.9//gnuefi/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//gnuefi/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//gnuefi/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//gnuefi/crt0-efi-aa64.S -o crt0-efi-aa64.o gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//gnuefi -I/builddir/build/BUILD/gnu-efi-3.0.9//gnuefi/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//gnuefi/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//gnuefi/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -fno-jump-tables -DCONFIG_aa64 -c /builddir/build/BUILD/gnu-efi-3.0.9//gnuefi/reloc_aa64.c -o reloc_aa64.o ar -rv -U libgnuefi.a reloc_aa64.o ar: creating libgnuefi.a a - reloc_aa64.o make[1]: Leaving directory '/builddir/build/BUILD/gnu-efi-3.0.9/aa64/gnuefi' + make apps mkdir -p /builddir/build/BUILD/gnu-efi-3.0.9/aa64/apps make -C /builddir/build/BUILD/gnu-efi-3.0.9/aa64/apps -f /builddir/build/BUILD/gnu-efi-3.0.9//apps/Makefile SRCDIR=/builddir/build/BUILD/gnu-efi-3.0.9//apps ARCH=aa64 make[1]: Entering directory '/builddir/build/BUILD/gnu-efi-3.0.9/aa64/apps' gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//apps -I/builddir/build/BUILD/gnu-efi-3.0.9//apps/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//apps/../inc/aa64 -I/builddir/build/BUILD/gnu-efi-3.0.9//apps/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_aa64 -D__KERNEL__ -I/usr/src/sys/build/include -c /builddir/build/BUILD/gnu-efi-3.0.9//apps/t.c -o t.o ld -nostdlib --warn-common --no-undefined --fatal-warnings --build-id=sha1 -shared -Bsymbolic -L/builddir/build/BUILD/gnu-efi-3.0.9//apps/../aa64/lib -L/builddir/build/BUILD/gnu-efi-3.0.9//apps/../aa64/gnuefi /builddir/build/BUILD/gnu-efi-3.0.9//apps/../aa64/gnuefi/crt0-efi-aa64.o --defsym=EFI_SUBSYSTEM=0xa t.o -o t.so -lefi -lgnuefi /usr/lib/gcc/aarch64-openEuler-linux/12/libgcc.a -T /builddir/build/BUILD/gnu-efi-3.0.9//apps/../gnuefi/elf_aa64_efi.lds ld: warning: t.so has a LOAD segment with RWX permissions make[1]: *** [/builddir/build/BUILD/gnu-efi-3.0.9//apps/../Make.rules:49: t.so] Error 1 rm t.o make[1]: Leaving directory '/builddir/build/BUILD/gnu-efi-3.0.9/aa64/apps' make: *** [Makefile:80: apps] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.vtYEeQ (%build) Bad exit status from /var/tmp/rpm-tmp.vtYEeQ (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/gnu-efi.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 598, 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/gnu-efi.spec