[Bug 273283] Trying to build world (upgrade from 13.1 to 13.2) from source fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 23 Aug 2023 20:24:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273283

Ulrich Spörlein <uqs@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uqs@FreeBSD.org

--- Comment #6 from Ulrich Spörlein <uqs@FreeBSD.org> ---
Unrelated to kbdcontrol and I haven't seen anyone report this, but for me
upgrading to the latest 13.2 from 13.2 fails in buildworld like so.

I have nothing fancy in /etc/make.conf


--------------------------------------------------------------
>>> stage 1.2: bootstrap tools
--------------------------------------------------------------
cd /usr/src; INSTALL="sh /usr/src/tools/install.sh" 
TOOLS_PREFIX=/usr/obj/usr/src/amd64.amd64/tmp 
PATH=/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec:/sbin:/bin:/usr/sbin:/usr/bin
 WORLDTMP=/usr/obj/usr/src/amd64.amd64/tmp  MAKEFLAGS="-m
/usr/src/tools/build/mk  -m /usr/src/share/mk" make  -f Makefile.inc1  DESTDIR=
 OBJTOP='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools'  OBJROOT='${OBJTOP}/' 
MAKEOBJDIRPREFIX=  BOOTSTRAPPING=1302001  BWPHASE=bootstrap-tools 
-DNO_CPU_CFLAGS  -DNO_LINT  -DNO_PIC  -DNO_SHARED  MK_CTF=no 
MK_CLANG_EXTRAS=no  MK_CLANG_FORMAT=no  MK_CLANG_FULL=no  MK_HTML=no  MK_MAN=no
 MK_PROFILE=no  MK_RETPOLINE=no  MK_SSP=no  MK_TESTS=no  MK_WERROR=no 
MK_INCLUDES=yes  MK_MAN_UTILS=yes MK_LLVM_TARGET_ALL=no bootstrap-tools
===> lib/clang/libllvmminimal (obj,all,install)
[Creating objdir
/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvmminimal...]
[Creating nested objdir
/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvmminimal/Demangle...]
[Creating nested objdir
/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvmminimal/Support...]
[Creating nested objdir
/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvmminimal/TableGen...]
c++  -O2 -pipe -fno-common -I/usr/src/lib/clang/include
-I/usr/src/contrib/llvm-project/llvm/include -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_VCS_VERSION_INC -DNDEBUG
-DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd13.2\"
-DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd13.2\"
-DDEFAULT_SYSROOT=\"/usr/obj/usr/src/amd64.amd64/tmp\" -DLLVM_TARGET_ENABLE_X86
-DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser
-DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter
-DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeX86Disassembler
-DLLVM_NATIVE_TARGET=LLVMInitializeX86Target
-DLLVM_NATIVE_TARGETINFO=LLVMInitializeX86TargetInfo
-DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC -ffunction-sections
-fdata-sections -gline-tables-only -MD -MF.depend.Demangle_ItaniumDemangle.o
-MTDemangle/ItaniumDemangle.o -Wno-format-zero-length -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable
-Wno-error=unused-but-set-variable -Wno-tautological-compare -Wno-unused-value
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch
-Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses
-Qunused-arguments -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include 
-fno-exceptions -fno-rtti -gline-tables-only -std=c++14    -stdlib=libc++
-Wno-c++11-extensions   -c
/usr/src/contrib/llvm-project/llvm/lib/Demangle/ItaniumDemangle.cpp -o
Demangle/ItaniumDemangle.o
In file included from
/usr/src/contrib/llvm-project/llvm/lib/Demangle/ItaniumDemangle.cpp:13:
In file included from
/usr/src/contrib/llvm-project/llvm/include/llvm/Demangle/Demangle.h:13:
In file included from /usr/include/c++/v1/string:535:
/usr/include/c++/v1/string_view:205:10: error: '__string' file not found, did
you mean 'string'?
#include <__string>
         ^

Any idea what that is about?

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