Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937832 - media-libs/mesa-24.2.0_rc4 VIDEO_CARDS="panfrost" fails to configure meson.build:4:0: ERROR: Value "kmsro" for option "gallium-drivers" is not in allowed
Summary: media-libs/mesa-24.2.0_rc4 VIDEO_CARDS="panfrost" fails to configure meson.bu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-12 17:50 UTC by Xavier Miller
Modified: 2024-08-13 00:22 UTC (History)
1 user (show)

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


Attachments
build log (build.log,5.09 KB, text/x-log)
2024-08-12 17:52 UTC, Xavier Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller 2024-08-12 17:50:24 UTC
[ebuild     U  ] media-libs/mesa-24.2.0_rc4::gentoo [24.1.5::gentoo] USE="X (opengl) proprietary-codecs zstd (-d3d9) -debug -llvm -lm-sensors (-opencl) -osmesa (-selinux) -test -unwind -vaapi -valgrind (-vdpau) -vulkan -vulkan-overlay -wayland -xa" LLVM_SLOT="18 -15 -16 -17" VIDEO_CARDS="panfrost -d3d12 -freedreno (-intel) -lavapipe -lima -nouveau (-nvk) (-r300) (-r600) -radeon -radeonsi -v3d -vc4 -virgl -vivante -vmware -zink" 0 KiB


fails to configure:

>>> Emerging (3 of 3) media-libs/mesa-24.2.0_rc4::gentoo                                                                                                                                                                                     
 * mesa-24.2.0-rc4.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                 [ ok ] 
 * syn-2.0.39.crate BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                       [ ok ] 
 * proc-macro2-1.0.70.crate BLAKE2B SHA512 size ;-) ...                                                                                                                                                                               [ ok ] 
 * quote-1.0.33.crate BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                     [ ok ] 
 * unicode-ident-1.0.12.crate BLAKE2B SHA512 size ;-) ...                                                                                                                                                                             [ ok ] 
 * paste-1.0.14.crate BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                     [ ok ] 
 * Checking whether python3_12 is suitable ...                                                                                                                                                                                               
 *   dev-lang/python:3.12 ...                                                                                                                                                                                                         [ ok ] 
 *   python_check_deps ...                                                                                                                                                                                                                   
 *     >=dev-python/mako-0.8.0[python_targets_python3_12(-)] ...                                                                                                                                                                      [ ok ] 
 *     dev-python/packaging[python_targets_python3_12(-)] ...                                                                                                                                                                         [ ok ] 
 *     dev-python/pyyaml[python_targets_python3_12(-)] ...                                                                                                                                                                            [ ok ] 
 * Using python3.12 to build (via PYTHON_COMPAT iteration)                                                                                                                                                                                   
>>> Unpacking source...                                                                                                                                                                                                                      
>>> Unpacking mesa-24.2.0-rc4.tar.xz to /var/tmp/portage/media-libs/mesa-24.2.0_rc4/work                                                                                                                                                     
>>> Source unpacked in /var/tmp/portage/media-libs/mesa-24.2.0_rc4/work                                                                                                                                                                      
>>> Preparing source in /var/tmp/portage/media-libs/mesa-24.2.0_rc4/work/mesa-24.2.0-rc4 ...                                                                                                                                                 
>>> Source prepared.                                                                                                                                                                                                                         
>>> Configuring source in /var/tmp/portage/media-libs/mesa-24.2.0_rc4/work/mesa-24.2.0-rc4 ...                                                                                                                                               
 * .arm64: running multilib-minimal_abi_src_configure                                                                                                                                                                                        
meson setup -Db_lto=false --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/media-libs/mesa-24.2.0_rc4/temp/python3.12/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/media-libs/mesa-24.2.0_rc4/temp/python3.12/pkg
config:/usr/share/pkgconfig --native-file /var/tmp/portage/media-libs/mesa-24.2.0_rc4/temp/meson.aarch64-unknown-linux-gnu.arm64.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain -Dplatforms=x11 -Dgallium-nine=false -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dgallium-xa=disabled -Dvulkan-layers= -Dglx=dri -Dbu
ild-tests=false -Dshared-glapi=enabled -Ddri3=enabled -Dexpat=enabled -Dopengl=true -Dgbm=enabled -Dgles1=enabled -Dgles2=enabled -Dglvnd=enabled -Degl=enabled -Dllvm=disabled -Dlmsensors=disabled -Dosmesa=false -Dselinux=false -Dlibunwind=disabled -Dzstd=enabled -Dsse2=false -Dintel-clc=auto -Dvalgrind=disabled -Dv
ideo-codecs=all -Dgallium-drivers=kmsro,panfrost,softpipe -Dvulkan-drivers= -Db_ndebug=true /var/tmp/portage/media-libs/mesa-24.2.0_rc4/work/mesa-24.2.0-rc4 /var/tmp/portage/media-libs/mesa-24.2.0_rc4/work/mesa-24.2.0-rc4-.arm64                                            
The Meson build system                                                                                                                                                                                                                       
Version: 1.5.1                                                                                                                                                                                                                               
Source dir: /var/tmp/portage/media-libs/mesa-24.2.0_rc4/work/mesa-24.2.0-rc4                                                                                                                                                                 
Build dir: /var/tmp/portage/media-libs/mesa-24.2.0_rc4/work/mesa-24.2.0-rc4-.arm64                                                                                                                                                           
Build type: native build                                                                                                                                                                                                                     
                                                                                                                                                                                                                                             
../mesa-24.2.0-rc4/meson.build:4:0: ERROR: Value "kmsro" for option "gallium-drivers" is not in allowed choices: "auto, radeonsi, r300, r600, nouveau, freedreno, swrast, v3d, vc4, etnaviv, tegra, i915, svga, virgl, panfrost, iris, lima, zink, d3d12, asahi, crocus, all, softpipe, llvmpipe"
                                                                                                                                                                                                                                                                               
A full log can be found at /var/tmp/portage/media-libs/mesa-24.2.0_rc4/work/mesa-24.2.0-rc4-.arm64/meson-logs/meson-log.txt                                                                                                                  
 * ERROR: media-libs/mesa-24.2.0_rc4::gentoo failed (configure phase):                                                                                                                                                                       
 *   configure failed                                                                                                                                                                                                                        
 *                                                                                                                                                                                                                                           
 * Call stack:                                                                                                                                                                                                                               
 *     ebuild.sh, line  136:  Called src_configure                                                                                                                                                                                           
 *   environment, line 4644:  Called meson-multilib_src_configure                                                                                                                                                                            
 *   environment, line 2998:  Called multilib-minimal_src_configure                                                                                                                                                                          
 *   environment, line 3192:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'                                                                                                                                               
 *   environment, line 3442:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'                                                                                                          
 *   environment, line 3147:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'                                                                                                                     
 *   environment, line 3145:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'                                                                                                                                       
 *   environment, line  678:  Called multilib-minimal_abi_src_configure                                                                                                                                                                      
 *   environment, line 3186:  Called multilib_src_configure                                                                                                                                                                                  
 *   environment, line 3762:  Called meson_src_configure                                                                                                                                                                                     
 *   environment, line 3079:  Called die                                                                                                                                                                                                     
 * The specific snippet of code:                                                                                                                                                                                                             
 *       [[ ${rv} -eq 0 ]] || die -n "configure failed";                                                                                                                                                                                     
 *                                                                                                                                                                                                                                           
 * If you need support, post the output of `emerge --info '=media-libs/mesa-24.2.0_rc4::gentoo'`,                                                             
 * the complete build log and the output of `emerge -pqv '=media-libs/mesa-24.2.0_rc4::gentoo'`.                                                              
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-24.2.0_rc4/temp/build.log'.                                  
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-24.2.0_rc4/temp/environment'.                           
 * Working directory: '/var/tmp/portage/media-libs/mesa-24.2.0_rc4/work/mesa-24.2.0-rc4-.arm64'                                        
 * S: '/var/tmp/portage/media-libs/mesa-24.2.0_rc4/work/mesa-24.2.0-rc4'                                                               
                                                                                                                                       
>>> Failed to emerge media-libs/mesa-24.2.0_rc4, Log file:                                                                             


Reproducible: Always
Comment 1 Xavier Miller 2024-08-12 17:50:31 UTC
# emerge --info '=media-libs/mesa-24.2.0_rc4::gentoo'
Portage 3.0.65 (python 3.12.5-final-0, default/linux/arm64/23.0, gcc-14, glibc-2.40, 6.10.4 aarch64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.10.4-aarch64-with-glibc2.40
KiB Mem:     3852180 total,   1745516 free
KiB Swap:   16777396 total,  16761012 free
Timestamp of repository gentoo: Mon, 12 Aug 2024 15:49:09 +0000
Timestamp of repository guru: Sat, 10 Aug 2024 20:48:48 +0000
sh bash 5.2_p32
ld GNU ld (Gentoo 2.43 p1) 2.43.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p32::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.30.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.5::gentoo
dev-lang/rust:             1.79.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.0::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            18.1.8-r4::gentoo
sys-kernel/linux-headers:  6.10::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40::gentoo
Repositories:

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

audio-overlay
    location: /var/portage/repos/audio-overlay
    masters: gentoo
    volatile: True

guru
    location: /var/portage/repos/guru
    masters: gentoo
    volatile: True

inode64-overlay
    location: /var/portage/repos/inode64-overlay
    masters: gentoo
    volatile: True

local
    location: /usr/local/portage
    masters: gentoo
    volatile: True

crossdev
    location: /data/nas/xavier/portage/rk3399/var/db/repos/crossdev
    masters: gentoo
    priority: 10
    volatile: True

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="@FREE as-is freedist"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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.3/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-build=n --buildpkg"
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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live candy 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 sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed"
LEX="flex"
LINGUAS="fr fr-BE fr-FR nl nl-BE nl-NL en en-GB en-US"
MAKEOPTS="-j5 -l7"
PKGDIR="/var/portage/packages"
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"
USE="X a52 aac acpi alsa apng arm64 bluetooth bmp branding bzip2 cairo crypt cryptsetup css cups dbus display-manager dlna dri dssi dts dvb egl elogind exif flac gif glamor gles2 gnome-keyring gpm gtk gtk3 gudev gui iconv jack joystick jpeg keyring ladspa lcms libcanberra libinput libnotify libsamplerate libtirpc lzma mad matroska mng mp3 mpeg mtp natspec ncurses network nls ocr ogg openal opengl openmp openssl opus osc pam pango pcre pdf png pnm policykit ppds printsupport qt5 readline sddm sdl seccomp sna sndfile snmp spell sqlite ssl startup-notification svg system-bootstrap system-llvm test-rust threads tiff truetype udev udisks unicode upnp upower usb uxa vorbis wmf wps x264 x265 xattr xcb xfce xinerama xml xosd xpm xv xvid zlib zstd" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 crc32 v8" 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="libinput" KERNEL="linux" L10N="fr fr-BE fr-FR nl nl-BE nl-NL en en-GB en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_SLOT="18" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-3" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="panfrost" 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, LANG, 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, SHELL, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Xavier Miller 2024-08-12 17:52:26 UTC
Created attachment 899996 [details]
build log
Comment 3 Larry the Git Cow gentoo-dev 2024-08-13 00:22:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bef2754353b7bfc056f5fbc9d78339bfc1723db

commit 1bef2754353b7bfc056f5fbc9d78339bfc1723db
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-08-13 00:20:41 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-08-13 00:22:19 +0000

    media-libs/mesa: Don't request 'kmsro' driver
    
    Has been unnecessary since upstream commit 70813c1c13b ("meson: Remove
    kmsro from gallium-drivers") in 2021. Commit 89863a050be ("meson,ci:
    remove dead `kmsro` option in `gallium-drivers`") finally removed it
    from meson_options.txt.
    
    Closes: https://bugs.gentoo.org/937832
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 media-libs/mesa/mesa-24.2.0_rc4.ebuild | 9 ---------
 media-libs/mesa/mesa-9999.ebuild       | 9 ---------
 2 files changed, 18 deletions(-)