Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 784233 - net-dns/djbdns-1.05-r34 calls ranlib directly
Summary: net-dns/djbdns-1.05-r34 calls ranlib directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2021-04-19 20:33 UTC by Agostino Sarubbo
Modified: 2021-04-20 01:28 UTC (History)
0 users

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

build.log (build.log,14.46 KB, text/plain)
2021-04-19 20:33 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-19 20:33:39 UTC

Issue: net-dns/djbdns-1.05-r34 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-19 20:33:41 UTC
Created attachment 700917 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-19 20:33:43 UTC
Possible context of error(s):

./makelib: line 5: ar: command not found
./makelib: line 6: ranlib: command not found
./makelib: line 5: ar: command not found
./makelib: line 5: ar: command not found
./makelib: line 6: ranlib: command not found
./makelib: line 6: ranlib: command not found
./makelib: line 5: ar: command not found
./makelib: line 6: ranlib: command not found
Comment 3 Larry the Git Cow gentoo-dev 2021-04-20 01:28:57 UTC
The bug has been closed via the following commit(s):

commit 5b6cc80b2ba5a2ee76cd203379dedb0a1dbe6aae
Author:     Michael Orlitzky <>
AuthorDate: 2021-04-20 01:26:37 +0000
Commit:     Michael Orlitzky <>
CommitDate: 2021-04-20 01:26:54 +0000

    net-dns/djbdns: new revision with $AR and $RANLIB support.
    Upstream lives on only in our thoughts and prayers, so I patched the
    Makefile slightly to make this happen.
    Package-Manager: Portage-3.0.17, Repoman-3.0.2
    Signed-off-by: Michael Orlitzky <>

 ...bdns-1.05-r34.ebuild => djbdns-1.05-r35.ebuild} |  3 +-
 net-dns/djbdns/files/AR-and-RANLIB-support.patch   | 48 ++++++++++++++++++++++
 2 files changed, 50 insertions(+), 1 deletion(-)