Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

ktexteditor fails to compile during update

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
palefy
n00b
n00b
Posts: 2
Joined: Wed Mar 11, 2026 8:58 am

ktexteditor fails to compile during update

  • Quote

Post by palefy » Wed Mar 11, 2026 9:33 am

Hello, when I try to update my system ktexteditor is causing it to fail. Additionally now many KDE apps (dolphin and konsole) fail to launch due to a missing library (libQt6Multimedia)


When I run the update it starts normally but once it reaches ktexteditor it errors.

Code: Select all

emerge --ask --verbose --update --deep --newuse @world

Code: Select all

>>> Failed to emerge kde-frameworks/ktexteditor-6.23.0, Log file:

>>>  '/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/temp/build.log'

 * Messages for package app-office/libreoffice-25.2.7.2-r1:

 * If you plan to use Base application you must enable USE base.
 * Without USE java, several wizards are not going to be available.

 * Messages for package kde-frameworks/ktexteditor-6.23.0:

 * ERROR: kde-frameworks/ktexteditor-6.23.0::gentoo failed (compile phase):
 *   ninja -v -l32 -j32 failed
 * Call stack:
 *     ebuild.sh, line  143:  Called src_compile
 *   environment, line 1986:  Called cmake_src_compile
 *   environment, line 1018:  Called cmake_build
 *   environment, line  930:  Called eninja
 *   environment, line 1546:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 * If you need support, post the output of `emerge --info '=kde-frameworks/ktexteditor-6.23.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-frameworks/ktexteditor-6.23.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0_build'
 * S: '/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0'

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: dev-libs/boost-1.90.0
 *  - /usr/lib64/libboost_charconv.so.1.88.0
 *  - /usr/lib64/libboost_chrono.so.1.88.0
 *  - /usr/lib64/libboost_locale.so.1.88.0
 *      used by /usr/lib64/libreoffice/program/libmergedlo.so (app-office/libreoffice-25.2.7.2-r1)
 *  - /usr/lib64/libboost_system.so.1.88.0
 *  - /usr/lib64/libboost_thread.so.1.88.0
>>> package: kde-frameworks/ktexteditor-6.22.0
 *  - /usr/lib64/libKF6TextEditor.so.6
 *  - /usr/lib64/libKF6TextEditor.so.6.22.0
 *      used by /usr/bin/plasma-interactiveconsole (kde-plasma/plasma-workspace-6.5.5-r1)
Use emerge @preserved-rebuild to rebuild packages using these libraries
 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.
The output of the suggested commands are:

Code: Select all

emerge --info '=kde-frameworks/ktexteditor-6.23.0::gentoo'
Portage 3.0.77 (python 3.13.11-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-15, glibc-2.42-r5, 6.18.12-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.18.12-gentoo-dist-x86_64-AMD_Ryzen_9_9950X3D_16-Core_Processor-with-glibc2.42
KiB Mem:    63404780 total,  51912656 free
KiB Swap:   67108860 total,  67108860 free
Timestamp of repository gentoo: Tue, 10 Mar 2026 17:15:00 +0000
Head commit of repository gentoo: 5a4533ccc0a2db3b390016ced2c6301d29e243cf
Timestamp of repository guru: Tue, 10 Mar 2026 13:31:07 +0000
Head commit of repository guru: 69885d72f9ed6a68d420090fbfe8173de5595355

Head commit of repository steam-overlay: 1c591b53ffcd9c744b7b2b130c87e652a7d11a86

sh bash 5.3_p9
ld GNU ld (Gentoo 2.45.1 p1) 2.45.1
app-misc/pax-utils:        1.3.10::gentoo
app-shells/bash:           5.3_p9::gentoo
dev-build/autoconf:        2.72-r6::gentoo
dev-build/automake:        1.18.1::gentoo
dev-build/cmake:           4.1.4::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r102::gentoo
dev-build/meson:           1.9.2::gentoo
dev-lang/perl:             5.42.0-r1::gentoo
dev-lang/python:           3.13.11::gentoo, 3.14.2::gentoo
dev-lang/rust-bin:         1.92.0::gentoo
llvm-core/clang:           21.1.8::gentoo
llvm-core/lld:             21.1.8::gentoo
llvm-core/llvm:            21.1.8::gentoo
sys-apps/baselayout:       2.18::gentoo
sys-apps/sandbox:          2.46::gentoo
sys-apps/systemd:          258.3::gentoo
sys-devel/binutils:        2.45.1::gentoo, 2.46.0::gentoo
sys-devel/binutils-config: 5.6::gentoo
sys-devel/gcc:             15.2.1_p20260214::gentoo
sys-devel/gcc-config:      2.12.2::gentoo
sys-kernel/linux-headers:  6.18::gentoo (virtual/os-headers)
sys-libs/glibc:            2.42-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 3
    sync-rsync-extra-opts:

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoo
    location: /var/cache/binhost/gentoo
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64
    verify-signature: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -mtune=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compress-index config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -mtune=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j32 -l32"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="bzip2"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS=" -C target-cpu=native"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 avif bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dist-kernel dri dts dvd dvdr encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg jpegxl kde kwallet lcms libnotify libtirpc lingas_en mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nvidia ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland webp widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_15" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vp2intersect avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl avx_vnni bmi1 bmi2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oncore skytraq superstar2 tsip tripmate tnt" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-3" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32 ruby33" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

kde-frameworks/ktexteditor-6.23.0::gentoo would be built with the following:
USE="editorconfig -debug -test" ABI_X86="(64)"

>>> Attempting to run pkg_info() for 'kde-frameworks/ktexteditor-6.23.0'

Code: Select all

emerge -pqv '=kde-frameworks/ktexteditor-6.23.0::gentoo'
[ebuild  N    ] kde-frameworks/ktexteditor-6.23.0  USE="editorconfig -debug -test"
I have only included the end of the output here as its too long.

Code: Select all

[193/196] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x61500 -DKGUIADDONS_LIB -DKTEXTEDITOR_DEPRECATED_WARNINGS_SINCE=0x0 -DKTEXTEDITOR_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60300 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_QMLINTEGRATION_LIB -DQT_QML_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"ktexteditor6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0_build/src -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0_build -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0_build/src/include -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/include -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/include/ktexteditor -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/buffer -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/completion -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/dialogs -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/document -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/script -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/mode -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/render -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/search -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/syntax -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/undo -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/utils -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/inputmode -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/view -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/swapfile -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/variableeditor -isystem /var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0_build/src/ktexteditor_script_tester_autogen/include -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6 -isystem /usr/include/qt6/QtCore -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/KF6/KParts -isystem /usr/include/KF6/KIOCore -isystem /usr/include/KF6/KIO -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/qt6/QtDBus -isystem /usr/include/KF6/KXmlGui -isystem /usr/include/qt6/QtXml -isystem /usr/include/qt6/QtWidgets -isystem /usr/include/qt6/QtGui -isystem /usr/include/KF6/KConfig -isystem /usr/include/KF6/KConfigCore -isystem /usr/include/KF6/KConfigWidgets -isystem /usr/include/KF6/KWidgetsAddons -isystem /usr/include/KF6/KConfigGui -isystem /usr/include/KF6/KColorScheme -isystem /usr/include/KF6/KGuiAddons -isystem /usr/include/KF6/KCompletion -isystem /usr/include/KF6/KSyntaxHighlighting  -DQT_NO_DEBUG -march=native -mtune=native -O2 -pipe -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -fdiagnostics-color=always -std=c++20 -fvisibility=hidden -fvisibility-inlines-hidden -mno-direct-extern-access -MD -MT src/CMakeFiles/ktexteditor_script_tester.dir/scripttester/ktexteditorscripttester.cpp.o -MF src/CMakeFiles/ktexteditor_script_tester.dir/scripttester/ktexteditorscripttester.cpp.o.d -o src/CMakeFiles/ktexteditor_script_tester.dir/scripttester/ktexteditorscripttester.cpp.o -c /var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/scripttester/ktexteditorscripttester.cpp
/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/scripttester/ktexteditorscripttester.cpp: In function ‘int main(int, char**)’:
/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/scripttester/ktexteditorscripttester.cpp:1108:16: warning: ignoring return value of ‘bool QFile::open(FILE*, QIODeviceBase::OpenMode, QFileDevice::FileHandleFlags)’, declared with attribute ‘nodiscard’ [-Wunused-result]
 1108 |     output.open(stderr, QIODevice::WriteOnly);
      |     ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qdir.h:11,
                 from /usr/include/qt6/QtCore/qdiriterator.h:8,
                 from /usr/include/qt6/QtCore/QDirIterator:1,
                 from /var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/scripttester/ktexteditorscripttester.cpp:20:
/usr/include/qt6/QtCore/qfile.h:293:32: note: declared here
  293 |     QFILE_MAYBE_NODISCARD bool open(FILE *f, OpenMode ioFlags, FileHandleFlags handleFlags=DontCloseHandle);
      |                                ^~~~
[194/196] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x61500 -DKGUIADDONS_LIB -DKTEXTEDITOR_DEPRECATED_WARNINGS_SINCE=0x0 -DKTEXTEDITOR_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60300 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_QMLINTEGRATION_LIB -DQT_QML_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"ktexteditor6\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0_build/src -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0_build -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0_build/src/include -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/include -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/include/ktexteditor -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/buffer -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/completion -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/dialogs -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/document -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/script -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/mode -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/render -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/search -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/syntax -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/undo -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/utils -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/inputmode -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/view -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/swapfile -I/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/variableeditor -isystem /var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0_build/src/ktexteditor_script_tester_autogen/include -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6 -isystem /usr/include/qt6/QtCore -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/KF6/KParts -isystem /usr/include/KF6/KIOCore -isystem /usr/include/KF6/KIO -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/qt6/QtDBus -isystem /usr/include/KF6/KXmlGui -isystem /usr/include/qt6/QtXml -isystem /usr/include/qt6/QtWidgets -isystem /usr/include/qt6/QtGui -isystem /usr/include/KF6/KConfig -isystem /usr/include/KF6/KConfigCore -isystem /usr/include/KF6/KConfigWidgets -isystem /usr/include/KF6/KWidgetsAddons -isystem /usr/include/KF6/KConfigGui -isystem /usr/include/KF6/KColorScheme -isystem /usr/include/KF6/KGuiAddons -isystem /usr/include/KF6/KCompletion -isystem /usr/include/KF6/KSyntaxHighlighting  -DQT_NO_DEBUG -march=native -mtune=native -O2 -pipe -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -fdiagnostics-color=always -std=c++20 -fvisibility=hidden -fvisibility-inlines-hidden -mno-direct-extern-access -MD -MT src/CMakeFiles/ktexteditor_script_tester.dir/scripttester/scripttester.cpp.o -MF src/CMakeFiles/ktexteditor_script_tester.dir/scripttester/scripttester.cpp.o.d -o src/CMakeFiles/ktexteditor_script_tester.dir/scripttester/scripttester.cpp.o -c /var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0/src/scripttester/scripttester.cpp
[195/196] : && /usr/bin/x86_64-pc-linux-gnu-g++ -march=native -mtune=native -O2 -pipe -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -fdiagnostics-color=always -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs src/CMakeFiles/ktexteditor_script_tester.dir/ktexteditor_script_tester_autogen/mocs_compilation.cpp.o src/CMakeFiles/ktexteditor_script_tester.dir/scripttester/ktexteditorscripttester.cpp.o src/CMakeFiles/ktexteditor_script_tester.dir/scripttester/scripttester.cpp.o src/CMakeFiles/ktexteditor_script_tester.dir/ktexteditor_script_tester_autogen/PSCA5TAYJJ/qrc_ktexteditorscripttester.cpp.o -o bin/ktexteditor-script-tester6  -Wl,-rpath,/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0_build/bin:  bin/libKF6TextEditor.so.6.23.0  /usr/lib64/libQt6Qml.so.6.10.2  /usr/lib64/libKF6Parts.so.6.23.0  /usr/lib64/libKF6XmlGui.so.6.23.0  /usr/lib64/libKF6ConfigWidgets.so.6.23.0  /usr/lib64/libKF6SyntaxHighlighting.so.6.23.0  /usr/lib64/libKF6Completion.so.6.23.0  /usr/lib64/libKF6ColorScheme.so.6.23.0  /usr/lib64/libKF6GuiAddons.so.6.23.1  /usr/lib64/libKF6ConfigGui.so.6.23.0  /usr/lib64/libKF6WidgetsAddons.so.6.23.0  /usr/lib64/libQt6Widgets.so.6.10.2  /usr/lib64/libKF6KIOCore.so.6.23.0  /usr/lib64/libQt6Network.so.6.10.2  /usr/lib64/libKF6ConfigCore.so.6.23.0  /usr/lib64/libQt6Xml.so.6.10.2  /usr/lib64/libQt6Gui.so.6.10.2  /usr/lib64/libGLX.so  /usr/lib64/libOpenGL.so  /usr/lib64/libKF6CoreAddons.so.6.23.0  /usr/lib64/libQt6DBus.so.6.10.2  /usr/lib64/libQt6Core.so.6.10.2 && :
FAILED: [code=1] bin/ktexteditor-script-tester6
: && /usr/bin/x86_64-pc-linux-gnu-g++ -march=native -mtune=native -O2 -pipe -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -fdiagnostics-color=always -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs src/CMakeFiles/ktexteditor_script_tester.dir/ktexteditor_script_tester_autogen/mocs_compilation.cpp.o src/CMakeFiles/ktexteditor_script_tester.dir/scripttester/ktexteditorscripttester.cpp.o src/CMakeFiles/ktexteditor_script_tester.dir/scripttester/scripttester.cpp.o src/CMakeFiles/ktexteditor_script_tester.dir/ktexteditor_script_tester_autogen/PSCA5TAYJJ/qrc_ktexteditorscripttester.cpp.o -o bin/ktexteditor-script-tester6  -Wl,-rpath,/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0_build/bin:  bin/libKF6TextEditor.so.6.23.0  /usr/lib64/libQt6Qml.so.6.10.2  /usr/lib64/libKF6Parts.so.6.23.0  /usr/lib64/libKF6XmlGui.so.6.23.0  /usr/lib64/libKF6ConfigWidgets.so.6.23.0  /usr/lib64/libKF6SyntaxHighlighting.so.6.23.0  /usr/lib64/libKF6Completion.so.6.23.0  /usr/lib64/libKF6ColorScheme.so.6.23.0  /usr/lib64/libKF6GuiAddons.so.6.23.1  /usr/lib64/libKF6ConfigGui.so.6.23.0  /usr/lib64/libKF6WidgetsAddons.so.6.23.0  /usr/lib64/libQt6Widgets.so.6.10.2  /usr/lib64/libKF6KIOCore.so.6.23.0  /usr/lib64/libQt6Network.so.6.10.2  /usr/lib64/libKF6ConfigCore.so.6.23.0  /usr/lib64/libQt6Xml.so.6.10.2  /usr/lib64/libQt6Gui.so.6.10.2  /usr/lib64/libGLX.so  /usr/lib64/libOpenGL.so  /usr/lib64/libKF6CoreAddons.so.6.23.0  /usr/lib64/libQt6DBus.so.6.10.2  /usr/lib64/libQt6Core.so.6.10.2 && :
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libQt6TextToSpeech.so.6: undefined reference to `QObjectPrivate::QObjectPrivate(QtPrivate_6_10_1)@Qt_6_PRIVATE_API'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
 * ERROR: kde-frameworks/ktexteditor-6.23.0::gentoo failed (compile phase):
 *   ninja -v -l32 -j32 failed
 *
 * Call stack:
 *     ebuild.sh, line  143:  Called src_compile
 *   environment, line 1986:  Called cmake_src_compile
 *   environment, line 1018:  Called cmake_build
 *   environment, line  930:  Called eninja
 *   environment, line 1546:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=kde-frameworks/ktexteditor-6.23.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-frameworks/ktexteditor-6.23.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0_build'
 * S: '/var/tmp/portage/kde-frameworks/ktexteditor-6.23.0/work/ktexteditor-6.23.0'
Top
Josef.95
Advocate
Advocate
Posts: 4857
Joined: Mon Sep 03, 2007 9:46 am
Location: Germany

  • Quote

Post by Josef.95 » Wed Mar 11, 2026 10:21 am

Hi, and welcome on the gentoo forums! :)

Code: Select all

/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libQt6TextToSpeech.so.6: undefined reference to `QObjectPrivate::QObjectPrivate(QtPrivate_6_10_1)@Qt_6_PRIVATE_API'
collect2: error: ld returned 1 exit status
This is probably a build order bug.
You can try the workaround-tip from https://bugs.gentoo.org/968696#c9
Top
palefy
n00b
n00b
Posts: 2
Joined: Wed Mar 11, 2026 8:58 am

  • Quote

Post by palefy » Wed Mar 11, 2026 2:49 pm

Thank you.

The following fixed the issue.

Code: Select all

emerge -v1 /usr/lib64/libQt6TextToSpeech.so
The update ran properly after that.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic