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

Bug 745486

Summary: media-libs/plib-1.8.5-r2 calls ar directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-09-30 05:50:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/plib-1.8.5-r2 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-09-30 05:50:43 UTC
Created attachment 663208 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-09-30 05:50:46 UTC
Possible context of error(s):

make[2]: ar: No such file or directory
Comment 3 Larry the Git Cow gentoo-dev 2021-01-25 21:33:11 UTC
The bug has been referenced in the following commit(s):

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

commit f87f7789bc98b1f0b1c035a274083d88cb2739de
Author:     Maciej Mrozowski <reavertm@gentoo.org>
AuthorDate: 2021-01-25 21:32:02 +0000
Commit:     Maciej Mrozowski <reavertm@gentoo.org>
CommitDate: 2021-01-25 21:32:21 +0000

    media-libs/plib: provide shared libs
    
    Closes: https://bugs.gentoo.org/333161
    Bug: https://bugs.gentoo.org/745486
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>

 media-libs/plib/files/plib-1.8.5-shared-libs.patch | 256 +++++++++++++++++++++
 media-libs/plib/plib-1.8.5-r3.ebuild               |  43 ++++
 2 files changed, 299 insertions(+)
Comment 4 Maciej Mrozowski gentoo-dev 2021-01-25 21:36:51 UTC
I might have inadvertenly fixed this bug with above commit.