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

Bug 762235

Summary: net-print/cndrvcups-common-lb-3.70 calls ar directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: jsmolic
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/18868
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-12-28 13:17:55 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-print/cndrvcups-common-lb-3.70 calls ar 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 AR implementation (like llvm-ar). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the AR variable to x86_64-pc-linux-gnu-ar.
Comment 1 Agostino Sarubbo gentoo-dev 2020-12-28 13:17:58 UTC
Created attachment 680056 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-12-28 13:18:00 UTC
Possible context of error(s):

make[1]: ar: No such file or directory
Comment 3 Larry the Git Cow gentoo-dev 2020-12-29 16:40:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40b5831adadd55442b152c2080d8871cb7cfc6e9

commit 40b5831adadd55442b152c2080d8871cb7cfc6e9
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-12-29 16:40:04 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-12-29 16:40:04 +0000

    net-print/cndrvcups-common-lb: Respect AR, prune static-libs
    
    Closes: https://github.com/gentoo/gentoo/pull/18868
    Closes: https://bugs.gentoo.org/762235
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.70.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)