Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729260 - app-editors/yudit-3.1.0 calls ar directly
Summary: app-editors/yudit-3.1.0 calls ar directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2020-06-23 06:36 UTC by Agostino Sarubbo
Modified: 2023-11-21 17:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,56.18 KB, text/plain)
2020-06-23 06:36 UTC, Agostino Sarubbo
Details
Being able to specify AR ARFLAGS and RANLIB during "configure" (yudit-3.1.0.patch2.txt,9.97 KB, patch)
2023-02-24 12:00 UTC, Gaspar Sinai
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-06-23 06:36:36 UTC
@@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.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-23 06:36:41 UTC
Created attachment 645814 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-10-24 18:40:35 UTC
ci has reproduced this issue with version 2.9.6 - Updating summary.
Comment 3 Agostino Sarubbo gentoo-dev 2023-02-15 06:50:31 UTC
ci has reproduced this issue with version 3.1.0 - Updating summary.
Comment 4 Gaspar Sinai 2023-02-24 12:00:43 UTC
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.
Comment 5 Gaspar Sinai 2023-02-25 15:43:44 UTC
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.
Comment 6 Larry the Git Cow gentoo-dev 2023-11-21 17:45:57 UTC
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(+)