Package Details: mesa-git 24.3.0_devel.194818.d3429a7e00d.d41d8cd-1

Git Clone URL: https://aur.archlinux.org/mesa-git.git (read-only, click to copy)
Package Base: mesa-git
Description: an open-source implementation of the OpenGL specification, git version
Upstream URL: https://www.mesa3d.org
Keywords: mesa wayland X11
Licenses: custom
Conflicts: libva-mesa-driver, mesa, mesa-libgl, mesa-vdpau, opencl-clover-mesa, opencl-rusticl-mesa, vulkan-intel, vulkan-mesa-layers, vulkan-nouveau, vulkan-radeon, vulkan-swrast, vulkan-virtio
Provides: libva-mesa-driver, mesa, mesa-libgl, mesa-vdpau, opencl-driver, opencl-rusticl-mesa, opengl-driver, vulkan-driver, vulkan-intel, vulkan-mesa-layers, vulkan-nouveau, vulkan-radeon, vulkan-swrast, vulkan-virtio
Submitter: Krejzi
Maintainer: rjahanbakhshi (Lone_Wolf)
Last Packager: Lone_Wolf
Votes: 182
Popularity: 0.42
First Submitted: 2014-06-19 21:33 (UTC)
Last Updated: 2024-09-15 20:40 (UTC)

Required by (1312)

Sources (6)

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.

  • Verify if latest PKGBUILD requirements match llvm repo versions.
  • If they don't , post to alert the maintainer of this.
  • DELAY the update of llvm/clang suite and their lib32- counterparts
  • Once the PKGBUILD does match, download it.

Option A - best one

  • run pacman -Syu to ensure your system is in sync with your mirrror server
  • build mesa-git in a clean chroot

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.

  • install the newly built mesa-git
  • run pacman -Syu
  • ready

Option B - 2nd best

  • revert to repo mesa
  • pacman -Syu
  • build mesa-git
  • switch from mesa to mesa-git
  • ready

Lone_Wolf commented on 2019-07-09 13:43 (UTC) (edited on 2023-04-18 10:41 (UTC) by Lone_Wolf)

  • choosing which llvm variant to build against

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 ?

For full functionality and latest features mesa trunk master needs to be build against llvm trunk master.
If you build against stable llvm things MAY work, but you're likely to lack some features and face stability issues.

Mesa-git uses a custom environment variable MESA_WHICH_LLVM for flexibility.
It has 4 values.
1 : aur llvm-minimal-git
2 : aur llvm-git
3: llvm-git from LordHeavy' unofficial repo
4: llvm from extra repo

I use value 1 95% of the time and set this in ~/.bash_rc .
If MESA_WHICH_LLVM is unset or empty, the default value of 4 (extra llvm) is used.

Lone_Wolf commented on 2018-01-30 14:06 (UTC) (edited on 2023-02-12 11:56 (UTC) by Lone_Wolf)

  • main difference with stable repo package
[extra]mesa is a split package, but aur mesa-git isn't.
Basically with aur mesa-git you get everything in one package, while [extra]/mesa allows you to leave out some parts if you don't want/need them.
Having a single package reduces maintenance and makes switching from stable to mesa-git rather easy, though reverting back to stable can be tricky.
  • meson settings
Those who compare PKGBUILDs will notice I don't use arch-meson, but meson setup.
I disagree with some of the settings made by arch-meson (especially the buildtype and enabling LTO by default) and feel using meson setup is cleaner.
  • how to update

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 functionality

build lib32-mesa-git

run glxinfo32 -B to verify basic OpenGL functionality for multilib programs

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 131 Next › Last »

Lone_Wolf commented on 2024-04-03 16:59 (UTC)

To those with the directx errors : archlinux directx-headers pacakgae is 2 releases behind upstream. Try building against aur directx-headers-git .

I don't remember what d3d12 does, but offical mesa also supports it.

@ZephyrCheez : thanks, that option lead to meson subprojects and mesa sourcetree does appear to include the data needed to use them. Adding nouveau vulkan looks doable now, no idea when there will be time to implement it.

jacekk90 commented on 2024-04-03 16:15 (UTC)

[2935/3034] Linking target src/gallium/targets/va/libgallium_drv_video.so FAILED: src/gallium/targets/va/libgallium_drv_video.so c++ -o src/gallium/targets/va/libgallium_drv_video.so src/gallium/targets/va/libgallium_drv_video.so.p/target.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,libgallium_drv_video.so -Wl,--whole-archive -Wl,--start-group src/gallium/frontends/va/libva_st.a -Wl,--no-whole-archive -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS src/gallium/auxiliary/libgalliumvlwinsys.a src/util/libmesa_util.a src/util/libmesa_util_sse41.a src/util/blake3/libblake3.a src/c11/impl/libmesa_util_c11.a src/gallium/auxiliary/libgalliumvl.a src/compiler/nir/libnir.a src/compiler/libcompiler.a src/gallium/auxiliary/libgallium.a src/gallium/auxiliary/pipe-loader/libpipe_loader_static.a src/loader/libloader.a src/util/libxmlconfig.a src/gallium/winsys/sw/null/libws_null.a src/gallium/winsys/sw/wrapper/libwsw.a src/gallium/winsys/sw/dri/libswdri.a src/gallium/winsys/sw/kms-dri/libswkmsdri.a src/gallium/drivers/r600/libr600.a src/mesa/libmesa.a src/compiler/glsl/libglsl.a src/compiler/glsl/glcpp/libglcpp.a src/mesa/libmesa_sse41.a src/compiler/spirv/libvtn.a src/gallium/winsys/radeon/drm/libradeonwinsys.a src/gallium/drivers/radeonsi/libradeonsi_gfx6.a src/amd/compiler/libaco.a src/gallium/drivers/radeonsi/libradeonsi_gfx7.a src/gallium/drivers/radeonsi/libradeonsi_gfx8.a src/gallium/drivers/radeonsi/libradeonsi_gfx9.a src/gallium/drivers/radeonsi/libradeonsi_gfx10.a src/gallium/drivers/radeonsi/libradeonsi_gfx103.a src/gallium/drivers/radeonsi/libradeonsi_gfx11.a src/gallium/drivers/radeonsi/libradeonsi_gfx115.a src/gallium/drivers/radeonsi/libradeonsi.a src/gallium/winsys/amdgpu/drm/libamdgpuwinsys.a src/amd/addrlib/libaddrlib.a src/amd/common/libamd_common.a src/amd/llvm/libamd_common_llvm.a src/amd/vpelib/liblibvpe.a.a src/nouveau/codegen/libnouveau_codegen.a src/gallium/drivers/nouveau/libnouveau.a src/gallium/winsys/nouveau/drm/libnouveauwinsys.a src/gallium/drivers/d3d12/libd3d12.a src/microsoft/compiler/libdxil_compiler.a src/gallium/drivers/virgl/libvirgl.a src/gallium/winsys/virgl/drm/libvirgldrm.a src/gallium/winsys/virgl/common/libvirglcommon.a src/gallium/winsys/virgl/vtest/libvirglvtest.a -Wl,--version-script /home/jacekk90/.cache/yay/mesa-git/src/_build/src/gallium/targets/va/va.sym -Wl,--dynamic-list /home/jacekk90/.cache/yay/mesa-git/src/mesa/src/gallium/targets/va/../dri.dyn -Wl,--gc-sections -Wl,--build-id=sha1 /usr/lib/libdrm.so /usr/lib/libz.so -pthread -lm /usr/lib/libzstd.so /usr/lib/libunwind.so /usr/lib/libxcb-sync.so /usr/lib/libxcb-present.so /usr/lib/libxshmfence.so /usr/lib/libxcb-xfixes.so /usr/lib/libxcb-dri3.so -lLLVM-17 -lsensors /usr/lib/libexpat.so /usr/lib/libxcb.so /usr/lib/libxcb-randr.so /usr/lib/libdrm_radeon.so /usr/lib/libelf.so -lLLVM-17 -lLLVM-17 -lLLVM-17 -lLLVM-17 -lLLVM-17 -lLLVM-17 -lLLVM-17 -lLLVM-17 -lLLVM-17 -lLLVM-17 -lLLVM-17 -lLLVM-17 /usr/lib/libdrm_amdgpu.so -lLLVM-17 /usr/lib/libd3dx12-format-properties.a /usr/lib/libDirectX-Guids.a /usr/lib/libX11-xcb.so /usr/lib/libX11.so /usr/lib/libxcb-dri2.so -Wl,--end-group /usr/bin/ld: src/gallium/drivers/d3d12/libd3d12.a.p/d3d12_video_dec.cpp.o: in function d3d12_video_decoder_convert_pipe_video_profile_to_d3d12_profile(pipe_video_profile)': d3d12_video_dec.cpp:(.text._Z63d3d12_video_decoder_convert_pipe_video_profile_to_d3d12_profile18pipe_video_profile+0x23): undefined reference toD3D12_VIDEO_DECODE_PROFILE_H264' /usr/bin/ld: d3d12_video_dec.cpp:(.text._Z63d3d12_video_decoder_convert_pipe_video_profile_to_d3d12_profile18pipe_video_profile+0x3b): undefined reference to D3D12_VIDEO_DECODE_PROFILE_AV1_PROFILE0' /usr/bin/ld: d3d12_video_dec.cpp:(.text._Z63d3d12_video_decoder_convert_pipe_video_profile_to_d3d12_profile18pipe_video_profile+0x53): undefined reference toD3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN' /usr/bin/ld: d3d12_video_dec.cpp:(.text._Z63d3d12_video_decoder_convert_pipe_video_profile_to_d3d12_profile18pipe_video_profile+0x63): undefined reference to D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN10' /usr/bin/ld: d3d12_video_dec.cpp:(.text._Z63d3d12_video_decoder_convert_pipe_video_profile_to_d3d12_profile18pipe_video_profile+0x73): undefined reference toD3D12_VIDEO_DECODE_PROFILE_VP9' /usr/bin/ld: d3d12_video_dec.cpp:(.text._Z63d3d12_video_decoder_convert_pipe_video_profile_to_d3d12_profile18pipe_video_profile+0x83): undefined reference to D3D12_VIDEO_DECODE_PROFILE_VP9_10BIT_PROFILE2' /usr/bin/ld: src/gallium/drivers/d3d12/libd3d12.a.p/d3d12_video_dec.cpp.o: in functiond3d12_video_decoder_resolve_profile(d3d12_video_decode_profile_type, DXGI_FORMAT)': d3d12_video_dec.cpp:(.text._Z35d3d12_video_decoder_resolve_profile31d3d12_video_decode_profile_type11DXGI_FORMAT+0x13): undefined reference to D3D12_VIDEO_DECODE_PROFILE_H264' /usr/bin/ld: d3d12_video_dec.cpp:(.text._Z35d3d12_video_decoder_resolve_profile31d3d12_video_decode_profile_type11DXGI_FORMAT+0x28): undefined reference toD3D12_VIDEO_DECODE_PROFILE_VP9_10BIT_PROFILE2' /usr/bin/ld: d3d12_video_dec.cpp:(.text._Z35d3d12_video_decoder_resolve_profile31d3d12_video_decode_profile_type11DXGI_FORMAT+0x3b): undefined reference to D3D12_VIDEO_DECODE_PROFILE_AV1_PROFILE0' /usr/bin/ld: d3d12_video_dec.cpp:(.text._Z35d3d12_video_decoder_resolve_profile31d3d12_video_decode_profile_type11DXGI_FORMAT+0x58): undefined reference toD3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN10' /usr/bin/ld: d3d12_video_dec.cpp:(.text._Z35d3d12_video_decoder_resolve_profile31d3d12_video_decode_profile_type11DXGI_FORMAT+0x6b): undefined reference to D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN' /usr/bin/ld: d3d12_video_dec.cpp:(.text._Z35d3d12_video_decoder_resolve_profile31d3d12_video_decode_profile_type11DXGI_FORMAT+0x83): undefined reference toD3D12_VIDEO_DECODE_PROFILE_VP9' /usr/bin/ld: src/gallium/drivers/d3d12/libd3d12.a.p/d3d12_dxcore_screen.cpp.o: in function d3d12_init_dxcore_screen(d3d12_screen*)': d3d12_dxcore_screen.cpp:(.text._ZL24d3d12_init_dxcore_screenP12d3d12_screen+0x65): undefined reference toIID_IDXCoreAdapterFactory' /usr/bin/ld: d3d12_dxcore_screen.cpp:(.text._ZL24d3d12_init_dxcore_screenP12d3d12_screen+0xd2): undefined reference to DXCORE_ADAPTER_ATTRIBUTE_D3D12_GRAPHICS' /usr/bin/ld: src/gallium/drivers/d3d12/libd3d12.a.p/d3d12_screen.cpp.o: in functionget_debug_interface(util_dl_library, ID3D12DeviceFactory)': d3d12_screen.cpp:(.text._ZL19get_debug_interfaceP15util_dl_libraryP19ID3D12DeviceFactory+0x31): undefined reference to CLSID_D3D12Debug' /usr/bin/ld: src/gallium/drivers/d3d12/libd3d12.a.p/d3d12_screen.cpp.o: in functiond3d12_init_screen(d3d12_screen, IUnknown)': d3d12_screen.cpp:(.text._Z17d3d12_init_screenP12d3d12_screenP8IUnknown+0x642): undefined reference to `CLSID_D3D12DeviceFactory' collect2: error: ld returned 1 exit status [2948/3034] Compiling C++ object src/gallium/drivers/zink/libzink.a.p/zink_draw.cpp.o ninja: build stopped: subcommand failed.

Compilation failed I have Radeon RX 6500 XT With Ryzen 7 7600X earlier was some errors with Radeonsi and now I have non useable Shotcut for ex. Earlier Shotcut cant run. This errors was after update not mesa only kernel or some else for gpu :/

ArchUsr1 commented on 2024-03-31 22:21 (UTC) (edited on 2024-04-01 15:11 (UTC) by ArchUsr1)

[Update] Removing d3d12 driver fixes build. Do I need this driver to play DX12 games?

I keep getting this error for few days now. Is this repo (source) issue?

FAILED: src/gallium/targets/va/libgallium_drv_video.so

I don't know if this is related

/usr/bin/ld: d3d12_video_dec.cpp:(.text._Z35d3d12_video_decoder_resolve_profile31d3d12_video_decode_profile_type11DXGI_FORMAT+0x28): undefined reference to `D3D12_VIDEO_
DECODE_PROFILE_VP9_10BIT_PROFILE2'
/usr/bin/ld: d3d12_video_dec.cpp:(.text._Z35d3d12_video_decoder_resolve_profile31d3d12_video_decode_profile_type11DXGI_FORMAT+0x3b): undefined reference to `D3D12_VIDEO_
DECODE_PROFILE_AV1_PROFILE0'
/usr/bin/ld: d3d12_video_dec.cpp:(.text._Z35d3d12_video_decoder_resolve_profile31d3d12_video_decode_profile_type11DXGI_FORMAT+0x58): undefined reference to `D3D12_VIDEO_
DECODE_PROFILE_HEVC_MAIN10'
/usr/bin/ld: d3d12_video_dec.cpp:(.text._Z35d3d12_video_decoder_resolve_profile31d3d12_video_decode_profile_type11DXGI_FORMAT+0x6b): undefined reference to `D3D12_VIDEO_
DECODE_PROFILE_HEVC_MAIN'
/usr/bin/ld: d3d12_video_dec.cpp:(.text._Z35d3d12_video_decoder_resolve_profile31d3d12_video_decode_profile_type11DXGI_FORMAT+0x83): undefined reference to `D3D12_VIDEO_
DECODE_PROFILE_VP9'

ZephyrCheez commented on 2024-03-30 06:48 (UTC)

Adding --force-fallback-for=syn flag in meson setup works for letting meson build NVK without needing syn on your system

Lone_Wolf commented on 2024-03-24 13:07 (UTC)

MESA_WHICH_LLVM 1 and 4 build fine in clean chroot, 3 hasn't been tested since 20 february.

I looked into the nouveau vulkan driver. Unfortunately that requires a rust library called syn that's not packaged for archlinux.

Docs for syn are at https://docs.rs/syn/latest/syn/ . Those that want nouveau vulkan to be added should look into packaging syn in the aur or figure out how to combine a rust crate with meson/ninja build .

Beiruty commented on 2024-03-16 19:25 (UTC) (edited on 2024-03-16 19:26 (UTC) by Beiruty)

@dcommpoze disable gallium-xa in line 136 of the PKGBLUID

   -D gallium-xa=disabled \

dcompoze commented on 2024-03-16 18:24 (UTC)

Also got a similar build error:

[3005/3024] Linking target src/gallium/targets/xa/libxatracker.so.2.5.0
FAILED: src/gallium/targets/xa/libxatracker.so.2.5.0
...

Beiruty commented on 2024-03-15 22:44 (UTC)

Building today, I got a failed build.

[2889/3024] Linking target src/gallium/targets/xa/libxatracker.so.2.5.0 FAILED: src/gallium/targets/xa/libxatracker.so.2.5.0 c++ -o src/gallium/targets/xa/libxatracker.so.2.5.0 src/gallium/targets/xa/libxatracker.so.2.5.0.p/target.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,libxatracker.so.2 -Wl,--whole-archive -Wl,--start-group src/gallium/frontends/xa/libxa_st.a -Wl,--no-whole-archive -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -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 src/gallium/auxiliary/libgalliumvl_stub.a src/util/libmesa_util.a src/util/libmesa_util_sse41.a src/util/blake3/libblake3.a src/c11/impl/libmesa_util_c11.a src/gallium/auxiliary/libgallium.a src/compiler/nir/libnir.a src/compiler/libcompiler.a src/gallium/auxiliary/pipe-loader/libpipe_loader_static.a src/loader/libloader.a src/util/libxmlconfig.a src/gallium/winsys/sw/null/libws_null.a src/gallium/winsys/sw/wrapper/libwsw.a src/gallium/winsys/sw/dri/libswdri.a src/gallium/winsys/sw/kms-dri/libswkmsdri.a src/nouveau/codegen/libnouveau_codegen.a src/gallium/drivers/nouveau/libnouveau.a src/gallium/winsys/nouveau/drm/libnouveauwinsys.a src/gallium/auxiliary/libgalliumvl.a src/gallium/drivers/i915/libi915.a src/gallium/winsys/i915/drm/libi915drm.a src/intel/common/libintel_common.a src/intel/isl/libisl.a src/intel/isl/libisl_per_hw_ver40.a src/intel/dev/libintel_dev.a src/intel/isl/libisl_per_hw_ver50.a src/intel/isl/libisl_per_hw_ver60.a src/intel/isl/libisl_per_hw_ver70.a src/intel/isl/libisl_per_hw_ver75.a src/intel/isl/libisl_per_hw_ver80.a src/intel/isl/libisl_per_hw_ver90.a src/intel/isl/libisl_per_hw_ver110.a src/intel/isl/libisl_per_hw_ver120.a src/intel/isl/libisl_per_hw_ver125.a src/intel/isl/libisl_per_hw_ver200.a src/intel/isl/libisl_tiled_memcpy.a src/intel/isl/libisl_tiled_memcpy_sse41.a src/intel/common/libintel_clflushopt.a src/gallium/drivers/svga/libsvga.a src/compiler/glsl/libglsl.a src/compiler/glsl/glcpp/libglcpp.a src/gallium/winsys/svga/drm/libsvgadrm.a -Wl,--version-script /mnt/eos_more/.cache/yay/mesa-git/src/mesa/src/gallium/targets/xa/xa.sym -Wl,--gc-sections /usr/lib/libz.so -pthread -lm /usr/lib/libzstd.so /usr/lib/libunwind.so /usr/lib/libdrm.so -lLLVM-17 -lsensors /usr/lib/libexpat.so /usr/lib/libxcb.so /usr/lib/libxcb-randr.so /usr/lib/libdrm_intel.so -Wl,--end-group /usr/bin/ld: src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o: in function vl_profile_supported': vl_stubs.c:(.text.vl_profile_supported+0x0): multiple definition ofvl_profile_supported'; src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_decoder.c.o:vl_decoder.c:(.text.vl_profile_supported+0x0): first defined here /usr/bin/ld: src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o: in function vl_level_supported': vl_stubs.c:(.text.vl_level_supported+0x0): multiple definition ofvl_level_supported'; src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_decoder.c.o:vl_decoder.c:(.text.vl_level_supported+0x0): first defined here /usr/bin/ld: src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o: in function vl_create_decoder': vl_stubs.c:(.text.vl_create_decoder+0x0): multiple definition ofvl_create_decoder'; src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_decoder.c.o:vl_decoder.c:(.text.vl_create_decoder+0x0): first defined here /usr/bin/ld: src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o: in function vl_get_video_buffer_formats': vl_stubs.c:(.text.vl_get_video_buffer_formats+0x0): multiple definition ofvl_get_video_buffer_formats'; src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_video_buffer.c.o:vl_video_buffer.c:(.text.vl_get_video_buffer_formats+0x0): first defined here /usr/bin/ld: src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o: in function vl_video_buffer_is_format_supported': vl_stubs.c:(.text.vl_video_buffer_is_format_supported+0x0): multiple definition ofvl_video_buffer_is_format_supported'; src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_video_buffer.c.o:vl_video_buffer.c:(.text.vl_video_buffer_is_format_supported+0x0): first defined here /usr/bin/ld: src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o: in function vl_video_buffer_max_size': vl_stubs.c:(.text.vl_video_buffer_max_size+0x0): multiple definition ofvl_video_buffer_max_size'; src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_video_buffer.c.o:vl_video_buffer.c:(.text.vl_video_buffer_max_size+0x0): first defined here /usr/bin/ld: src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o: in function vl_video_buffer_set_associated_data': vl_stubs.c:(.text.vl_video_buffer_set_associated_data+0x0): multiple definition ofvl_video_buffer_set_associated_data'; src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_video_buffer.c.o:vl_video_buffer.c:(.text.vl_video_buffer_set_associated_data+0x0): first defined here /usr/bin/ld: src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o: in function vl_video_buffer_get_associated_data': vl_stubs.c:(.text.vl_video_buffer_get_associated_data+0x0): multiple definition ofvl_video_buffer_get_associated_data'; src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_video_buffer.c.o:vl_video_buffer.c:(.text.vl_video_buffer_get_associated_data+0x0): first defined here /usr/bin/ld: src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o: in function vl_video_buffer_template': vl_stubs.c:(.text.vl_video_buffer_template+0x0): multiple definition ofvl_video_buffer_template'; src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_video_buffer.c.o:vl_video_buffer.c:(.text.vl_video_buffer_template+0x0): first defined here /usr/bin/ld: src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o: in function vl_video_buffer_create': vl_stubs.c:(.text.vl_video_buffer_create+0x0): multiple definition ofvl_video_buffer_create'; src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_video_buffer.c.o:vl_video_buffer.c:(.text.vl_video_buffer_create+0x0): first defined here /usr/bin/ld: src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o: in function vl_video_buffer_create_ex2': vl_stubs.c:(.text.vl_video_buffer_create_ex2+0x0): multiple definition ofvl_video_buffer_create_ex2'; src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_video_buffer.c.o:vl_video_buffer.c:(.text.vl_video_buffer_create_ex2+0x0): first defined here /usr/bin/ld: src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o: in function vl_video_buffer_destroy': vl_stubs.c:(.text.vl_video_buffer_destroy+0x0): multiple definition ofvl_video_buffer_destroy'; src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_video_buffer.c.o:vl_video_buffer.c:(.text.vl_video_buffer_destroy+0x0): first defined here /usr/bin/ld: src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o: in function vl_mpg12_bs_init': vl_stubs.c:(.text.vl_mpg12_bs_init+0x0): multiple definition ofvl_mpg12_bs_init'; src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_mpeg12_bitstream.c.o:vl_mpeg12_bitstream.c:(.text.vl_mpg12_bs_init+0x0): first defined here /usr/bin/ld: src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o: in function vl_mpg12_bs_decode': vl_stubs.c:(.text.vl_mpg12_bs_decode+0x0): multiple definition ofvl_mpg12_bs_decode'; src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_mpeg12_bitstream.c.o:vl_mpeg12_bitstream.c:(.text.vl_mpg12_bs_decode+0x0): first defined here /usr/bin/ld: src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o: in function vl_create_mpeg12_decoder': vl_stubs.c:(.text.vl_create_mpeg12_decoder+0x0): multiple definition ofvl_create_mpeg12_decoder'; src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_mpeg12_decoder.c.o:vl_mpeg12_decoder.c:(.text.vl_create_mpeg12_decoder+0x0): first defined here /usr/bin/ld: src/util/libmesa_util.a.p/vl_zscan_data.c.o:(.rodata.vl_zscan_alternate+0x0): multiple definition of vl_zscan_alternate'; src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o:(.rodata.vl_zscan_alternate+0x0): first defined here /usr/bin/ld: src/util/libmesa_util.a.p/vl_zscan_data.c.o:(.rodata.vl_zscan_normal+0x0): multiple definition ofvl_zscan_normal'; src/gallium/auxiliary/libgalliumvl_stub.a.p/vl_vl_stubs.c.o:(.rodata.vl_zscan_normal+0x0): first defined here collect2: error: ld returned 1 exit status [2898/3024] Compiling C++ object src/gallium/drivers/zink/libzink.a.p/zink_draw.cpp.o ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting...