Compiling mesa 23.1.6 fails

Receive error:

mesa-23.1.6/meson.build:504:20: ERROR: Automatic wrap-based subproject downloading is disabled
meson-log.txt
Build started at 2023-08-29T12:52:43.308018
Main binary: /usr/bin/python
Build Options: -Db_lto=true -Db_pie=true -Dpython.bytecompile=1 -Dandroid-libbacktrace=disabled -Db_ndebug=true -Ddri3=enabled -Degl=enabled -Dgallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,i915,iris,crocus,zink,d3d12 -Dgallium-extra-hud=true -Dgallium-nine=true -Dgallium-omx=bellagio -Dgallium-opencl=icd -Dgallium-rusticl=true -Dgallium-va=enabled -Dgallium-vdpau=enabled -Dgallium-xa=enabled -Dgbm=enabled -Dgles1=disabled -Dgles2=enabled -Dglvnd=true -Dglx=dri -Dintel-clc=enabled -Dlibunwind=enabled -Dllvm=enabled -Dlmsensors=enabled -Dmicrosoft-clc=disabled -Dvideo-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc -Dosmesa=true -Dplatforms=x11,wayland -Drust_std=2021 -Dshared-glapi=enabled -Dvalgrind=enabled -Dvulkan-drivers=amd,intel,intel_hasvk,swrast,virtio-experimental -Dvulkan-layers=device-select,intel-nullhw,overlay -Dprefix=/usr -Dlibexecdir=lib -Dsbindir=bin -Dauto_features=enabled -Dbuildtype=plain -Dwrap_mode=nodownload
Python system: Linux
The Meson build system
Version: 1.2.1
Source dir: /home/quest/Documents/linux/mesa/20230829/mesa-master/src/mesa-23.1.6
Build dir: /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build
Build type: native build
Project name: mesa
Project version: 23.1.6-3
-----------
Detecting compiler via: `cc --version` -> 0
stdout:
cc (GCC) 13.2.1 20230801
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------
Running command: cc -E -dM -
-----
-----------
Detecting linker via: `cc -Wl,--version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto` -> 0
stdout:
GNU ld (GNU Binutils) 2.41.0
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
-----------
stderr:
collect2 version 13.2.1 20230801
/usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccPRhZoP.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. --version -O1 --sort-common --as-needed -z relro -z now -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o
-----------
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc sanitycheckc.c -o sanitycheckc.exe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -D_FILE_OFFSET_BITS=64 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command:  /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/sanitycheckc.exe
C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the host machine: cc ld.bfd 2.41.0
-----------
Detecting linker via: `gcc-ar --version` -> 0
stdout:
GNU ar (GNU Binutils) 2.41.0
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
-----------
-----------
Detecting compiler via: `c++ --version` -> 0
stdout:
c++ (GCC) 13.2.1 20230801
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------
Running command: c++ -E -dM -
-----
-----------
Detecting linker via: `c++ -Wl,--version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto` -> 0
stdout:
GNU ld (GNU Binutils) 2.41.0
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
-----------
stderr:
collect2 version 13.2.1 20230801
/usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccAvbAfF.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. --version -O1 --sort-common --as-needed -z relro -z now -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o
-----------
Sanity testing C++ compiler: c++
Is cross compiler: False.
Sanity check compiler command line: c++ sanitycheckcpp.cc -o sanitycheckcpp.exe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -D_FILE_OFFSET_BITS=64 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command:  /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/sanitycheckcpp.exe
C++ compiler for the host machine: c++ (gcc 13.2.1 "c++ (GCC) 13.2.1 20230801")
C++ linker for the host machine: c++ ld.bfd 2.41.0
-----------
Detecting compiler via: `cc --version` -> 0
stdout:
cc (GCC) 13.2.1 20230801
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------
Running command: cc -E -dM -
-----
-----------
Detecting linker via: `cc -Wl,--version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto` -> 0
stdout:
GNU ld (GNU Binutils) 2.41.0
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
-----------
stderr:
collect2 version 13.2.1 20230801
/usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccIkdHrf.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. --version -O1 --sort-common --as-needed -z relro -z now -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o
-----------
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc sanitycheckc.c -o sanitycheckc.exe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -D_FILE_OFFSET_BITS=64 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command:  /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/sanitycheckc.exe
C compiler for the build machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the build machine: cc ld.bfd 2.41.0
-----------
Detecting linker via: `gcc-ar --version` -> 0
stdout:
GNU ar (GNU Binutils) 2.41.0
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
-----------
-----------
Detecting compiler via: `c++ --version` -> 0
stdout:
c++ (GCC) 13.2.1 20230801
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------
Running command: c++ -E -dM -
-----
-----------
Detecting linker via: `c++ -Wl,--version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto` -> 0
stdout:
GNU ld (GNU Binutils) 2.41.0
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
-----------
stderr:
collect2 version 13.2.1 20230801
/usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccpv2qGg.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../.. --version -O1 --sort-common --as-needed -z relro -z now -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crtn.o
-----------
Sanity testing C++ compiler: c++
Is cross compiler: False.
Sanity check compiler command line: c++ sanitycheckcpp.cc -o sanitycheckcpp.exe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -D_FILE_OFFSET_BITS=64 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command:  /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/sanitycheckcpp.exe
C++ compiler for the build machine: c++ (gcc 13.2.1 "c++ (GCC) 13.2.1 20230801")
C++ linker for the build machine: c++ ld.bfd 2.41.0
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Running compile:
Working directory:  /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/tmpjmzwb4nl
Code:
 int __thread x; int main() { return x; }
-----------
Command line: `cc /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/tmpjmzwb4nl/testfile.c -o /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/tmpjmzwb4nl/output.exe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -D_FILE_OFFSET_BITS=64 -O0 -std=c11 -mtls-dialect=gnu2 -fpic -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now` -> 0
Program stdout:


Program stderr:


Checking if "-mtls-dialect=gnu2" runs: YES
Running compile:
Working directory:  /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/tmp38rwgjth
Code:
 int __thread x; int y; int main() { __asm__(
                "leaq x@TLSDESC(%rip), %rax\n"
                "movq y@GOTPCREL(%rip), %rdx\n"
                "call *x@TLSCALL(%rax)\n"); }
-----------
Command line: `cc /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/tmp38rwgjth/testfile.c -o /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/tmp38rwgjth/output.exe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -D_FILE_OFFSET_BITS=64 -O0 -std=c11 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now` -> 0
Checking if "split TLSDESC" : links: YES 
Pkg-config binary for 1 is not cached.
Pkg-config binary missing from cross or native file, or env var undefined.
Trying a default Pkg-config fallback at pkg-config
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
Pkg-config binary for machine 1 not found. Giving up.
CMake binary for 1 is not cached
CMake binary missing from cross or native file, or env var undefined.
Trying a default CMake fallback at cmake
Found CMake: /usr/bin/cmake (3.27.4)
Extracting basic cmake information
CMake Toolchain: Calling CMake once to generate the compiler state
Calling CMake (['/usr/bin/cmake']) in /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/__CMake_compiler_info__ with:
  - "--trace-expand"
  - "--trace-format=json-v1"
  - "--no-warn-unused-cli"
  - "--trace-redirect=cmake_trace.txt"
  - "-G"
  - "Ninja"
  - "-DCMAKE_TOOLCHAIN_FILE=/home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/__CMake_compiler_info__/CMakeMesonTempToolchainFile.cmake"
  - "."
CMake trace warning: add_executable() non imported executables are not supported
CMake TRACE: /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-fwlXfd/CMakeLists.txt:20 add_executable(['cmTC_ba6b0', '/usr/share/cmake/Modules/CMakeCCompilerABI.c'])
CMake trace warning: target_link_options() TARGET cmTC_ba6b0 not found
CMake TRACE: /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-fwlXfd/CMakeLists.txt:23 target_link_libraries(['cmTC_ba6b0', ''])
CMake trace warning: add_executable() non imported executables are not supported
CMake TRACE: /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-wFdUYE/CMakeLists.txt:20 add_executable(['cmTC_c4c5a', '/usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp'])
CMake trace warning: target_link_options() TARGET cmTC_c4c5a not found
CMake TRACE: /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-wFdUYE/CMakeLists.txt:23 target_link_libraries(['cmTC_c4c5a', ''])
Try CMake generator: auto
Calling CMake (['/usr/bin/cmake']) in /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/cmake_directx-headers with:
  - "--trace-expand"
  - "--trace-format=json-v1"
  - "--no-warn-unused-cli"
  - "--trace-redirect=cmake_trace.txt"
  - "-DCMAKE_TOOLCHAIN_FILE=/home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/cmake_directx-headers/CMakeMesonToolchainFile.cmake"
  - "."
CMake failed to gather system information for generator  with error code 1
OUT:
Put cmake in trace mode, but with variables expanded.
Put cmake in trace mode and sets the trace output format.
Not searching for unused variables given on the command line.
Put cmake in trace mode and redirect trace output to a file instead of stderr.
Trace will be written to cmake_trace.txt
-- Configuring incomplete, errors occurred!



ERR:
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.



Try CMake generator: Ninja
Calling CMake (['/usr/bin/cmake']) in /home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/cmake_directx-headers with:
  - "-G"
  - "Ninja"
  - "--trace-expand"
  - "--trace-format=json-v1"
  - "--no-warn-unused-cli"
  - "--trace-redirect=cmake_trace.txt"
  - "-DCMAKE_TOOLCHAIN_FILE=/home/quest/Documents/linux/mesa/20230829/mesa-master/src/build/meson-private/cmake_directx-headers/CMakeMesonToolchainFile.cmake"
  - "."
  -- Module search paths:    ['/', '/opt', '/usr', '/usr/local']
  -- CMake root:             /usr/share/cmake
  -- CMake architectures:    ['libpyldb-util.cpython-311-x86-64-linux-gnu.so', 'libpyldb-util.cpython-311-x86-64-linux-gnu.so.2', 'libpyldb-util.cpython-311-x86-64-linux-gnu.so.2.7.2', 'libpytalloc-util.cpython-311-x86-64-linux-gnu.so', 'libpytalloc-util.cpython-311-x86-64-linux-gnu.so.2', 'libpytalloc-util.cpython-311-x86-64-linux-gnu.so.2.4.1', 'libsamba-policy.cpython-311-x86-64-linux-gnu.so', 'libsamba-policy.cpython-311-x86-64-linux-gnu.so.0', 'libsamba-policy.cpython-311-x86-64-linux-gnu.so.0.0.1']
  -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', 'lib/libpyldb-util.cpython-311-x86-64-linux-gnu.so', 'lib/libpyldb-util.cpython-311-x86-64-linux-gnu.so.2', 'lib/libpyldb-util.cpython-311-x86-64-linux-gnu.so.2.7.2', 'lib/libpytalloc-util.cpython-311-x86-64-linux-gnu.so', 'lib/libpytalloc-util.cpython-311-x86-64-linux-gnu.so.2', 'lib/libpytalloc-util.cpython-311-x86-64-linux-gnu.so.2.4.1', 'lib/libsamba-policy.cpython-311-x86-64-linux-gnu.so', 'lib/libsamba-policy.cpython-311-x86-64-linux-gnu.so.0', 'lib/libsamba-policy.cpython-311-x86-64-linux-gnu.so.0.0.1']
Preliminary CMake check failed. Aborting.
Run-time dependency directx-headers found: NO (tried pkgconfig and cmake)
Pkg-config binary for 1 is cached as not found.
Pkg-config binary for machine 1 not found. Giving up.
CMake binary for 1 is cached.
Preliminary CMake check failed. Aborting.
Run-time dependency directx-headers found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency DirectX-Headers

mesa-23.1.6/meson.build:504:20: ERROR: Automatic wrap-based subproject downloading is disabled

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

Can’t reproduce. What PKGBUILD are you using and on what Manjaro branch?

Good grief sir. The preview panel is there for a reason. Note that I fixed your formatting, it was not readable.

Using PKGBUILD from Packages / Extra / mesa · GitLab

Manjaro XFCE

$ uname -a
Linux quest-sa510 6.1.49-1-MANJARO #1 SMP PREEMPT_DYNAMIC Sun Aug 27 23:08:04 UTC 2023 x86_64 GNU/Linux

Also tried PKGBUILD from GitHub - mesa-freeworld/mesa-nonfree

Downloaded the precompiled mesa 23.1.6 nonfree files and that appears to work…

$ vainfo
Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.19 (libva 2.19.0)
vainfo: Driver version: Mesa Gallium driver 23.1.6 for AMD ARUBA (DRM 2.50.0 / 6.1.49-1-MANJARO, LLVM 15.0.7)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileNone                   :	VAEntrypointVideoProc
$ 

Still would be nice to know why compiling mesa 23.1.6 from source fails

Me too. :wink:

That’s exactly the same except for the proprietary codecs.

You’re missing the required build tools. See Arch User Repository - ArchWiki

Installing base-devel pkg allowed mesa 23.1.6 compilation to proceed.
# pacman -S base-devel
resolving dependencies...
error: could not open file /var/lib/pacman/local/opencl-clover-mesa-1:23.1.6-1/desc: No such file or directory
looking for conflicting packages...

Packages (5) debugedit-5.0-5  make-4.4.1-2  patch-2.7.6-10  pkgconf-1.8.1-1
             base-devel-1-2

Total Download Size:   0.72 MiB
Total Installed Size:  2.11 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 make-4.4.1-2-x86_64   523.8 KiB  1247 KiB/s 00:00 [######################] 100%
 patch-2.7.6-10-x...    93.0 KiB  1550 KiB/s 00:00 [######################] 100%
 pkgconf-1.8.1-1-...    57.5 KiB  1151 KiB/s 00:00 [######################] 100%
 debugedit-5.0-5-...    43.5 KiB  1176 KiB/s 00:00 [######################] 100%
 base-devel-1-2-any     23.1 KiB   536 KiB/s 00:00 [######################] 100%
 Total (5/5)           740.9 KiB  1019 KiB/s 00:01 [######################] 100%
(5/5) checking keys in keyring                     [######################] 100%
(5/5) checking package integrity                   [######################] 100%
(5/5) loading package files                        [######################] 100%
(5/5) checking for file conflicts                  [######################] 100%
(5/5) checking available disk space                [######################] 100%
:: Processing package changes...
(1/5) installing debugedit                         [######################] 100%
(2/5) installing make                              [######################] 100%
(3/5) installing patch                             [######################] 100%
Optional dependencies for patch
    ed: for patch -e functionality
(4/5) installing pkgconf                           [######################] 100%
(5/5) installing base-devel                        [######################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the info directory file...
# 

Successfully compiled mesa 23.1.6-3.

compile log
$ makepkg -s
==> Making package: mesa 1:23.1.6-3 (Tue 29 Aug 2023 03:28:26 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found mesa-23.1.6.tar.xz
  -> Found mesa-23.1.6.tar.xz.sig
  -> Found LICENSE
==> Validating source files with sha256sums...
    mesa-23.1.6.tar.xz ... Passed
    mesa-23.1.6.tar.xz.sig ... Skipped
    LICENSE ... Passed
==> Validating source files with b2sums...
    mesa-23.1.6.tar.xz ... Passed
    mesa-23.1.6.tar.xz.sig ... Skipped
    LICENSE ... Passed
... ... ...
master/pkg/mesa/usr/lib/libEGL_mesa.so'
renamed 'fakeinstall/usr/lib/libEGL_mesa.so.0' -> '/home/quest/Documents/linux/mesa/20230829/mesa-master/pkg/mesa/usr/lib/libEGL_mesa.so.0'
renamed 'fakeinstall/usr/lib/libEGL_mesa.so.0.0.0' -> '/home/quest/Documents/linux/mesa/20230829/mesa-master/pkg/mesa/usr/lib/libEGL_mesa.so.0.0.0'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "mesa"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
error: could not open file /var/lib/pacman/local/opencl-clover-mesa-1:23.1.6-1/desc: No such file or directory
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: mesa 1:23.1.6-3 (Tue 29 Aug 2023 05:03:25 PM)
$ 

But now getting error when trying to install…

# pacman -U *
loading packages...
resolving dependencies...
looking for conflicting packages...
error: could not open file /var/lib/pacman/local/opencl-clover-mesa-1:23.1.6-1/desc: No such file or directory
warning: could not fully load metadata for package opencl-clover-mesa-1:23.1.6-1
error: failed to prepare transaction (invalid or corrupted package)
# 

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.