g++ -pipe -march=native -fno-diagnostics-color -O2 -c main.cpp -o main.o g++ -pipe -march=native -fno-diagnostics-color -O2 -c Keyboard.cpp -o Keyboard.o g++ -pipe -march=native -fno-diagnostics-color -O2 -c Color.cpp -o Color.o main.cpp: In function int main(int, char**)’: main.cpp:66:22: error: strcmp’ was not declared in this scope 66 | if (argc == 5 && strcmp(argv[1], "normal") == 0 && isColor(argv[2]) && isColor(argv[3]) && isColor(argv[4])) { | ^~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j4-20220422-045129 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.3.0 [2] x86_64-pc-linux-gnu-12.0.1 * clang/llvm (if any): clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.1 Python 3.9.12 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.60.0 [2] rust-1.60.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11] 2) Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit c7ad976144533880987c095dfbc014b2e4dda284 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Apr 23 12:19:20 2022 +0000 2022-04-23 12:19:19 UTC emerge -qpvO app-laptop/msi-keyboard [ebuild N ] app-laptop/msi-keyboard-1.0
Created attachment 773537 [details] emerge-info.txt
Created attachment 773540 [details] app-laptop:msi-keyboard-1.0:20220423-131056.log
Created attachment 773543 [details] emerge-history.txt
Created attachment 773546 [details] environment
Created attachment 773549 [details] etc.portage.tar.bz2
Created attachment 773552 [details] temp.tar.bz2
ping
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(+)