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

Bug 722324

Summary: app-laptop/msi-keyboard calls g++ directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Fulgurance <zohran.londais>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, proxy-maint
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-11 07:06:28 UTC
This is an auto-filled bug because app-laptop/msi-keyboard 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-11 07:06:37 UTC
Created attachment 637854 [details]
build.log

build log and emerge --info
Comment 2 Fulgurance 2020-08-04 10:18:35 UTC
Hello, i have seen your report. I'm not the original builder of this program, but it's possible if i have time i can improve it. Have you already read code ? How do you suggest to improve it ? (if you have an example)
Comment 3 Joonas Niilola gentoo-dev 2020-08-30 08:13:15 UTC
Check the tracker bug and closed bugs there for multiple examples.
Comment 4 Larry the Git Cow gentoo-dev 2022-06-10 03:50:43 UTC
The bug has been closed via the following commit(s):

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

commit bbaeaf9218b0bc5665b657155625e677e512161a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-10 03:50:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-10 03:50:36 +0000

    app-laptop/msi-keyboard: fix build with GCC 12; respect CXX
    
    Closes: https://bugs.gentoo.org/840329
    Closes: https://bugs.gentoo.org/722324
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/msi-keyboard-1.0-gcc12.patch             |  9 +++++
 .../files/msi-keyboard-1.0-r1-makefile.patch       | 24 +++++++++++++
 app-laptop/msi-keyboard/msi-keyboard-1.0-r1.ebuild | 39 ++++++++++++++++++++++
 3 files changed, 72 insertions(+)