Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ERROR: dev-qt/qtbase-6.8.1::gentoo failed
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
IsraelBuitronD
Guru
Guru


Joined: 24 Jun 2005
Posts: 344
Location: México

PostPosted: Sun Jan 26, 2025 9:38 am    Post subject: ERROR: dev-qt/qtbase-6.8.1::gentoo failed Reply with quote

I was updating @world to update qt USE flag to be disabled, so I was executing:

Code:
USE="-qt5" emerge --update --newuse --deep --with-bdeps=y -a @world

[ebuild   R   ] x11-misc/lightdm-1.32.0-r2  USE="elogind gnome gtk introspection -audit -non-root -qt5* -systemd -vala"
[ebuild     U ] media-libs/libpulse-17.0 [16.1-r2] USE="X asyncns dbus glib gtk -doc (-selinux) -systemd -test -valgrind" ABI_X86="(64) -32 (-x32)"
[ebuild     U ] media-plugins/gst-plugins-pulse-1.24.11 [1.20.6] USE="(-test%)" ABI_X86="(64) -32 (-x32)"
[ebuild     U ] media-sound/pulseaudio-daemon-17.0-r1 [16.1-r7] USE="X alsa alsa-plugin asyncns bluetooth dbus elogind gdbm glib gstreamer orc ssl udev webrtc-aec -aptx -equalizer -fftw -jack -ldac -lirc -ofono-headset (-oss) (-selinux) -sox (-system-wide) -systemd -tcpd -test -valgrind -zeroconf"
[blocks b     ] <media-sound/pulseaudio-daemon-16.99.1 ("<media-sound/pulseaudio-daemon-16.99.1" is soft blocking media-libs/libpulse-17.0)
[ebuild     U ] gnome-extra/evolution-data-server-3.52.4-r2 [3.48.4-r1] USE="gnome-online-accounts gtk introspection sound%* vala weather -berkdb -gtk-doc -kerberos -ldap -oauth-gtk3% -oauth-gtk4% -test (-oauth%)"
[ebuild     U ] net-wireless/gnome-bluetooth-46.2 [42.6] USE="introspection -gtk-doc -sendto -test"
[ebuild     U ] media-plugins/gst-plugins-meta-1.24.11 [1.20.6] USE="X a52 aac alsa cdda dts dvd flac mp3 mpeg ogg pulseaudio vorbis x264 -dv -dvb -ffmpeg -http -jack -lame -libass -libvisual -modplug -opus -oss -taglib -theora -v4l -vaapi -vcd -vpx -wavpack" ABI_X86="(64) -32 (-x32)"
[ebuild     U ] media-video/pipewire-1.2.7-r1 [1.0.0-r1] USE="X bluetooth dbus elogind%* gstreamer readline ssl -doc -echo-cancel -extra -ffmpeg -flatpak -gsettings -ieee1394 -jack-client -jack-sdk -liblc3 -lv2 -man -modemmanager -pipewire-alsa -roc (-selinux) -sound-server (-system-service) -systemd -test -v4l -zeroconf" ABI_X86="(64) -32 (-x32)"
[ebuild     U ] media-video/wireplumber-0.5.7 [0.4.17-r1] USE="elogind (-system-service) -systemd -test" LUA_SINGLE_TARGET="lua5-4 -lua5-3"
[ebuild     U ] sys-apps/xdg-desktop-portal-1.18.4 [1.18.2] USE="seccomp -flatpak -geolocation -systemd -test"
[ebuild     U ] gnome-base/gnome-desktop-44.1-r400 [44.0-r400] USE="(seccomp) udev -debug -gtk-doc -systemd"
[ebuild     U ] gnome-base/gnome-desktop-44.1-r300 [44.0-r300] USE="introspection (seccomp) udev -debug -systemd"
[blocks b     ] <gnome-base/gnome-desktop-44.1:3 ("<gnome-base/gnome-desktop-44.1:3" is soft blocking gnome-base/gnome-desktop-44.1-r400)
[ebuild     U ] gnome-base/nautilus-46.2 [44.2.1] USE="cloudproviders%* gnome gstreamer introspection -doc% -previewer (-selinux) -test (-gtk-doc%) (-sendto%)"
[ebuild     U ] gnome-base/gnome-core-libs-45.2 [44.4] USE="cups -python"
[ebuild     U ] sys-apps/xdg-desktop-portal-gnome-46.2 [44.2] USE="X wayland"
[ebuild     U ] gnome-base/gnome-settings-daemon-46.0-r2 [44.1] USE="colord cups elogind networkmanager wayland -debug -modemmanager -smartcard -systemd (-test)" INPUT_DEVICES="wacom"
[ebuild  rR   ] app-text/evince-46.3.1  USE="cups gnome gstreamer introspection keyring spell tiff -djvu -dvi -gtk-doc -postscript -xps"
[ebuild     U ] gnome-base/gnome-session-46.0-r1 [44.0-r1] USE="elogind -doc -systemd"
[ebuild     U ] x11-wm/mutter-46.7-r1 [44.3] USE="elogind gnome introspection sysprof udev wayland -debug -gtk-doc -screencast -systemd -test" INPUT_DEVICES="wacom" VIDEO_CARDS="-nvidia"
[ebuild     U ] gnome-base/gnome-control-center-46.4-r1 [44.3] USE="bluetooth cups elogind geolocation%* gnome-online-accounts ibus networkmanager wayland -debug -kerberos -systemd -test" INPUT_DEVICES="wacom"
[ebuild     U ] gnome-base/gnome-shell-46.7 [44.3] USE="elogind ibus networkmanager -gtk-doc -pipewire% -systemd -test" PYTHON_SINGLE_TARGET="python3_12* -python3_10 -python3_11* -python3_13%"
[ebuild     U ] x11-terms/gnome-terminal-3.52.2 [3.48.2] USE="gnome-shell nautilus -debug -vanilla"
[ebuild     U ] gnome-base/gnome-light-45.2 [44.4] USE="cups gnome-shell"

The following packages are causing rebuilds:

  (app-text/poppler-24.11.0-r1:0/143::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (app-text/evince-46.3.1:0/evd3.4-evv3.3::gentoo, ebuild scheduled for merge)
    (app-misc/tracker-miners-3.6.2:3/3::gentoo, ebuild scheduled for merge)

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Running pre-merge checks for dev-lang/spidermonkey-115.16.0-r1
 * Checking for at least 3600 MiB disk space at "/var/tmp/portage/dev-lang/spidermonkey-115.16.0-r1/temp" ...                                                                                                              [ ok ]
>>> Running pre-merge checks for gnome-extra/evolution-data-server-3.52.4-r2
>>> Running pre-merge checks for gnome-base/gnome-light-45.2
>>> Emerging (1 of 53) app-text/yelp-tools-42.1::gentoo
>>> Installing (1 of 53) app-text/yelp-tools-42.1::gentoo
>>> Completed (1 of 53) app-text/yelp-tools-42.1::gentoo
>>> Emerging (2 of 53) net-wireless/wpa_supplicant-2.10-r5::gentoo
>>> Installing (2 of 53) net-wireless/wpa_supplicant-2.10-r5::gentoo
>>> Completed (2 of 53) net-wireless/wpa_supplicant-2.10-r5::gentoo
>>> Emerging (3 of 53) llvm-core/llvm-18.1.8-r6::gentoo
>>> Installing (3 of 53) llvm-core/llvm-18.1.8-r6::gentoo
>>> Completed (3 of 53) llvm-core/llvm-18.1.8-r6::gentoo
>>> Emerging (4 of 53) llvm-core/llvm-toolchain-symlinks-18-r1::gentoo
>>> Installing (4 of 53) llvm-core/llvm-toolchain-symlinks-18-r1::gentoo
>>> Completed (4 of 53) llvm-core/llvm-toolchain-symlinks-18-r1::gentoo
>>> Emerging (5 of 53) dev-lang/spidermonkey-115.16.0-r1::gentoo
>>> Installing (5 of 53) dev-lang/spidermonkey-115.16.0-r1::gentoo
>>> Completed (5 of 53) dev-lang/spidermonkey-115.16.0-r1::gentoo
>>> Emerging (6 of 53) dev-libs/gjs-1.80.2::gentoo
>>> Installing (6 of 53) dev-libs/gjs-1.80.2::gentoo
>>> Completed (6 of 53) dev-libs/gjs-1.80.2::gentoo
>>> Emerging (7 of 53) app-misc/tracker-3.6.0-r1::gentoo
>>> Installing (7 of 53) app-misc/tracker-3.6.0-r1::gentoo
>>> Completed (7 of 53) app-misc/tracker-3.6.0-r1::gentoo
>>> Emerging (8 of 53) dev-libs/libportal-0.7.1-r1::gentoo
>>> Installing (8 of 53) dev-libs/libportal-0.7.1-r1::gentoo
>>> Completed (8 of 53) dev-libs/libportal-0.7.1-r1::gentoo
>>> Emerging (9 of 53) dev-qt/qtbase-6.8.1::gentoo
>>> Failed to emerge dev-qt/qtbase-6.8.1, Log file:


The error sumarized error was:
Code:
 * Messages for package dev-qt/qtbase-6.8.1:

 * ERROR: dev-qt/qtbase-6.8.1::gentoo failed (compile phase):
 *   ninja -v -j11 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2297:  Called cmake_src_compile
 *   environment, line  980:  Called cmake_build
 *   environment, line  947:  Called eninja
 *   environment, line 1429:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtbase-6.8.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtbase-6.8.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtbase-6.8.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtbase-6.8.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build'
 * S: '/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1'


But looking a little bit the trace, I found this compilation error:

Code:

[195/796] cd /var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build/src/gui && /usr/bin/cmake -E make_directory vulkan && /var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build/lib64/qt6/libexec/qvkgen /var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1/src/gui/vulkan/vk.xml /var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1/src/gui/vulkan/licenseheader.h.in /var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build/src/gui/vulkan/qvulkanfunctions
FAILED: src/gui/vulkan/qvulkanfunctions.h src/gui/vulkan/qvulkanfunctions_p.h src/gui/vulkan/qvulkanfunctions_p.cpp /var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build/src/gui/vulkan/qvulkanfunctions.h /var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build/src/gui/vulkan/qvulkanfunctions_p.h /var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build/src/gui/vulkan/qvulkanfunctions_p.cpp
cd /var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build/src/gui && /usr/bin/cmake -E make_directory vulkan && /var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build/lib64/qt6/libexec/qvkgen /var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1/src/gui/vulkan/vk.xml /var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1/src/gui/vulkan/licenseheader.h.in /var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build/src/gui/vulkan/qvulkanfunctions
Incompatible processor. This Qt build requires the following features:
    vaes

...

[205/796] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DPROEVALUATOR_FULL -DQMAKE_VERSION_STR=\"3.1\" -DQT_BUILD_QMAKE -DQT_CORE_LIB -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_HOST_DATADIR=\"lib64/qt6\" -DQT_HOST_MKSPEC=\"linux-g++\" -DQT_LEAN_HEADERS=1 -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QSNPRINTF -DQT_TARGET_MKSPEC=\"linux-g++\" -DQT_USE_QSTRINGBUILDER -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1/qmake -I/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build/qmake -I/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1/qmake/generators -I/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1/qmake/generators/mac -I/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1/qmake/generators/unix -I/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1/qmake/generators/win32 -I/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1/qmake/library -I/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build/include -I/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build/src/corelib -I/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build/include/QtCore/6.8.1 -I/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build/include/QtCore/6.8.1/QtCore -I/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build/include/QtCore  -O2 -march=znver3 -pipe -std=gnu++17 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections -Wsuggest-override -fPIC -MD -MT qmake/CMakeFiles/qmake.dir/Unity/unity_0_cxx.cxx.o -MF qmake/CMakeFiles/qmake.dir/Unity/unity_0_cxx.cxx.o.d -o qmake/CMakeFiles/qmake.dir/Unity/unity_0_cxx.cxx.o -c /var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build/qmake/CMakeFiles/qmake.dir/Unity/unity_0_cxx.cxx
ninja: build stopped: subcommand failed.
 * ERROR: dev-qt/qtbase-6.8.1::gentoo failed (compile phase):
 *   ninja -v -j11 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2297:  Called cmake_src_compile
 *   environment, line  980:  Called cmake_build
 *   environment, line  947:  Called eninja
 *   environment, line 1429:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtbase-6.8.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtbase-6.8.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtbase-6.8.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtbase-6.8.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1_build'
 * S: '/var/tmp/portage/dev-qt/qtbase-6.8.1/work/qtbase-everywhere-src-6.8.1'


Do you know some ideas to solve this error?

Thank you! :)
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2892

PostPosted: Mon Jan 27, 2025 4:10 am    Post subject: Reply with quote

Does it work if you use -march=native rather than -march=znver3?

It's possible that your (specific) processor does not support vaes and thus not match what -march=znver3 enables even if it is a znver3 cpu at the base, -march=native "should" detect this properly assuming it's not another flaky case like the buggy rdrand/rdseed on some Ryzens that we're working around for in qt6-build.eclass

Edit: also, I'd suggest using =native rather than =exact system-wide regardless of if it helped or not, it's safer unless you need to cross-compile or use distcc in which case may want to look at app-misc/resolve-march-native to get the full picture (alternatively, a generic -march=x86-64-v3 and such does the job fine).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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