Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gtk+ slot conflict
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
Tzuriel
Apprentice
Apprentice


Joined: 01 Jun 2004
Posts: 260

PostPosted: Tue Apr 09, 2024 6:53 pm    Post subject: gtk+ slot conflict Reply with quote

Trying to get past this slot conflict. I'm terrible at working slots.

Thoughts?

Code:
$ sudo emerge -p chromium

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

Calculating dependencies... done!
Dependency resolution took 6.86 s (backtrack: 3/20).

[ebuild     U  ] dev-build/gn-0.2157 [0.2143]
[ebuild  N     ] media-libs/libva-2.20.0  USE="X wayland"
[ebuild   R    ] x11-libs/gtk+-3.24.39  USE="wayland*"
[ebuild  N     ] www-client/chromium-123.0.6312.105  USE="X hangouts official pr
oprietary-codecs pulseaudio qt5 screencast system-harfbuzz system-icu system-png
 system-toolchain system-zstd vaapi wayland widevine -bindist -cups -custom-cfla
gs -debug -ffmpeg-chromium -gtk4 (-headless) -kerberos (-libcxx) (-lto) -pax-ker
nel (-pgo) -qt6 (-selinux)" L10N="af am ar bg bn ca cs da de el en-GB es es-419
et fa fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-P
T ro ru sk sl sr sv sw ta te th tr uk ur vi zh-CN zh-TW"

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

x11-libs/gtk+:3

  (x11-libs/gtk+-3.24.39:3/3::gentoo, ebuild scheduled for merge) USE="X introsp
ection wayland (-aqua) -broadway -cloudproviders -colord -cups -examples -gtk-do
c -sysprof -test -vim-syntax -xinerama" pulled in by
    x11-libs/gtk+:3[X?,wayland?] required by (www-client/chromium-123.0.6312.105
:0/stable::gentoo, ebuild scheduled for merge) USE="X hangouts official propriet
ary-codecs pulseaudio qt5 screencast system-harfbuzz system-icu system-png syste
m-toolchain system-zstd vaapi wayland widevine -bindist -cups -custom-cflags -de
bug -ffmpeg-chromium -gtk4 (-headless) -kerberos (-libcxx) (-lto) -pax-kernel (-
pgo) -qt6 (-selinux)" L10N="af am ar bg bn ca cs da de el en-GB es es-419 et fa
fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro r
u sk sl sr sv sw ta te th tr uk ur vi zh-CN zh-TW"
                       ^^^^^^^^
  (x11-libs/gtk+-3.24.39:3/3::gentoo, installed) USE="X introspection (-aqua) -b
roadway -cloudproviders -colord -cups -examples -gtk-doc -sysprof -test -vim-syn
tax -wayland -xinerama" pulled in by
    >=x11-libs/gtk+-3.21.0:3[X=,introspection?,wayland=] required by (media-libs
/clutter-gtk-1.8.4-r1:1.0/1.0::gentoo, installed) USE="X gtk introspection -debu
g -examples -wayland"
                                               ^^^^^^^^

Code:

$ emerge --info
Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/17.1/no-multilib, gcc
-12, glibc-2.38-r11, 6.1.67-gentoo x86_64)
=================================================================
System uname: Linux-6.1.67-gentoo-x86_64-AMD_Ryzen_9_7900X_12-Core_Processor-wit
h-glibc2.38
KiB Mem:    64956976 total,  32063684 free
KiB Swap:   33554428 total,  33553404 free
Timestamp of repository gentoo: Tue, 09 Apr 2024 17:00:00 +0000
Head commit of repository gentoo: 224c910ae77d3665e8f84f99a50870f17b570c36
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p7) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.2::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust:             1.75.0-r1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/openrc:           0.54::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.40-r9::gentoo, 2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             12.3.1_p20230526::gentoo, 13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             16.0.6::gentoo, 17.0.6::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r11::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-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/q
ualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/
fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/texm
f/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=znver3 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GO
BIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHO
RITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME
"
FCFLAGS="-march=znver3 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-mul
ti-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixl
afiles ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip paral
lel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unreso
lved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmer
ge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver3 -O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatec
h.edu/gentoo https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ http://gentoo.
mirrors.pair.com/ https://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/
 rsync://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j20"
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 --timeou
t=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS="-C target-cpu=native"
SHELL="/bin/bash"

USE="X acl alsa alsa-plugin amd64 apng berkdb bluetooth boost bzip2 cairo cg cli
 compress conntrack cpus crypt cxx dbus deprecated dri elogind flash fortran fre
eimag gdbm gtk gudev gui iconv icu initramfs ipv6 libinput libtirpc lua lvm mini
zip ncurses network nls nsplugin ois opengl openmp pam pcap pcre pcre16 png prin
tsupport pulseaudio python qt5 readline redistributable rendering savedconfig sc
ript sdl seccomp split-usr sqlite ssl stats suid tcl test-rust tiff tk toolbar t
ools transparent-proxy truetype udev unicode webkit widgets xattr xcb xkb xorg z
lib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core soc
ache_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 d
av 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 speli
ng status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon she
ets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" C
PU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 avx512bw avx512cd avx512dq avx512
f avx512vbmi avx512vl f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4
a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 gar
min garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore
 rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVI
CES="libinput synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 l
b216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE
_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15"
 PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="rub
y31" VIDEO_CARDS="amdgpu radeon" 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, CPPFLA
GS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS,
FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEF
LAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_CO
MPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, RE
ADELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1912

PostPosted: Tue Apr 09, 2024 7:00 pm    Post subject: Reply with quote

Tzuriel wrote:
Code:

  (x11-libs/gtk+-3.24.39:3/3::gentoo, installed) USE="X introspection (-aqua) -b
roadway -cloudproviders -colord -cups -examples -gtk-doc -sysprof -test -vim-syn
tax -wayland -xinerama" pulled in by
    >=x11-libs/gtk+-3.21.0:3[X=,introspection?,wayland=] required by (media-libs
/clutter-gtk-1.8.4-r1:1.0/1.0::gentoo, installed) USE="X gtk introspection -debu
g -examples -wayland"
                                               ^^^^^^^^

Make media-libs/clutter-gtk wayland USE match x11-libs/gtk+ wayland USE. If one changes, the other must as well.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22624

PostPosted: Tue Apr 09, 2024 7:02 pm    Post subject: Re: gtk+ slot conflict Reply with quote

Tzuriel wrote:
Code:
$ sudo emerge -p chromium

  (x11-libs/gtk+-3.24.39:3/3::gentoo, ebuild scheduled for merge) USE="X introsp
ection wayland (-aqua) -broadway -cloudproviders -colord -cups -examples -gtk-do
c -sysprof -test -vim-syntax -xinerama" pulled in by

  (x11-libs/gtk+-3.24.39:3/3::gentoo, installed) USE="X introspection (-aqua) -b
roadway -cloudproviders -colord -cups -examples -gtk-doc -sysprof -test -vim-syn
tax -wayland -xinerama" pulled in by
    >=x11-libs/gtk+-3.21.0:3[X=,introspection?,wayland=] required by (media-libs
/clutter-gtk-1.8.4-r1:1.0/1.0::gentoo, installed) USE="X gtk introspection -debu
g -examples -wayland"
                                               ^^^^^^^^
You would enable USE=wayland on gtk+:3, to satisfy Chromium. You are not reinstalling clutter-gtk, which is built with USE=-wayland, and requires that gtk+:3 have the same USE as clutter-gtk on this point. Either enable USE=wayland on clutter-gtk, or disable USE=wayland on gtk+:3 and chromium.
Back to top
View user's profile Send private message
Tzuriel
Apprentice
Apprentice


Joined: 01 Jun 2004
Posts: 260

PostPosted: Tue Apr 09, 2024 7:28 pm    Post subject: Reply with quote

I'm thinking I have what's required, but not getting any further along.

Code:
package.use/gtk+
>=x11-libs/gtk+-3.21.0 wayland


Code:
package.use/
>=media-libs/clutter-gtk-1.8.4 wayland


Code:
 $ sudo emerge -p chromium                              [19/1835]

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

Calculating dependencies... done!
Dependency resolution took 6.91 s (backtrack: 3/20).

[ebuild     U  ] dev-build/gn-0.2157 [0.2143]
[ebuild  N     ] media-libs/libva-2.20.0  USE="X wayland"
[ebuild   R    ] x11-libs/gtk+-3.24.39  USE="wayland*"
[ebuild  N     ] www-client/chromium-123.0.6312.105  USE="X hangouts official pr
oprietary-codecs pulseaudio qt5 screencast system-harfbuzz system-icu system-png
 system-toolchain system-zstd vaapi wayland widevine -bindist -cups -custom-cfla
gs -debug -ffmpeg-chromium -gtk4 (-headless) -kerberos (-libcxx) (-lto) -pax-ker
nel (-pgo) -qt6 (-selinux)" L10N="af am ar bg bn ca cs da de el en-GB es es-419
et fa fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-P
T ro ru sk sl sr sv sw ta te th tr uk ur vi zh-CN zh-TW"

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

x11-libs/gtk+:3

  (x11-libs/gtk+-3.24.39:3/3::gentoo, ebuild scheduled for merge) USE="X introsp
ection wayland (-aqua) -broadway -cloudproviders -colord -cups -examples -gtk-do
c -sysprof -test -vim-syntax -xinerama" pulled in by
    x11-libs/gtk+:3[X?,wayland?] required by (www-client/chromium-123.0.6312.105
:0/stable::gentoo, ebuild scheduled for merge) USE="X hangouts official propriet
ary-codecs pulseaudio qt5 screencast system-harfbuzz system-icu system-png syste
m-toolchain system-zstd vaapi wayland widevine -bindist -cups -custom-cflags -de
bug -ffmpeg-chromium -gtk4 (-headless) -kerberos (-libcxx) (-lto) -pax-kernel (-
pgo) -qt6 (-selinux)" L10N="af am ar bg bn ca cs da de el en-GB es es-419 et fa
fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro r
u sk sl sr sv sw ta te th tr uk ur vi zh-CN zh-TW"
                       ^^^^^^^^



  (x11-libs/gtk+-3.24.39:3/3::gentoo, installed) USE="X introspection (-aqua) -b
roadway -cloudproviders -colord -cups -examples -gtk-doc -sysprof -test -vim-syn
tax -wayland -xinerama" pulled in by
    >=x11-libs/gtk+-3.21.0:3[X=,introspection?,wayland=] required by (media-libs
/clutter-gtk-1.8.4-r1:1.0/1.0::gentoo, installed) USE="X gtk introspection -debu
g -examples -wayland"
                                               ^^^^^^^^
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1912

PostPosted: Tue Apr 09, 2024 7:31 pm    Post subject: Reply with quote

Tzuriel wrote:
I'm thinking I have what's required, but not getting any further along.

Code:
package.use/gtk+
>=x11-libs/gtk+-3.21.0 wayland


Code:
package.use/
>=media-libs/clutter-gtk-1.8.4 wayland

Yes, but you have not included the latter in the command for consideration, or dependencies thereof, so it will not be done. Try: emerge -1av x11-libs/gtk+:3 media-libs/clutter-gtk or just: emerge -avDU @world
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