https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-qt/qtpositioning-5.15.2-r1 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses clang as a compiler and lld as a linker
Created attachment 760183 [details] build.log build log and emerge --info
It seems that the build system still invokes x86_64-pc-linux-gnu-g++ but with the clang mkspec, thus passing clang-specific flags that cause the error. How are you specifying the compiler? The build.log says that CXX is unset. Did you build dev-qt/qtcore with clang?
*** Bug 830498 has been marked as a duplicate of this bug. ***
*** Bug 830494 has been marked as a duplicate of this bug. ***
*** Bug 829941 has been marked as a duplicate of this bug. ***
(In reply to Davide Pesavento from comment #2) > It seems that the build system still invokes x86_64-pc-linux-gnu-g++ but > with the clang mkspec, thus passing clang-specific flags that cause the > error. > > How are you specifying the compiler? The build.log says that CXX is unset. > > Did you build dev-qt/qtcore with clang? CXX is specified per package. I don't know if qtcore was built with clang or not.
I had the same problem with dev-qt/qtwebsockets:5. > Did you build dev-qt/qtcore with clang? Rebuilding dev-qt/qtcore with GCC and then trying qtwebsockets again solved this issue for me.