graphics/mesa-dri won't build due to libclc not accepting llvm20

Xavier Humbert <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
Hi,

Actually llvm is version 21, an I have this in make.conf :
DEFAULT_VERSIONS+=llvm=20

But when I try to build graphics/mesa-dri, I have an error related 
to libclc :


==============================================================================================
--->  Building '/usr/ports/graphics/mesa-dri'
===>  Cleaning for mesa-dri-24.1.7_9
/!\ mesa-dri-24.1.7_9: Makefile warnings, please consider fixing /!\

These options name have characters outside of [-_A-Z0-9]:

anv crocus i915 iris r300 r600 radeonsi radv svga swrast swrast_vk zink

===>  License MIT accepted by the user
===>   mesa-dri-24.1.7_9 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by mesa-dri-24.1.7_9 for building
===>  Extracting for mesa-dri-24.1.7_9
=> SHA256 Checksum OK for mesa-24.1.7.tar.xz.
=> SHA256 Checksum OK for 4a253aae7ca437201d2a31d2a11a1a5434fe41f1.patch.
=> SHA256 Checksum OK for 5a9c052ba78e5d1b0020b8f8320d211d2205a958.patch.
=> SHA256 Checksum OK for 5d48fb19553c15bbbac498afcb7cc8710a803716.patch.
=> SHA256 Checksum OK for fa9cd89a85b904615ebc11da609445b5b751e68d.patch.
===>  Patching for mesa-dri-24.1.7_9
===>  Applying distribution patches for mesa-dri-24.1.7_9
===>  Applying FreeBSD patches for mesa-dri-24.1.7_9 from 
/usr/ports/graphics/mesa-dri/files
===>   mesa-dri-24.1.7_9 depends on package: py311-ply>0 - found
===>   mesa-dri-24.1.7_9 depends on package: wayland-protocols>=1.8 - found
===>   mesa-dri-24.1.7_9 depends on executable: glslangValidator - found
===>   mesa-dri-24.1.7_9 depends on package: libclc-llvm20>0 - not found
===>  libclc-llvm20- Unknown flavor 'llvm20', possible flavors: llvm15 
llvm16 llvm17 llvm18 llvm19.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/libclc
*** Error code 1
==============================================================================================


Is there a plan to upgrade devel/libclc to build with llvm20 ? I'm 
actually not skilled enough to try by myself (and i did give a try)
i don't want to downgrade all my ports depending on llvm20 to 19

Regards,

Xavier

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
https://www.amdh.fr
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.