Re: make installworld failes on remotely build /usr/obj

From: Simon J. Gerraty <sjg_at_juniper.net>
Date: Sun, 10 Aug 2025 16:53:47 UTC
Michael Grimm <trashcan@ellael.org> wrote:

> for many years now I built stable from source and copied /usr/obj to a
> second server. There I installed world and kernel. That workflow
> recently stopped to work on the second server in 'make installworld':

It would be useful if you could say when this last worked as you
expected.

> 
> --------------------------------------------------------------
> >>> Installing everything started on Sun Aug 10 17:26:40 CEST 2025
> --------------------------------------------------------------
> cd /usr/src; make -f Makefile.inc1 install
> make[3]: "/usr/obj/usr/src/arm64.aarch64/toolchain-metadata.mk" line 1: Using cached toolchain metadata from build at example.com on Sun Aug 10 12:49:00 CEST 2025
> ===> lib (install)
> ===> lib/csu (install)
> ===> lib/csu/aarch64 (install)
> /usr/local/bin/ccache cc -target aarch64-unknown-freebsd14.3 --sysroot=/usr/obj/usr/src/arm64.aarch64/tmp -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -O2 -pipe -fno-common -I/usr/src/lib/csu/aarch64   -DSTRIP_FBSDID -fno-omit-frame-pointer -I/usr/src/lib/csu/common  -I/usr/src/lib/libc/include  -std=gnu99 -Wno-format-zero-length -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Wno-error=cast-function-type-mismatch  -Qunused-arguments    ERROR-tried-to-rebuild-during-make-install -fPIC -DPIC -c -o Scrt1_c.o /usr/src/lib/csu/aarch64/crt1_s.S
> ccache: error: Could not find compiler "cc" in PATH
> *** Error code 1
> 
> What has changed? I tried main for a couple of days on both servers. But I had the feeling to reverting back to stable.
> 
> 
> Ever since that reverting back to stable I cannot install world any longer being built at another server.
> 
> What I had to do to solve this issue: Compiling stable/14 at the second server and installing world from locally built /usr/obj
> 
> Any ideas on how to debug this issue are highly welcome.
> 
> Regards,
> Michael
> 
> P.S. I purged /usr/src and created new clone of stable/14
>      I purged /usr/obj and …/ccache
>