* Package: sys-apps/fwupd-efi-1.4:0  * Repository: gentoo  * Maintainer: marecki@gentoo.org  * Upstream: https://github.com/fwupd/fwupd-efi/issues  * USE: arm64 elibc_glibc kernel_linux  * FEATURES: ccache network-sandbox preserve-libs sandbox userpriv usersandbox * Checking whether python3_11 is suitable ... * dev-lang/python:3.11 ...  [ ok ] * python_check_deps ... * dev-python/pefile[python_targets_python3_11(-)] ...  [ ok ]  [ ok ] * Using python3.11 to build (via PYTHON_COMPAT iteration) >>> Unpacking source... >>> Unpacking fwupd-efi-1.4.tar.xz to /var/tmp/portage/sys-apps/fwupd-efi-1.4/work >>> Source unpacked in /var/tmp/portage/sys-apps/fwupd-efi-1.4/work >>> Preparing source in /var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4 ... * Applying fwupd-efi-1.4-efi_ld_override.patch ...  [ ok ] * Fixing shebang in /var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4/efi/generate_sbat.py. * Fixing shebang in /var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4/efi/generate_binary.py. >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4 ... meson setup --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/sys-apps/fwupd-efi-1.4/temp/python3.11/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/sys-apps/fwupd-efi-1.4/temp/python3.11/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/sys-apps/fwupd-efi-1.4/temp/meson.aarch64-unknown-linux-gnu.arm64.ini -Db_pch=false -Dwerror=false --buildtype plain -Defi-ld=aarch64-unknown-linux-gnu-ld -Defi-libdir=/usr/lib64 -Defi_sbat_distro_id=gentoo -Defi_sbat_distro_summary=Gentoo GNU/Linux -Defi_sbat_distro_pkgname=fwupd-efi -Defi_sbat_distro_version=1.4 -Defi_sbat_distro_url=https://packages.gentoo.org/packages/sys-apps/fwupd-efi /var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4 /var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4-build The Meson build system Version: 1.2.1 Source dir: /var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4 Build dir: /var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4-build Build type: native build Project name: fwupd-efi Project version: 1.4 C compiler for the host machine: aarch64-unknown-linux-gnu-gcc (gcc 13.2.1 "aarch64-unknown-linux-gnu-gcc (Gentoo 13.2.1_p20230826 p7) 13.2.1 20230826") C linker for the host machine: aarch64-unknown-linux-gnu-gcc ld.bfd 2.41 Host machine cpu family: aarch64 Host machine cpu: aarch64 Program aarch64-unknown-linux-gnu-objcopy found: YES WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 Program genpeimg found: NO Configuring config.h using configuration Program generate_sbat.py found: YES (/var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4/efi/generate_sbat.py) Program generate_binary.py found: YES (/var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4/efi/generate_binary.py) Has header "/usr/include/efi/aarch64/efibind.h" : YES efi/meson.build:91: WARNING: Cannot find SBAT section in /usr/lib64/elf_aarch64_efi.lds, using local copy Message: efi-libdir: "/usr/lib64" Message: efi-ldsdir: "/var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4/efi/lds" Message: efi-crtdir: "/usr/lib64" Message: efi-includedir: "/usr/include/efi" Build targets in project: 8 fwupd-efi 1.4 User defined options Native files : /var/tmp/portage/sys-apps/fwupd-efi-1.4/temp/meson.aarch64-unknown-linux-gnu.arm64.ini build.pkg_config_path : /var/tmp/portage/sys-apps/fwupd-efi-1.4/temp/python3.11/pkgconfig:/usr/share/pkgconfig buildtype : plain libdir : lib64 localstatedir : /var/lib pkg_config_path : /var/tmp/portage/sys-apps/fwupd-efi-1.4/temp/python3.11/pkgconfig:/usr/share/pkgconfig prefix : /usr sysconfdir : /etc werror : false wrap_mode : nodownload b_pch : false efi-ld : aarch64-unknown-linux-gnu-ld efi-libdir : /usr/lib64 efi_sbat_distro_id : gentoo efi_sbat_distro_pkgname: fwupd-efi efi_sbat_distro_summary: Gentoo GNU/Linux efi_sbat_distro_url : https://packages.gentoo.org/packages/sys-apps/fwupd-efi efi_sbat_distro_version: 1.4 Found ninja-1.11.1 at /usr/bin/ninja Generating targets: 0% 0/8 [00:00>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4 ... meson compile -C /var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4-build --jobs 6 --load-average 0 --verbose INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4-build -j 6 -v ninja: Entering directory `/var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4-build' [1/7] /usr/lib/ccache/bin/aarch64-unknown-linux-gnu-gcc -c ../fwupd-efi-1.4/efi/fwup-debug.c -o efi/fwup-debug.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib64/debug"' -I. -isystem /usr/include/efi -isystem /usr/include/efi/aarch64 [2/7] /usr/lib/ccache/bin/aarch64-unknown-linux-gnu-gcc -c ../fwupd-efi-1.4/efi/fwup-efi.c -o efi/fwup-efi.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib64/debug"' -I. -isystem /usr/include/efi -isystem /usr/include/efi/aarch64 [3/7] /usr/lib/ccache/bin/aarch64-unknown-linux-gnu-gcc -c ../fwupd-efi-1.4/efi/fwup-common.c -o efi/fwup-common.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib64/debug"' -I. -isystem /usr/include/efi -isystem /usr/include/efi/aarch64 [4/7] /usr/lib/ccache/bin/aarch64-unknown-linux-gnu-gcc -c ../fwupd-efi-1.4/efi/fwupdate.c -o efi/fwupdate.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib64/debug"' -I. -isystem /usr/include/efi -isystem /usr/include/efi/aarch64 [5/7] /var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4/efi/generate_sbat.py efi/fwup-sbat.o --cc aarch64-unknown-linux-gnu-gcc --cflags '-Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches -DDEBUGDIR="/usr/lib64/debug" -I. -isystem /usr/include/efi -isystem /usr/include/efi/aarch64' --objcopy /usr/bin/aarch64-unknown-linux-gnu-objcopy --project-name fwupd-efi --project-version 1.4 --sbat-version 1 --sbat-generation 1 --sbat-distro-id gentoo --sbat-distro-generation 0 --sbat-distro-summary 'Gentoo GNU/Linux' --sbat-distro-pkgname fwupd-efi --sbat-distro-version 1.4 --sbat-distro-url https://packages.gentoo.org/packages/sys-apps/fwupd-efi [6/7] /usr/bin/aarch64-unknown-linux-gnu-ld -o efi/fwup.so -T /var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4/efi/lds/elf_aarch64_efi.lds -shared -Bsymbolic -nostdlib -znocombreloc -L /usr/lib64 -L /usr/lib64 /usr/lib64/crt0-efi-aarch64.o efi/fwupdate.o efi/fwup-debug.o efi/fwup-efi.o efi/fwup-common.o efi/fwup-sbat.o -lefi -lgnuefi /usr/lib/gcc/aarch64-unknown-linux-gnu/13/libgcc.a FAILED: efi/fwup.so /usr/bin/aarch64-unknown-linux-gnu-ld -o efi/fwup.so -T /var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4/efi/lds/elf_aarch64_efi.lds -shared -Bsymbolic -nostdlib -znocombreloc -L /usr/lib64 -L /usr/lib64 /usr/lib64/crt0-efi-aarch64.o efi/fwupdate.o efi/fwup-debug.o efi/fwup-efi.o efi/fwup-common.o efi/fwup-sbat.o -lefi -lgnuefi /usr/lib/gcc/aarch64-unknown-linux-gnu/13/libgcc.a /usr/bin/aarch64-unknown-linux-gnu-ld: warning: efi/fwup.so has a LOAD segment with RWX permissions /usr/bin/aarch64-unknown-linux-gnu-ld: /usr/lib64/crt0-efi-aarch64.o: relocation R_AARCH64_ADR_PREL_LO21 against symbol `ImageBase' which may bind externally can not be used when making a shared object; recompile with -fPIC /usr/lib64/crt0-efi-aarch64.o: in function `_start': /var/tmp/portage/sys-boot/gnu-efi-3.0.17/work/gnu-efi-3.0.17//gnuefi/crt0-efi-aarch64.S:30:(.text+0x14): dangerous relocation: unsupported relocation ninja: build stopped: subcommand failed. * ERROR: sys-apps/fwupd-efi-1.4::gentoo failed (compile phase): * compile failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 2443: Called meson_src_compile * environment, line 1689: Called die * The specific snippet of code: * "$@" || die "compile failed" * * If you need support, post the output of `emerge --info '=sys-apps/fwupd-efi-1.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/fwupd-efi-1.4::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-apps/fwupd-efi-1.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/fwupd-efi-1.4/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4' * S: '/var/tmp/portage/sys-apps/fwupd-efi-1.4/work/fwupd-efi-1.4'