Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 2021 09:44:20 -0800
From:      Chuck Tuffli <ctuffli@gmail.com>
To:        FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   build failure on -current
Message-ID:  <CAKAYmMLHY7myDVGAkv4DnVdCba0KEredyNagKjnDNo3Sc2QPvg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
When building current from git, I keep hitting the error below. This
is with meta-mode, but I've also tried deleting the object directory.
The system also has a couple of tweaks to src-env.conf that were an
attempt to avoid building any (most?) of clang. Relevant system
information:

$ uname -mrsv
FreeBSD 14.0-CURRENT FreeBSD 14.0-CURRENT main-22c4ab6cb0 GENERIC  amd64
$ cat /etc/src-env.conf
WITH_META_MODE=YES
WITHOUT_CLANG=YES
WITHOUT_CLANG_BOOTSTRAP=YES
$ env MAKEOBJDIRPREFIX=$(realpath ../obj) make buildworld -j$(sysctl -n hw.ncpu)

--- Core/ModuleList.o ---
In file included from
/usr/home/ctuffli/dev/freebsd/src.git/contrib/llvm-project/lldb/source/Core/ModuleList.cpp:34:
In file included from
/usr/home/ctuffli/dev/freebsd/src.git/contrib/llvm-project/clang/include/clang/Driver/Driver.h:12:
In file included from
/usr/home/ctuffli/dev/freebsd/src.git/contrib/llvm-project/clang/include/clang/Basic/Diagnostic.h:17:
/usr/home/ctuffli/dev/freebsd/src.git/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

Where did I goof? TIA

--chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKAYmMLHY7myDVGAkv4DnVdCba0KEredyNagKjnDNo3Sc2QPvg>