The build log is just this: * Package: sys-boot/gnu-efi-3.0.18-r5:0 * Repository: gentoo * Maintainer: ceamac@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux * FEATURES: compressdebug network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox clang-cpp: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument] clang-cpp: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument] * ERROR: sys-boot/gnu-efi-3.0.18-r5::gentoo failed (pretend phase): * objcopy (objcopy) does not support EFI target * * Call stack: * ebuild.sh, line 136: Called pkg_pretend * gnu-efi-3.0.18-r5.ebuild, line 72: Called check_and_set_objcopy * gnu-efi-3.0.18-r5.ebuild, line 59: Called die * The specific snippet of code: * LC_ALL=C "${OBJCOPY}" --help | grep -q '\<pei-' || die "${OBJCOPY} (objcopy) does not support EFI target" * * If you need support, post the output of `emerge --info '=sys-boot/gnu-efi-3.0.18-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-boot/gnu-efi-3.0.18-r5::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-boot/gnu-efi-3.0.18-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-boot/gnu-efi-3.0.18-r5/temp/die.env'. * Working directory: '/var/tmp/portage/sys-boot/gnu-efi-3.0.18-r5/empty' * S: '/var/tmp/portage/sys-boot/gnu-efi-3.0.18-r5/work/gnu-efi-3.0.18' Reproducible: Always
Created attachment 904872 [details] emerge --info
*** This bug has been marked as a duplicate of bug 931792 ***
You need objcopy from sys-devel/binutils to build gnu-efi, llvm-objcopy does not work. sys-devel/binutils is not part of @system on llvm profiles, but it is in BDEPEND, so it should have been installed. Do you have it in package.provided?
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1228ce0c5b683ffde567bbf535a96ac96d546af4 commit 1228ce0c5b683ffde567bbf535a96ac96d546af4 Author: Viorel Munteanu <ceamac@gentoo.org> AuthorDate: 2024-10-15 04:37:36 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2024-10-15 04:37:36 +0000 sys-boot/gnu-efi: fix building on llvm profile The llvm profile does not have sys-devel/binutils. Remove the check from pkg_pretend, before it being installed. Bug: https://bugs.gentoo.org/940728 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> sys-boot/gnu-efi/gnu-efi-3.0.18-r5.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)