too long lines were shrinked: /usr/lib64/qt5/bin/uic codestyleselectorwidget.ui -o .uic/ui_codestyleselectorwidget.h /usr/lib64/qt5/bin/uic highlightersettingspage.ui -o .uic/ui_highlightersettingspage.h x86_64-pc-linux-gnu-g++ -c -pipe -march=native -fno-diagnostics-color -O2 -Wno-noexcept-type -std=gnu++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -D_REENTRANT -fPIC -DTEXTEDITOR_LIBRARY -D'RELATIVE_PLUGIN_PATH="../lib64/qtcreator/plugins"' -D'RELATIVE_LIBEXEC_PATH="../libexec/q In file included from texteditorplugin.cpp:32: highlighter.h:32:10: fatal error: AbstractHighlighter: No such file or directory 32 | #include <AbstractHighlighter> | ^~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd-j4-20220515-232600 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.1.0 * clang/llvm (if any): clang version 14.0.3 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.3 Python 3.9.13 Available Ruby profiles: (none found) 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.15_p10 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 system-vm [3] openjdk-bin-17 The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit c7a8aaf65da431869874d2fbe7ed0d4674d3da5b Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat May 21 22:18:11 2022 +0000 2022-05-21 22:18:11 UTC emerge -qpvO dev-qt/qt-creator [ebuild N ] dev-qt/qt-creator-6.0.0 USE="autotest clang cmake designer git help lsp qmake qml systemd -android -autotools -baremetal -bazaar -beautifier -boot2qt -clearcase -conan -cppcheck -ctfvisualizer -cvs -doc -docker -glsl -incredibuild -mcu -mercurial -meson -modeling -nim -perforce -perfprofiler -python -qbs -qmlprofiler -qnx -remotelinux -scxml -serialterminal -silversearcher -subversion -test (-valgrind) -webassembly -webengine" L10N="-cs -da -de -fr -hr -ja -pl -ru -sl -uk -zh-CN -zh-TW"
Created attachment 779966 [details] emerge-info.txt
Created attachment 779969 [details] dev-qt:qt-creator-6.0.0:20220521-222909.log.bz2
Created attachment 779972 [details] emerge-history.txt.bz2
Created attachment 779975 [details] environment
Created attachment 779978 [details] etc.portage.tar.bz2
Created attachment 779981 [details] temp.tar.bz2
This appears to be caused by the ebuild setting an incorrect path to the kde-frameworks/syntax-highlighting include directory. The following patch to the ebuild enables it to compile (for me): --- qt-creator-6.0.0.ebuild 2021-12-02 19:39:47.000000000 +0000 +++ /tmp/qt-creator-6.0.0.ebuild 2022-06-02 14:45:11.028990879 +0100 @@ -204,7 +204,7 @@ src_configure() { eqmake5 IDE_LIBRARY_BASENAME="$(get_libdir)" \ IDE_PACKAGE_MODE=1 \ KSYNTAXHIGHLIGHTING_LIB_DIR="${EPREFIX}/usr/$(get_libdir)" \ - KSYNTAXHIGHLIGHTING_INCLUDE_DIR="${EPREFIX}/usr/include/KF5/KSyntaxHighlighting" \ + KSYNTAXHIGHLIGHTING_INCLUDE_DIR="${EPREFIX}/usr/include/KF5/KSyntaxHighlighting/KSyntaxHighlighting" \ $(use clang && echo LLVM_INSTALL_DIR="$(get_llvm_prefix ${LLVM_MAX_SLOT})") \ $(use qbs && echo QBS_INSTALL_DIR="${EPREFIX}/usr") \ $(use systemd && echo CONFIG+=journald) \
I can confirm that this patch fixes the build.
Without your patch, it builds fine with stable version kde-frameworks/syntax-highlighting-5.92.0-r1 but not with the soft-masked 5.94.0. Does it work the other way around with the patch? Not so sure after looking at this: https://github.com/KDE/syntax-highlighting/compare/v5.92.0...v5.94.0#diff-7567fde99fcba090ecb1958dd4ab9ba4367c10ba5d444e580cb61c3b404ced3a
It seems more like a bug in kde-frameworks/syntax-highlighting AbstractHighlighter should be at `/usr/include/KF5/KSyntaxHighlighting/AbstractHighlighter` not at `/usr/include/KF5/KSyntaxHighlighting/KSyntaxHighlighting/AbstractHighlighter`
*** Bug 864112 has been marked as a duplicate of this bug. ***
The patch works here too, with =kde-frameworks/syntax-highlighting-5.96.0
Patch works for me. kde frameworks 5.97
Patch works for me too.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=157b590574f3ca93b77040d9cc788e367d02c51b commit 157b590574f3ca93b77040d9cc788e367d02c51b Author: Peter Levine <plevine457@gmail.com> AuthorDate: 2022-08-06 04:55:16 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-29 15:07:21 +0000 dev-qt/qt-creator: add 8.0.1 Switched from the qmake to cmake buildsystem. Added support for the Coco code coverage tool. The 'git' USE flag now also builds the gitlab plugin. The 'wayland' flag was added to enforce built-with-use dependency. 'imageviewer' flag is added for conditional dependence on dev-qt/qtsvg. clangd functionality now depends on >=clang-14.*. Bug: https://bugs.gentoo.org/828071 Bug: https://bugs.gentoo.org/846947 Closes: https://bugs.gentoo.org/876169 Signed-off-by: Peter Levine <plevine457@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> dev-qt/qt-creator/Manifest | 1 + dev-qt/qt-creator/metadata.xml | 2 + dev-qt/qt-creator/qt-creator-8.0.1.ebuild | 440 ++++++++++++++++++++++++++++++ 3 files changed, 443 insertions(+)
Assume(?) this was meant to be closed by comment #15. Either way qt-creator-11.0.2 does not use system kde-frameworks/syntax-highlighting at the moment (may be revisited when a Qt6 version comes around), so it cannot run into this.