Forums

Skip to content

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

Cant emerge mesa, multile LLVM_SLOTS

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
picarica
Guru
Guru
Posts: 366
Joined: Sat Aug 11, 2018 12:41 am

Cant emerge mesa, multile LLVM_SLOTS

  • Quote

Post by picarica » Fri Jun 20, 2025 9:34 am

So hello i have similar problem as here but instead of none slots i have two.

Code: Select all


!!! The ebuild selected to satisfy "media-libs/mesa[X(+)]" has unmet requirements.
- media-libs/mesa-25.1.4::gentoo USE="X llvm (opengl) proprietary-codecs vaapi vdpau vulkan wayland zstd -d3d9 -debug -lm-sensors -opencl -test -unwind -valgrind -xa" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="18 20 -19" VIDEO_CARDS="intel -asahi -d3d12 (-freedreno) -lavapipe (-lima) -nouveau -nvk (-panfrost) -r300 -r600 -radeon -radeonsi (-v3d) (-vc4) -virgl (-vivante) -vmware -zink"

  The following REQUIRED_USE flag constraints are unsatisfied:
    llvm? ( exactly-one-of ( llvm_slot_18 llvm_slot_19 llvm_slot_20 ) )

  The above constraints are a subset of the following complete expression:
    d3d9? ( any-of ( video_cards_freedreno video_cards_intel video_cards_nouveau video_cards_panfrost video_cards_r300 video_cards_r600 video_cards_radeonsi video_cards_vmware video_cards_zink ) ) llvm? ( exactly-one-of ( llvm_slot_18 llvm_slot_19 llvm_slot_20 ) ) video_cards_lavapipe? ( llvm vulkan ) video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) ) video_cards_r300? ( x86? ( llvm ) amd64? ( llvm ) ) video_cards_zink? ( vulkan opengl ) video_cards_nvk? ( vulkan video_cards_nouveau ) vdpau? ( X ) xa? ( X )

(dependency required by "gui-libs/gtk-4.16.12-r1::gentoo[X]" [installed])
(dependency required by "app-crypt/gcr-4.3.1::gentoo[gtk]" [ebuild])
(dependency required by "app-crypt/pinentry-1.3.1-r1::gentoo[gtk]" [installed])
(dependency required by "app-crypt/gnupg-2.4.7-r1::gentoo" [installed])
(dependency required by "app-portage/gemato-20.6::gentoo[gpg]" [installed])
(dependency required by "sys-apps/portage-3.0.67-r1::gentoo[-build,rsync-verify]" [installed])
(dependency required by "app-admin/perl-cleaner-2.31-r2::gentoo[-pkgcore]" [installed])
(dependency required by "dev-lang/perl-5.40.2::gentoo[-minimal]" [installed])
(dependency required by "dev-libs/openssl-3.4.1::gentoo" [ebuild])
(dependency required by "app-arch/libarchive-3.7.9::gentoo" [installed])
(dependency required by "dev-build/cmake-3.31.7-r1::gentoo" [installed])
(dependency required by "media-libs/libaom-3.10.0::gentoo" [installed])
(dependency required by "media-libs/libavif-1.2.0::gentoo[aom]" [installed])
(dependency required by "dev-python/pillow-11.2.1::gentoo" [installed])
(dependency required by "dev-python/docutils-0.21.2::gentoo" [installed])
(dependency required by "dev-util/gdbus-codegen-2.82.5::gentoo" [installed])


cat /etc/portage/repos.conf/gentoo.conf
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /var/db/repos/gentoo
sync-type = git
sync-uri = https://gitweb.gentoo.org/repo/gentoo.git
auto-sync = yes
sync-rsync-verify-jobs = 1
sync-rsync-verify-metamanifest = yes
sync-rsync-verify-max-age = 24
sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
sync-openpgp-keyserver = hkps://keys.gentoo.org
sync-openpgp-key-refresh-retry-count = 40
sync-openpgp-key-refresh-retry-overall-timeout = 1200
sync-openpgp-key-refresh-retry-delay-exp-base = 2
sync-openpgp-key-refresh-retry-delay-max = 60
sync-openpgp-key-refresh-retry-delay-mult = 4
sync-webrsync-verify-signature = yes 
i am trying to merge mesa with sudo emerge -a --verbose --update --deep --newuse --keep-going --with-bdeps=y @world

emerge --info

Code: Select all

Portage 3.0.67 (python 3.12.10-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-14, glibc-2.40-r8, 6.12.32-cachyos-x86_64 x86_64)
=================================================================
System uname: Linux-6.12.32-cachyos-x86_64-x86_64-AMD_Ryzen_5_5600X_6-Core_Processor-with-glibc2.40
KiB Mem:    32788740 total,   1595588 free
KiB Swap:   40863740 total,  40858620 free
Head commit of repository gentoo: a6e0f7d29e75d126a2d0ca48785bbae7b37c70a6

Timestamp of repository CachyOS-kernels: Fri, 20 Jun 2025 02:37:03 +0000
Head commit of repository CachyOS-kernels: 86f48afffe5492f74dcd848bec8a9f825e532391

Timestamp of repository FireBurn: Sat, 14 Jun 2025 14:37:54 +0000
Head commit of repository FireBurn: 38d9324ac03a735e18211b88e5361e97500e9977

Timestamp of repository binaryden: Fri, 06 Jun 2025 09:09:04 +0000
Head commit of repository binaryden: 2df37c230983d7b7f8d182092eff172573dd558a

Head commit of repository edgets: 0559ee0e414db15589e8dd8362be40855778099c

Timestamp of repository gentoo-bootstrap: Thu, 29 May 2025 12:39:41 +0000
Head commit of repository gentoo-bootstrap: d15384c84de64bbbc1cee01d3f26337584d60150

Timestamp of repository guru: Thu, 19 Jun 2025 08:52:05 +0000
Head commit of repository guru: d69ca6c9f40cb4665627bccf5b9991ea0663bee9

Timestamp of repository lanodanOverlay: Wed, 18 Jun 2025 14:21:56 +0000
Head commit of repository lanodanOverlay: 1fd17ac25eca7bb0cd1ff4755d1e9a6a0a2f60f4

Head commit of repository picarica-overlay: 90f6e411d50a164b084c5126366b2709d812f707

Timestamp of repository src_prepare-overlay: Wed, 15 Jan 2025 14:48:28 +0000
Head commit of repository src_prepare-overlay: 444efe63229d50268016d062952f9ffcd7c9a545

Timestamp of repository steam-overlay: Mon, 09 Jun 2025 20:54:13 +0000
Head commit of repository steam-overlay: 5031b12ea9f956f65a056c00d6ada0d35e99b316

Timestamp of repository thegreatmcpain: Thu, 19 Jun 2025 02:07:06 +0000
Head commit of repository thegreatmcpain: 6dab73f23f033fce0d58a474037f9005c93667e2

Head commit of repository xarblu-overlay: 0282567852124f5f7df66d98a7dfe2b6e2497904

sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.17-r2::gentoo
dev-build/cmake:           3.31.7-r1::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.2::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.2::gentoo
dev-lang/python:           3.10.17_p2::gentoo, 3.11.12_p2::gentoo, 3.12.10_p2::gentoo, 3.13.3_p2::gentoo
dev-lang/rust-bin:         1.86.0-r1::gentoo
llvm-core/clang:           15.0.7-r3::gentoo, 19.1.7::gentoo
llvm-core/lld:             15.0.7::gentoo, 19.1.7::gentoo
llvm-core/llvm:            15.0.7-r7::gentoo, 18.1.8-r6::gentoo, 19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.46::gentoo
sys-apps/systemd:          257.5::gentoo
sys-devel/binutils:        2.44-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.3.0::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://gitweb.gentoo.org/repo/gentoo.git
    priority: -1000
    volatile: False

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

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

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

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

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

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

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

picarica-overlay
    location: /var/db/repos/picarica-overlay
    sync-type: git
    sync-uri: https://gitlab.com/picarica/picarica-overlay
    masters: gentoo
    volatile: False

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

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

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

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 12"
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="-march=x86-64 -mtune=generic -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ ftp://tux.rainside.sk/gentoo/ https://mirror.wheel.sk/gentoo http://mirror.wheel.sk/gentoo"
LANG="en_IE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="ie sk en"
MAKEOPTS="-j12"
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="NetworkManager X a52 aac accessibility acl acpi activities alsa amd64 av1 avif branding bundled-libs bzip2 cairo cdda cdr cet cups dav1d dbus declarative device-mapper display-manager dolphin dracut dri dts dvdr encode exif extra fdk ffmpeg flac gd gdbm gif gpm grub gtk gui harfbuzz iconv icu ipv6 jpeg kde keyring kms kwallet lcms libaom libass libdrm libnotify libtirpc lvm mad mng modules mount mp3 mp4 mpeg mpg123 mtp multilib ncurses networkmanager nls ogg openapi opencl opengl openmp opus pam pango pcre pdf pipewire pipewire-alsa plasma plymouth png policykit ppds pulseaudio qml qt5 qt6 quick rar readline samba screencast sdl seccomp semantic-desktop sound sound-server spell srt ssh ssl startup-notification svg symlink systemd test-rust theora tiff truetype twolame udev udisks unicode upower usb usbredir vaapi vdpau vorbis vulkan wayland webp widgets winbind wxwidgets x264 xattr xcb xft xml xv xvid zip zlib" ABI_X86="64" ADA_TARGET="gcc_14" 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 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="sk en en-GB" 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="postgres17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32 ruby33" VIDEO_CARDS="intel" 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, 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

i have profile 28, systemd plasma
i tried putting media-libs/mesa -opencl -llvm_slot_18 but it didnt worked, what can i do ?
Top
Josef.95
Advocate
Advocate
Posts: 4857
Joined: Mon Sep 03, 2007 9:46 am
Location: Germany

  • Quote

Post by Josef.95 » Fri Jun 20, 2025 9:54 am

Please post the output from

Code: Select all

grep -ri llvm_slot /etc/portage/
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3537
Joined: Thu Feb 22, 2018 2:29 pm

Re: Cant emerge mesa, multile LLVM_SLOTS

  • Quote

Post by logrusx » Fri Jun 20, 2025 10:01 am

picarica wrote: i am trying to merge mesa with sudo emerge -a --verbose --update --deep --newuse --keep-going --with-bdeps=y @world
Why? Mesa is a library, it should have been pulled in by something else, like Xorg or your compositor. Why --keep-going?

Best Regards,
Georgi
Top
picarica
Guru
Guru
Posts: 366
Joined: Sat Aug 11, 2018 12:41 am

  • Quote

Post by picarica » Fri Jun 20, 2025 10:57 am

Josef.95 wrote:Please post the output from

Code: Select all

grep -ri llvm_slot /etc/portage/
oh shit, i found the issue probably :DD

Code: Select all

/etc/portage/package.use/zz-autounmask:>=media-libs/mesa-24.3.3 llvm_slot_18 -llvm_slot_19
no idea why this was added there

is there some recommendeded way to manage this mess of a file ?
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3537
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Fri Jun 20, 2025 2:31 pm

picarica wrote:
Josef.95 wrote:Please post the output from

Code: Select all

grep -ri llvm_slot /etc/portage/
oh shit, i found the issue probably :DD

Code: Select all

/etc/portage/package.use/zz-autounmask:>=media-libs/mesa-24.3.3 llvm_slot_18 -llvm_slot_19
no idea why this was added there

is there some recommendeded way to manage this mess of a file ?
First, answer my question above. Second, always add --oneshot( or -1 for short) to your emerge commands when running emerge to fix something. Third, post the contents of /var/lib/portage/world because it seems you have been doing it wrong.

And finally, how to clean up that mess or a file - move it out and see what a full world update will tell you about use flags and what changes it wants to make. Adjust by adding use flags at appropriate places in package.use.

Best Regards,
Georgi
Top
Josef.95
Advocate
Advocate
Posts: 4857
Joined: Mon Sep 03, 2007 9:46 am
Location: Germany

  • Quote

Post by Josef.95 » Fri Jun 20, 2025 3:56 pm

logrusx,
hm, wrong thread?
Here is nothing wrong with the emerge @world update command,
--oneshot is not required, and using --keep-going is ok.
And i don't see what he doing wrong with the /var/lib/portage/world file.

It is a useflag configuration conflict, and it is now clear why.
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3537
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Fri Jun 20, 2025 4:06 pm

I'm not sure why, but I thought it was emerging mesa and not world. With world it's kind of implied so you don't need to add -1, yes. Sorry for the confusion and thank you for spotting it :)
You really have an eye for the details!
Top
Josef.95
Advocate
Advocate
Posts: 4857
Joined: Mon Sep 03, 2007 9:46 am
Location: Germany

  • Quote

Post by Josef.95 » Fri Jun 20, 2025 4:33 pm

Happens - all good :)
Top
Post Reply

8 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