Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 867880 - media-gfx/gmic-3.1.6 calls ar directly
Summary: media-gfx/gmic-3.1.6 calls ar directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2022-09-01 16:10 UTC by Agostino Sarubbo
Modified: 2022-09-01 23:22 UTC (History)
0 users

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


Attachments
build.log (build.log,44.18 KB, text/plain)
2022-09-01 16:10 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-09-01 16:10:21 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/gmic-3.1.6 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].
Comment 1 Agostino Sarubbo gentoo-dev 2022-09-01 16:10:23 UTC
Created attachment 802462 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-09-01 16:10:25 UTC
Error(s) that match a know pattern:


make[1]: ar: No such file or directory
Comment 3 Larry the Git Cow gentoo-dev 2022-09-01 23:22:46 UTC
The bug has been closed via the following commit(s):

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

commit 4c8ea9beed8f910f3789e6b10980e3613f6a1f86
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2022-09-01 23:14:49 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2022-09-01 23:14:49 +0000

    media-gfx/gmic: do not build static libraries
    
    I don't even want to know why upstream has targets for SHARED libraries
    generating static libraries as well.
    
    Closes: https://bugs.gentoo.org/867880
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 media-gfx/gmic/files/gmic-3.1.6-ar_so.patch | 26 ++++++++++++++++++++++++++
 media-gfx/gmic/gmic-3.1.6.ebuild            |  3 +--
 2 files changed, 27 insertions(+), 2 deletions(-)