The packages fails to build against Qt6. If both, Qt5 and Qt6 are installed, Qt6 is preferred. This can be controlled by passing VTK_QT_VERSION to cmake. I'm gonna update the ebuild with this variable. The error is like FAILED: lib64/qml/VTK.9.1/libqmlvtkplugin.so lib64/qml/VTK.9.1/plugins.qmltypes /var/tmp/portage/sci-libs/vtk-9.1.0/work/vtk-9.1.0_build/lib64/qml/VTK.9.1/plugins.qmltypes : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check -Wl,-lc -Wl,-lc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -o lib64/qml/VTK.9.1/libqmlvtkplugin.so GUISupport/QtQuick/qml/CMakeFiles/qmlvtkplugin.dir/qmlvtkplugin_autogen/mocs_compilation.cpp.o GUISupport/QtQuick/qml/CMakeFiles/qmlvtkplugin.dir/QQmlVTKPlugin.cxx.o -Wl,-rpath,/var/tmp/portage/sci-libs/vtk-9.1.0/work/vtk-9.1.0_build/lib64: lib64/libvtkGUISupportQtQuick-9.1.so.9.1.0 lib64/libvtkGUISupportQt-9.1.so.9.1.0 lib64/libvtkRenderingUI-9.1.so.9.1.0 /usr/lib64/libX11.so /usr/lib64/libGLEW.so /usr/lib64/libGLX.so /usr/lib64/libOpenGL.so /usr/lib64/libXcursor.so /usr/lib64/libXrender.so /usr/lib64/libXfixes.so /usr/lib64/libX11.so lib64/libvtkOpenGL-9.1.so.9.1.0 /usr/lib64/libexpat.so /usr/lib64/libdouble-conversion.so /usr/lib64/liblz4.so /usr/lib64/liblzma.so /usr/lib64/libz.so lib64/libvtkIO-9.1.so.9.1.0 lib64/libvtkParallel-9.1.so.9.1.0 /usr/lib64/libfreetype.so lib64/libvtkImaging-9.1.so.9.1.0 lib64/libvtkInteraction-9.1.so.9.1.0 lib64/libvtkFiltersHybrid-9.1.so.9.1.0 lib64/libvtkImagingHybrid-9.1.so.9.1.0 /usr/lib64/libQt6OpenGLWidgets.so.6.2.3 /usr/lib64/libQt6OpenGL.so.6.2.3 /usr/lib64/libQt6Widgets.so.6.2.3 /usr/lib64/libQt6Gui.so.6.2.3 /usr/lib64/libGLX.so /usr/lib64/libOpenGL.so /usr/lib64/libQt6Core.so.6.2.3 lib64/libvtkFilters-9.1.so.9.1.0 /usr/lib64/libpugixml.so.1.12 lib64/libvtkCommon-9.1.so.9.1.0 lib64/libvtkloguru-9.1.so.9.1.0 /usr/lib64/libtbb.so /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/libgomp.so /usr/lib64/libpthread.a lib64/libvtkkissfft-9.1.so.9.1.0 lib64/libvtkfmt-9.1.so.9.1.0 lib64/libvtkRendering-9.1.so.9.1.0 lib64/libvtksys-9.1.so.9.1.0 -ldl /usr/lib64/libQt6Quick.so.6.2.3 /usr/lib64/libQt6QmlModels.so.6.2.3 /usr/lib64/libQt6Qml.so.6.2.3 /usr/lib64/libQt6Network.so.6.2.3 /usr/lib64/libQt6OpenGL.so.6.2.3 /usr/lib64/libQt6Gui.so.6.2.3 /usr/lib64/libGLX.so /usr/lib64/libOpenGL.so /usr/lib64/libQt6Core.so.6.2.3 -Wl,-rpath-link,/var/tmp/portage/sci-libs/vtk-9.1.0/work/vtk-9.1.0_build/lib64 && cd /var/tmp/portage/sci-libs/vtk-9.1.0/work/vtk-9.1.0_build/GUISupport/QtQuick/qml && /usr/bin/qmlplugindump -output /var/tmp/portage/sci-libs/vtk-9.1.0/work/vtk-9.1.0_build/lib64/qml/VTK.9.1/plugins.qmltypes VTK 9.1 /var/tmp/portage/sci-libs/vtk-9.1.0/work/vtk-9.1.0_build/lib64/qml QQmlComponent: Component is not ready Reproducible: Always emerge --info =vtk-9.1.0 Portage 3.0.30 (python 3.9.10-final-0, default/linux/amd64/17.1/systemd, gcc-11.2.1, glibc-2.34-r9, 5.16.12-gentoo-0 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.16.12-gentoo-0-x86_64-AMD_Ryzen_7_3800X_8-Core_Processor-with-glibc2.34 KiB Mem: 32826640 total, 13398976 free KiB Swap: 33554428 total, 33105080 free Head commit of repository guru: 23dffcd5f7e5ec05f215bb72c75072a27550a749 Timestamp of repository steam-overlay: Mon, 21 Feb 2022 17:07:36 +0000 Head commit of repository steam-overlay: c2ded7a207ca0892458d09df3f13e0415bda6db8 Head commit of repository qt: e57bb0f66a40dca6fbe59f1639031a102881ab0f Head commit of repository science: 0423ef3f324f7bb1a744aed9f52cc4e7b6b9d3a5 Head commit of repository gentoo-git: 34e1cb236dd2735a8a5fd5428b6ec7c2da479dce Head commit of repository waebbl: 7fdece0c0c77413afbb0817ba3397a9147830bbc Timestamp of repository gentoo: Fri, 04 Mar 2022 08:22:02 +0000 Head commit of repository gentoo: b7705053ca58683dc8890e04c48769447612ba80 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r8::gentoo dev-lang/python: 2.7.18_p13::gentoo, 3.9.10-r1::gentoo-git, 3.10.2-r1::gentoo-git dev-lang/rust: 1.59.0::gentoo dev-util/cmake: 3.22.2::gentoo-git dev-util/meson: 0.61.1::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/sandbox: 2.29::gentoo sys-apps/systemd: 250.3::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo-git sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 13.0.1::gentoo sys-devel/gcc: 11.2.1_p20220115::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/lld: 13.0.1::gentoo sys-devel/llvm: 13.0.1::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.16::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r9::gentoo Repositories: guru location: /mnt/data/code/github/portage-overlays/guru sync-type: git sync-uri: git@git.gentoo.org:repo/proj/guru.git masters: gentoo priority: -1000 steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo qt location: /mnt/data/code/github/portage-overlays/qt sync-type: git sync-uri: https://github.com/gentoo-mirror/qt.git masters: gentoo priority: 60 science location: /mnt/data/code/github/portage-overlays/sci sync-type: git sync-uri: git://github.com/waebbl/sci.git masters: gentoo priority: 60 gentoo-git location: /mnt/data/code/github/portage-overlays/gentoo-git sync-type: git sync-uri: https://github.com/waebbl/gentoo.git masters: gentoo priority: 99 waebbl location: /mnt/data/code/github/portage-overlays/waebbl sync-type: git sync-uri: https://github.com/waebbl/waebbl-gentoo.git masters: gentoo priority: 99 gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: 100 Installed sets: @3D, @Qt6, @admin-tools, @desktop, @dev-tools, @docs, @games, @net-tools, @science ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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="-O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--complete-graph --keep-going --fail-clean --usepkg --buildpkg --buildpkg-exclude='x11-drivers/nvidia-drivers virtual/* acct-user/* acct-group/* app-eselect/* dev-util/nvidia-cuda-toolkit' --autounmask=n --binpkg-respect-use=y --binpkg-changed-deps=y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" FCFLAGS="-O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live buildsyspkg cgroup clean-logs config-protect-if-modified distlocks downgrade-backup ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-elog split-log strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check" GENTOO_MIRRORS="https://ftp.fau.de/gentoo/ https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ https://ftp.halifax.rwth-aachen.de/gentoo/" INSTALL_MASK="/usr/share/locale -/usr/share/locale/de* -/usr/share/locale/en*" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" 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 acl alsa amd64 branding bzip2 cli crypt dbus dri egl emacs fortran gdbm gif gnome gtk-doc iconv ipv6 jpeg jpeg2k kde lcms libglvnd libinput libtirpc man multilib ncurses networkmanager nls nptl offensive ogg opengl openmp pam pcre pic png policykit pulseaudio python qml qt5 readline seccomp sound split-usr ssl svg systemd tga theora threads tiff udev unicode vorbis webp wifi x264 x265 xattr xpm zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc multiboot qemu" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="de de-DE en en-GB en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="NVPTX WebAssembly" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby30" STEAMGAMES="witcher2" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= sci-libs/vtk-9.1.0::gentoo was built with the following: USE="boost doc ffmpeg gdal imaging openmp python qt5 rendering tbb threads views -all-modules -cuda -debug -examples -java -mpi -mysql -odbc -postgres -test -tk -web" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8" VIDEO_CARDS="nvidia" FEATURES="preserve-libs assume-digests network-sandbox userpriv config-protect-if-modified buildpkg usersync binpkg-dostrip downgrade-backup qa-unresolved-soname-deps ebuild-locks cgroup binpkg-docompress xattr userfetch buildpkg-live usersandbox unknown-features-warn unmerge-logs buildsyspkg distlocks news protect-owned pid-sandbox sign strict-keepdir split-elog split-log sandbox merge-sync parallel-fetch unmerge-orphans multilib-strict ipc-sandbox clean-logs sfperms binpkg-logs strict fixlafiles fail-clean"
Created attachment 766267 [details] vtk-9.1.0:20220304-232036.log.xz build log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=643ee5d9612eb37bf71c05f0d08da9834acf50fa commit 643ee5d9612eb37bf71c05f0d08da9834acf50fa Author: Bernd Waibel <waebbl-gentoo@posteo.net> AuthorDate: 2022-03-05 01:46:01 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-03-05 23:56:45 +0000 sci-libs/vtk: select desired Qt version If both, Qt5 and Qt6 are installed and found, Qt6 is preferred. The ebuild, however, does not build against Qt6. To ensure Qt5 is selected we pass VTK_QT_VERSION to cmake. Closes: https://bugs.gentoo.org/834595 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/24405 Signed-off-by: Sam James <sam@gentoo.org> sci-libs/vtk/vtk-9.1.0.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)