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

Bug 724726

Summary: sys-libs/libstdc++-v3 calls ar directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
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-05-23 13:18:27 UTC
This is an auto-filed bug because sys-libs/libstdc++-v3 calls ar directly.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different AR implementation (like llvm-ar) by setting the AR variable. So this issue has been reproduced by setting the AR variable to x86_64-pc-linux-gnu-ar and by removing the /usr/bin/ar binary.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-23 13:18:32 UTC
Created attachment 641102 [details]
build.log

build log and emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2021-04-22 06:50:36 UTC
*** Bug 784917 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2021-07-24 09:22:01 UTC
The bug has been closed via the following commit(s):

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

commit 41fa2e689f53efe62986696bf4324aca16bc874a
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-07-24 09:21:45 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-07-24 09:21:59 +0000

    sys-libs/libstdc++-v3: use user's AR and NM
    
    Reported-by: Agostino Sarubbo
    Closes: https://bugs.gentoo.org/724726
    Closes: https://bugs.gentoo.org/792987
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r3.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)