``` /usr/bin/x86_64-pc-linux-gnu-g++ -DGLSLANG_OSINCLUDE_UNIX -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_AS_CONST -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE>[...] In file included from /var/tmp/portage/dev-qt/qtshadertools-6.7.2/work/qtshadertools-everywhere-src-6.7.2/src/3rdparty/glslang/SPIRV/SpvPostProcess.cpp:46: /var/tmp/portage/dev-qt/qtshadertools-6.7.2/work/qtshadertools-everywhere-src-6.7.2/src/3rdparty/glslang/SPIRV/SpvBuilder.h:238:30: error: ‘uint32_t’ has not been declared 238 | Id makeDebugLexicalBlock(uint32_t line); | ^~~~~~~~ /var/tmp/portage/dev-qt/qtshadertools-6.7.2/work/qtshadertools-everywhere-src-6.7.2/src/3rdparty/glslang/SPIRV/SpvBuilder.h:428:21: error: ‘uint32_t’ has not been declared 428 | void enterScope(uint32_t line); | ^~~~~~~~ ``` See https://github.com/KhronosGroup/glslang/pull/3684 and f17a695c19ac2e1c176f6f2a4af91305bc640787 in ::gentoo.
Hm, can't reproduce with gcc-15.0.0_pre20240728. Do I need 15.0.0.9999 seeing how recent the PR is? Or could be other factors that cause it to be side-included too. Either way, the header is indeed missing so no harm in backporting. Had a quick look for unbundling but that doesn't seem viable (not to mention system glslang often gives more headaches than it solves).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b07a9098003ac55adc8a611b9aa40a880a48854 commit 9b07a9098003ac55adc8a611b9aa40a880a48854 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2024-08-04 16:54:25 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2024-08-04 17:03:08 +0000 dev-qt/qtshadertools: fix build with gcc15 Closes: https://bugs.gentoo.org/937261 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> dev-qt/qtshadertools/files/qtshadertools-6.7.2-gcc15.patch | 8 ++++++++ dev-qt/qtshadertools/qtshadertools-6.7.2.ebuild | 4 ++++ dev-qt/qtshadertools/qtshadertools-6.7.9999.ebuild | 4 ++++ dev-qt/qtshadertools/qtshadertools-6.8.9999.ebuild | 4 ++++ dev-qt/qtshadertools/qtshadertools-6.9999.ebuild | 4 ++++ 5 files changed, 24 insertions(+)