[Bug 273661] freebsd-update install: ///usr/include/c++/v1/__string exists but is not a directory

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 Sep 2023 09:05:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273661

Rene Ladan <rene@FreeBSD.org> changed:

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

--- Comment #6 from Rene Ladan <rene@FreeBSD.org> ---
Upgrading a poudriere jail from src also gets bitten by this, but slightly
different:

cd /zroot/poudriere/jails/14-amd64/usr/src; time env INSTALL="sh
/zroot/poudriere/jails/14-amd64/usr/src/tools/install.sh" 
TOOLS_PREFIX=/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64
.amd64/tmp 
PATH=/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/zroot
/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/legacy/usr/libexec:/sbin:/bin:/usr/sbin:/usr/bin
 WORLDTMP=/usr/o
bj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp  MAKEFLAGS="-m
/zroot/poudriere/jails/14-amd64/usr/src/tools/build/mk  -j 4 -J 15,16 -m
/zroot/poudriere/jails/14-amd64/usr/src/shar
e/mk" make  -f Makefile.inc1  DESTDIR= 
OBJTOP='/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/obj-tools'
 OBJROOT='${OBJTOP}/'  UNIVERSE_TOOLCHAIN_PATH=  MAKEOBJDIRPREFIX= 
 BOOTSTRAPPING=1400097  BWPHASE=bootstrap-tools  -DNO_CPU_CFLAGS  -DNO_LINT 
-DNO_PIC  -DNO_SHARED  MK_ASAN=no  MK_CTF=no  MK_CLANG_EXTRAS=no 
MK_CLANG_FORMAT=no  MK_CLANG_FULL=no  MK_HTML=n
o  MK_MAN=no  MK_PROFILE=no  MK_RETPOLINE=no  MK_SSP=no  MK_TESTS=no 
MK_UBSAN=no  MK_WERROR=no  MK_INCLUDES=yes  MK_MAN_UTILS=yes
MK_LLVM_TARGET_ALL=no bootstrap-tools
Building
/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/fortune/strfile/strfile.o
Building
/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclangminimal/Support/RISCVVIntrinsicUtils.o
Building
/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/dtc/dtc.o
Building
/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvmminimal/Demangle/ItaniumDemangle.o
Building
/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/fortune/strfile/strfile.full
Building
/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/fortune/strfile/strfile.debug
Building
/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/fortune/strfile/strfile
Building
/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/fortune/strfile/_proginstall
Building
/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/dtc/input_buffer.o
In file included from
/zroot/poudriere/jails/14-amd64/usr/src/contrib/llvm-project/llvm/lib/Demangle/ItaniumDemangle.cpp:13:
In file included from
/zroot/poudriere/jails/14-amd64/usr/src/contrib/llvm-project/llvm/include/llvm/Demangle/Demangle.h:13:
/usr/include/c++/v1/string:561:10: fatal error: '__string/char_traits.h' file
not found
#include <__string/char_traits.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/zroot/poudriere/jails/14-amd64/usr/src/usr.bin/dtc/dtc.cc:44:
In file included from
/zroot/poudriere/jails/14-amd64/usr/src/usr.bin/dtc/fdt.hh:35:
In file included from /usr/include/c++/v1/algorithm:1913:
In file included from /usr/include/c++/v1/chrono:746:
In file included from /usr/include/c++/v1/__chrono/convert_to_tm.h:19:
In file included from /usr/include/c++/v1/__chrono/statically_widen.h:17:
In file included from /usr/include/c++/v1/__format/concepts.h:17:
In file included from /usr/include/c++/v1/__format/format_parse_context.h:15:
/usr/include/c++/v1/string_view:220:10: fatal error: '__string/char_traits.h'
file not found
#include <__string/char_traits.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/zroot/poudriere/jails/14-amd64/usr/src/contrib/llvm-project/clang/lib/Support/RISCVVIntrinsicUtils.cpp:9:
In file included from
/zroot/poudriere/jails/14-amd64/usr/src/contrib/llvm-project/clang/include/clang/Support/RISCVVIntrinsicUtils.h:12:
In file included from
/zroot/poudriere/jails/14-amd64/usr/src/contrib/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:12:
In file included from
/zroot/poudriere/jails/14-amd64/usr/src/contrib/llvm-project/llvm/include/llvm/ADT/Hashing.h:51:
In file included from /usr/include/c++/v1/algorithm:1913:
In file included from /usr/include/c++/v1/chrono:746:
In file included from /usr/include/c++/v1/__chrono/convert_to_tm.h:19:
In file included from /usr/include/c++/v1/__chrono/statically_widen.h:17:
In file included from /usr/include/c++/v1/__format/concepts.h:17:
In file included from /usr/include/c++/v1/__format/format_parse_context.h:15:
/usr/include/c++/v1/string_view:220:10: fatal error: '__string/char_traits.h'
file not found
#include <__string/char_traits.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
*** [dtc.o] Error code 1

make[3]: stopped in /zroot/poudriere/jails/14-amd64/usr/src/usr.bin/dtc
.ERROR_TARGET='dtc.o'
.ERROR_META_FILE='/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/dtc/dtc.o.meta'
.MAKE.LEVEL='3'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
_ERROR_CMD='/usr/local/bin/ccache c++  -O2 -pipe -fno-common -g -gz=zlib
-Wno-format-zero-length -Wsystem-headers -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wpointer-arith -Wno-uninitia
lized -Wdate-time -Wno-empty-body -Wno-string-plus-int
-Wno-unused-const-variable -Wno-error=unused-but-set-parameter
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -W
no-unused-function -Wno-enum-conversion -Wno-unused-local-typedef
-Wno-address-of-packed-member -Qunused-arguments
-I/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/legacy/us
r/include -fno-rtti -fno-exceptions  -std=c++11    -Wno-c++11-extensions   -c
/zroot/poudriere/jails/14-amd64/usr/src/usr.bin/dtc/dtc.cc -o dtc.o;'
.CURDIR='/zroot/poudriere/jails/14-amd64/usr/src/usr.bin/dtc'
.MAKE='make'
.OBJDIR='/usr/obj/zroot/poudriere/jails/14-amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/dtc'
.TARGETS='all'
CPUTYPE=''
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MACHINE_CPUARCH='amd64'
        0.92 real         0.47 user         0.14 sys

make[1]: stopped in /zroot/poudriere/jails/14-amd64/usr/src

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