Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error building libqtxdg-4.0.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
davidbryant
Apprentice
Apprentice


Joined: 11 Jun 2020
Posts: 164
Location: Canyon Lake, Texas

PostPosted: Fri Dec 27, 2024 6:15 pm    Post subject: Error building libqtxdg-4.0.0 Reply with quote

I ran my usual sync / update (emerge --ask --newuse --update --deep --with-bdeps=y @world) today and received this error.
Code:
* ERROR: dev-libs/libqtxdg-4.0.0::gentoo failed (compile phase):
 *   ninja -v -j4 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2136:  Called cmake_src_compile
 *   environment, line  833:  Called cmake_build
 *   environment, line  800:  Called eninja
 *   environment, line 1282:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"

Output of emerge --info '=dev-libs/libqtxdg-4.0.0::gentoo':
Code:
emerge --info '=dev-libs/libqtxdg-4.0.0::gentoo'
Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-14, glibc-2.40-r5, 6.6.67-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.67-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-9700_CPU_@_3.00GHz-with-glibc2.40
KiB Mem:    16091860 total,   5283320 free
KiB Swap:    7999484 total,   7999484 free
Timestamp of repository gentoo: Fri, 27 Dec 2024 15:45:00 +0000
Head commit of repository gentoo: 13744710e120a8bbdea432ec1fb82f13ecc66a22
Timestamp of repository kde: Wed, 25 Dec 2024 20:48:20 +0000
Head commit of repository kde: 9cb04d5ab8c49edbe4888015c113084d93bf2aa5

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.6::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.5.2::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.10.16_p1::gentoo, 3.11.11_p1::gentoo, 3.12.8::gentoo, 3.13.1::gentoo
dev-lang/rust:             1.82.0-r101::gentoo
llvm-core/clang:           19.1.4::gentoo
llvm-core/lld:             19.1.4::gentoo
llvm-core/llvm:            18.1.8-r6::gentoo, 19.1.4::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241116::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
Repositories:

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

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

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=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 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live 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 sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/ ftp://mirrors.rit.edu/gentoo/ https://mirror.sjc02.svwh.net/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kdesu kf6compat kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pdfimport pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline scanner screencast sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks uefi unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" 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" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" 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, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

dev-libs/libqtxdg-4.0.0::gentoo was built with the following:
USE="-test"

The complete build log for this module:
Code:
 * Package:    dev-libs/libqtxdg-4.0.0:0
 * Repository: gentoo
 * Maintainer: lxqt@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking libqtxdg-4.0.0.tar.xz to /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work
>>> Source unpacked in /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work
>>> Preparing source in /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build"
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build"
cmake -C /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=no -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/gentoo_toolchain.cmake /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0
loading initial cache file /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib64/libxkbcommon.so (found suitable version "1.7.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "2.3.0")
-- Checking for module 'glib-2.0'
--   Found glib-2.0, version 2.80.5
-- Checking for module 'gio-unix-2.0'
--   Found gio-unix-2.0, version 2.80.5
-- Found GLIB: /usr/include/glib-2.0;/usr/lib64/glib-2.0/include (found suitable version "2.80.5", minimum required is "2.41.0")
-- Found XTerm: /usr/bin/xterm
-- Building libqtxdg with Qt 6.8.1
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- XdgIconEnginePlugin will be installed into: /usr/lib64/qt6/plugins/iconengines
--
-- For building tests use -DBUILD_TESTS=Yes option.
--
-- <<< Gentoo configuration >>>
Build type      RelWithDebInfo
Install path    /usr
Compiler flags:
C               -march=native -O2 -pipe -fdiagnostics-color=always
C++             -march=native -O2 -pipe -fno-exceptions -Wall -Wextra -Wchar-subscripts -Wno-long-long -Wpointer-arith -Wundef -Wformat-security -Wnon-virtual-dtor -Woverloaded-virtual -Wpedantic -fdiagnostics-color=always
Linker flags:
Executable      -Wl,-Bsymbolic-functions -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Module          -Wl,--no-undefined -Wl,-Bsymbolic-functions -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Shared          -Wl,--no-undefined -Wl,-Bsymbolic-functions -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs

-- Configuring done (1.0s)
-- Generating done (0.0s)
-- Build files have been written to: /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build"
ninja -v -j4 -l0
[1/34] cd /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/src/xdgiconloader && /usr/bin/cmake -E cmake_autogen /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/src/xdgiconloader/CMakeFiles/Qt6XdgIconLoader_autogen.dir/AutogenInfo.json RelWithDebInfo && /usr/bin/cmake -E touch /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/src/xdgiconloader/Qt6XdgIconLoader_autogen/timestamp && /usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0 /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/src/xdgiconloader /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/src/xdgiconloader/Qt6XdgIconLoader_autogen/deps /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/CMakeFiles/d/20e9dcef4a8c00111c22c2724a569e7dbfe77b94ae3703e79b0e0faab2133f80.d
[2/34] /usr/bin/x86_64-pc-linux-gnu-g++ -DLXQT_DATA_DIR=\"/usr/share\" -DLXQT_ETC_XDG_DIR=\"/etc/xdg\" -DLXQT_GRAPHICS_DIR=\"/usr/share/lxqt/graphics\" -DLXQT_RELATIVE_SHARE_DIR=\"lxqt\" -DLXQT_RELATIVE_SHARE_TRANSLATIONS_DIR=\"lxqt/translations\" -DLXQT_SHARE_DIR=\"/usr/share/lxqt\" -DLXQT_SHARE_TRANSLATIONS_DIR=\"/usr/share/lxqt/translations\" -DQT_CORE_LIB -DQT_GUI_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_URL_CAST_FROM_STRING -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQt6XdgIconLoader_EXPORTS -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/src/xdgiconloader -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/src/xdgiconloader/Qt6XdgIconLoader_autogen/include -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/InTreeBuild/include/qt6xdgiconloader -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/InTreeBuild/include -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/InTreeBuild/include/qt6xdgiconloader/4.0.0 -I/usr/include/qt6/QtGui/6.8.1 -I/usr/include/qt6/QtGui/6.8.1/QtGui -I/usr/include/qt6/QtCore/6.8.1 -I/usr/include/qt6/QtCore/6.8.1/QtCore -I/usr/include/qt6/QtDBus/6.8.1 -I/usr/include/qt6/QtDBus/6.8.1/QtDBus -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6 -isystem /usr/include/qt6/QtCore -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtSvg  -march=native -O2 -pipe -fno-exceptions -Wall -Wextra -Wchar-subscripts -Wno-long-long -Wpointer-arith -Wundef -Wformat-security -Wnon-virtual-dtor -Woverloaded-virtual -Wpedantic -fdiagnostics-color=always -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -MD -MT src/xdgiconloader/CMakeFiles/Qt6XdgIconLoader.dir/Qt6XdgIconLoader_autogen/mocs_compilation.cpp.o -MF src/xdgiconloader/CMakeFiles/Qt6XdgIconLoader.dir/Qt6XdgIconLoader_autogen/mocs_compilation.cpp.o.d -o src/xdgiconloader/CMakeFiles/Qt6XdgIconLoader.dir/Qt6XdgIconLoader_autogen/mocs_compilation.cpp.o -c /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/src/xdgiconloader/Qt6XdgIconLoader_autogen/mocs_compilation.cpp
[3/34] /usr/bin/x86_64-pc-linux-gnu-g++ -DLXQT_DATA_DIR=\"/usr/share\" -DLXQT_ETC_XDG_DIR=\"/etc/xdg\" -DLXQT_GRAPHICS_DIR=\"/usr/share/lxqt/graphics\" -DLXQT_RELATIVE_SHARE_DIR=\"lxqt\" -DLXQT_RELATIVE_SHARE_TRANSLATIONS_DIR=\"lxqt/translations\" -DLXQT_SHARE_DIR=\"/usr/share/lxqt\" -DLXQT_SHARE_TRANSLATIONS_DIR=\"/usr/share/lxqt/translations\" -DQT_CORE_LIB -DQT_GUI_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_URL_CAST_FROM_STRING -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQt6XdgIconLoader_EXPORTS -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/src/xdgiconloader -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/src/xdgiconloader/Qt6XdgIconLoader_autogen/include -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/InTreeBuild/include/qt6xdgiconloader -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/InTreeBuild/include -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/InTreeBuild/include/qt6xdgiconloader/4.0.0 -I/usr/include/qt6/QtGui/6.8.1 -I/usr/include/qt6/QtGui/6.8.1/QtGui -I/usr/include/qt6/QtCore/6.8.1 -I/usr/include/qt6/QtCore/6.8.1/QtCore -I/usr/include/qt6/QtDBus/6.8.1 -I/usr/include/qt6/QtDBus/6.8.1/QtDBus -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6 -isystem /usr/include/qt6/QtCore -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtSvg  -march=native -O2 -pipe -fno-exceptions -Wall -Wextra -Wchar-subscripts -Wno-long-long -Wpointer-arith -Wundef -Wformat-security -Wnon-virtual-dtor -Woverloaded-virtual -Wpedantic -fdiagnostics-color=always -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -MD -MT src/xdgiconloader/CMakeFiles/Qt6XdgIconLoader.dir/xdgiconloader.cpp.o -MF src/xdgiconloader/CMakeFiles/Qt6XdgIconLoader.dir/xdgiconloader.cpp.o.d -o src/xdgiconloader/CMakeFiles/Qt6XdgIconLoader.dir/xdgiconloader.cpp.o -c /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader/xdgiconloader.cpp
FAILED: src/xdgiconloader/CMakeFiles/Qt6XdgIconLoader.dir/xdgiconloader.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DLXQT_DATA_DIR=\"/usr/share\" -DLXQT_ETC_XDG_DIR=\"/etc/xdg\" -DLXQT_GRAPHICS_DIR=\"/usr/share/lxqt/graphics\" -DLXQT_RELATIVE_SHARE_DIR=\"lxqt\" -DLXQT_RELATIVE_SHARE_TRANSLATIONS_DIR=\"lxqt/translations\" -DLXQT_SHARE_DIR=\"/usr/share/lxqt\" -DLXQT_SHARE_TRANSLATIONS_DIR=\"/usr/share/lxqt/translations\" -DQT_CORE_LIB -DQT_GUI_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_URL_CAST_FROM_STRING -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQt6XdgIconLoader_EXPORTS -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/src/xdgiconloader -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/src/xdgiconloader/Qt6XdgIconLoader_autogen/include -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/InTreeBuild/include/qt6xdgiconloader -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/InTreeBuild/include -I/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build/InTreeBuild/include/qt6xdgiconloader/4.0.0 -I/usr/include/qt6/QtGui/6.8.1 -I/usr/include/qt6/QtGui/6.8.1/QtGui -I/usr/include/qt6/QtCore/6.8.1 -I/usr/include/qt6/QtCore/6.8.1/QtCore -I/usr/include/qt6/QtDBus/6.8.1 -I/usr/include/qt6/QtDBus/6.8.1/QtDBus -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6 -isystem /usr/include/qt6/QtCore -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtSvg  -march=native -O2 -pipe -fno-exceptions -Wall -Wextra -Wchar-subscripts -Wno-long-long -Wpointer-arith -Wundef -Wformat-security -Wnon-virtual-dtor -Woverloaded-virtual -Wpedantic -fdiagnostics-color=always -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -MD -MT src/xdgiconloader/CMakeFiles/Qt6XdgIconLoader.dir/xdgiconloader.cpp.o -MF src/xdgiconloader/CMakeFiles/Qt6XdgIconLoader.dir/xdgiconloader.cpp.o.d -o src/xdgiconloader/CMakeFiles/Qt6XdgIconLoader.dir/xdgiconloader.cpp.o -c /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader/xdgiconloader.cpp
In file included from /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader/xdgiconloader.cpp:37:
/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader/xdgiconloader_p.h:66:13: error: ‘QPixmap ScalableFollowsColorEntry::pixmap(const QSize&, QIcon::Mode, QIcon::State)’ marked ‘override’, but does not override
   66 |     QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state) override;
      |             ^~~~~~
In file included from /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader/xdgiconloader_p.h:56:
/usr/include/qt6/QtGui/6.8.1/QtGui/private/qiconloader_p.h:77:13: warning: ‘virtual QPixmap ScalableEntry::pixmap(const QSize&, QIcon::Mode, QIcon::State, qreal)’ was hidden [-Woverloaded-virtual=]
   77 |     QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state, qreal scale) override;
      |             ^~~~~~
/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader/xdgiconloader_p.h:66:13: note:   by ‘QPixmap ScalableFollowsColorEntry::pixmap(const QSize&, QIcon::Mode, QIcon::State)’
   66 |     QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state) override;
      |             ^~~~~~
In file included from /usr/include/qt6/QtCore/6.8.1/QtCore/private/qobject_p.h:28,
                 from /usr/include/qt6/QtCore/6.8.1/QtCore/private/qcoreapplication_p.h:29,
                 from /usr/include/qt6/QtGui/6.8.1/QtGui/private/qguiapplication_p.h:24,
                 from /var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader/xdgiconloader.cpp:39:
/usr/include/qt6/QtCore/6.8.1/QtCore/private/qproperty_p.h:303:16: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
  303 |         struct {
      |                ^
/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader/xdgiconloader.cpp:760:9: error: no declaration matches ‘QPixmap PixmapEntry::pixmap(const QSize&, QIcon::Mode, QIcon::State)’
  760 | QPixmap PixmapEntry::pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state)
      |         ^~~~~~~~~~~
/usr/include/qt6/QtGui/6.8.1/QtGui/private/qiconloader_p.h:83:13: note: candidate is: ‘virtual QPixmap PixmapEntry::pixmap(const QSize&, QIcon::Mode, QIcon::State, qreal)’
   83 |     QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state, qreal scale) override;
      |             ^~~~~~
/usr/include/qt6/QtGui/6.8.1/QtGui/private/qiconloader_p.h:81:8: note: ‘struct PixmapEntry’ defined here
   81 | struct PixmapEntry : public QIconLoaderEngineEntry
      |        ^~~~~~~~~~~
/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader/xdgiconloader.cpp:799:9: error: no declaration matches ‘QPixmap ScalableEntry::pixmap(const QSize&, QIcon::Mode, QIcon::State)’
  799 | QPixmap ScalableEntry::pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state)
      |         ^~~~~~~~~~~~~
/usr/include/qt6/QtGui/6.8.1/QtGui/private/qiconloader_p.h:77:13: note: candidate is: ‘virtual QPixmap ScalableEntry::pixmap(const QSize&, QIcon::Mode, QIcon::State, qreal)’
   77 |     QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state, qreal scale) override;
      |             ^~~~~~
/usr/include/qt6/QtGui/6.8.1/QtGui/private/qiconloader_p.h:75:8: note: ‘struct ScalableEntry’ defined here
   75 | struct ScalableEntry : public QIconLoaderEngineEntry
      |        ^~~~~~~~~~~~~
/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader/xdgiconloader.cpp: In member function ‘virtual QPixmap XdgIconLoaderEngine::pixmap(const QSize&, QIcon::Mode, QIcon::State)’:
/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader/xdgiconloader.cpp:944:29: error: no matching function for call to ‘QIconLoaderEngineEntry::pixmap(const QSize&, QIcon::Mode&, QIcon::State&)’
  944 |         return entry->pixmap(size, mode, state);
      |                ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtGui/6.8.1/QtGui/private/qiconloader_p.h:67:21: note: candidate: ‘virtual QPixmap QIconLoaderEngineEntry::pixmap(const QSize&, QIcon::Mode, QIcon::State, qreal)’
   67 |     virtual QPixmap pixmap(const QSize &size,
      |                     ^~~~~~
/usr/include/qt6/QtGui/6.8.1/QtGui/private/qiconloader_p.h:67:21: note:   candidate expects 4 arguments, 3 provided
/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader/xdgiconloader.cpp: In member function ‘virtual QPixmap XdgIconLoaderEngine::scaledPixmap(const QSize&, QIcon::Mode, QIcon::State, qreal)’:
/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0/src/xdgiconloader/xdgiconloader.cpp:971:33: error: no matching function for call to ‘QIconLoaderEngineEntry::pixmap(const QSize&, QIcon::Mode&, QIcon::State&)’
  971 |     return entry ? entry->pixmap(size, mode, state) : QPixmap();
      |                    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtGui/6.8.1/QtGui/private/qiconloader_p.h:67:21: note: candidate: ‘virtual QPixmap QIconLoaderEngineEntry::pixmap(const QSize&, QIcon::Mode, QIcon::State, qreal)’
   67 |     virtual QPixmap pixmap(const QSize &size,
      |                     ^~~~~~
/usr/include/qt6/QtGui/6.8.1/QtGui/private/qiconloader_p.h:67:21: note:   candidate expects 4 arguments, 3 provided
ninja: build stopped: subcommand failed.
 * ERROR: dev-libs/libqtxdg-4.0.0::gentoo failed (compile phase):
 *   ninja -v -j4 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2136:  Called cmake_src_compile
 *   environment, line  833:  Called cmake_build
 *   environment, line  800:  Called eninja
 *   environment, line 1282:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=dev-libs/libqtxdg-4.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/libqtxdg-4.0.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/dev-libs:libqtxdg-4.0.0:20241227-171650.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/libqtxdg-4.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libqtxdg-4.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0_build'
 * S: '/var/tmp/portage/dev-libs/libqtxdg-4.0.0/work/libqtxdg-4.0.0'

The output of emerge -pqv '=dev-libs/libqtxdg-4.0.0::gentoo'emerge -pqv ':
Code:
emerge -pqv '=dev-libs/libqtxdg-4.0.0::gentoo

Any suggestions would be welcome.
_________________
David Bryant
Canyon Lake, Texas
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2039

PostPosted: Fri Dec 27, 2024 6:24 pm    Post subject: Reply with quote

I've filed bug 947036.
Back to top
View user's profile Send private message
davidbryant
Apprentice
Apprentice


Joined: 11 Jun 2020
Posts: 164
Location: Canyon Lake, Texas

PostPosted: Fri Dec 27, 2024 7:09 pm    Post subject: Reply with quote

sam_ wrote:
I've filed bug 947036.


Thank you, Sam.
_________________
David Bryant
Canyon Lake, Texas
Back to top
View user's profile Send private message
ShidaDoKongo
n00b
n00b


Joined: 28 Dec 2024
Posts: 1
Location: Earth

PostPosted: Sat Dec 28, 2024 7:41 am    Post subject: Reply with quote

The following procedure has worked for me today to bypass this issue.

First unmask the newer libqtxdg package dev-libs/libqtxdg-4.0.1 by creating package specific unmask entry under a directory '/etc/portage/package.accept_keywords/'.

Make sure to create directory '/etc/portage/package.accept_keywords/' first.

Code:
echo "=dev-libs/libqtxdg-4.0.1 ~amd64" >> /etc/portage/package.accept_keywords/libqtxdg


Then emerge the new libqtxdg package:

Code:
emerge --ask dev-libs/libqtxdg-4.0.1


Then do your normal update using:

Code:
emaint --auto sync


Code:
emerge --ask --verbose --update --newuse --deep --with-bdeps=y @world


Then clean the system with:

Code:
emerge --depclean


FYI the change log for libqtxdg-4.0.1 shows "Fixed compilation with Qt ≥ 6.8" https://github.com/lxqt/libqtxdg/blob/master/CHANGELOG

The Gentoo maintainers should include version 4.0.1 on the stable branch asap!

Thanks.
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1806
Location: Germany

PostPosted: Sat Dec 28, 2024 9:12 am    Post subject: Reply with quote

ShidaDoKongo hello and welcome to the forums.

Thank you for the feedback and verification that it works. The stabilization is currently underway with this bug https://bugs.gentoo.org/947036 and the package itself https://packages.gentoo.org/packages/dev-libs/libqtxdg has already 4.0.1 stable for amd64
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum