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

Bug 724268

Summary: dev-util/its4 calls g++ directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/24072
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-20 08:02:47 UTC
This is an auto-filed bug because dev-util/its4 calls g++ 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 CXX implementation (like clang++) by setting the CXX variable. So this issue has been reproduced by setting the CXX variable to x86_64-pc-linux-gnu-g++ and by removing the /usr/bin/g++ - /usr/bin/c++ binaries.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-20 08:02:55 UTC
Created attachment 640468 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-02-20 00:31:30 UTC
The bug has been closed via the following commit(s):

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

commit 91d6e8e1eb1da9c52e9023c3889d67a4a687a7b7
Author:     Thomas Bracht Laumann Jespersen <t@laumann.xyz>
AuthorDate: 2022-02-03 20:48:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-20 00:29:50 +0000

    dev-util/its4: Avoid calling g++ directly
    
    This revbump accomplishes two things:
    
     * Bump EAPI=8 from 5. The biggest change is adding eapply_user in
       src_prepare()
    
     * Use --with-cpp argument for call to ./configure, so the script
       doesn't try to find a compiler
    
    Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
    Closes: https://bugs.gentoo.org/724268
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/its4/its4-1.1.1-r2.ebuild | 43 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)