Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725616 - sci-libs/primegen calls ar directly
Summary: sci-libs/primegen calls ar directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2020-05-27 11:52 UTC by Agostino Sarubbo
Modified: 2021-05-09 19:18 UTC (History)
0 users

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

build.log (build.log,9.00 KB, text/plain)
2020-05-27 11:52 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
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.

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 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):

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

    sci-libs/primegen: Respect AR/RANLIB
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: David Seifert <>

 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(-)