Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Mesa 24.0.7 not emerging
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
russellD
n00b
n00b


Joined: 07 Oct 2014
Posts: 63
Location: 28.5797S,153.338 E

PostPosted: Wed Jun 05, 2024 6:01 am    Post subject: [Solved] Mesa 24.0.7 not emerging Reply with quote

Hi Gentoo Brains Trust,

Bringing a machine upto date that has been in storage for a year is presenting its problemos.

Emerge can't bring mesa uptodate stating an failure with src/gallium/targets/rusticl/libRusticlOpenCL.so.1.0.0

Edited log of mesa's build.log s posted here: https://bpa.st/HWMQ
Showing the configuration and final error messages.
Full log is 9Mb which is available.

Emerge info below:

Code:
Portage 3.0.63 (python 3.11.9-final-0, default/amd64/20/desktop, gcc-12, glibc-2.39-r6, 6.1.12-x86_64 x86_64)
=================================================================
System uname: Linux-6.1.12-x86_64-x86_64-Intel-R-_Xeon-R-_CPU_W3680_@_3.33GHz-with-glibc2.39
KiB Mem:    24603188 total,  12663844 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository amano-kenji: Fri, 31 May 2024 06:04:19 +0000
Head commit of repository amano-kenji: a77bf1aba82d2e318a010587ad483d8f63ba83a6

Timestamp of repository gig: Mon, 27 May 2024 11:10:42 +0000
Head commit of repository gig: 1c148c820e6c7b35a4a6c0dc2619d1d059df88dc

Timestamp of repository guru: Tue, 04 Jun 2024 22:33:39 +0000
Head commit of repository guru: 020cfa4dd6bfe4b8581a3611ed8ec011b409ea10

Timestamp of repository metahax: Fri, 17 May 2024 12:21:00 +0000
Head commit of repository metahax: aa5c8b7934560e50ebaa8178815d263123dcb742

Timestamp of repository pentoo: Wed, 05 Jun 2024 00:03:56 +0000
Head commit of repository pentoo: fabe295ddcd1c277a38908c6341c08b6be419b99

Timestamp of repository r7l: Tue, 04 Jun 2024 08:20:29 +0000
Head commit of repository r7l: a1cc354926e528cc0ddb3d471e3759cc92bf6548

Timestamp of repository stefantalpalaru: Mon, 03 Jun 2024 11:21:03 +0000
Head commit of repository stefantalpalaru: 61b359fcdc9c189af694d46c862afba6b6a56854

Timestamp of repository torbrowser: Mon, 20 May 2024 17:23:26 +0000
Head commit of repository torbrowser: e864531f479e040a6516e2c34b630f187aee4338

Timestamp of repository gentoo: Wed, 29 May 2024 08:00:00 +0000
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.39 p5) 2.39.0
distcc[20534] (dcc_mkdir) ERROR: mkdir '/var/tmp/portage/.distcc/state' failed: No such file or directory [disabled]
ccache version 4.9.1 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-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.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           3.10.9-r1::gentoo, 3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust:             1.77.1::gentoo
dev-util/ccache:           4.9.1-r1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.45.2_rc73::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.39-r4::gentoo, 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo, 17.0.6::gentoo
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo, 13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            15.0.7::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

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

custom
    location: /var/calculate/custom-overlay
    masters: calculate gentoo
    volatile: True

gig
    location: /var/db/repos/gig
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gig.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

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

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

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

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

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

calculate
    location: /var/db/repos/calculate
    sync-type: calculate
    sync-uri: https://git.calculate-linux.org/calculate/calculate-overlay
    masters: gentoo
    priority: 50
    volatile: False

distros
    location: /var/db/repos/distros
    sync-type: calculate
    sync-uri: https://git.calculate-linux.org/calculate/distros-overlay
    masters: calculate gentoo
    priority: 50
    volatile: False

gentoo
    location: /var/db/repos/gentoo
    sync-type: calculate
    sync-uri: https://git.calculate-linux.org/calculate/gentoo-overlay
    priority: 50
    volatile: False

Installed sets: @custom
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
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/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/calculate/distfiles"
EMERGE_DEFAULT_OPTS=" --autounmask --binpkg-changed-deps=n --binpkg-respect-use=y --jobs=4 --quiet-build=n --usepkg-exclude='x11-drivers/nvidia-drivers sys-fs/zfs-kmod'  "
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 binpkg-multi-instance buildpkg buildpkg-live ccache clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://distfiles.gentoo.org https://mirror.calculate-linux.org/distfiles/level0"
INSTALL_MASK="/etc/systemd /lib*/systemd/*/*.service /usr/lib*/systemd/*/*.service /etc/shorewall*/* -/etc/shorewall*/shorewall*.conf"
LANG="en_AU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j12 -l12"
PKGDIR="/var/calculate/packages"
PORTAGE_BINHOST="https://mirror-hk.koddos.net/calculate-linux/grp/x86_64"
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="3dnow 3dnowext X a52 aac acl acpi aes alsa amd64 amr audiofile avi avx bittorrent bluetooth box bzip2 cairo caps cdda cddb cdparanoia cgroups chm cli cpudetection cracklib crypt css cue cups dav1d dbus dftk djvu dri dv dvd dvdr dvdread ebook elogind encode exif faac fexif ffmpeg flac flash fma3 fma4 foomaticdb fortran ftp gadu gd gdbm gif gphoto2 gtk heif hunspell iconv id3tag idn ieee1394 imagemagick imap introspection ios ipod ipv6 irc jabber jpeg jpeg2k lame libnotify libtirpc libwww lm-sensors logrotate lz4 lzo mad matroska mikmod mimap mmx mmxext mp3 mpeg mplayer multilib musepack ncurses networkmanager nfs nls nsplugin ogg oggvorbis openal opencore-amr openexr opengl openmp opus oscar padlock pam pcre pdf pgo pipewire png policykit popcnt postscript ppp pulseaudio quicktime raw rdesktop readline real samba sasl scanner screencast sdl seccomp semantic-desktop smp smtp speex spell split-usr srt sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 svg taglib test-rust tga theora threads tiff truetype udev udisks unicode upnp upower usb userlocales v4l v4l2 vaapi vcd vdpau vhosts vnc vorbis vpx vulkan wavpack wayland webkit webp wimax win32codecs wmf wxwindows x264 x265 xanim xattr xcomposite xinerama xmp xop xv xvid xvmc zlib zstd" 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" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx sse sse2 * mmxext" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput evdev mutouch synaptics" KERNEL="linux" L10N="en be bg bs cs da de de-1901 el es es-AR es-CL es-ES es-MX et fi fr fr-CA hr hu it kk lt lv nl pl pt pt-BR pt-PT ro ru sk sl sr sq sv uk" LCD_DEVICES="* bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31 ruby32" THEMES="CLD" VIDEO_CARDS="nouveau nvidia" 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, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS



Your help with this is much appreciated!

Thanks in advance,

- r


Last edited by russellD on Wed Jun 05, 2024 8:32 am; edited 1 time in total
Back to top
View user's profile Send private message
rab0171610
Guru
Guru


Joined: 24 Dec 2022
Posts: 348

PostPosted: Wed Jun 05, 2024 6:39 am    Post subject: Reply with quote

Correct me if I am wrong. It appears from your output that you are building with the opencl use flag enabled. Out of curiosity, are you able to build successfully without it ( -opencl)?
Back to top
View user's profile Send private message
russellD
n00b
n00b


Joined: 07 Oct 2014
Posts: 63
Location: 28.5797S,153.338 E

PostPosted: Wed Jun 05, 2024 8:17 am    Post subject: Reply with quote

Hi rab0171610

Wow, thanks for spotting the opencl flag. I didn't set this, must be in the profile.

The previous version has opencl set and it was emerged in Feb 2023.

Code:
$ eix media-libs/mesa
[U] media-libs/mesa
     Available versions:  [m]23.0.5^t[1] 24.0.7^t ~24.0.8^t ~24.0.8-r1^t ~24.1.0^t ~24.1.0-r1^t **9999*l^t {+X d3d9 debug gles1 +gles2 +llvm lm-sensors opencl +opengl osmesa +proprietary-codecs selinux test unwind vaapi valgrind vdpau vulkan vulkan-overlay wayland xa zink +zstd ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_X86="sse2" LLVM_SLOT="15 16 +17" VIDEO_CARDS="d3d12 freedreno intel lavapipe lima nouveau nvk panfrost r300 r600 radeon radeonsi v3d vc4 virgl vivante vmware"}
     Installed versions:  22.2.5^t(17:44:47 02/12/23)(X d3d9 gles2 llvm lm-sensors opencl proprietary-codecs vaapi vdpau vulkan wayland xa xvmc zstd -debug -gles1 -osmesa -selinux -test -unwind -valgrind -vulkan-overlay -zink ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="32 64 -x32" CPU_FLAGS_X86="sse2" VIDEO_CARDS="intel -d3d12 -freedreno -lima -nouveau -panfrost -r300 -r600 -radeon -radeonsi -v3d -vc4 -virgl -vivante -vmware")
     Homepage:            https://www.mesa3d.org/ https://mesa.freedesktop.org/
     Description:         OpenGL-like graphic library for Linux


FYI:
The video card is Nvidia (NVIDIA Corporation GF100GL [Quadro 4000])
X is using currently using nvidia-drivers.
mesa flag VIDEO_CARDS was set to intel to allow the emerge to proceed.

Now, portage news tell me that nvidia-drivers are now unsupported for this card
I changed the VIDEO_CARDS for mesa to nouveau and the make.conf use flag VIDEO to nouveau.

I unset the mesa flag opencl and rerun the emerge.

thanks again,

-r
Back to top
View user's profile Send private message
russellD
n00b
n00b


Joined: 07 Oct 2014
Posts: 63
Location: 28.5797S,153.338 E

PostPosted: Wed Jun 05, 2024 8:31 am    Post subject: Reply with quote

rab0171610

I took the hint and media-libs/mesa emerged with out the opencl flag!

thanks heaps, will mark this solved. :D
Back to top
View user's profile Send private message
Yminus
Apprentice
Apprentice


Joined: 06 Jan 2008
Posts: 185

PostPosted: Wed Jun 12, 2024 8:54 am    Post subject: Reply with quote

Instead of disabling opencl one can also disable llvm flag.

But I have no clue what to prefer:

opencl
media-libs/mesa: Enable the Rusticl Gallium OpenCL state tracker.

llvm
media-libs/mesa: Enable LLVM backend for Gallium3D.

What is a Rusticl Gallium OpenCL state tracker?
Back to top
View user's profile Send private message
russellD
n00b
n00b


Joined: 07 Oct 2014
Posts: 63
Location: 28.5797S,153.338 E

PostPosted: Thu Jun 13, 2024 3:06 am    Post subject: Reply with quote

Hi Yminus

Yes, I saw the equery note on opencl re "Rusticl Gallium OpenCL state tracker".
Found Rusticl documented here: https://docs.mesa3d.org/rusticl.html
From which it states "Rusticl OpenCL implementation on top of Gallium drivers"
The rest of the document is a bit TLDR for me, so never found out about "state tracker".

As for the flag llvm, I didn't know that could also work.
Will take note.

From what I do know, is that by disabling "opencl" flag, mesa was able to compile.

Most importantly, X came up and presents a stable gui! :D
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