Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
Re: [llvm22] Breakage 2026-05-26
To:
Christian Weisgerber <naddy@mips.inka.de>
Cc:
ports@openbsd.org, David Carlier <devnexen@gmail.com>
Date:
Wed, 27 May 2026 20:13:50 +0200

Download raw body.

Thread
On Wed May 27, 2026 at 04:36:40PM +0200, Christian Weisgerber wrote:
> http://build-failures.rhaalovely.net/amd64-clang/2026-05-26/
> 
> $ awk '/->/ { a[$NF]++ } END { for(i in a) printf "%3d %s\n", a[i], i }' \
>     summary.log | sort -nr
> 133 audio/openal

I think that is currently our best solution/pattern for the
"CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS-NOTFOUND" error class:

MODULES +=	lang/clang
MODCLANG_COMPILER_LINKS = No
CONFIGURE_ARGS+=	-DCMAKE_CXX_COMPILER_CLANG_SCAN_DEPS=${LOCALBASE}/bin/clang-scan-deps-${MODCLANG_VERSION}

I'm currently on the road and don't have LLVM 22 with me, so if anyone
could verify this, we could move forward with this solution. And then
just find and replace it later.


Here for openal. btw SDL2 was replaced by SDL3

diff --git a/audio/openal/Makefile b/audio/openal/Makefile
index 9795a01ec83..ae286755b8b 100644
--- a/audio/openal/Makefile
+++ b/audio/openal/Makefile
@@ -36,7 +36,7 @@ CONFIGURE_ARGS =-DALSOFT_BACKEND_PIPEWIRE=Off \
 		-DCMAKE_DISABLE_FIND_PACKAGE_OSS:Bool=Yes \
 		-DCMAKE_DISABLE_FIND_PACKAGE_PortAudio:Bool=Yes \
 		-DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:Bool=Yes \
-		-DCMAKE_DISABLE_FIND_PACKAGE_SDL2:Bool=Yes \
+		-DCMAKE_DISABLE_FIND_PACKAGE_SDL3:Bool=Yes \
 		-DCMAKE_DISABLE_FIND_PACKAGE_SndFile:Bool=Yes
 
 MODCMAKE_POLICY_VERSION_OVERRIDE = Yes
@@ -50,6 +50,7 @@ MODULES =	devel/cmake
 # XXX cmake config uses CXX_MODULES, which needs clang-scan-deps
 MODULES +=	lang/clang
 MODCLANG_COMPILER_LINKS = No
+CONFIGURE_ARGS+=	-DCMAKE_CXX_COMPILER_CLANG_SCAN_DEPS=${LOCALBASE}/bin/clang-scan-deps-${MODCLANG_VERSION}
 
 COMPILER =	base-clang ports-gcc