Hi, I have the problem that it supposedly cannot find the directx headers. But I have installed them. What could be the reason?
/bin/bash -c "yay -S --aur mesa-git;echo 'PAKtC'"
AUR Explicit (1): mesa-git-24.0.0_devel.179925.0e481bf4632.d41d8cd-1
:: (1/1) Downloaded PKGBUILD: mesa-git
1 mesa-git (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
1 mesa-git (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
==> Making package: mesa-git 24.0.0_devel.179925.0e481bf4632.d41d8cd-1 (Mi 08 Nov 2023 11:16:35 CET)
==> Retrieving sources...
-> Cloning mesa git repo...
Cloning into bare repository '/home/deadfire/.cache/yay/mesa-git/mesa'...
remote: Enumerating objects: 2390847, done.
remote: Counting objects: 100% (114833/114833), done.
remote: Compressing objects: 100% (24614/24614), done.
remote: Total 2390847 (delta 108825), reused 91275 (delta 90216), pack-reused 2276014
Receiving objects: 100% (2390847/2390847), 547.76 MiB | 23.84 MiB/s, done.
Resolving deltas: 100% (2072884/2072884), done.
-> Found LICENSE
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with md5sums...
mesa ... Skipped
LICENSE ... Passed
==> Validating source files with sha512sums...
mesa ... Skipped
LICENSE ... Passed
:: (1/1) Parsing SRCINFO: mesa-git
==> Making package: mesa-git 24.0.0_devel.179925.0e481bf4632.d41d8cd-1 (Mi 08 Nov 2023 11:17:44 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating mesa git repo...
-> Found LICENSE
==> Validating source files with md5sums...
mesa ... Skipped
LICENSE ... Passed
==> Validating source files with sha512sums...
mesa ... Skipped
LICENSE ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of mesa git repo...
Cloning into 'mesa'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Updated version: mesa-git 24.0.0_devel.180127.9f7e57ce98a.d41d8cd-1
==> Sources are ready.
==> Making package: mesa-git 24.0.0_devel.180127.9f7e57ce98a.d41d8cd-1 (Mi 08 Nov 2023 11:17:51 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
The Meson build system
Version: 1.2.3
Source dir: /home/deadfire/.cache/yay/mesa-git/src/mesa
Build dir: /home/deadfire/.cache/yay/mesa-git/src/_build
Build type: native build
Project name: mesa
Project version: 24.0.0-devel
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
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
Host machine cpu family: x86_64
Host machine cpu: x86_64
Checking if "-mtls-dialect=gnu2" runs: YES
Checking if "split TLSDESC" : links: YES
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
Found CMake: /usr/bin/cmake (3.27.7)
Run-time dependency directx-headers found: NO (tried pkgconfig and cmake)
Run-time dependency directx-headers found: NO (tried pkgconfig and cmake)
Not looking for a fallback subproject for the dependency DirectX-Headers because:
Use of fallback dependencies is disabled.
mesa/meson.build:542:20: ERROR: Dependency 'DirectX-Headers' is required but not found.
A full log can be found at /home/deadfire/.cache/yay/mesa-git/src/_build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
Aborting...
-> error making: mesa-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
mesa-git - exit status 4
PAKtC
Pinned Comments
Lone_Wolf commented on 2024-09-10 19:58 (UTC)
removed obsolete options, build now works again.
building opencl clover is disabled for now, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/11863
Those that need opencl should use rusticl instead. Note that rusticl at runtime is disabled by default, see https://docs.mesa3d.org/envvars.html#rusticl-environment-variables for info about enabling it.
Lone_Wolf commented on 2020-04-23 12:26 (UTC) (edited on 2023-03-30 07:04 (UTC) by Lone_Wolf)
Mesa and llvm are closely tied together. Everytime the llvm mesa is built against changes/updates , mesa needs to be rebuilt.
I expect anyone building mesa-git against one of the llvm trunk variants to be able to do that themselves, but atleast some of the people that built against repo llvm don't understand how to deal with such a rebuild.
The rest of this post is meant for those people.
Option A - best one
see https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot for the official way or https://aur.archlinux.org/packages/clean-chroot-manager for an alternative method.
Option B - 2nd best
Lone_Wolf commented on 2019-07-09 13:43 (UTC) (edited on 2023-04-18 10:41 (UTC) by Lone_Wolf)
WARNING : aur helpers don't support this method at all. They check .SRCINFO and that doesn't include this variable so it will use the default which is hardcoded to build against repo llvm.
Why would I want to use llvm development versions ?
Lone_Wolf commented on 2018-01-30 14:06 (UTC) (edited on 2023-02-12 11:56 (UTC) by Lone_Wolf)
run pacman Syu update non-repo packages for llvm if you use them
build mesa-git, log out , update mesa-git and restart X .
run
glxinfo -B
to verify basic OpenGL functionalitybuild lib32-mesa-git
run
glxinfo32 -B
to verify basic OpenGL functionality for multilib programs