Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 731044 - media-libs/libafterimage calls ar directly
Summary: media-libs/libafterimage calls ar directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Physics related packages
Depends on: 827703
Blocks: tc-directly
  Show dependency tree
Reported: 2020-07-06 09:32 UTC by Agostino Sarubbo
Modified: 2021-11-28 01:53 UTC (History)
1 user (show)

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

build.log (build.log,26.97 KB, text/plain)
2020-07-06 09:32 UTC, Agostino Sarubbo
other.tar.bz2 (other.tar.bz2,437 bytes, application/x-bzip-compressed-tar)
2020-07-06 09:32 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-07-06 09:32:34 UTC

Issue: media-libs/libafterimage calls ar directly.
Discovered on: amd64

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-07-06 09:32:39 UTC
Created attachment 647916 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-07-06 09:32:42 UTC
Created attachment 647918 [details]

other logs
Comment 3 Larry the Git Cow gentoo-dev 2021-05-19 21:13:32 UTC
The bug has been referenced in the following commit(s):

commit b22db36af30264f2cde7c55e627cae4a125c0af9
Author:     Andrew Savchenko <>
AuthorDate: 2021-05-19 21:04:23 +0000
Commit:     Andrew Savchenko <>
CommitDate: 2021-05-19 21:13:15 +0000

    media-libs/libafterimage: fix multiple bugs
    - Update to EAPI 7
    - Use $(AR) if any, fallback to direct ar, bug 731044
    - Drop non-standard 'l' from ar args, bug 784182
    - Properly detect freetype: use pkg-config, bug 783375
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Andrew Savchenko <>

 .../libafterimage/files/libafterimage-ar.patch     |  39 ++++++++
 .../files/libafterimage-freetype.patch             |  23 +++++
 .../libafterimage/libafterimage-1.20-r4.ebuild     | 110 +++++++++++++++++++++
 3 files changed, 172 insertions(+)
Comment 4 Andrew Savchenko gentoo-dev 2021-05-19 21:16:51 UTC
Should be closed after media-libs/libafterimage-1.20-r4 stabilization.