[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/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296094

            Bug ID: 296094
           Summary: graphics/mesa-dri: Dependency "libclc" not found,
                    build failed, after v26.0.6 import
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])
          Assignee: [email protected]

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
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.