Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779928 - app-admin/socklog-2.1.0 calls ranlib directly
Summary: app-admin/socklog-2.1.0 calls ranlib directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2021-04-03 23:17 UTC by Agostino Sarubbo
Modified: 2021-05-09 19:18 UTC (History)
1 user (show)

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

build.log (build.log,11.51 KB, text/plain)
2021-04-03 23:17 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 2021-04-03 23:17:32 UTC

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

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

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

    app-admin/socklog: Respect AR/RANLIB
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: David Seifert <>

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