[Bug 260993] [regression] [clang] stable/12 buildworld broken: fatal error: 'clang/Basic/DiagnosticCommonKinds.inc' file not found

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 06 Jan 2022 23:50:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260993

            Bug ID: 260993
           Summary: [regression] [clang] stable/12 buildworld broken:
                    fatal error: 'clang/Basic/DiagnosticCommonKinds.inc'
                    file not found
           Product: Base System
           Version: 12.3-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: eugen@freebsd.org
                CC: dim@FreeBSD.org

I have amd64 stable/12 system updated on 8 December 2020.

I updated stable/12 sources with gitup on yesterday, 6 January 2022 and
attempted to rebuild some NanoBSD image. This box successfully performed the
build last time with fresh stable/12 sources on early December 2021. Now same
build fails:

Building
/usr/obj/nanobsd.gw/usr/src/amd64.amd64/lib/clang/liblldb/Core/ModuleList.o
--- Core/ModuleList.o ---
In file included from
/usr/src/contrib/llvm-project/lldb/source/Core/ModuleList.cpp:34:
In file included from
/usr/src/contrib/llvm-project/clang/include/clang/Driver/Driver.h:12:
In file included from
/usr/src/contrib/llvm-project/clang/include/clang/Basic/Diagnostic.h:17:
/usr/src/contrib/llvm-project/clang/include/clang/Basic/DiagnosticIDs.h:71:10:
fatal error: 'clang/
Basic/DiagnosticCommonKinds.inc' file not found
#include "clang/Basic/DiagnosticCommonKinds.inc"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
*** [Core/ModuleList.o] Error code 1

make[6]: stopped in /usr/src/lib/clang/liblldb

Here is full list of knobs used for build:

CONF_BUILD='
LOADER_BZIP2_SUPPORT=
MODULES_WITH_WORLD=
WITHOUT_ACCT=
WITHOUT_AMD=
WITHOUT_APM=
WITHOUT_ASSERT_DEBUG=
WITHOUT_ATM=
WITHOUT_AUDIT=
WITHOUT_AUTHPH=
WITHOUT_AUTOFS=
WITHOUT_BINUTILS=
WITHOUT_BLACKLIST=
WITHOUT_BLACKLIST_SUPPORT=
WITHOUT_BLUETOOTH=
WITHOUT_CALENDAR=
WITHOUT_CAPSICUM=
WITHOUT_CCD=
WITHOUT_CLANG=
WITHOUT_CPP=
WITHOUT_CTM=
WITHOUT_CUSE=
WITHOUT_CVS=
WITHOUT_DEBUG_FILES=
WITHOUT_DMAGENT=
WITHOUT_DICT=
WITHOUT_ED_CRYPTO=
WITHOUT_EXAMPLES=
WITHOUT_FINGER=
WITHOUT_FDT=
WITHOUT_FLOPPY=
WITHOUT_FREEBSD_UPDATE=
WITHOUT_GAMES=
WITHOUT_GCC=
WITHOUT_GCOV=
WITHOUT_GDB=
WITHOUT_GPIO=
WITHOUT_GROFF=
WITHOUT_GSSAPI=
WITGOUT_HESIOD=
WITHOUT_HTML=
WITHOUT_HYPERV=
WITHOUT_INFO=
WITHOUT_IPFILTER=
WITHOUT_KERBEROS=
WITHOUT_KERNEL_SYMBOLS=
WITHOUT_LIB32=
WITHOUT_MAN=
WITHOUT_MAN_UTILS=
WITHOUT_NDIS=
WITHOUT_NETCAT=
WITHOUT_NLS=
WITHOUT_NLS_CATALOGS=
WITHOUT_NS_CACHING=
WITHOUT_OBJC=
WITHOUT_PC_SYSINSTALL=
WITHOUT_PF=
WITHOUT_PORTSNAP=
WITHOUT_PROFILE=
WITHOUT_QUOTAS=
WITHOUT_RCS=
WITHOUT_RESCUE=
WITHOUT_ROUTED=
WITHOUT_SHAREDOCS=
WITHOUT_SVNLITE=
WITHOUT_SYSTEM_COMPILER=
WITHOUT_TALK=
WITHOUT_TESTS=
WITHOUT_TEXTPROC=
'

Attaching unmodified make.conf used by build process, it's full log and nanobsd
environment out of its build directory.

-- 
You are receiving this mail because:
You are the assignee for the bug.