Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2025 19:54:55 +0200
From:      Michael Grimm <trashcan@ellael.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: make installworld failes on remotely build /usr/obj
Message-ID:  <333B0C4F-C55B-4877-A7D9-DA51648D8D78@ellael.org>
In-Reply-To: <CANCZdfq2Z2FNoZoKXS7GVHeWzPA1SSQyBoX_eyu2hZHxf=0Eyw@mail.gmail.com>
References:  <719022A6-6FDE-4682-AC78-7003DCC35DA3@ellael.org> <70449F4A-D432-41EC-85D8-915293C8B269@ellael.org> <CANCZdfq2Z2FNoZoKXS7GVHeWzPA1SSQyBoX_eyu2hZHxf=0Eyw@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

Warner Losh <imp@bsdimp.com> wrote:
> 
> On Sun, Aug 10, 2025, 11:32 AM Michael Grimm <trashcan@ellael.org> wrote:
> Michael Grimm <trashcan@ellael.org> wrote:
> 
> > 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
> 
> It's getting weird: If I do copy /usr/obj from that second server over to the first server I can installworld at that server.
> 
> What settings -besides those in /usr/src, /etc/make.conf, /etc/src.conf, and /etc/src-env.conf- might be targets of investigation? 
> 
> (All /etc/… are identical at both servers, btw).
> 
> I assume you've ruled out time skew between the two?

Yes, both servers show identical times, and: I am copying /usr/obj via rsync, no NFS involved.

I will show here the beginning of a 'make installworld' logs on a locally created /usr/obj, and on a remotely created /usr/obj:

############################################################################################################
# locally:
--------------------------------------------------------------
>>> 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 kaan-bock.net 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


# remotely:
--------------------------------------------------------------
>>> Installing everything started on Sun Aug 10 15:22:06 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 kaan-bock.net on Sun Aug 10 14:46:50 CEST 2025
===> lib (install)
===> lib/csu (install)
===> lib/csu/aarch64 (install)
installing DIRS FILESDIR
install  -d -m 0755 -o root  -g wheel  /usr/lib
install -C  -o root  -g wheel -m 444  Scrt1.o /usr/lib/Scrt1.o
install -C  -o root  -g wheel -m 444  crt1.o /usr/lib/crt1.o
install -C  -o root  -g wheel -m 444  gcrt1.o /usr/lib/gcrt1.o
install -C  -o root  -g wheel -m 444  crtbegin.o /usr/lib/crtbegin.o
install -C  -o root  -g wheel -m 444  crtbeginS.o /usr/lib/crtbeginS.o
install -C  -o root  -g wheel -m 444  crtbeginT.o /usr/lib/crtbeginT.o
install -C  -o root  -g wheel -m 444  crtend.o /usr/lib/crtend.o
install -C  -o root  -g wheel -m 444  crtendS.o /usr/lib/crtendS.o
install -C  -o root  -g wheel -m 444  crti.o /usr/lib/crti.o
install -C  -o root  -g wheel -m 444  crtn.o /usr/lib/crtn.o
===> lib/csu/tests (install)
installing DIRS testsFILESDIR
install  -d -m 0755 -o root  -g wheel  /usr/tests/lib/csu
install -C  -o root  -g wheel -m 444  Kyuafile /usr/tests/lib/csu/Kyuafile
############################################################################################################


Thus, "===> lib/csu/aarch64 (install)" is failing on remote /usr/obj
But, I cannot see why?

Regards,
Michael




home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?333B0C4F-C55B-4877-A7D9-DA51648D8D78>