All,
I am trying to update my server kernel from 13.2-RELEASE-p9 to 13.4-RELEASE-p2 and have a problem building the world to begin the process. The process fails very quickly..
I have previously updated this server with the following settings in /etc/src.conf (trying to keep things small as I have limited disk space)
So, I checked if I could compile a port and YES, I can
I then tried commenting out all the WITHOUT_ lines in /etc/src.conf but it fails at the same point.
I am wondering if I have previously made an error when updating which did not show until I went to update once again.
On a hunch I compared the kernel date with the date of the include file in the error trace..
I'm not sure if I'm on the right track or not.
Can someone please point me in the right direction?
Many thanks for all assistance!
I am trying to update my server kernel from 13.2-RELEASE-p9 to 13.4-RELEASE-p2 and have a problem building the world to begin the process. The process fails very quickly..
Code:
.
.
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.4\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd13.4\" -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 -DNDEBUG -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 -std=c++17 -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:12:
/usr/include/c++/v1/cstddef:45:10: fatal error: '__nullptr' file not found
#include <__nullptr>
^~~~~~~~~~~
1 error generated.
*** Error code 1
Stop.
make[3]: stopped in /usr/src/lib/clang/libllvmminimal
*** Error code 1
Stop.
make[2]: stopped in /usr/src
*** Error code 1
Stop.
make[1]: stopped in /usr/src
*** Error code 1
Stop.
make: stopped in /usr/src
I have previously updated this server with the following settings in /etc/src.conf (trying to keep things small as I have limited disk space)
Code:
# Specify my VM kernel config
KERNCONF=VM
# Kernel modules - none please?
MODULES_OVERRIDE = geom aesni
# Delete all old files
BATCH_DELETE_OLD_FILES=YES
# make world tuning
WITHOUT_AMD=YES
WITHOUT_APM=YES
WITHOUT_ASSERT_DEBUG=YES
WITHOUT_ATM=YES
WITHOUT_AUTHPF=YES
WITHOUT_AUTOFS=YES
WITHOUT_BHYVE=YES
WITHOUT_BLUETOOTH=YES
WITHOUT_BOOTPARAMD=YES
WITHOUT_BOOTPD=YES
WITHOUT_BSDINSTALL=YES
WITHOUT_BSNMP=YES
WITHOUT_CCD=YES
WITHOUT_CDDL=YES
WITHOUT_CLANG_EXTRAS=YES
WITHOUT_CLANG_FULL=YES
WITHOUT_CROSS_COMPILER=YES
WITHOUT_CTF=YES
WITHOUT_CTM=YES
WITHOUT_CXGBETOOL=YES
WITHOUT_DEBUG_FILES=YES
WITHOUT_DTRACE_TESTS=YES
WITHOUT_EE=YES
WITHOUT_EXAMPLES=YES
WITHOUT_FINGER=YES
WITHOUT_FLOPPY=YES
WITHOUT_FREEBSD_UPDATE=YES
WITHOUT_GAMES=YES
WITHOUT_GSSAPI=YES
WITHOUT_HAST=YES
WITHOUT_HTML=YES
WITHOUT_HYPERV=YES
WITHOUT_IPFILTER=YES
WITHOUT_IPFW=YES
WITHOUT_ISCSI=YES
WITHOUT_JAIL=YES
WITHOUT_KERBEROS=YES
WITHOUT_KERBEROS_SUPPORT=YES
WITHOUT_KERNEL_SYMBOLS=YES
WITHOUT_LLDB=YES
WITHOUT_LPR=YES
WITHOUT_MLX5TOOL=YES
WITHOUT_NDIS=YES
WITHOUT_NETGRAPH=YES
WITHOUT_NIS=YES
WITHOUT_PC_SYSINSTALL=YES
WITHOUT_PMC=YES
WITHOUT_PORTSNAP=YES
WITHOUT_PPP=YES
WITHOUT_PROFILE=YES
WITHOUT_QUOTAS=YES
WITHOUT_RADIUS_SUPPORT=YES
WITHOUT_RBOOTD=YES
WITHOUT_RCMDS=YES
WITHOUT_ROUTED=YES
WITHOUT_SOURCELESS=YES
WITHOUT_SOURCELESS_HOST=YES
WITHOUT_SOURCELESS_UCODE=YES
WITHOUT_TALK=YES
WITHOUT_TESTS=YES
WITHOUT_TESTS_SUPPORT=YES
WITHOUT_TFTP=YES
WITHOUT_TIMED=YES
WITHOUT_WIRELESS=YES
WITHOUT_WIRELESS_SUPPORT=YES
WITHOUT_WPA_SUPPLICANT_EAPOL=YES
WITHOUT_ZFS=YES
So, I checked if I could compile a port and YES, I can
make git without an issue.I then tried commenting out all the WITHOUT_ lines in /etc/src.conf but it fails at the same point.
I am wondering if I have previously made an error when updating which did not show until I went to update once again.
On a hunch I compared the kernel date with the date of the include file in the error trace..
Code:
# ll /boot/kernel/kernel
-r-xr-xr-x 1 root wheel 13830160 Dec 28 2023 /boot/kernel/kernel*
# ll /usr/include/c++/v1/cstddef
-r--r--r-- 1 root wheel 5537 Apr 7 2023 /usr/include/c++/v1/cstddef
I'm not sure if I'm on the right track or not.
Can someone please point me in the right direction?
Many thanks for all assistance!