Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Slot Conflict - from dev-lang/perl-5.40.0 to dev-qt
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
KarlP
n00b
n00b


Joined: 10 Sep 2017
Posts: 42
Location: Vorderstoder, Austria

PostPosted: Sun Sep 15, 2024 9:08 pm    Post subject: [Solved] Slot Conflict - from dev-lang/perl-5.40.0 to dev-qt Reply with quote

I gut stuck in two consecutive slot conflict situations on my system.

During a @world update of my system last June the version of dev-lang/perl changed to 5.38.2-r3. Since then further @world update runs could be performed without any problem.

But during last week further attempts to update with
Code:
emerge -uDUvt --pretend --verbose-conflicts --with-bdeps=y --complete-graph @world


gave:
Code:
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-lang/perl:0


Searching for a solution, I found
Code:
https://wiki.gentoo.org/wiki/Perl#Upgrading


and performed
Code:
perl-cleaner --all


which - I guess - was a big failure.


Since then every try to update @world leads to

Code:
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-qt/qtbase:6


I must add: The package dev-qt/qtbase was never installed on my system before. It was pulled in during the "perl-cleaner --all" run.

Maybe it is relevant: I did nothing change with regard to the news item
"2024-05-07 dev-lang/perl useflags become a PERL_FEATURES use-expand"

Code:
~ $ emerge --info
Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/split-usr, gcc-13, glibc-2.39-r6, 6.6.30-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.6.30-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i3-7100U_CPU_@_2.40GHz-with-glibc2.39
KiB Mem:    16263320 total,  11444600 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Sun, 15 Sep 2024 16:00:00 +0000
Head commit of repository gentoo: 75aef84a7d247d5c923f8d31a9aac7a4cec01049
Timestamp of repository palemoon: Tue, 10 Sep 2024 12:34:00 +0000
Head commit of repository palemoon: 40204b04b8c9cdd96c1695535be0dc2d175048bc

sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r6::gentoo
dev-build/autoconf:        2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.8.19_p2::gentoo, 3.11.9-r1::gentoo, 3.12.3-r1::gentoo
dev-lang/rust-bin:         1.79.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

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

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
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"
CXXFLAGS="-O2 -pipe"
DISTDIR="/datadisk/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="-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="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://gentoo.modulix.net/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_AT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="de en"
MAKEOPTS="-j3"
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="acl alsa amd64 bzip2 cet crypt dbus elogind gdbm iconv ipv6 jpeg libtirpc multilib ncurses nls openmp pam pcre ppp readline seccomp split-usr ssl test-rust udisks unicode xattr 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 mtk3301 ntrip 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" L10N="de en" 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="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="intel i965" 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, 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


Code:
~ # emerge -uDUvt --pretend --verbose-conflicts --with-bdeps=y --complete-graph @world

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

Calculating dependencies... done!
Dependency resolution took 9.20 s (backtrack: 0/20).


!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-qt/qtbase:6

  (dev-qt/qtbase-6.7.2-r4:6/6.7.2::gentoo, ebuild scheduled for merge) USE="X accessibility concurrent dbus gles2-only gui libinput network nls sql sqlite ssl udev vulkan wayland widgets xml (zstd) -brotli -cups -eglfs -evdev -gssapi -gtk -icu -journald -libproxy -mysql -oci8 -odbc -opengl -postgres -renderdoc -sctp -syslog -test -tslib" ABI_X86="(64)" pulled in by
    >=dev-qt/qtbase-6.7.2:6=[accessibility=,gles2-only=,gui,libinput,opengl,widgets] required by (kde-plasma/kwin-6.1.4-r1:6/6::gentoo, ebuild scheduled for merge) USE="accessibility (caps) gles2-only handbook shortcuts -debug -lock -screencast -systemd -test" ABI_X86="(64)"                                                                     
                             ^^^^^^^^^^^^^^ ^^^^^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
    ~dev-qt/qtbase-6.7.2:6[accessibility=,gui,network=,opengl=,sql?,ssl?,vulkan=,widgets=] required by (dev-qt/qtdeclarative-6.7.2:6/6.7.2::gentoo, ebuild scheduled for merge) USE="accessibility jit network opengl sql ssl vulkan widgets -qmlls -svg" ABI_X86="(64)"                                                                                 
                           ^^^^^^^^^^^^^^                                ^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                               
    ~dev-qt/qtbase-6.7.2:6[accessibility=,gui,opengl,vulkan=,wayland] required by (dev-qt/qtwayland-6.7.2-r3:6/6.7.2::gentoo, ebuild scheduled for merge) USE="accessibility vulkan -compositor -qml -test" ABI_X86="(64)"           
                           ^^^^^^^^^^^^^^            ^^^^^^^                                                                                                                                                                                                                                                                                                                                       
    >=dev-qt/qtbase-6.7.1:6=[dbus,gles2-only=,gui,widgets,X] required by (kde-plasma/libplasma-6.1.4:6/6::gentoo, ebuild scheduled for merge) USE="gles2-only -debug -doc -test" ABI_X86="(64)"
                                  ^^^^^^^^^^^                                                                                                                                                                                                                                                                                     
    ~dev-qt/qtbase-6.7.2:6[gui,network,opengl=,vulkan=,widgets] required by (dev-qt/qtmultimedia-6.7.2-r2:6/6.7.2::gentoo, ebuild scheduled for merge) USE="X alsa ffmpeg qml vulkan -eglfs -gstreamer -opengl -pulseaudio -test -v4l -vaapi" ABI_X86="(64)"                                                                                             
                                       ^^^^^^^ ^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  (dev-qt/qtbase-6.7.2-r4:6/6.7.2::gentoo, installed) USE="X concurrent dbus gui icu libinput libproxy network nls opengl sql sqlite ssl udev wayland widgets xml (zstd) -accessibility -brotli -cups -eglfs -evdev -gles2-only -gssapi -gtk -journald -mysql -oci8 -odbc -postgres -renderdoc -sctp -syslog -test -tslib -vulkan" ABI_X86="(64)" pulled in by
    >=dev-qt/qtbase-6.6.2:6[libproxy] required by (kde-frameworks/kio-6.5.0:6/6.5::gentoo, ebuild scheduled for merge) USE="acl handbook kwallet -X -debug -designer -doc -test -wayland" ABI_X86="(64)"
                            ^^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                     
    >=dev-qt/qtbase-6.6.2:6[dbus?,icu] required by (kde-frameworks/kcoreaddons-6.5.0:6/6.5::gentoo, ebuild scheduled for merge) USE="dbus -debug -doc -test" ABI_X86="(64)"
                                  ^^^                                                                                                                                                                                                                                                                         
    ~dev-qt/qtbase-6.7.2:6[gui,icu=,network,xml] required by (dev-qt/qt5compat-6.7.2:6/6.7.2::gentoo, ebuild scheduled for merge) USE="icu qml -test" ABI_X86="(64)"
                               ^^^^                                                                                                                                                                                                                                                 


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-qt/qtmultimedia-6.7.2-r2::gentoo
# required by kde-plasma/kwin-6.1.4-r1::gentoo
# required by lxqt-base/lxqt-meta-2.0.0::gentoo[window-manager]
# required by @selected
# required by @world (argument)
>=dev-qt/qtbase-6.7.2-r4 -opengl

!!! The ebuild selected to satisfy "~dev-qt/qtbase-6.7.2:6[gui,network,opengl=,vulkan=,widgets]" has unmet requirements.                                                                                                             
- dev-qt/qtbase-6.7.2-r4::gentoo USE="X accessibility concurrent dbus gles2-only gui libinput network nls opengl sql sqlite ssl udev vulkan wayland widgets xml (zstd) -brotli -cups -eglfs -evdev -gssapi -gtk -icu -journald -libproxy -mysql -oci8 -odbc -postgres -renderdoc -sctp -syslog -test -tslib" ABI_X86="(64)"                             

  The following REQUIRED_USE flag constraints are unsatisfied:
    gles2-only? ( opengl )

  The above constraints are a subset of the following complete expression:
    at-most-one-of ( journald syslog ) X? ( gui ) accessibility? ( gui ) eglfs? ( gui ) evdev? ( gui ) gles2-only? ( gui ) libinput? ( gui ) opengl? ( gui ) renderdoc? ( gui ) tslib? ( gui ) vulkan? ( gui ) wayland? ( gui ) widgets? ( gui ) brotli? ( network ) gssapi? ( network ) libproxy? ( network ) sctp? ( network ) mysql? ( sql ) oci8? ( sql ) odbc? ( sql ) postgres? ( sql ) sqlite? ( sql ) cups? ( gui widgets ) gtk? ( gui widgets ) accessibility? ( dbus ) eglfs? ( opengl ) gles2-only? ( opengl ) gui? ( any-of ( X eglfs wayland ) ) libinput? ( udev ) sql? ( any-of ( mysql oci8 odbc postgres sqlite ) ) test? ( icu sql? ( sqlite ) )

(dependency required by "dev-qt/qtmultimedia-6.7.2-r2::gentoo" [ebuild])
(dependency required by "kde-plasma/kwin-6.1.4-r1::gentoo" [ebuild])
(dependency required by "lxqt-base/lxqt-meta-2.0.0::gentoo[window-manager]" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


Any idea? How can I escape from this mess?


Last edited by KarlP on Tue Sep 17, 2024 8:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31191
Location: here

PostPosted: Mon Sep 16, 2024 5:04 am    Post subject: Reply with quote

Probably if you set default/linux/amd64/23.0/split-usr/desktop profile problem will be solved.
The profile you have chosen lacks some use flags that are needed for a graphical environment.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2800

PostPosted: Mon Sep 16, 2024 5:29 am    Post subject: Reply with quote

Yeah, desktop profile should resolve. Or alternatively, try to set USE="opengl" globally rather than per-package.

Portage says to do "-opengl" but it's just confused as to what the right solution is, issue is that the USE need to "match" between several Qt packages and if you set it only on one (rather than globally) it gets messy. Note that it needs to be set on qtbase even if you do gles2-only (albeit I wouldn't keep gles2-only set unless you *really* need it, has limitations and is hardly tested).

Similar deal with USE=vulkan, but you may have no packages that depend on that so it's not causing issues right now.

perl is likely a non-issue, its rebuilds are just being blocked and should go away once portage is able to proceed w/o the opengl USE issues.
Back to top
View user's profile Send private message
KarlP
n00b
n00b


Joined: 10 Sep 2017
Posts: 42
Location: Vorderstoder, Austria

PostPosted: Tue Sep 17, 2024 6:47 pm    Post subject: [Solved] Slot Conflict - from dev-lang/perl-5.40.0 to dev-qt Reply with quote

Well, after 16 hours of emerge only a minor dependency conflict of dev-libs/boost remained. When time goes by, that will disappear.

Thank you fedeliallalinea!
Thank you Ionen!

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

dev-libs/boost:0

  (dev-libs/boost-1.85.0-r1:0/1.85.0.1::gentoo, ebuild scheduled for merge) USE="bzip2 context icu nls stacktrace zlib -debug -doc -lzma -mpi -numpy -python -tools -zstd" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_12 -python3_10 -python3_11" conflicts with                                                                                 
    dev-libs/boost:0/1.84.0=[nls] required by (app-office/libreoffice-bin-7.6.7.2:0/0::gentoo, installed) USE="-gnome -java -kde" ABI_X86="(64)" CPU_FLAGS_X86="sse2" PYTHON_SINGLE_TARGET="python3_12"                               
                  ^^^^^^^^^^     
    dev-libs/boost:0/1.84.0= required by (dev-cpp/libcmis-0.6.2:0/0.6::gentoo, installed) USE="-man -test -tools" ABI_X86="(64)"
                  ^^^^^^^^^^
    dev-libs/boost:0/1.84.0 required by (app-office/libreoffice-bin-7.6.7.2:0/0::gentoo, installed) USE="-gnome -java -kde" ABI_X86="(64)" CPU_FLAGS_X86="sse2" PYTHON_SINGLE_TARGET="python3_12"                                     
                  ^^^^^^^^^
    dev-libs/boost:0/1.84.0= required by (dev-util/mdds-2.1.1:1/2.1::gentoo, installed) USE="openmp -doc -test" ABI_X86="(64)"
                  ^^^^^^^^^^
    dev-libs/boost:0/1.84.0=[zlib(+)] required by (dev-libs/liborcus-0.19.2:0/0.18::gentoo, installed) USE="spreadsheet-model -python -test -tools" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"         
                  ^^^^^^^^^^         
    dev-libs/boost:0/1.84.0= required by (dev-libs/libixion-0.19.0:0/0.18::gentoo, installed) USE="-debug -python" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
                  ^^^^^^^^^^


 * IMPORTANT: 15 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31191
Location: here

PostPosted: Wed Sep 18, 2024 6:05 am    Post subject: Reply with quote

It is just a warning, you should wait for the app-office/libreoffice-bin package to be recompiled with boosts 1.85.
_________________
Questions are guaranteed in life; Answers aren't.
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