Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 725616

Summary: sci-libs/primegen calls ar directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Mathematics related packages <sci-mathematics>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-27 11:52:01 UTC
This is an auto-filed bug because sci-libs/primegen calls ar directly.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different AR implementation (like llvm-ar) by setting the AR variable. So this issue has been reproduced by setting the AR variable to x86_64-pc-linux-gnu-ar and by removing the /usr/bin/ar binary.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-27 11:52:05 UTC
Created attachment 642064 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-05-09 19:18:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa727d510a92bf1af563a364d31fbc624e697841

commit aa727d510a92bf1af563a364d31fbc624e697841
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-05-09 19:18:14 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-05-09 19:18:14 +0000

    sci-libs/primegen: Respect AR/RANLIB
    
    Closes: https://bugs.gentoo.org/725616
    Closes: https://bugs.gentoo.org/731938
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: David Seifert <soap@gentoo.org>

 sci-libs/primegen/files/primegen-0.97-man.patch    |  4 ++--
 .../files/primegen-0.97-missing-headers.patch      | 20 +++++++++----------
 .../files/primegen-0.97-respect-ar-ranlib.patch    | 18 +++++++++++++++++
 sci-libs/primegen/primegen-0.97-r2.ebuild          | 23 ++++++++++++----------
 4 files changed, 43 insertions(+), 22 deletions(-)