Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 731938 - sci-libs/primegen calls ranlib directly
Summary: sci-libs/primegen calls ranlib 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-07-09 13:06 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.99 KB, text/plain)
2020-07-09 13:06 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-07-09 13:06:09 UTC

Issue: sci-libs/primegen calls ranlib directly.
Discovered on: amd64  (internal ref: tinderbox)

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 RANLIB implementation (like llvm-ranlib). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the RANLIB variable to x86_64-pc-linux-gnu-ranlib.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-09 13:06:14 UTC
Created attachment 648602 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-05-09 19:18:41 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(-)