https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292682
Bug ID: 292682
Summary: etcupdate fails after install world on FreeBSD 15.0
Product: Base System
Version: 15.0-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: [email protected]
Reporter: [email protected]
I have been building FreeBSD from src for some time now and over the years
moved from mergemaster to etcupdate. Servers have been upgraded from 10, 11, 12
and so on to new versions of FreeBSD with zero issues.
While updating a server from FreeBSD 14.3 to 15.0 with our compiled version,
after installworld I run 'etcupdate' (with no flags) to update any files it
needs to.
This time I get a failed to build tree error. Here is part of the log file
where it fails.
>>> stage 1.2: bootstrap tools
--------------------------------------------------------------
cd /usr/src; time env INSTALL="sh /usr/src/tools/install.sh"
TOOLS_PREFIX=/var/db/etcupdate/etcupdate-YThCTSx/usr/obj/usr/src/amd64.amd64/tmp
PATH=/var/db/etcupdate/etcupdate-YThCTSx/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/var/db/etcupdate/etcupdate-YThCTSx/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/var/db/etcupdate/etcupdate-YThCTSx/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/var/db/etcupdate/etcupdate-YThCTSx/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec:/sbin:/bin:/usr/sbin:/usr/bin
WORLDTMP=/var/db/etcupdate/etcupdate-YThCTSx/usr/obj/usr/src/amd64.amd64/tmp
MAKEFLAGS="-m /usr/src/tools/build/mk -D NO_FILEMON -m /usr/src/share/mk" make
-f Makefile.inc1 DESTDIR=
OBJTOP='/var/db/etcupdate/etcupdate-YThCTSx/usr/obj/usr/src/amd64.amd64/tmp/obj-tools'
OBJROOT='${OBJTOP}/' UNIVERSE_TOOLCHAIN_PATH= MAKEOBJDIRPREFIX=
BOOTSTRAPPING=1500068 BWPHASE=bootstrap-tools -DNO_CPU_CFLAGS -DNO_PIC
-DNO_SHARED MK_ASAN=no MK_CTF=no MK_CLANG_EXTRAS=no MK_CLANG_FORMAT=no
MK_CLANG_FULL=no MK_HTML=no MK_MAN=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 _NO_INCLUDE_COMPILERMK=t _cleanobj_fast_depend_hack
>>> Deleting stale dependencies...
MACHINE=amd64 MACHINE_ARCH=amd64 ALL_libcompats=32 sh
/usr/src/tools/build/depend-cleanup.sh
/var/db/etcupdate/etcupdate-YThCTSx/usr/obj/usr/src/amd64.amd64/tmp/obj-tools
/usr/src
depend-cleanup.sh: Malformed .clean_build_epoch; please validate the last line
*** Error code 1
Stop.
make[3]: stopped making "_cleanobj_fast_depend_hack" in /usr/src
0.13 real 0.09 user 0.03 sys
*** Error code 1
Stop.
make[2]: stopped making "_bootstrap-tools" in /usr/src
*** Error code 1
Stop.
make[1]: stopped making "buildetc" in /usr/src
*** Error code 1
Stop.
make: stopped making "buildetc" in /usr/src
---
My current /var/db/etcupdate dir looks like this
/var/db/etcupdate # ls -la
total 65
drwxr-xr-x 4 root wheel 10 Jan 23 16:46 .
drwxr-xr-x 18 root wheel 26 Jan 23 17:04 ..
-rw-r--r-- 1 root wheel 22 Jan 7 2025 added.files
-rw-r--r-- 1 root wheel 8743 Jan 7 2025 both.files
drwxr-xr-x 7 root wheel 10 Jan 7 2025 current
-rw-r--r-- 1 root wheel 18054 Jan 23 16:46 log
-rw-r--r-- 1 root wheel 8765 Jan 7 2025 new.files
drwxr-xr-x 7 root wheel 10 Mar 19 2024 old
-rw-r--r-- 1 root wheel 8743 Jan 7 2025 old.files
-rw-r--r-- 1 root wheel 0 Jan 7 2025 removed.files
When this server was upgraded to 14.3 etcupdate had no issues.
--
You are receiving this mail because:
You are the assignee for the bug.