I'm faced with this dependency conflict with x11-libs/cairo, when trying to do emerge -avuDU @world:
Code: Select all
[jere@gentoo ~]$ sudo emerge -avuDU @world
* IMPORTANT: 8 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 18.58 s (backtrack: 0/20).
[ebuild U ] media-libs/freetype-2.14.3:2::gentoo [2.14.2:2::gentoo] USE="adobe-cff bzip2 cleartype-hinting harfbuzz png -X -brotli -debug -doc -fontforge -static-libs -svg -utils -verify-sig" ABI_X86="(64) -32 (-x32)" 2608 KiB
[ebuild U ] app-arch/libarchive-3.8.5:0/13::gentoo [3.8.4:0/13::gentoo] USE="acl bzip2 e2fsprogs iconv lzma xattr zstd -blake2 -expat -lz4 -lzo -nettle -static-libs -test -verify-sig" ABI_X86="(64) -32 (-x32)" 5869 KiB
[ebuild U ] dev-util/debugedit-5.3::gentoo [5.2-r1::gentoo] USE="-test -verify-sig" 202 KiB
[ebuild U ] sys-boot/grub-2.14-r4:2/2.14-r4::gentoo [2.14-r3:2/2.14-r3::gentoo] USE="branding device-mapper fonts nls themes -doc -efiemu -libzfs -mount -protect -sdl -secureboot (-test) -truetype -verify-sig" GRUB_PLATFORMS="efi-64 -coreboot -efi-32 -emu -ieee1275 (-loongson) -multiboot -pc -qemu (-qemu-mips) -uboot -xen -xen-32 -xen-pvh" 0 KiB
[ebuild U ] app-portage/gemato-20.12::gentoo [20.11::gentoo] USE="gpg -pretty-log -test -tools" PYTHON_TARGETS="python3_13 (-pypy3_11) -python3_11 -python3_12 -python3_14" 92 KiB
[ebuild U ] sys-kernel/linux-firmware-20260221::gentoo [20260110::gentoo] USE="dist-kernel initramfs redistributable -bindist -compress-xz -compress-zstd -deduplicate -savedconfig (-unknown-license)" 596673 KiB
Total: 6 packages (6 upgrades), Size of downloads: 605443 KiB
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
x11-libs/cairo:0
(x11-libs/cairo-1.18.4-r1:0/0::gentoo, ebuild scheduled for merge) USE="glib -X (-aqua) (-debug) -gtk-doc -lzo -test" ABI_X86="(64) -32 (-x32)" conflicts with
x11-libs/cairo[X] required by (www-client/firefox-140.9.0:esr/esr::gentoo, installed) USE="X clang dbus gmp-autoupdate jumbo-build pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp telemetry wayland -debug -eme-free -gnome-shell -hardened -hwaccel -jack -libproxy -openh264 -pgo (-selinux) -sndio -system-pipewire -system-png -test -wasm-sandbox -wifi" ABI_X86="(64)" 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 -fur -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 -sc -sco -si -sk -skr
-sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" LLVM_SLOT="21 -20"
^
>=x11-libs/cairo-1.12.0[X,abi_x86_64(-)] required by (dev-cpp/cairomm-1.14.5:0/0::gentoo, installed) USE="X -gtk-doc -test" ABI_X86="(64) -32 (-x32)"
^
>=x11-libs/cairo-1.14[glib,svg(+),X,abi_x86_64(-)] required by (x11-libs/gtk+-3.24.51:3/3::gentoo, installed) USE="X introspection wayland (-aqua) -broadway -cloudproviders -colord -cups -examples -gtk-doc -sysprof -test -vim-syntax -xinerama" ABI_X86="(64) -32
(-x32)"
^
Would you like to merge these packages? [Yes/No]
So the way I'm seeing it is that x11-libs/cairo-1.18.4 requires the X use flag, which is not enabled. However, in my package.use/firefox I have:
Code: Select all
x11-libs/cairo X
Also here's my emerge --info : https://bpa.st/DKEA
I'm running on a non desktop profile, with openrc. Though now that I think about it, I probably should've picked a desktop profile.
Thanks in advance.

