Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Dependency conflict, x11-libs/cairo (solved)

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
rattiraivo
n00b
n00b
Posts: 37
Joined: Thu Jun 06, 2024 5:00 pm

Dependency conflict, x11-libs/cairo (solved)

  • Quote

Post by rattiraivo » Tue Mar 31, 2026 2:04 pm

Hey, hopped back over to gentoo on the weekend and now I'm slowly getting my machine up to speed.

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
So it's leaving me to wonder as to why it doesn't change when I run the emerge command.

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.
Last edited by rattiraivo on Tue Mar 31, 2026 2:56 pm, edited 1 time in total.
Top
grknight
Retired Dev
Retired Dev
Posts: 2560
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Tue Mar 31, 2026 2:09 pm

Run grep -r x11-libs/cairo /etc/portage/package.use I bet there is another file disabling it which comes after "firefox" alphabetically.
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.
Go ahead and change it. So long as that the only difference, it isn't a big deal to change later between desktop and non-desktop. Important changes are profile version or split-usr or no-multilib (meaning extra actions are needed).
Top
rattiraivo
n00b
n00b
Posts: 37
Joined: Thu Jun 06, 2024 5:00 pm

  • Quote

Post by rattiraivo » Tue Mar 31, 2026 2:55 pm

That was indeed it, thanks. Will remember that going forward.

Marking this as solved.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic