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

Bug 779928

Summary: app-admin/socklog-2.1.0 calls ranlib directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: sam
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 2021-04-03 23:17:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-admin/socklog-2.1.0 calls ranlib directly.
Discovered on: amd64 (internal ref: ci)

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 2021-04-03 23:17:35 UTC
Created attachment 697083 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-03 23:17:37 UTC
Possible context of error(s):

./makelib: line 5: ar: command not found
./makelib: line 6: ranlib: command not found
Comment 3 Larry the Git Cow gentoo-dev 2021-05-09 19:18:42 UTC
The bug has been closed via the following commit(s):

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

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

    app-admin/socklog: Respect AR/RANLIB
    
    Closes: https://bugs.gentoo.org/779925
    Closes: https://bugs.gentoo.org/779928
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/socklog-2.1.0-respect-ar-ranlib.patch        | 18 ++++++++++++++++++
 app-admin/socklog/socklog-2.1.0.ebuild                 | 18 +++++++++++-------
 2 files changed, 29 insertions(+), 7 deletions(-)