Mesa-git and Meson update

i try to instal with yay -S Mesa-git, but an erri with lib-drm, and requiert a upper version.

Maybe include an example of the actual output?

First preinstal 5 packages ( rust etc ,
)

Prepcompile all and ok

Then git and load objects, ok and then during the configuration parameter, i get this ( like autoconfig etc..)


.

Library m found: YES
Message: libdrm 2.4.133 needed because amdgpu has the highest requirement
Dependency libdrm for host machine found: NO. Found 2.4.131 but need: ‘>=2.4.133’
Found CMake: /usr/bin/cmake (4.3.2)
Run-time dependency libdrm found: NO (tried cmake)

mesa/meson.build:1836:15: ERROR: Dependency lookup for libdrm with method ‘pkg-config’ failed: Invalid version, need ‘libdrm’ [‘>=2.4.133’] found ‘2.4.131’.

A full log can be found at /home/mike/.cache/yay/mesa-git/src/_build/meson-logs/meson-log.txt
==> ERREUR : Une erreur s’est produite dans build().
Abandon

→ erreur lors de la compilation de : mesa-git-exit status 4
vérification des dépendances


Paquet (5) Ancienne version Changement net

cbindgen 0.29.2-2.1 -3,91 MiB
directx-headers 1.619.1-1.1 -3,81 MiB
python-ply 3.11-17 -0,58 MiB
rust 1:1.95.0-1.1 -266,40 MiB
rust-bindgen 0.72.1-2.1 -6,79 MiB

Not that I’m necessarilly saying you should use it .. but there is mesa-git in the repos so if the install is defaulting to the AUR then this might indicate there is something wrong with your repos/pacman.conf.

cat /etc/pacman.conf

As to using the AUR .. I am not sure thats all the info but do you have the prereqs installed?

sudo pacman -Syu git base-devel

The AUR assumes you have git and base-devel.

Please read again, because this answer git base-develp :slight_smile:

when is say that i need a dependecy for meson lib-drm,
 that is i need.

All commandyay -S Mesa-git
:: 2 paquets fournissant Mesa-git sont disponibles :
:: DépÎt AUR

  1. mesa-git 2) mesa-dlss-reflex-git

Saisissez un nombre (valeur par défaut : 1) :
==> 1
AUR Explicit (1): mesa-git-26.1.0_devel.220118.558053ef20a.d41d8cd-1
Sync Make Dependency (5): rust-1:1.95.0-1.1, directx-headers-1.619.1-1.1, cbindgen-0.29.2-2.1, python-ply-3.11-17, rust-bindgen-0.72.1-2.1
:: PKGBUILD à jour, téléchargement ignoré : mesa-git
1 mesa-git (Les fichiers de compilation existent)
==> Paquets Ă  cleanBuild ?
==> [N]Aucun [A]Tous [Ab]Annuler [I]nstallés [No]nInstallés ou (1 2 3, 1-3, ^4)
==> A
:: Suppression (1/1) : /home/mike/.cache/yay/mesa-git
HEAD est maintenant Ă  1bf0576 llvm 22.1
avertissement : impossible d’ouvrir le rĂ©pertoire ‘pkg/’: Permission non accordĂ©e
Suppression de mesa/
Suppression de pkg/
Suppression de proc-macro2-1.0.70.tar.gz
Suppression de quote-1.0.33.tar.gz
Ignore le dépÎt src/mesa
Suppression de src/LICENSE
Suppression de src/proc-macro2-1.0.70.tar.gz
Suppression de src/proc-macro2-1.0.70
Suppression de src/unicode-ident-1.0.12.tar.gz
Suppression de src/unicode-ident-1.0.12
Suppression de src/quote-1.0.33.tar.gz
Suppression de src/quote-1.0.33
Suppression de src/syn-2.0.39.tar.gz
Suppression de src/syn-2.0.39
Suppression de src/_build
Suppression de syn-2.0.39.tar.gz
Suppression de unicode-ident-1.0.12.tar.gz
1 mesa-git (Les fichiers de compilation existent)
==> Diffs Ă  afficher ?
==> [N]Aucun [A]Tous [Ab]Annuler [I]nstallés [No]nInstallés ou (1 2 3, 1-3, ^4)
==> N
==> Création du paquet mesa-git 26.1.0_devel.220118.558053ef20a.d41d8cd-1 (mar. 05 mai 2026 23:01:01)
==> Récupération des sources

→ Clonage du dĂ©pĂŽt mesa git

Clonage dans le dĂ©pĂŽt nu ‘/home/mike/.cache/yay/mesa-git/mesa’
remote: Enumerating objects: 2819328, done.
remote: Counting objects: 100% (132461/132461), done.
remote: Compressing objects: 100% (32636/32636), done.
remote: Total 2819328 (delta 121643), reused 104046 (delta 99758), pack-reused 2686867 (from 1)
RĂ©ception d’objets: 100% (2819328/2819328), 798.84 MiO | 45.82 MiO/s, fait.
Résolution des deltas: 100% (2446540/2446540), fait.
→ LICENSE trouvĂ©
→ TĂ©lĂ©chargement de proc-macro2-1.0.70.tar.gz

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 0
100 44343 100 44343 0 0 247.1k 0 0
→ TĂ©lĂ©chargement de unicode-ident-1.0.12.tar.gz

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 0
100 42168 100 42168 0 0 98.73k 0 0
→ TĂ©lĂ©chargement de quote-1.0.33.tar.gz

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 0
100 28090 100 28090 0 0 68260 0 0
→ TĂ©lĂ©chargement de syn-2.0.39.tar.gz

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 0
100 238.4k 100 238.4k 0 0 559.3k 0 0
==> ATTENTION : Ignore la vérification des signatures PGP des fichiers sources.
==> Validation des fichiers source avec sha256sums

mesa 
 Ignoré
LICENSE 
 Réussite
proc-macro2-1.0.70.tar.gz 
 Réussite
unicode-ident-1.0.12.tar.gz 
 Réussite
quote-1.0.33.tar.gz 
 Réussite
syn-2.0.39.tar.gz 
 Réussite
==> Validation des fichiers source avec b2sums

mesa 
 Ignoré
LICENSE 
 Réussite
proc-macro2-1.0.70.tar.gz 
 Réussite
unicode-ident-1.0.12.tar.gz 
 Réussite
quote-1.0.33.tar.gz 
 Réussite
syn-2.0.39.tar.gz 
 Réussite
:: Supprimer les dĂ©pendances de crĂ©ation aprĂšs l’installation ? [o/N] N
:: (1/1) Analyse du SRCINFO : mesa-git
résolution des dépendances

recherche des conflits entre paquets


Paquet (5) Nouvelle version Changement net Taille du téléchargement

cachyos-extra-v3/cbindgen 0.29.2-2.1 3,91 MiB 1,37 MiB
cachyos-extra-v3/directx-headers 1.619.1-1.1 3,81 MiB 0,27 MiB
extra/python-ply 3.11-17 0,58 MiB 0,10 MiB
cachyos-extra-v3/rust 1:1.95.0-1.1 266,40 MiB 73,02 MiB
cachyos-extra-v3/rust-bindgen 0.72.1-2.1 6,79 MiB 1,97 MiB

Taille totale du téléchargement : 76,73 MiB
Taille totale installée : 281,49 MiB

:: ProcĂ©der Ă  l’installation ? [O/n] O
:: Récupération des paquets

python-ply-3.11-17-any 105,8 KiB 1102 KiB/s 00:00 [----------------------------------------------------------------------------] 100%
cbindgen-0.29.2-2.1-x86_64_v3 1402,8 KiB 5,35 MiB/s 00:00 [----------------------------------------------------------------------------] 100%
rust-bindgen-0.72.1-2.1-x86_64_v3 2014,3 KiB 6,62 MiB/s 00:00 [----------------------------------------------------------------------------] 100%
directx-headers-1.619.1-1.1-x86_64_v3 278,3 KiB 809 KiB/s 00:00 [----------------------------------------------------------------------------] 100%
rust-1:1.95.0-1.1-x86_64_v3 73,0 MiB 91,6 MiB/s 00:01 [----------------------------------------------------------------------------] 100%
Total (5/5) 76,7 MiB 93,5 MiB/s 00:01 [----------------------------------------------------------------------------] 100%
(5/5) vérification des clés dans le trousseau [----------------------------------------------------------------------------] 100%
(5/5) vĂ©rification de l’intĂ©gritĂ© des paquets [----------------------------------------------------------------------------] 100%
(5/5) chargement des fichiers des paquets [----------------------------------------------------------------------------] 100%
(5/5) analyse des conflits entre fichiers [----------------------------------------------------------------------------] 100%
:: Traitement des changements du paquet

(1/5) installation de python-ply [----------------------------------------------------------------------------] 100%
(2/5) installation de rust-bindgen [----------------------------------------------------------------------------] 100%
(3/5) installation de rust [----------------------------------------------------------------------------] 100%
Dépendances optionnelles pour rust
gdb: rust-gdb script
lldb: rust-lldb script
(4/5) installation de directx-headers [----------------------------------------------------------------------------] 100%
(5/5) installation de cbindgen [----------------------------------------------------------------------------] 100%
:: ExĂ©cution des crochets (« hooks ») de post-transaction

(1/1) Arming ConditionNeedsUpdate

==> Création du paquet mesa-git 26.1.0_devel.220118.558053ef20a.d41d8cd-1 (mar. 05 mai 2026 23:02:14)
==> VĂ©rification des dĂ©pendances pour l’exĂ©cution

==> Vérification des dépendances pour la compilation

==> Récupération des sources

→ Mise Ă  jour du dĂ©pĂŽt mesa git

remote: Enumerating objects: 30, done.
remote: Counting objects: 100% (26/26), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 16 (delta 12), reused 2 (delta 0), pack-reused 0 (from 0)
Dépaquetage des objets: 100% (16/16), 2.97 KiO | 1.49 MiO/s, fait.
Depuis Making sure you're not a bot!

  • 8fc0a880bc3
fc395941197 refs/merge-requests/41359/merge → refs/merge-requests/41359/merge (mise Ă  jour forcĂ©e)
  • 03b69065a6f
f485aa942fd refs/merge-requests/41362/merge → refs/merge-requests/41362/merge (mise Ă  jour forcĂ©e)
    → LICENSE trouvĂ©
    → proc-macro2-1.0.70.tar.gz trouvĂ©
    → unicode-ident-1.0.12.tar.gz trouvĂ©
    → quote-1.0.33.tar.gz trouvĂ©
    → syn-2.0.39.tar.gz trouvĂ©
    ==> Validation des fichiers source avec sha256sums

    mesa 
 Ignoré
    LICENSE 
 Réussite
    proc-macro2-1.0.70.tar.gz 
 Réussite
    unicode-ident-1.0.12.tar.gz 
 Réussite
    quote-1.0.33.tar.gz 
 Réussite
    syn-2.0.39.tar.gz 
 Réussite
    ==> Validation des fichiers source avec b2sums

    mesa 
 Ignoré
    LICENSE 
 Réussite
    proc-macro2-1.0.70.tar.gz 
 Réussite
    unicode-ident-1.0.12.tar.gz 
 Réussite
    quote-1.0.33.tar.gz 
 Réussite
    syn-2.0.39.tar.gz 
 Réussite
    ==> Suppression du répertoire $srcdir/ existant

    ==> Extraction des sources

    → CrĂ©ation d’une copie de travail du dĂ©pot mesa git

    Clonage dans ‘mesa’

    fait.
    Mise Ă  jour des fichiers: 100% (12603/12603), fait.
    Basculement sur la nouvelle branche ‘makepkg’
    → Extraction de proc-macro2-1.0.70.tar.gz avec bsdtar
    → Extraction de unicode-ident-1.0.12.tar.gz avec bsdtar
    → Extraction de quote-1.0.33.tar.gz avec bsdtar
    → Extraction de syn-2.0.39.tar.gz avec bsdtar
    ==> Lancement de prepare()

    ==> Lancement de pkgver()

    ==> Version mise Ă  jour : mesa-git 26.2.0_devel.222057.099933f0041.d41d8cd-1
    ==> Les sources sont prĂȘtes.
    ==> Création du paquet mesa-git 26.2.0_devel.222057.099933f0041.d41d8cd-1 (mar. 05 mai 2026 23:02:22)
    ==> VĂ©rification des dĂ©pendances pour l’exĂ©cution

    ==> Vérification des dépendances pour la compilation

    ==> ATTENTION : Utilisation de l’arbre $srcdir/ existant
    ==> Lancement de pkgver()

    ==> Lancement de build()

    The Meson build system
    Version: 1.11.1
    Source dir: /home/mike/.cache/yay/mesa-git/src/mesa
    Build dir: /home/mike/.cache/yay/mesa-git/src/_build
    Build type: native build
    DEPRECATION: Option “legacy-x11” is deprecated
    Project name: mesa
    Project version: 26.2.0-devel
    C compiler for the host machine: cc (gcc 16.1.1 “cc (GCC) 16.1.1 20260430”)
    C linker for the host machine: cc ld.bfd 2.46.0
    C++ compiler for the host machine: c++ (gcc 16.1.1 “c++ (GCC) 16.1.1 20260430”)
    C++ linker for the host machine: c++ ld.bfd 2.46.0
    Host machine cpu family: x86_64
    Host machine cpu: x86_64
    Checking for size of “void*” : 8
    Checking if “-mtls-dialect=gnu2” runs: YES
    Checking if “split TLSDESC” links: YES
    Found pkg-config: YES (/usr/bin/pkg-config) 2.5.1
    Run-time dependency libglvnd found: YES 1.7.0
    Program glslangValidator found: YES (/usr/bin/glslangValidator)
    Run-time dependency libva found: YES 1.23.0
    Header “va/va.h” has symbol “VASurfaceAttribDRMFormatModifiers” with dependency libva: YES
    Fetching value of define “VA_VERSION” with dependency libva: 1.23.0
    mesa/meson.build:850: WARNING: add_languages is missing native:, assuming languages are wanted for both host and build.
    Rust compiler for the host machine: rustc -C linker=cc (rustc 1.95.0 “1.95.0”)
    Rust linker for the host machine: ld.bfd 2.46.0
    Program bindgen found: YES (/usr/bin/bindgen)
    Run-time dependency libclc found: YES 0.2.0
    Program python3.16 found: NO
    Program python3.15 found: NO
    Program python3.14 found: YES 3.14.4 3.14.4 (/usr/bin/python3.14)
    Fetching value of define “ETIME” : 62
    Compiler for C supports arguments -gsplit-dwarf: YES
    Compiler for C supports link arguments -Wl,–gdb-index: NO
    Checking for function “bswap32” : YES
    Checking for function “bswap64” : YES
    Checking for function “clz” : YES
    Checking for function “clzll” : YES
    Checking for function “ctz” : YES
    Checking for function “expect” : YES
    Checking for function “ffs” : YES
    Checking for function “ffsll” : YES
    Checking for function “popcount” : YES
    Checking for function “popcountll” : YES
    Checking for function “unreachable” : YES
    Checking for function “types_compatible_p” : YES
    Checking for function “__builtin_add_overflow” : YES
    Checking for function “__builtin_add_overflow_p” : YES
    Checking for function “__builtin_sub_overflow_p” : YES
    Compiler for C supports function attribute const: YES
    Compiler for C supports function attribute flatten: YES
    Compiler for C supports function attribute malloc: YES
    Compiler for C supports function attribute pure: YES
    Compiler for C supports function attribute unused: YES
    Compiler for C supports function attribute warn_unused_result: YES
    Compiler for C supports function attribute weak: YES
    Compiler for C supports function attribute format: YES
    Compiler for C supports function attribute packed: YES
    Compiler for C supports function attribute returns_nonnull: YES
    Compiler for C supports function attribute alias: YES
    Compiler for C supports function attribute noreturn: YES
    Compiler for C supports function attribute optimize: YES
    Compiler for C supports function attribute cold: YES
    Compiler for C supports function attribute visibility:hidden: YES
    Checking if “__uint128_t” compiles: YES
    Checking for function “reallocarray” : YES
    Checking for function “fmemopen” : YES
    Checking if “gc-sections” links: YES
    Compiler for C supports arguments -Werror=implicit-function-declaration: YES
    Compiler for C supports arguments -Werror=missing-prototypes: YES
    Compiler for C supports arguments -Werror=return-type: YES
    Compiler for C supports arguments -Werror=empty-body: YES
    Compiler for C supports arguments -Werror=incompatible-pointer-types: YES
    Compiler for C supports arguments -Werror=int-conversion: YES
    Compiler for C supports arguments -Wimplicit-fallthrough: YES
    Compiler for C supports arguments -Wmisleading-indentation: YES
    Compiler for C supports arguments -Wno-error=maybe-uninitialized: YES
    Compiler for C supports arguments -Wno-missing-field-initializers: YES
    Compiler for C supports arguments -Wno-format-truncation: YES
    Compiler for C supports arguments -Wno-nonnull-compare: YES
    Compiler for C supports arguments -fno-math-errno: YES
    Compiler for C supports arguments -fno-trapping-math: YES
    Compiler for C supports arguments -Qunused-arguments: NO
    Compiler for C supports arguments -fno-common: YES
    Compiler for C supports arguments -Wno-unknown-pragmas: YES
    Compiler for C supports arguments -Wno-microsoft-enum-value: NO
    Compiler for C supports arguments -Wno-unused-function: YES
    Compiler for C supports arguments -Werror=format: YES
    Compiler for C supports arguments -Wformat-security: YES
    Compiler for C supports arguments -Werror=thread-safety: NO
    Compiler for C supports arguments -ffunction-sections: YES
    Compiler for C supports arguments -fdata-sections: YES
    Compiler for C supports arguments -Wno-unused-variable: YES
    Compiler for C supports arguments -Wno-unused-but-set-variable: YES
    Compiler for C supports arguments /wd4189: NO
    Compiler for C++ supports arguments -Werror=return-type: YES
    Compiler for C++ supports arguments -Werror=empty-body: YES
    Compiler for C++ supports arguments -Wmisleading-indentation: YES
    Compiler for C++ supports arguments -Wno-error=maybe-uninitialized: YES
    Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES
    Compiler for C++ supports arguments -Wno-missing-field-initializers: YES
    Compiler for C++ supports arguments -Wno-format-truncation: YES
    Compiler for C++ supports arguments -fno-math-errno: YES
    Compiler for C++ supports arguments -fno-trapping-math: YES
    Compiler for C++ supports arguments -Qunused-arguments: NO
    Compiler for C++ supports arguments -flifetime-dse=1: YES
    Compiler for C++ supports arguments -Wno-unknown-pragmas: YES
    Compiler for C++ supports arguments -Wno-microsoft-enum-value: NO
    Compiler for C++ supports arguments -Werror=format: YES
    Compiler for C++ supports arguments -Wformat-security: YES
    Compiler for C++ supports arguments -ffunction-sections: YES
    Compiler for C++ supports arguments -fdata-sections: YES
    Compiler for C++ supports arguments -Wno-unused-variable: YES
    Compiler for C++ supports arguments -Wno-unused-but-set-variable: YES
    Compiler for C++ supports arguments /wd4189: NO
    Compiler for C supports arguments -Wno-override-init: YES
    Compiler for C supports arguments -Wno-initializer-overrides: NO
    Compiler for C supports arguments -Werror=pointer-arith: YES
    Compiler for C supports arguments -Werror=vla: YES
    Compiler for C supports arguments -Werror=gnu-empty-initializer: NO
    Compiler for C supports arguments -Wgnu-pointer-arith: NO
    Compiler for C++ supports arguments -Werror=pointer-arith: YES
    Compiler for C++ supports arguments -Werror=vla: YES
    Compiler for C++ supports arguments -Werror=gnu-empty-initializer: NO
    Compiler for C++ supports arguments -Wgnu-pointer-arith: NO
    Checking for function “__builtin_ia32_clflushopt” : YES
    Checking if “GCC atomic builtins” compiles: YES
    Checking if “GCC atomic builtins required -latomic” links: YES
    Checking if “GCC 64bit atomics” with dependency links: YES
    Library ws2_32 found: NO
    Header “sys/sysmacros.h” has symbol “major” : YES
    Header “sys/sysmacros.h” has symbol “minor” : YES
    Header “sys/sysmacros.h” has symbol “makedev” : YES
    Header “sys/mkdev.h” has symbol “major” : NO
    Check usable header “sched.h” : YES
    Checking for function “sched_getaffinity” : YES
    Check usable header “xlocale.h” : NO
    Check usable header “linux/futex.h” : YES
    Check usable header “endian.h” : YES
    Check usable header “dlfcn.h” : YES
    Check usable header “sys/shm.h” : YES
    Check usable header “cet.h” : YES
    Check usable header “pthread_np.h” : NO
    Check usable header “poll.h” : YES
    Check usable header “sys/inotify.h” : YES
    Check usable header “linux/udmabuf.h” : YES
    Checking for function “strtof” : YES
    Checking for function “mkostemp” : YES
    Checking for function “memfd_create” : YES
    Checking for function “random_r” : YES
    Checking for function “flock” : YES
    Checking for function “strtok_r” : YES
    Checking for function “getrandom” : YES
    Checking for function “qsort_s” : NO
    Checking for function “posix_fallocate” : YES
    Checking for function “secure_getenv” : YES
    Checking for function “sysconf” : YES
    Checking if “GNU qsort_r” links: YES
    Header “time.h” has symbol “struct timespec” : YES
    Checking for function “thrd_create” : YES
    Header “errno.h” has symbol “program_invocation_name” : YES
    Header “math.h” has symbol “issignaling” : YES
    Checking for function “posix_memalign” : YES
    Checking whether type “struct dirent” has member “d_type” : YES
    Checking if “strtod has locale support” links: YES
    Checking if “Bsymbolic” links: YES
    Checking if “version-script” links: YES
    Checking if “dynamic-list” links: YES
    Compiler for C supports link arguments -Wl,–build-id=sha1: YES
    Checking for function “dlopen” : YES
    Checking for function “dladdr” with dependency : YES
    Checking for function “dl_iterate_phdr” : YES
    Checking for function “clock_gettime” : YES
    Run-time dependency zlib found: YES 1.3.1.zlib-ng
    Run-time dependency libdisplay-info found: YES 0.3.0
    Run-time dependency libzstd found: YES 1.5.7
    Run-time dependency threads found: YES
    Checking for function “pthread_setaffinity_np” with dependency threads: YES
    Run-time dependency expat found: YES 2.8.0
    Library m found: YES
    Message: libdrm 2.4.133 needed because amdgpu has the highest requirement
    Dependency libdrm for host machine found: NO. Found 2.4.131 but need: ‘>=2.4.133’
    Found CMake: /usr/bin/cmake (4.3.2)
    Run-time dependency libdrm found: NO (tried cmake)

mesa/meson.build:1836:15: ERROR: Dependency lookup for libdrm with method ‘pkg-config’ failed: Invalid version, need ‘libdrm’ [‘>=2.4.133’] found ‘2.4.131’.

A full log can be found at myhome/.cache/yay/mesa-git/src/_build/meson-logs/meson-log.txt
==> ERREUR : Une erreur s’est produite dans build().
Abandon

→ erreur lors de la compilation de : mesa-git-exit status 4
→ Échec de l’installation des paquets suivants. Une intervention manuelle est requise :
mesa-git - exit status 4

Salut,

Arch and or Cachy are a bit behind with some packages, in this case lib-drm Version 2.4.133

u need to install it yourself like this:

git clone Making sure you're not a bot!

meson setup build . \
-Dprefix=/usr
-Dbuildtype=release
-Dstrip=true
-Db_lto=true
-Db_lto_threads=3
-Dgallium-drivers=radeonsi,zink,llvmpipe
-Dvulkan-drivers=amd
-Dplatforms=x11,wayland
-Dllvm=enabled
-Dshared-llvm=enabled
-Dglx=dri
-Dvideo-codecs=all

meson compile -C build -j12

sudo meson install -C build

Have Fun