Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 745486 - media-libs/plib-1.8.5-r2 calls ar directly
Summary: media-libs/plib-1.8.5-r2 calls ar directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2020-09-30 05:50 UTC by Agostino Sarubbo
Modified: 2021-05-04 03:51 UTC (History)
0 users

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

build.log (build.log,14.51 KB, text/plain)
2020-09-30 05:50 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 2020-09-30 05:50:41 UTC

Issue: media-libs/plib-1.8.5-r2 calls ar 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 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 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):

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

    media-libs/plib: provide shared libs
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Maciej Mrozowski <>

 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.