https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285981
Bug ID: 285981
Summary: unable to build CURRENT from 14.2-RELEASE (as of
20250409 / 85967694b4590a436c56a061b397620e342784ae )
Product: Base System
Version: 15.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: [email protected]
Reporter: [email protected]
>From 14.2-RELEASE it is presently not possible to build CURRENT:
```
# cd /usr/src && make -j32 buildkernel TARGET_ARCH=amd64 TARGET=amd64
KERNCONF=GENERIC -s \
&& cd ./release && make TARGET_ARCH=amd64 TARGET=amd64 -j32 -s clean && make
KERNCONF=GENERIC TARGET_ARCH=amd64 TARGET=amd64 -s
make[1]: warning: /usr/src/: Read-only file system.
make[1]: "/usr/src/Makefile.inc1" line 364: SYSTEM_COMPILER: libclang will be
built for bootstrapping a cross-compiler.
make[1]: "/usr/src/Makefile.inc1" line 369: SYSTEM_LINKER: libclang will be
built for bootstrapping a cross-linker.
--------------------------------------------------------------
>>> Kernel build for GENERIC started on Wed Apr 9 09:29:08 UTC 2025
--------------------------------------------------------------
===> GENERIC
--------------------------------------------------------------
>>> stage 1: configuring the kernel
--------------------------------------------------------------
Kernel build directory is /usr/obj/usr/src/amd64.amd64/sys/GENERIC
Don't forget to do ``make cleandepend && make depend''
make[2]: warning: /usr/src/: Read-only file system.
0.02 real 0.00 user 0.02 sys
--------------------------------------------------------------
>>> stage 2.3: build tools
--------------------------------------------------------------
ld-elf.so.1: Shared object "libmd.so.7" not found, required by "mtree"
--- kernel-tools ---
*** [kernel-tools] Error code 1
make[2]: stopped making "kernel-tools" in /usr/src
make[2]: 1 error
make[2]: stopped making "kernel-tools" in /usr/src
0.03 real 0.02 user 0.00 sys
--- buildkernel ---
make[1]: stopped in /usr/src
--- buildkernel ---
make: stopped in /usr/src
root@picard:/usr/src #
```
As a work-around, build CURRENT on CURRENT, and then use
beinstall.sh or similar to just install(world,kernel).
>From ocochard@ I used this for beinstall.sh
export LD_PRELOAD=/usr/obj/usr/src/amd64.amd64/lib/libmd/libmd.so.7
... usual incantations
--
You are receiving this mail because:
You are the assignee for the bug.