Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vtk no build, qt not being fully updated. Catch 22.
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
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2060
Location: San Jose, CA

PostPosted: Sun Jun 12, 2022 5:49 pm    Post subject: vtk no build, qt not being fully updated. Catch 22. Reply with quote

I have a few older packages that require vtk. These are science and engineering apps. vtk won't build because of this error message:


Code:
^[[31mFAILED: ^[[0mlib64/qml/VTK.9.1/libqmlvtkplugin.so lib64/qml/VTK.9.1/plugins.qmltypes /var/tmp/portage/sci-libs/vtk-9.1.0-r2/work/vtk-9.1.0_build/lib64/qml/VTK>
: && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fexcess-precision=fast  -Wl,-lc  -Wl,-lc -Wl,-O1 -Wl,--as-ne>
Cannot mix incompatible Qt library (5.15.3) with this library (5.15.4)


I checked and at this point in emerge -DNuq @world, some of the qt packages are updated and some are not. Thus this error message.

However, if I try to skip vtk, emerge shuts me down because of missing dependencies.

Normally I would remove vtk and the apps that depend on it, then emerge @world and then add the packages back. But I'd like to learn a better way to handle this.

I've tried a bunch of things, including building plasma-meta, but it complains about various qt packages being different versions just like vtk does.

Can someone help me out?
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sun Jun 12, 2022 6:20 pm    Post subject: Reply with quote

Hi
What is the output
Code:

emerge -uDUvp --keep-going --with-bdeps=y --backtrack=100 @world

?
If it resolves then plz just remove the "p" flag and retry.
_________________
:)
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2060
Location: San Jose, CA

PostPosted: Sun Jun 12, 2022 7:08 pm    Post subject: Reply with quote

Thanks for the quick reply. I'll try to emerge it again, but vtk is first so I doubt it will work.

Code:
threads ~ # emerge -uDUvp --keep-going --with-bdeps=y --backtrack=100 @world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  rR   ~] sci-libs/vtk-9.1.0-r2:0/9.1::gentoo  USE="boost ffmpeg gdal java mysql openmp python qt5 rendering threads tk -all-modules -cuda -debug -doc -examples -imaging -mpi -odbc -postgres -tbb -test -views -web" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" VIDEO_CARDS="nvidia" 0 KiB
[ebuild     U  ] sci-libs/opencascade-7.5.3-r7:0/7.5::gentoo [7.5.3-r6:0/7.5::gentoo] USE="doc examples ffmpeg freeimage json vtk -debug -gles2-only -optimize -tbb" 0 KiB
[ebuild  rR    ] sci-mathematics/cgal-5.2-r2:0/14::gentoo  USE="gmp qt5 -doc -examples -mpfi -ntl" 0 KiB
[ebuild     U  ] sys-block/parted-3.5::gentoo [3.4::gentoo] USE="debug device-mapper nls readline -verify-sig" 0 KiB
[ebuild     U ~] sys-libs/kpmcore-22.04.2:5/10::gentoo [22.04.1:5/10::gentoo] USE="-debug" 0 KiB
[ebuild     U  ] x11-libs/qscintilla-2.13.1:0/15::gentoo [2.11.6:0/15::gentoo] USE="-designer -doc" 0 KiB
[ebuild     U  ] media-gfx/openscad-2021.01-r3::gentoo [2021.01-r2::gentoo] USE="-emacs" 0 KiB
[ebuild  rR    ] dev-python/pyside2-5.15.2-r1::gentoo  USE="designer gui location multimedia network positioning printsupport qml quick sql svg webchannel widgets xml -3d -charts -concurrent -datavis -gles2-only -help -script -scripttools -scxml -sensors -speech -test -testlib -webengine -websockets -x11extras -xmlpatterns" PYTHON_TARGETS="python3_9 -python3_8 -python3_10" 0 KiB
[ebuild  rR    ] kde-frameworks/kwayland-5.92.0:5/5.92::gentoo  USE="-debug -doc -test" 0 KiB
[ebuild  rR    ] kde-plasma/layer-shell-qt-5.24.5:5::gentoo  USE="-debug" 0 KiB
[ebuild  rR    ] kde-plasma/plasma-integration-5.24.5:5::gentoo  USE="-debug -test" 0 KiB
[ebuild  rR    ] kde-plasma/plasma-workspace-5.24.5-r1:5::gentoo  USE="calendar fontconfig handbook (policykit) semantic-desktop -appstream -debug -geolocation -gps -screencast -telemetry -test" 0 KiB
[ebuild     U  ] virtual/libudev-232-r7:0/1::gentoo [232-r5:0/1::gentoo] USE="-systemd" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild  N     ] sys-apps/systemd-utils-250.6::gentoo  USE="acl kmod (split-usr) tmpfiles udev -boot (-selinux) -sysusers -test" ABI_X86="32 (64) (-x32)" 0 KiB
[uninstall     ] sys-fs/udev-249.6-r2::gentoo  USE="acl kmod (split-usr) (-selinux) -test" ABI_X86="32 (64) (-x32)"
[blocks b      ] <sys-fs/udev-250 ("<sys-fs/udev-250" is soft blocking sys-apps/systemd-utils-250.6)
[ebuild     U  ] virtual/udev-217-r5::gentoo [217-r3::gentoo] 0 KiB
[ebuild     U  ] sys-apps/systemd-tmpfiles-250::gentoo [249.9::gentoo] USE="(-selinux%) (-test%)" 0 KiB
[blocks b      ] <sys-apps/systemd-tmpfiles-250 ("<sys-apps/systemd-tmpfiles-250" is soft blocking sys-apps/systemd-utils-250.6)
[ebuild     U  ] dev-libs/libusb-1.0.26:1::gentoo [1.0.24-r2:1::gentoo] USE="(split-usr) udev -debug -doc -examples -static-libs -test" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild     U  ] dev-qt/qtserialport-5.15.4:5/5.15::gentoo [5.15.3:5/5.15::gentoo] USE="-debug -test" 0 KiB
[ebuild     U  ] dev-libs/hidapi-0.11.0::gentoo [0.8.0_rc1_p20140719-r1::gentoo] USE="-doc (-fox)" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild     U  ] virtual/tmpfiles-0-r3::gentoo [0-r1::gentoo] 0 KiB
[ebuild     U  ] x11-base/xorg-server-21.1.3-r3:0/21.1.3::gentoo [21.1.3-r2:0/21.1.3::gentoo] USE="elogind suid udev xorg -debug -minimal (-selinux) -systemd -test -unwind -xcsecurity -xephyr -xnest -xvfb" 0 KiB
[ebuild     U  ] dev-qt/qtgui-5.15.4:5/5.15.4::gentoo [5.15.3:5/5.15.3::gentoo] USE="X dbus egl gif jpeg libinput png udev vnc vulkan -accessibility -debug -eglfs -evdev -gles2-only -ibus -linuxfb -test -tslib -tuio -wayland" 0 KiB
[ebuild  rR    ] net-misc/networkmanager-1.36.4::gentoo  USE="bluetooth concheck connection-sharing elogind gnutls gtk-doc introspection iptables modemmanager (policykit) ppp resolvconf syslog tools wext wifi -audit -debug -dhclient -dhcpcd -iwd -libedit -lto -nftables -nss -ofono -ovs -psl (-selinux) -systemd -teamd -test -vala" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild     U  ] dev-qt/qtwidgets-5.15.4-r1:5/5.15::gentoo [5.15.3:5/5.15::gentoo] USE="X dbus gtk png -debug -gles2-only -test" 0 KiB
[ebuild     U  ] dev-qt/qtx11extras-5.15.4:5/5.15::gentoo [5.15.3:5/5.15::gentoo] USE="-debug -test" 0 KiB
[ebuild     U  ] sys-boot/grub-2.06-r2:2/2.06-r2::gentoo [2.06-r1:2/2.06-r1::gentoo] USE="device-mapper fonts mount nls sdl themes truetype -doc -efiemu -libzfs (-test)" GRUB_PLATFORMS="efi-64 -coreboot -efi-32 -emu -ieee1275 (-loongson) -multiboot -pc -qemu (-qemu-mips) -uboot -xen -xen-32 -xen-pvh" 0 KiB
[ebuild  rR    ] app-text/texlive-core-2021-r1::gentoo  USE="X luajittex tk xetex -cjk -doc -source -xindy" 0 KiB
[ebuild     U  ] dev-qt/qtimageformats-5.15.4:5::gentoo [5.15.3:5::gentoo] USE="mng -debug -test" 0 KiB
[ebuild     U  ] dev-qt/qtdeclarative-5.15.4:5/5.15::gentoo [5.15.3-r1:5/5.15::gentoo] USE="jit vulkan widgets -debug -gles2-only -localstorage -test" 0 KiB
[ebuild     U  ] dev-qt/qtsvg-5.15.4:5/5.15::gentoo [5.15.3:5/5.15::gentoo] USE="-debug -test" 0 KiB
[ebuild     U  ] dev-qt/qtprintsupport-5.15.4:5/5.15::gentoo [5.15.3:5/5.15::gentoo] USE="cups -debug -gles2-only -test" 0 KiB
[ebuild     U  ] dev-qt/qtopengl-5.15.4:5/5.15::gentoo [5.15.3:5/5.15::gentoo] USE="-debug -gles2-only -test" 0 KiB
[ebuild     U ~] app-office/libreoffice-7.3.4.2::gentoo [7.3.3.2-r3::gentoo] USE="base bluetooth branding clang cups dbus firebird gtk java kde mariadb pdfimport vulkan -accessibility -coinmp -custom-cflags -debug -eds -googledrive -gstreamer -ldap -odk -postgres -test" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" 0 KiB
[ebuild  rR    ] kde-apps/kopete-21.12.3-r1:5::gentoo  USE="addbookmarks autoreplace contactnotes handbook highlight privacy ssl statistics texteffect urlpicpreview v4l xmpp zeroconf -debug -gadu -groupwise -history -latex -meanwhile -nowlistening -oscar -otr -pipes -test -testbed -translator -webpresence -winpopup" 0 KiB
[ebuild  rR    ] media-gfx/gimp-2.10.30:0/2::gentoo  USE="aalib alsa gnome jpeg2k mng postscript udev (-aqua) -debug -doc -heif -openexr -test -unwind -vector-icons -webp -wmf -xpm" CPU_FLAGS_X86="mmx sse" 0 KiB
[ebuild     U ~] sys-block/partitionmanager-22.04.2:5::gentoo [22.04.1:5::gentoo] USE="handbook -debug" 0 KiB
[ebuild     U  ] dev-qt/qtscript-5.15.4:5/5.15::gentoo [5.15.3:5/5.15::gentoo] USE="jit scripttools -debug -test" 0 KiB
[ebuild     U  ] dev-qt/qthelp-5.15.4:5/5.15::gentoo [5.15.3:5/5.15::gentoo] USE="-debug -test" 0 KiB
[ebuild     U  ] dev-qt/qtgraphicaleffects-5.15.4:5::gentoo [5.15.3:5::gentoo] USE="-debug -test" 0 KiB
[ebuild     U  ] dev-qt/qtwayland-5.15.4:5/5.15.4::gentoo [5.15.3-r1:5/5.15.3::gentoo] USE="X vulkan -debug -test" 0 KiB
[ebuild     U  ] dev-qt/qtquickcontrols-5.15.4:5::gentoo [5.15.3:5::gentoo] USE="widgets -debug -test" 0 KiB
[ebuild     U  ] dev-qt/qtxmlpatterns-5.15.4:5::gentoo [5.15.3:5::gentoo] USE="qml -debug -test" 0 KiB
[ebuild     U  ] dev-qt/qtvirtualkeyboard-5.15.4:5/5.15::gentoo [5.15.3:5/5.15::gentoo] USE="X spell -debug -handwriting -test" 0 KiB
[ebuild     U  ] dev-qt/linguist-tools-5.15.4:5::gentoo [5.15.3:5::gentoo] USE="qml -debug -test" 0 KiB
[ebuild     U  ] dev-qt/designer-5.15.4:5/5.15::gentoo [5.15.3:5/5.15::gentoo] USE="declarative -debug -test" 0 KiB
[ebuild     U  ] dev-qt/qtbluetooth-5.15.4:5/5.15::gentoo [5.15.3:5/5.15::gentoo] USE="qml -debug -test" 0 KiB
[ebuild     U  ] dev-qt/qtpositioning-5.15.4:5/5.15::gentoo [5.15.3:5/5.15::gentoo] USE="qml -debug -geoclue -test" 0 KiB
[ebuild     U  ] dev-qt/qtwebchannel-5.15.4:5/5.15::gentoo [5.15.3:5/5.15::gentoo] USE="qml -debug -test" 0 KiB
[ebuild     U  ] media-gfx/graphviz-2.50.0::gentoo [2.49.0-r1::gentoo] USE="X cairo gtk2 java nls pdf perl postscript python qt5 svg tcl -devil -doc -examples -gts -guile -lasi -lefty -ruby -webp" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" 0 KiB
[ebuild     U  ] dev-qt/qtsensors-5.15.4:5/5.15::gentoo [5.15.3:5/5.15::gentoo] USE="qml -debug -test" 0 KiB
[ebuild  rR    ] media-libs/opencv-4.5.5-r1:0/4.5.5::gentoo  USE="contrib contribdnn eigen features2d ffmpeg gphoto2 java jpeg jpeg2k opengl openmp png python qt5 threads tiff v4l (-contribcvv) -contribfreetype (-contribhdf) (-contribovis) (-contribsfm) (-contribxfeatures2d) (-cuda) -debug -dnnsamples -download -examples -gdal (-gflags) (-glog) -gstreamer -gtk3 -ieee1394 -lapack -lto -opencl -opencvapps -openexr (-tesseract) -testprograms -vaapi (-vtk) -webp -xine" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="avx avx2 f16c fma3 popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" PYTHON_TARGETS="python3_9 -python3_8 -python3_10" 0 KiB
[ebuild     U  ] kde-plasma/xdg-desktop-portal-kde-5.24.5-r2:5::gentoo [5.24.5-r1:5::gentoo] USE="-debug" 0 KiB
[ebuild     U  ] dev-qt/qtquickcontrols2-5.15.4:5/5.15::gentoo [5.15.3:5/5.15::gentoo] USE="widgets -debug -test" 0 KiB
[ebuild     U  ] dev-qt/qttranslations-5.15.4:5::gentoo [5.15.3:5::gentoo] USE="-debug -test" 0 KiB
[ebuild     U  ] dev-qt/qtlocation-5.15.4:5/5.15::gentoo [5.15.3-r1:5/5.15::gentoo] USE="-debug -test" 0 KiB
[ebuild  rR    ] kde-plasma/kwayland-integration-5.24.5:5::gentoo  USE="-debug -test" 0 KiB
[ebuild     U  ] kde-plasma/kscreen-5.24.5-r2:5::gentoo [5.24.5-r1:5::gentoo] USE="-debug -test" 0 KiB
[ebuild  N     ] media-sound/pulseaudio-daemon-16.0-r1::gentoo  USE="X alsa alsa-plugin asyncns bluetooth dbus elogind fftw gdbm glib gtk ipv6 jack orc ssl udev webrtc-aec zeroconf -aptx -equalizer -gstreamer -ldac -lirc -ofono-headset (-oss) (-selinux) -sox (-system-wide) -systemd -tcpd -test -valgrind" 0 KiB
[ebuild     U  ] media-sound/pulseaudio-16.0::gentoo [15.0-r3::gentoo] USE="bluetooth daemon glib jack -ofono-headset (-X%*) (-alsa%*) (-alsa-plugin%*) (-aptx%) (-asyncns%*) (-dbus%*) (-doc%) (-elogind%*) (-equalizer%) (-gdbm%*) (-gstreamer%) (-gtk%*) (-ipv6%*) (-ldac%) (-lirc%) (-native-headset%) (-orc%*) (-oss%) (-selinux%) (-sox%) (-ssl%*) (-system-wide%) (-systemd%) (-tcpd%) (-test%) (-udev%*) (-webrtc-aec%*) (-zeroconf%*)" ABI_X86="32 (64) (-x32)" 0 KiB
[blocks b      ] <media-sound/pulseaudio-15.0-r100 ("<media-sound/pulseaudio-15.0-r100" is soft blocking media-sound/pulseaudio-daemon-16.0-r1)
[ebuild     U  ] dev-qt/qtmultimedia-5.15.4-r1:5/5.15::gentoo [5.15.3:5/5.15::gentoo] USE="alsa gstreamer openal pulseaudio qml widgets -debug -gles2-only -test" 0 KiB
[ebuild     U  ] dev-qt/qtwebengine-5.15.4_p20220526:5/5.15::gentoo [5.15.3_p20220406:5/5.15::gentoo] USE="alsa jumbo-build pulseaudio system-ffmpeg system-icu widgets -bindist -debug -designer -geolocation -kerberos -screencast -test" 0 KiB
[ebuild     U  ] mail-client/thunderbird-91.10.0::gentoo [91.9.1::gentoo] USE="clang dbus jack openh264 pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp -debug -eme-free -hardened -hwaccel -lto (-pgo) (-selinux) -sndio -system-png -wayland -wifi" L10N="-af -ar -ast -be -bg -br -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -es-AR -es-ES -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -id -is -it -ja -ka -kab -kk -ko -lt -lv -ms -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -sk -sl -sq -sr -sv -th -tr -uk -uz -vi -zh-CN -zh-TW" 0 KiB
[ebuild     U ~] net-im/zoom-5.10.7.3311::gentoo [5.10.6.3192::gentoo] USE="bundled-qt pulseaudio -bundled-libjpeg-turbo -opencl -wayland" 0 KiB
[ebuild     U ~] www-client/firefox-101.0.1:rapid::gentoo [100.0.2:rapid::gentoo] USE="clang dbus gmp-autoupdate jack openh264 pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp -debug -eme-free -geckodriver -hardened -hwaccel -libproxy -lto -pgo -screencast (-selinux) -sndio -system-png (-system-python-libs) -wayland -wifi" L10N="-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -sco -si -sk -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" 0 KiB
[ebuild  rR    ] net-libs/gtk-vnc-1.3.0::gentoo  USE="introspection pulseaudio sasl vala" 0 KiB
[ebuild  rR    ] kde-plasma/kwin-5.24.5-r2:5::gentoo  USE="caps handbook multimedia plasma -accessibility -debug -gles2-only -screencast -test" 0 KiB
[ebuild  rR    ] media-video/vlc-3.0.17.3-r2:0/5-9::gentoo  USE="X a52 alsa bluray cddb dbus dts dvbpsi dvd encode faad ffmpeg flac fontconfig gcrypt gui jack jpeg libass libnotify libsamplerate live lua mad matroska modplug mp3 mpeg ncurses nfs ogg png pulseaudio rdp sdl-image sftp ssl svg taglib theora truetype twolame udev upnp v4l vnc x264 x265 xml zeroconf -aom -archive -aribsub -bidi -chromaprint -chromecast -dav1d -dc1394 -debug (-directx) -fdk -fluidsynth -gme -gnome-keyring -gstreamer -ieee1394 -kate -libcaca -libtar -libtiger -linsys -lirc -macosx-notifications -mtp -musepack -omxil -optimisememory -opus -projectm -run-as-root -samba -shout -sid -skins -soxr -speex -srt -test -tremor -vaapi -vdpau -vpx -wayland -zvbi" CPU_FLAGS_X86="mmx sse" LUA_SINGLE_TARGET="lua5-1" 0 KiB
[ebuild  rR    ] app-emulation/qemu-7.0.0-r1::gentoo  USE="aio alsa bzip2 caps curl doc fdt filecaps fuse gnutls gtk jack jpeg lzo ncurses nfs nls numa opengl pam pin-upstream-blobs png pulseaudio python sasl sdl sdl-image seccomp slirp spice udev usb usbredir vhost-net vhost-user-fs virgl virtfs vnc xattr -accessibility -bpf (-capstone) -debug -glusterfs -infiniband -io-uring -iscsi -jemalloc -multipath -oss -plugins -rbd (-selinux) -smartcard -snappy -ssh -static -static-user -systemtap -test -vde -vte -xen -zstd" PYTHON_TARGETS="python3_9 -python3_8 -python3_10" QEMU_SOFTMMU_TARGETS="arm i386 x86_64 -aarch64 -alpha -avr -cris -hppa -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -xtensa -xtensaeb" QEMU_USER_TARGETS="arm i386 x86_64 -aarch64 -aarch64_be -alpha -armeb -cris -hexagon -hppa -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -xtensa -xtensaeb" 0 KiB
[ebuild  NS   ~] app-emulation/wine-vanilla-7.10:7.10::gentoo [7.8:7.8::gentoo, 7.9:7.9::gentoo] USE="X alsa cups fontconfig gecko gphoto2 mono mp3 nls openal opengl perl pulseaudio realtime run-exes scanner sdl ssl threads truetype udev udisks unwind usb v4l vulkan xcomposite -capi -crossdev-mingw -custom-cflags -dos -gssapi -gstreamer -kerberos -ldap -mingw -netapi -odbc -opencl -osmesa -oss -pcap -samba (-selinux) -test -xinerama" ABI_X86="32 64 (-x32)" 0 KiB
[ebuild  rR    ] media-gfx/freecad-0.19.4-r1::gentoo  USE="addonmgr drawing fem idf image inspection material openscad part-design path points raytracing robot show surface techdraw tux -cloud -debug -headless -pcl -plot -ship -test" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" 0 KiB
[ebuild  rR    ] kde-misc/kdeconnect-21.12.3:5::gentoo  USE="X bluetooth handbook pulseaudio -debug (-selinux) -test" 0 KiB
[ebuild  rR    ] app-emulation/libvirt-8.2.0:0/8.2.0::gentoo  USE="bash-completion caps fuse libvirtd nfs nls (policykit) qemu sasl udev virt-network virtualbox -apparmor -audit -dtrace -firewalld -glusterfs -iscsi -iscsi-direct -libssh -libssh2 -lvm -lxc -numa (-openvz) -parted -pcap -rbd (-selinux) -verify-sig -wireshark-plugins -xen -zfs" 0 KiB

Total: 72 packages (49 upgrades, 2 new, 1 in new slot, 20 reinstalls, 1 uninstall), Size of downloads: 0 KiB
Conflict: 3 blocks (all satisfied)

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

sci-libs/opencascade:0

  (sci-libs/opencascade-7.6.1-r1:0/7.6::gentoo, ebuild scheduled for merge) USE="doc examples ffmpeg freeimage gles2 json vtk -eigen -optimize -tbb" ABI_X86="(64)" conflicts with
    <sci-libs/opencascade-7.6.0:=[vtk(+)] required by (media-gfx/freecad-0.19.4-r1:0/0::gentoo, ebuild scheduled for merge) USE="addonmgr drawing fem idf image inspection material openscad part-design path points raytracing robot show surface techdraw tux -cloud -debug -headless -pcl -plot -ship -test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8"
    ^                     ^^^^^         

dev-python/docutils:0

  (dev-python/docutils-0.18.1:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) -python3_10 -python3_8" conflicts with
    <dev-python/docutils-0.18[python_targets_python3_9(-)] required by (dev-python/sphinx-4.5.0-r1:0/0::gentoo, installed) USE="-doc -latex -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) -python3_10 (-python3_11) -python3_8"
    ^                    ^^^^                             
    <dev-python/docutils-0.18[python_targets_python3_9(-)] required by (dev-python/sphinx_rtd_theme-1.0.0:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) -python3_10 -python3_8"
    ^                    ^^^^                             


The following packages are causing rebuilds:

  (dev-qt/qtgui-5.15.4:5/5.15.4::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (kde-plasma/plasma-integration-5.24.5:5/5::gentoo, ebuild scheduled for merge)
    (kde-plasma/plasma-workspace-5.24.5-r1:5/5::gentoo, ebuild scheduled for merge)
    (kde-misc/kdeconnect-21.12.3:5/5::gentoo, ebuild scheduled for merge)
    (kde-plasma/kwin-5.24.5-r2:5/5::gentoo, ebuild scheduled for merge)
    (kde-frameworks/kwayland-5.92.0:5/5.92::gentoo, ebuild scheduled for merge)
    (media-libs/opencv-4.5.5-r1:0/4.5.5::gentoo, ebuild scheduled for merge)
  (dev-qt/qtwayland-5.15.4:5/5.15.4::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (kde-plasma/kwayland-integration-5.24.5:5/5::gentoo, ebuild scheduled for merge)
    (kde-plasma/layer-shell-qt-5.24.5:5/5::gentoo, ebuild scheduled for merge)
    (kde-plasma/plasma-workspace-5.24.5-r1:5/5::gentoo, ebuild scheduled for merge)

_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sun Jun 12, 2022 7:24 pm    Post subject: Reply with quote

Ok run it without --pretend.
I think you will be ok.
_________________
:)
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2060
Location: San Jose, CA

PostPosted: Sun Jun 12, 2022 7:38 pm    Post subject: Reply with quote

alamahant wrote:
Ok run it without --pretend.
I think you will be ok.


Nope. Same problem.

Any other ideas?

I need to get this done. To reboot my server I have to shut this laptop down... NFS is borked.
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21593

PostPosted: Sun Jun 12, 2022 9:45 pm    Post subject: Reply with quote

Have you tried explicitly updating only the relevant Qt packages, rather than updating @world?
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2060
Location: San Jose, CA

PostPosted: Sun Jun 12, 2022 9:45 pm    Post subject: Reply with quote

Update. There is a missing dependency. But I can't tell which one because the build script does not indicate which one.

I can't wait anymore, I'm going to remove vtk and everything depending on it and then finish my emerge @world and then re-emerge the tools that need vtk.
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
lolicon-dasitu
n00b
n00b


Joined: 14 Jun 2022
Posts: 1

PostPosted: Tue Jun 14, 2022 7:52 am    Post subject: Reply with quote

I have encountered the same problem. I checked the qt packages with
Code:
eix dev-qt/qt
and found the qtsvg, qtchooser and qtconcurrent were still 5.15.2 after updating the @world. After I update qtsvg, the virtualbox works. (the other two makes no different) I have no idea why part of qt did not get updated by the
Code:
emerge -avuND --with-bdeps=y @world

Hope this will help.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Tue Jun 14, 2022 7:56 am    Post subject: Reply with quote

lolicon-dasitu wrote:
After I update qtsvg, the virtualbox works.

app-emulation/virtualbox does not define dev-qt/qtsvg as a dependency, and portage will not consider dev-qt/qtsvg for upgrade if nothing in your dependency graph is requesting it.
Back to top
View user's profile Send private message
allaboutmike
n00b
n00b


Joined: 25 May 2004
Posts: 26

PostPosted: Thu Jun 23, 2022 12:48 pm    Post subject: Updating the whole of QT Reply with quote

As per Hu's comment: Whenever I have issues with QT, I update the whole of QT before continuing.
There's a great howto in the FAQ https://wiki.gentoo.org/wiki/Qt/FAQ
I've been using this for many versions now, and it makes QT updates simple. Try that next time. :)
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1677

PostPosted: Thu Jun 23, 2022 7:13 pm    Post subject: Re: Updating the whole of QT Reply with quote

allaboutmike wrote:
As per Hu's comment: Whenever I have issues with QT, I update the whole of QT before continuing.
There's a great howto in the FAQ https://wiki.gentoo.org/wiki/Qt/FAQ
I've been using this for many versions now, and it makes QT updates simple. Try that next time. :)


That wiki page has some really poor advice. Needing to do things like that generally implies your Portage is somehow getting "blocked up" on another issue and this is just working around the problem.

That is, "solving" it like this just means you end up seeing the issues more, because the real problem didn't get solved.
Back to top
View user's profile Send private message
allaboutmike
n00b
n00b


Joined: 25 May 2004
Posts: 26

PostPosted: Fri Jun 24, 2022 1:54 am    Post subject: Reply with quote

That may be so Sam, but when QT gets "blocked up" during a world update, that advice un-blocks it every time and allows the world update to complete.
Maybe there is something wrong with the QT dependencies? It is a big set of packages and other software can depend only on parts of it, so when you update random single packages, I can see how QT might get partially updated. When you are doing world updates regularly though? I would have thought portage should get QT sorted by itself in those cases, but it doesn't always seem to be the case.
If you have better advice, I'd love to read it.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1677

PostPosted: Fri Jun 24, 2022 6:16 am    Post subject: Reply with quote

allaboutmike wrote:
That may be so Sam, but when QT gets "blocked up" during a world update, that advice un-blocks it every time and allows the world update to complete.
Maybe there is something wrong with the QT dependencies? It is a big set of packages and other software can depend only on parts of it, so when you update random single packages, I can see how QT might get partially updated. When you are doing world updates regularly though? I would have thought portage should get QT sorted by itself in those cases, but it doesn't always seem to be the case.
If you have better advice, I'd love to read it.


If doing random emerges of things, --complete-graph should make sure that everything remains consistent. But in my experience (from helping users too) the issue is usually insufficient backtracking or some random thing installed (and in @world) which can't be rebuilt, e.g. last-rited, needs a package.accept_keywords entry fixed, license change, ...

The next time it happens to you, please tell me and I'll work through it with you, and we'll see what's going on. I like to run emerge -p -uvDU @world --backtrack=500 or so first when something goes wrong (obviously) and then emerge -pev @world --backtrack=0 to help shake out the problematic stuff I mentioned. The idea is that you don't actually run that second command without --pretend, we just analyse its output.
Back to top
View user's profile Send private message
allaboutmike
n00b
n00b


Joined: 25 May 2004
Posts: 26

PostPosted: Sun Jun 26, 2022 7:13 am    Post subject: Sam, I need help already! :) Reply with quote

Unbelievable. The very next emerge world I try and there's a problem I haven't seen before.
Unrelated to QT as far as I can tell, but if there's anything you can teach me about solving this emerge problem, I'd be happy to learn.
Started a new topic as I don't think it's related.
https://forums.gentoo.org/viewtopic-p-8721644.html#8721644
Back to top
View user's profile Send private message
onlinefloh
n00b
n00b


Joined: 02 May 2009
Posts: 25

PostPosted: Sun Sep 18, 2022 8:09 am    Post subject: Reply with quote

[quote="sam_"
If doing random emerges of things, --complete-graph should make sure that everything remains consistent. But in my experience (from helping users too) the issue is usually insufficient backtracking or some random thing installed (and in @world) which can't be rebuilt, e.g. last-rited, needs a package.accept_keywords entry fixed, license change, ...

The next time it happens to you, please tell me and I'll work through it with you, and we'll see what's going on. I like to run emerge -p -uvDU @world --backtrack=500 or so first when something goes wrong (obviously) and then emerge -pev @world --backtrack=0 to help shake out the problematic stuff I mentioned. The idea is that you don't actually run that second command without --pretend, we just analyse its output.[/quote]
Even though I'm not the original poster, I'm running into more or less the same problem: VTK not completing build, complaining about a mix of qt-5.15.5 and qt-5.15.4. As far as I can see from a simple
Code:
equery list dev-qt/*
, it should be all clean to 5.15.5.

As a sidenote, I seem to have problems upgrading whenever there's a version change for qt, as it sort of blocks itself from upgrading. In the past I've always resorted to hand-pick a minimum set of qt packages, forcing their upgrade with
Code:
emerge --nodeps
and then rebuilding the whole lot of qt packages to the new minor version before having an
Code:
emerge --update --deep --newuse @world
upgrade all the rest and the packages that depend on qt. But somehow that feels likeit's not the way it is intended to be, so if there's a more clever way, I'm all ears (or eyes in this case...)

Emerge output of backtrack=0 pasted to https://dpaste.com/F6JJS3FY6
Emerge output of backtrack=500 pasted to https://dpaste.com/A3MRETG5Y
It seems with backtrack=0 emerge wants to rebuild the complete system from scratch...
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21593

PostPosted: Sun Sep 18, 2022 4:31 pm    Post subject: Reply with quote

onlinefloh wrote:
Even though I'm not the original poster, I'm running into more or less the same problem: VTK not completing build, complaining about a mix of qt-5.15.5 and qt-5.15.4.
Please provide the build log for this error.
onlinefloh wrote:
As far as I can see from a simple
Code:
equery list dev-qt/*
, it should be all clean to 5.15.5.
I agree, you appear to be all on 5.15.5. Have you ever installed Qt outside Portage, such that you might have some bits of an older Qt lying around?
onlinefloh wrote:
As a sidenote, I seem to have problems upgrading whenever there's a version change for qt, as it sort of blocks itself from upgrading.
Every user who has reported this has been advised that Qt packages must upgrade in lockstep. You cannot use emerge -1 one-qt-package and expect it to work. You can emerge -1 every-currently-installed-qt-package and that should work. The key is that Portage must be permitted to update them all in one run. Generally, an emerge --deep --options @world ought to do this, unless you have a dangling Qt package that is installed but not reachable from @world. If you see this problem, check whether emerge --depclean can remove any of the installed Qt packages.
onlinefloh wrote:
It seems with backtrack=0 emerge wants to rebuild the complete system from scratch...
Assuming you used exactly the command that sam_ gave, then yes. That command includes --emptytree, which will cause that behavior. That is why sam_ said to only run it in --pretend mode for its diagnostic output, but not let it actually build anything.

As a general comment, when uploading emerge output, it is helpful to include the emerge command you ran. In isolation, your remark about --backtrack=0 sounded strange. However, when I looked up and saw that sam_ combined --emptytree and --backtrack=0, the reported result made sense.
Back to top
View user's profile Send private message
onlinefloh
n00b
n00b


Joined: 02 May 2009
Posts: 25

PostPosted: Sun Sep 18, 2022 8:47 pm    Post subject: Reply with quote

Hu wrote:
onlinefloh wrote:
Even though I'm not the original poster, I'm running into more or less the same problem: VTK not completing build, complaining about a mix of qt-5.15.5 and qt-5.15.4.
Please provide the build log for this error.
I knew I might have forgotten something useful to include...
Build.log can be found at https://zerobin.net/?5e0bcfd3204cf120#HKamzi3auJ2Q+IafhBJ6yz1Id7tIV15rrsMwgSXg0zo= (beware, 19MB...)
emerge --info output at https://dpaste.com/FH3QY7FHY
emerge -pqv output at https://dpaste.com/78E8ZG8PP

Hu wrote:
onlinefloh wrote:
As far as I can see from a simple
Code:
equery list dev-qt/*
, it should be all clean to 5.15.5.
I agree, you appear to be all on 5.15.5. Have you ever installed Qt outside Portage, such that you might have some bits of an older Qt lying around?

I'm pretty sure I never installed Qt outside portage. I cannot vouch though that there is no single bit of oldish qt lying around, with the style of Qt upgrades I did, there's always a chance I missed something.

Hu wrote:
Every user who has reported this has been advised that Qt packages must upgrade in lockstep. You cannot use emerge -1 one-qt-package and expect it to work. You can emerge -1 every-currently-installed-qt-package and that should work. The key is that Portage must be permitted to update them all in one run. Generally, an emerge --deep --options @world ought to do this, unless you have a dangling Qt package that is installed but not reachable from @world. If you see this problem, check whether emerge --depclean can remove any of the installed Qt packages.

Probably I wasn't expressing myself properly. Probably I also mixed information from memory. In general, I first try to
Code:
emerge -1 $QTPACKAGELIST
, adding to $QTPACKAGELIST as many of the qt ebuilds as necessary to make it actually perform the upgrade. Whenever emerge complains about additional qt packages blocking the upgrade, this list expands until there's no qt package left blocking the upgrade. At this point I don't care about non-Qt-packages that depend on Qt as these can be rebuilt later once the upgrade of Qt is finished. Sometimes packages that depend on Qt still block the upgrade as they need the version of Qt they were built against. In that case, I'd use
Code:
emerge -1 --nodeps $QTPACKAGELIST
, forcing the upgrade of Qt despite some packages having a runtime dependency on a specific Qt version. After the Qt upgrade finished, I'll rebuolt all those blockers against the fresh Qt, and run a regular
Code:
emerge --update --deep --newuse @world && revdep-rebuild
to catch all the remaining updates and dependency mismatches.

But still, every now and then there's one or two packages that don't quite play nicely.

Hu wrote:
onlinefloh wrote:
It seems with backtrack=0 emerge wants to rebuild the complete system from scratch...
Assuming you used exactly the command that sam_ gave, then yes. That command includes --emptytree, which will cause that behavior. That is why sam_ said to only run it in --pretend mode for its diagnostic output, but not let it actually build anything.

As a general comment, when uploading emerge output, it is helpful to include the emerge command you ran. In isolation, your remark about --backtrack=0 sounded strange. However, when I looked up and saw that sam_ combined --emptytree and --backtrack=0, the reported result made sense.

Now that you mention it, it seems clear that with the --emptytree option emerge would rebuild everything. Didn't spot that as I'm mostly using the long options as they're easier to remember. I'll try to remember to add complete commands, sometimes it's not too clear what to take from the context of a posting...
Back to top
View user's profile Send private message
onlinefloh
n00b
n00b


Joined: 02 May 2009
Posts: 25

PostPosted: Sun Sep 25, 2022 8:24 pm    Post subject: Reply with quote

onlinefloh wrote:
Hu wrote:
onlinefloh wrote:
As far as I can see from a simple
Code:
equery list dev-qt/*
, it should be all clean to 5.15.5.
I agree, you appear to be all on 5.15.5. Have you ever installed Qt outside Portage, such that you might have some bits of an older Qt lying around?

I'm pretty sure I never installed Qt outside portage. I cannot vouch though that there is no single bit of oldish qt lying around, with the style of Qt upgrades I did, there's always a chance I missed something.

For the record: I managed to solve the issue for the moment. It seems that this time qtdeclarative probably has been one of the first qt packages that had been upgraded. Apparently it still contained references to 5.15.4 in its build as that's likely what it has been built against, no idea why
Code:
revdep-rebuild
didn't catch that one. I only found that one because the timestamp of files installed by qtdeclarative were significantly older than the rest. That kind of thing can happen when you have to interrupt your work for whatever reason. Damn circular dependencies...

It seems that upgrading qt cleanly when a simple
Code:
emerge --update --deep --newuse @world
doesn't do the trick by itself requires building nearly every qt component twice because of the circular dependencies.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Sun Sep 25, 2022 9:43 pm    Post subject: Reply with quote

onlinefloh wrote:
It seems that this time qtdeclarative probably has been one of the first qt packages that had been upgraded. Apparently it still contained references to 5.15.4 in its build as that's likely what it has been built against, ...

That's impossible by way of its dependencies.
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1522
Location: South America

PostPosted: Mon Sep 26, 2022 5:18 pm    Post subject: Reply with quote

onlinefloh wrote:
That kind of thing can happen when you have to interrupt your work for whatever reason.

What does this mean? Forcibly stopping an emerge command with CTRL + C, or something like it, and not allowing it to complete?
_________________
NeddySeagoon wrote:
I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:
As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
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