maintainer-feedback requested: [Bug 296094] graphics/mesa-dri: Dependency "libclc" not found, build failed, after v26.0.6 import

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
Bugzilla Automation <[email protected]> has asked freebsd-x11 (Nobody)
<[email protected]> for maintainer-feedback:
Bug 296094: graphics/mesa-dri: Dependency "libclc" not found, build failed,
after v26.0.6 import
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296094



--- Description ---
Looks like libclc and spirv-llvm-translator are not optional now.

Custom build without iris and anv drivers now failed with a next error:

  Run-time dependency libclc found: NO (tried pkgconfig and cmake)
  meson.build:911:12: ERROR: Dependency "libclc" not found, tried pkgconfig and
cmake

Adding
  CONFIGURE_ENV= PKG_CONFIG_PATH="${LLVM_PREFIX}/libdata/pkgconfig"
fixes the build.

But it's rather a quick workaround. Maybe these are new mandatory dependencies.
Maybe there is a way to disable these dependencies for drivers that don't
require them.

Full options used:
	WAYLAND        : on
	X11	       : on
	ZSTD	       : on
	anv	       : off
	crocus	       : on
	i915	       : off
	iris	       : off
	llvmpipe       : on
	r300	       : off
	r600	       : off
	radeonsi       : off
	radv	       : off
	svga	       : off
	swrast_vk      : on
	zink	       : off
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.