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

Bug 731938

Summary: sci-libs/primegen calls ranlib 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-07-09 13:06:09 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

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

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

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