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

Bug 721880

Summary: sys-process/runit calls ar directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: CONFIRMED ---    
Severity: normal CC: ant+gentoo.bugs, base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log
make ar, ranlib configurable

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.

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

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 Anthony Parsons 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.