@dcommpoze disable gallium-xa in line 136 of the PKGBLUID
-D gallium-xa=disabled \
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-radeon, vulkan-swrast |
Provides: | libva-mesa-driver, mesa, mesa-libgl, mesa-vdpau, opengl-driver, vulkan-driver, vulkan-intel, vulkan-mesa-layers, vulkan-radeon, vulkan-swrast |
Submitter: | Krejzi |
Maintainer: | rjahanbakhshi (Lone_Wolf) |
Last Packager: | rjahanbakhshi |
Votes: | 176 |
Popularity: | 1.68 |
First Submitted: | 2014-06-19 21:33 (UTC) |
Last Updated: | 2024-03-07 21:15 (UTC) |
@dcommpoze disable gallium-xa in line 136 of the PKGBLUID
-D gallium-xa=disabled \
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
...
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 of
vl_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 of
vl_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 of
vl_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 of
vl_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 of
vl_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 of
vl_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 of
vl_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 of
vl_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 of
vl_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 of
vl_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 of
vl_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 of
vl_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 of
vl_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 of
vl_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 of
vl_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 of
vl_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...
Could you please add Nouveau NVK to the PKGBUILD?
Since NVK has been declared no longer experimental, it should be added to the PKGBUILD
Why don't you set gallium-drivers
, vulkan-drivers
, tools
and video-codecs
to all
?
The latest llvm update breaks mesa-git.
warning: downgrading package llvm-libs (17.0.6-2 => 16.0.6-1)
warning: downgrading package clang (17.0.6-1 => 16.0.6-2)
warning: downgrading package llvm (17.0.6-2 => 16.0.6-1)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing clang (16.0.6-2) breaks dependency 'clang=17.0.6' required by kdevelop
:: installing clang (16.0.6-2) breaks dependency 'clang=17.0.6' required by shiboken6
-> Failed to install layer, rolling up to next layer.error:error installing repo packages
warning: downgrading package clang (17.0.6-1 => 16.0.6-2)
warning: downgrading package llvm (17.0.6-2 => 16.0.6-1)
warning: downgrading package llvm-libs (17.0.6-2 => 16.0.6-1)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing clang (16.0.6-2) breaks dependency 'clang=17.0.6' required by kdevelop
:: installing clang (16.0.6-2) breaks dependency 'clang=17.0.6' required by shiboken6
-> error installing repo packages
error installing repo packages
Pinned Comments
Lone_Wolf commented on 2024-02-20 00:09 (UTC) (edited on 2024-02-20 00:11 (UTC) by Lone_Wolf)
@Beiruty, those have the same cause as the other recent build failures : changes in intel drivers.
The build issues caused by changes in intel drivers are now solved for MESA_WHICH_LLVM 1, 3 and 4 (llvm-minimal-git , llvm from lordheavy unofficial repo and offical repo llvm )
MESA_WHICH_LLVM 2 (aur llvm-git) build is still broken, but I MAY have a solution for that without having to create new packages.
The good news is that once all 4 variants built again, only minor changes should be needed to add opencl clover & opencl rusticl support.
(A lot of the work required to built the intel drivers is also useful for clover & rusticl)
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