https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-libs/libcap-2.52 calls objcopy directly. Discovered on: amd64 (internal ref: ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different OBJCOPY implementation (like llvm-objcopy). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Created attachment 729870 [details] build.log build log and emerge --info
Possible context of error(s): /bin/sh: line 1: objcopy: command not found
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58fe79a2aef348cbbf37abc0e5f6a1d15961cdae commit 58fe79a2aef348cbbf37abc0e5f6a1d15961cdae Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-08-03 12:04:04 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-08-03 12:04:20 +0000 sys-libs/libcap: Attempt to not run objcopy directly Bug: https://bugs.gentoo.org/806274 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-libs/libcap/libcap-2.52.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d5296df85f652c9c0f3dbf29aeaccedb4d43588 commit 2d5296df85f652c9c0f3dbf29aeaccedb4d43588 Author: David Seifert <soap@gentoo.org> AuthorDate: 2021-08-03 14:17:04 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-08-03 14:17:04 +0000 sys-libs/libcap: proper passing of objcopy to build system Should be a proper fix, not just a rough attempt, as I've tested via moving the binary away and all looks good. Closes: https://bugs.gentoo.org/806274 Signed-off-by: David Seifert <soap@gentoo.org> .../libcap/files/libcap-2.52-build-system-fixes.patch | 17 ++++++++++------- sys-libs/libcap/libcap-2.52.ebuild | 3 --- 2 files changed, 10 insertions(+), 10 deletions(-)