Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721880 - sys-process/runit calls ar directly
Summary: sys-process/runit calls ar directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2020-05-09 16:41 UTC by Agostino Sarubbo
Modified: 2022-08-01 20:51 UTC (History)
2 users (show)

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

build.log (build.log,13.33 KB, text/plain)
2020-05-09 16:41 UTC, Agostino Sarubbo
make ar, ranlib configurable (bug721880-dont-hardcode-ar-ranlib.patch,1.23 KB, text/plain)
2020-05-14 23:20 UTC, Enne Eziarc

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-05-09 16:41:34 UTC
This is an auto-filled bug because sys-process/runit calls ar directly.
The issue was originally discovered on arm64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different AR implementation (like llvm-ar) by setting the AR variable. So this issue has been reproduced by setting the AR variable to aarch64-unknown-linux-gnu-ar and by removing the /usr/bin/ar binary.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-09 16:41:45 UTC
Created attachment 637068 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-05-09 16:42:49 UTC
the same happens for ranlib as showed in the build log.
Comment 3 Enne Eziarc 2020-05-14 23:20:38 UTC
Created attachment 639104 [details]
make ar, ranlib configurable

Here's a patch from my overlay against the runit 2.1.2 source that makes both ar and ranlib configurable by adding conf-ar and conf-ranlib files, similar to its existing conf-cc and conf-ld ones.

With this fixing the ebuild should be fairly trivial.
Comment 4 Enne Eziarc 2022-08-01 20:51:22 UTC
Should this be marked dupe of bug 590412?