You receive this bug because this package does not respect my system's AR (x86_64-pc-linux-gnu-ar) and calls directly /usr/bin/ar The possible solutions to fix this issue are: 1)Fix the buildsystem, if you can; 2)inherit toolchain-funcs and use tc-export AR 3)inherit toolchain-funcs and use emake AR="$(tc-getAR)" From the build log: ar rv liblockfile.a lockfile.o
Created attachment 349230 [details, diff] liblockfile-1.09.patch I've attached a patch against the latest ebuild. Adding tc-export AR to src_configure() fixes the problem.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0af6bf4d10b5b494cc7c0cc7c220329ab7d78d7e commit 0af6bf4d10b5b494cc7c0cc7c220329ab7d78d7e Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-08-08 14:58:44 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-08-08 15:00:49 +0000 net-libs/liblockfile: Export AR; Don't run tests when not requested Closes: https://bugs.gentoo.org/468156 Bug: https://bugs.gentoo.org/691706 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> .../files/liblockfile-1.15-makefile.patch | 74 ++++++++++++++++++++++ net-libs/liblockfile/liblockfile-1.15.ebuild | 10 ++- 2 files changed, 81 insertions(+), 3 deletions(-)