I recently did a successful(?) major upgrade of my server, from 13.2 to 14.0 RELEASE via the standard freebsd-update procedure, as documented well in the handbook. This is a typical procedure I successfully follower several times for minor and major upgrades.
Nevertheless, I wanted to build world from source.
So I removed /usr/src directory by issuing the command
I
During the
The file /etc/make.conf is empty
If it helps, these ports are installed at my system:
Any help would be appreciated. Thanks in advance for your time and effort.
Code:
root@DeathStar:/usr/src # uname -apKU
FreeBSD DeathStar 14.0-RELEASE-p2 FreeBSD 14.0-RELEASE-p2 #0: Tue Dec 5 00:31:31 UTC 2023 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 amd64 1400097 1400097
Nevertheless, I wanted to build world from source.
So I removed /usr/src directory by issuing the command
rm -rf /usr/src
and git clone the FreeBSD 14.0-RELEASE source code via the officially git repository, issuing the command git clone -o freebsd -b releng/14.0 https://git.FreeBSD.org/src.git /usr/src
I
cd
to the /usr/src directory and issued the following commands as root: make cleanworld
make buildworld
During the
>>> stage 1.2: bootstrap tools
build, the compilation fails:
Code:
/usr/include/x86/stdarg.h:34:4: error: this file needs to be ported to your compiler
#error this file needs to be ported to your compiler
^
/usr/src/contrib/llvm-project/llvm/lib/Support/PrettyStackTrace.cpp:241:3: error: use of undeclared identifier 'va_start'
va_start(AP, Format);
^
/usr/src/contrib/llvm-project/llvm/lib/Support/PrettyStackTrace.cpp:243:3: error: use of undeclared identifier 'va_end'
va_end(AP);
^
/usr/src/contrib/llvm-project/llvm/lib/Support/PrettyStackTrace.cpp:250:3: error: use of undeclared identifier 'va_start'
va_start(AP, Format);
^
/usr/src/contrib/llvm-project/llvm/lib/Support/PrettyStackTrace.cpp:252:3: error: use of undeclared identifier 'va_end'
va_end(AP);
^
5 errors generated.
*** Error code 1
Stop.
make[3]: stopped in /usr/src/lib/clang/libllvmminimal
*** Error code 1
The file /etc/make.conf is empty
If it helps, these ports are installed at my system:
Code:
llvm-15,1 Meta-port for the default version of the LLVM Toolchain
llvm15-15.0.7_7 LLVM and Clang
gcc-12_5 Meta-port for the default version of the GNU Compiler Collection
gcc12-12.2.0_6 GNU Compiler Collection 12
gccmakedep-1.0.3 Create dependencies in makefiles using 'gcc -M'
Any help would be appreciated. Thanks in advance for your time and effort.