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 ![]()
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
- 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