Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921658 - =media-libs/mesa-23*[opencl,video_cards_nouveau] does not build due to missing symbol vl_video_buffer_is_format_supported
Summary: =media-libs/mesa-23*[opencl,video_cards_nouveau] does not build due to missin...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-01-09 11:21 UTC by Florian Manschwetus
Modified: 2024-04-21 12:45 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log of LC_MESSAGES=C USE=opencl emerge -a1 mesa (build.log.bz2,203.42 KB, application/x-bzip)
2024-01-09 11:24 UTC, Florian Manschwetus
Details
patch to fix compile error (autorespond-2.0.5.patch,616 bytes, patch)
2024-04-01 06:04 UTC, Florian Dittmer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Manschwetus 2024-01-09 11:21:31 UTC
mesa 23.3.2^t(22:50:30 08.01.2024)(X d3d9 gles2 llvm osmesa opencl proprietary-codecs vaapi vdpau vulkan wayland xa zstd -debug -gles1 -lm-sensors -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 nouveau -d3d12 -freedreno -lavapipe -lima -panfrost -r300 -r600 -radeon -radeonsi -v3d -vc4 -virgl -vivante -vmware")

does not build due to missing symbols.
With "-opencl" it merges

x86_64-pc-linux-gnu-g++  -o src/gallium/targets/rusticl/libRusticlOpenCL.so.1.0.0 src/gallium/targets/rusticl/libRusticlOpenCL.so.1.0.0.p/target.c.o -Wl,--as-needed -Wl,--no-
...
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o: in function `nv84_decoder_decode_bitstream_mpeg12':
nv84_video.c:(.text.nv84_decoder_decode_bitstream_mpeg12+0x8): undefined reference to `vl_mpg12_bs_decode'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o: in function `nv84_create_decoder':
nv84_video.c:(.text.nv84_create_decoder+0x6f5): undefined reference to `vl_mpg12_bs_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o: in function `nv84_video_buffer_create':
nv84_video.c:(.text.nv84_video_buffer_create+0x426): undefined reference to `vl_video_buffer_create'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o: in function `nv84_screen_video_supported':
nv84_video.c:(.text.nv84_screen_video_supported+0x11): undefined reference to `vl_video_buffer_is_format_supported'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o: in function `nouveau_screen_get_video_param':
nouveau_video.c:(.text.nouveau_screen_get_video_param+0x39): undefined reference to `vl_video_buffer_max_size'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: nouveau_video.c:(.text.nouveau_screen_get_video_param+0x51): undefined reference to `vl_level_supported'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o: in function `nouveau_context_video_buffer_create':
nouveau_video.c:(.text.nouveau_context_video_buffer_create+0x1d2): undefined reference to `vl_video_buffer_create'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o: in function `nouveau_context_create_decoder':
nouveau_video.c:(.text.nouveau_context_create_decoder+0x92): undefined reference to `vl_create_decoder'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o: in function `nouveau_screen_init_vdec':
nouveau_video.c:(.text.nouveau_screen_init_vdec+0xe): undefined reference to `vl_video_buffer_is_format_supported'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video.c.o: in function `nouveau_vp3_video_buffer_create':
nouveau_vp3_video.c:(.text.nouveau_vp3_video_buffer_create+0x60): undefined reference to `vl_video_buffer_create'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video.c.o: in function `nouveau_vp3_screen_video_supported':
nouveau_vp3_video.c:(.text.nouveau_vp3_screen_video_supported+0x11): undefined reference to `vl_video_buffer_is_format_supported'
collect2: Fehler: ld gab 1 als Ende-Status zurück


Reproducible: Always

Steps to Reproduce:
1. set useflags according to description
2. try to merge mesa >=23.2*
Actual Results:  
mesa fails to build

Expected Results:  
mesa builds

emerge --info
Portage 3.0.59 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-13, glibc-2.38-r9, 6.6.8-gentoo x86_64)
=================================================================
System uname: Linux-6.6.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-4910MQ_CPU_@_2.90GHz-with-glibc2.38
KiB Mem:    32751244 total,  14139068 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Mon, 08 Jan 2024 13:45:01 +0000
Head commit of repository gentoo: 4a43d5f13e89c6b0215b1130623c75b5784e7c21
Timestamp of repository HomeAssistantRepository: Mon, 08 Jan 2024 12:20:44 +0000
Head commit of repository HomeAssistantRepository: d019aa475f547b6f51b1b7fd24ca41a89f2dc0ad

Timestamp of repository dlang: Mon, 08 Jan 2024 12:20:07 +0000
Head commit of repository dlang: 886e75cea3295331b76366b5d825c8dea497c0b6

Timestamp of repository guru: Mon, 08 Jan 2024 12:39:43 +0000
Head commit of repository guru: a1782f86df9ce780bbc2e5290ae9383266270184

Timestamp of repository raiagent: Mon, 08 Jan 2024 12:20:12 +0000
Head commit of repository raiagent: 93f3d489e4aaa97250bfcebc37868419c1965155

Timestamp of repository robert7k: Mon, 08 Jan 2024 12:20:18 +0000
Head commit of repository robert7k: c2f6d9830e46888064aefe45186f912d9b3cee06

Timestamp of repository steam-overlay: Mon, 08 Jan 2024 12:20:14 +0000
Head commit of repository steam-overlay: 24afc09d118dd04bfe1e6cc8854023b395fa23db

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p7) 2.40.0
ccache version 4.8.3 [enabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.7::gentoo, 3.12.1::gentoo
dev-lang/rust:             1.71.1::gentoo
dev-util/ccache:           4.8.3::gentoo
dev-util/cmake:            3.27.9::gentoo
dev-util/meson:            1.3.0-r2::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.52.1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r9::gentoo, 2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             16.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r9::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

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

My-new-local-Repo
    location: /usr/local/portage2
    masters: gentoo
    priority: 0
    volatile: True

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

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

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

sinustrom
    location: /var/lib/layman/sinustrom
    masters: gentoo
    priority: 50
    volatile: True

tlp
    location: /var/lib/layman/tlp
    masters: gentoo
    priority: 50
    volatile: True

waebbl
    location: /var/lib/layman/waebbl
    masters: gentoo
    priority: 50
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=haswell -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -mabm -mfma -mbmi -mbmi2 -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=haswell"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=haswell -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -mabm -mfma -mbmi -mbmi2 -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=haswell"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="-j4"
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 -march=haswell -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -mabm -mfma -mbmi -mbmi2 -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=haswell"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=haswell -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -mabm -mfma -mbmi -mbmi2 -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=haswell"
GENTOO_MIRRORS="http://linux.mathematik.tu-darmstadt.de/pub/linux/distributions/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="de de_DE"
MAKEOPTS="-j10 --load-average 20"
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="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo ccache cdda cdr cli colord crypt cups d3d9 dbus declarative device-mapper dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gphoto2 gpm gtk gui iconv icu ipv6 java jpeg kde kerberos kwallet lcms libnotify libtirpc lvm mad mng mp3 mp4 mpeg multilib ncurses net45 networkmanager nfs nfsdcld nfsidmap nfsv4 nfsv41 nls nptl ntfs ogg opengl openmp osmesa pam pango pcre pdf pim pipewire plasma pm-utils png policykit ppds pulseaudio qml qt5 raw readline rtmp samba scanner screencast sdl seccomp semantic-desktop sftp sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb uxa vaapi vdpau vkd3d vorbis vpx vulkan wayland widgets wxwidgets x264 xa xattr xcb xft xinerama xml xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel usb-audio bt87x" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias authn_alias authn_core authz_core unixd socache_shmcb access_compat slotmem_shm" CALLIGRA_FEATURES="author braindump flow karbon kexi krita plan sheets stage words" CAMERAS="adc65 agfa-cl20 aox barbie canon casio clicksmart310 digigr8 digita dimera directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak konica largan lg_gsm mars minolta mustek panasonic pccam300 pccam600 polaroid ptp2 ricoh samsung sierra sipix smal sonix sonydscf1 sonydscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" 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-32 efi-64 multiboot pc emu" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport wiki-publisher" 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="ruby31" VIDEO_CARDS="intel i965 nouveau" 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, 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
Comment 1 Florian Manschwetus 2024-01-09 11:24:40 UTC
Created attachment 881750 [details]
build.log of LC_MESSAGES=C USE=opencl emerge -a1 mesa

Added build log of LC_MESSAGES=C USE=opencl emerge -a1 mesa
Comment 2 Lars 2024-03-04 11:40:16 UTC
I have the same issue. Please let me know, if I can provide you with information.
Comment 3 Giuseppe Foti 2024-03-11 06:36:02 UTC
The last version I succeded to build was mesa-23.1.9
Far all versions now in portage (23.3.5 - 23.3.6 - 24.0.1 - 24.0.2) build fails with the same error.
I have reported the bug upstream: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10792

# emerge --info

Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-13, glibc-2.38-r10, 6.6.13-gentoo x86_64)
=================================================================
System uname: Linux-6.6.13-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700HQ_CPU_@_2.40GHz-with-glibc2.38
KiB Mem:    15806688 total,   4168876 free
KiB Swap:   19922940 total,  15958524 free
Timestamp of repository gentoo: Sun, 10 Mar 2024 19:00:00 +0000
Head commit of repository gentoo: 9a6e608a7501a34518d16d5a3e81254a8bc308b8
Timestamp of repository guru: Sun, 10 Mar 2024 12:03:21 +0000
Head commit of repository guru: 0b599eb303417e06663eced45a754611f6b63013

Timestamp of repository php-overlay: Sat, 24 Feb 2024 17:03:21 +0000
Head commit of repository php-overlay: 2576837cba1c57906a3ebfe360505deba4d3918a

Timestamp of repository steam-overlay: Fri, 08 Mar 2024 06:20:30 +0000
Head commit of repository steam-overlay: 81806f9889dc8cd6e388081b8f2e57540ceed2bf

Head commit of repository tlp: af2991838d36eb8337616cb66dcda93d455fdd66

Timestamp of repository zugaina: Fri, 16 Jun 2023 08:32:15 +0000
Head commit of repository zugaina: a31fcec20b159a13ccd069d4e13b92d18bc0ffec

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
ccache version 4.9.1 [disabled]
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.27.9::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.1-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.8.18::gentoo, 3.10.13_p3::gentoo, 3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
dev-util/ccache:           4.9.1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.3-r1::gentoo
sys-devel/binutils:        2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             15.0.7::gentoo, 17.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::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-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 3

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

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

tlp
    location: /var/db/repos/tlp
    sync-type: git
    sync-uri: https://github.com/dywisor/tlp-portage
    masters: gentoo
    volatile: False

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

Overlay-Personale
    location: /usr/local/portage
    sync-type: git
    sync-uri: git://me.org/me
    masters: gentoo
    priority: 100
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/systemd/system /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/i2pd/certificates"
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/apache2-php8.2/ext-active/ /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /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=core-avx2 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --usepkg"
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 buildpkg buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/     http://ftp.halifax.rwth-aachen.de/gentoo/     http://ftp.fau.de/gentoo     http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/     rsync://mirrors.ircam.fr/pub/gentoo-distfiles/"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="it"
MAKEOPTS="-j8"
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="X a52 aac aalib acl acpi afs alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli colord crypt css cups dbi dbus djvu dri dts dv dvb dvd dvdr eds encode evo exif ffmpeg flac fontconfig fortran ftp gdbm gif gnome gnome-keyring gnome-online-accounts gnome-shell gphoto2 gpm gsm gstreamer gtk gui iconv icu ieee1394 imagemagick introspection ipv6 jack java javascript jpeg jpeg2k kerberos keyring lcms ldap libcaca libnotify libtirpc lvm lzma lzo mad mmap mng modules mp3 mp4 mpeg mplayer multilib nas nautilus ncurses networkmanager nls offensive ogg opencl openexr opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 radius readline samba scanner sdl seccomp snmp sound spell ssl startup-notification svg sysprof systemd test-rust theora tiff tracker truetype udev udisks unicode upnp upnp-av upower usb v4l vcd vnc vorbis vulkan wayland webkit wifi wxwidgets x264 xattr xcb xft xml xscreensaver xv xvid zeroconf zlib zsh-completion" ABI_X86="64 32" ADA_TARGET="gnat_2021" 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 http2 log_forensic proxy proxy_fcgi auth_digest brotli" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" INPUT_DEVICES="synaptics evdev keyboard mouse joystick" KERNEL="linux" L10N="it" 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-1 php8-2 php8-3" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="nvidia intel nouveau nv" 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
Comment 4 Florian Dittmer 2024-04-01 06:04:29 UTC
Created attachment 889178 [details, diff]
patch to fix compile error

Patch from https://notes.sagredo.eu/en/qmail-notes-185/autorespond-24.html to fix the compile error.
Comment 5 Florian Dittmer 2024-04-01 06:07:22 UTC
Sorry, please excuse my attachment and comment. Attached the patch to the wrong bug :(
Comment 6 Lars 2024-04-21 12:40:37 UTC
(In reply to Giuseppe Foti from comment #3)
> I have reported the bug upstream:
> https://gitlab.freedesktop.org/mesa/mesa/-/issues/10792

They fixed it:
https://gitlab.freedesktop.org/mesa/mesa/-/commit/4e3f3c10e14d8778781c81f39ced659b5ec2f148

But then reverted it:

https://gitlab.freedesktop.org/mesa/mesa/-/commit/eac703f69128d5aa6879c9becbad627ce08a7920

Commented here:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/10792

> Ah, sorry about this; let's revert that commit and wait for @karolherbst's better fix to get merged.

Seems like we still have to wait for a fix.
Comment 7 Lars 2024-04-21 12:45:55 UTC
Problem is, that there is currently no mesa version in tree which builds for me. Does anyone understand why this build breaks? Seems like it only breaks for few people.