Created attachment 866564 [details] kde-frameworks-kglobalaccel-5.108.0-20230729-064734.log Emerge failed during compile phase: * ERROR: kde-frameworks/kglobalaccel-5.108.0::gentoo failed (compile phase): * ninja -v -j1 -l5 failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 2485: Called cmake_src_compile * environment, line 989: Called cmake_build * environment, line 955: Called eninja * environment, line 1639: Called die * The specific snippet of code: * "$@" || die -n "${*} failed"
Created attachment 866565 [details] emerge --info.log
Failed in compile phase emerging package kglobalaccel
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: /usr/lib64/libKF5CoreAddons.so.5.108.0: undefined reference to `std::ios_base_library_init()@GLIBCXX_3.4.32' collect2: error: ld returned 1 exit status Did you build some of your system with GCC 13 and then downgrade to GCC 12?
No, I'm with 12.2.1_p20230121-r1, never tried the 13
Please try emerge -v1 /usr/lib64/libKF5CoreAddons.so.5.108.0.
Created attachment 866566 [details] kcoreaddons emerge log
Can you try building kglobalaccel again now?
Created attachment 866567 [details] kglobalaccel emerge No luck
Btw same kcoreaddons related error emerging krita: --- /usr/libexec/gcc/x86_64-pc-linux-gnu/ld: /usr/lib64/libKF5CoreAddons.so.5.108.0: undefined reference to `std::ios_base_library_init()@GLIBCXX_3.4.32' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. * ERROR: media-gfx/krita-5.1.5::gentoo failed (compile phase): * ninja -v -j1 -l5 failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 3469: Called cmake_src_compile * environment, line 1503: Called cmake_build * environment, line 1469: Called eninja * environment, line 2153: Called die * The specific snippet of code: * "$@" || die -n "${*} failed" Should it be useful if I open another bug report? It seems to be the same issue
Please try: revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc.
Created attachment 866569 [details] revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc
This appears to be an issue with a broken library specific to your system. Please seek help in Gentoo support channels. https://www.gentoo.org/support/
Solved unemerging kcoreaddons and emerging it again from source, probably the binpkg I was using was corrupted.