While compilation of qt-creator-4.15.1 runs fine, when it comes to building the docs (I have the 'doc' USE flag set for qt-creator), qdoc fails. Reproducible: Always Steps to Reproduce: 1. Enable the doc USE flag for qt-creator 2. emerge -1av dev-qt/qt-creator 3. Actual Results: qdoc fails with: qt.qdoc: End qdoc for qtcreator in dual process mode: generate phase. qt.qdoc: Start qdoc for qtcreator-dev in dual process mode: generate phase. (qdoc) Could not find the module header in include paths for module "qtcreator-dev" (include paths:...long list here...) Artificial module header built from header dirs in qdocconf file /usr/include/qt5/QtCore/qcontainerfwd.h:63:7: error: typedef redefinition with different types ('QList<QByteArray>' vs 'QByteArrayList') /usr/include/qt5/QtCore/qbytearraylist.h:66:7: note: previous definition is here From this point on, dozens of errors follow and build fails. Expected Results: Docs should be built without error. Or, if that's not possible, the ebuild should not allow documentation to be built. All packages of dev-qt have been upgraded to 4.15.2-rXXX, qt-creator is the only one that remains. At some point, I had changed from -march=native to -march=x86-64-v3. I've rebuilt all packages qt-creator depends on, just in case this might have screwed some .h files... I use gcc-11, with the 'graphite' USE flag set. All dev-qt packages have the 'qml' USE flag set. The relevant piece of the attached build.log is around line 8900. From what I can gather, it misses a module header for module "qtcreator-dev" and so builds its own one, which, for some reason, includes all include files under /usr/include/qt5/QtCore/, and these two contradict each other: /usr/include/qt5/QtCore/qbytearraylist.h /usr/include/qt5/QtCore/qcontainerfwd.h with the error /usr/include/qt5/QtCore/qcontainerfwd.h:63:7: error: typedef redefinition with different types ('QList<QByteArray>' vs 'QByteArrayList') /usr/include/qt5/QtCore/qbytearraylist.h:66:7: note: previous definition is here I have hard-unmerged dev-qt/qtcore and remerged it afterwards and made sure that /usr/include/qt5/QtCore is completely removed and rebuilt. But I don't think the problem is 'QList<QByteArray>' vs 'QByteArrayList' - rather that it is missing correct headers for module "qtcreator-dev", as it already says a few lines before. Some info ========= Portage 3.0.28 (python 3.9.9-final-0, default/linux/amd64/17.1/hardened, gcc-11.2.0, glibc-2.33-r7, 5.4.168-gentoo x86_64) ================================================================= System uname: Linux-5.4.168-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-glibc2.33 Timestamp of repository gentoo: Sat, 22 Jan 2022 sh bash 5.1_p8 ld GNU ld (Gentoo 2.37_p1 p0) 2.37 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p8::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r6::gentoo dev-lang/python: 2.7.18_p13::gentoo, 3.6.15::gentoo, 3.7.12_p1::gentoo, 3.8.12_p1-r1::gentoo, 3.9.9-r1::gentoo, 3.10.0_p1-r1::gentoo dev-lang/rust: 1.58.1::gentoo dev-lang/rust-bin: 1.53.0::gentoo dev-util/cmake: 3.21.4::gentoo dev-util/meson: 0.60.3::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.25::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.12.6::gentoo, 1.13.4-r2::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo, 1.16.4::gentoo sys-devel/binutils: 2.37_p1::gentoo sys-devel/binutils-config: 5.4::gentoo sys-devel/clang: 12.0.1::gentoo, 13.0.0::gentoo sys-devel/gcc: 7.5.0::gentoo, 8.3.0-r1::gentoo, 8.4.0::gentoo, 9.3.0::gentoo, 11.2.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/lld: 13.0.0::gentoo sys-devel/llvm: 12.0.1::gentoo, 13.0.0::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.33-r7::gentoo
Created attachment 765181 [details] build.log
Please include full build.log of it failing.
4.15.1 is old and unmaintained, I should have removed it long ago. Please try with 6.0.x
qt-creator-6.0.0 was merged without problems.
Thanks for confirming!