[Bug 260993] lib/clang/liblldb: stable/12 fails to build: DiagnosticIDs.h:71:10: fatal error: 'clang/ Basic/DiagnosticCommonKinds.inc' file not found

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 07 Jan 2022 19:54:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260993

--- Comment #13 from Ed Maste <emaste@freebsd.org> ---
(In reply to Ed Maste from comment #11)
Need this additional patch:

diff --git a/Makefile.inc1 b/Makefile.inc1
index 2cc00beed80d..b31c1d09fbeb 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2343,7 +2343,8 @@ _gensnmptree=     usr.sbin/bsnmpd/gensnmptree
 _clang_tblgen= \
        lib/clang/libllvmminimal \
        usr.bin/clang/llvm-tblgen
-.if ${MK_CLANG_BOOTSTRAP} != "no" || ${MK_CLANG} != "no"
+.if ${MK_CLANG_BOOTSTRAP} != "no" || ${MK_CLANG} != "no" || \
+    ${MK_LLDB} != "no"
 _clang_tblgen+=        usr.bin/clang/clang-tblgen
 .endif
 .if ${MK_LLDB} != "no"

With this and the patch in comment #9 WITHOUT_CLANG WITH_LLDB builds for me in
Cirrus-CI

-- 
You are receiving this mail because:
You are on the CC list for the bug.