@@This is an auto-filed bug@@ If you think that a different summary clarifies the issue better, feel free to change it. Issue: app-editors/yudit calls ar directly. Discovered on: amd64 NOTE: 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 AR implementation (like llvm-ar). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the AR variable to x86_64-pc-linux-gnu-ar.
Created attachment 645814 [details] build.log build log and emerge --info
ci has reproduced this issue with version 2.9.6 - Updating summary.
ci has reproduced this issue with version 3.1.0 - Updating summary.
Created attachment 854332 [details, diff] Being able to specify AR ARFLAGS and RANLIB during "configure" The attached patch is patch2 for yudit-3.1.0. Now you can specify AR ARFLAGS and RANLIB when using configure. I hope this helps bulding it on Gentoo.
On Macintosh there was no compilation problem reported because there is and "ar" command that comes with developer tools. Still, I successfully tested the unmodified patch using Macintosh libtool that comes with developer tools: /Library/Developer/CommandLineTools/usr/bin/libtool -> /usr/bin/libtool ./configure AR=/usr/bin/libtool ARFLAGS="-static -o" RANLIB=/bin/echo --prefix=/Applications/Yudit.app/Contents/MacOS On Linux I could not replace "ar" command with GNU libtool, as it does not seem to care about backward compatibility. You must have "ar" and "ranlib" installed to compile Yudit on Linux.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89a3c59b2bf1b84560c3e2c4f22dbed511855cd5 commit 89a3c59b2bf1b84560c3e2c4f22dbed511855cd5 Author: Michael Mair-Keimberger <mmk@levelnine.at> AuthorDate: 2023-10-28 10:40:10 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2023-11-21 17:45:41 +0000 app-editors/yudit: improve ebuild, fix #729260 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://bugs.gentoo.org/729260 Signed-off-by: Ulrich Müller <ulm@gentoo.org> app-editors/yudit/yudit-3.1.0-r1.ebuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+)