Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2023 15:40:19 -0300
From:      Renato Botelho <garga@FreeBSD.org>
To:        Jessica Clarke <jrtc27@FreeBSD.org>, src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 65f28f63a73d - main - tools/build: Create toolchain symlinks for non-absolute compiler/linker
Message-ID:  <622fce0c-403b-35fa-9134-a432390a8b44@FreeBSD.org>
In-Reply-To: <202307270412.36R4C2vh097664@gitrepo.freebsd.org>
References:  <202307270412.36R4C2vh097664@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27/07/23 01:12, Jessica Clarke wrote:
> The branch main has been updated by jrtc27:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=65f28f63a73d3371d9d724a2018be6d1ada0d3e0
> 
> commit 65f28f63a73d3371d9d724a2018be6d1ada0d3e0
> Author:     Jessica Clarke <jrtc27@FreeBSD.org>
> AuthorDate: 2023-07-27 04:10:47 +0000
> Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
> CommitDate: 2023-07-27 04:10:47 +0000
> 
>      tools/build: Create toolchain symlinks for non-absolute compiler/linker
>      
>      If any of the toolchain variables are not absolute then we need to
>      create a symlink in WORLDTMP/legacy/bin in order to make them available
>      during a BUILD_WITH_STRICT_TMPPATH build.
>      
>      Reviewed by:    brooks, jhb
>      Differential Revision:  https://reviews.freebsd.org/D41188

I'm having problems with etcupdate and I suspect this can be the commit 
that caused the trouble.  After installworld/installkernel on a chroot 
Boot Environment directory, etcupdate fails with following error message:

Failed to build new tree.

I've checked etcupdate log and saw this:

cd /usr/src/tools/build;  make DIRPRFX=tools/build/ 
DESTDIR=/var/db/etcupdate/etcupdate-8C3uJ1L/usr/obj/usr/src/amd64.amd64/tmp/legacy 
host-symlinks
Linking host tools into 
/var/db/etcupdate/etcupdate-8C3uJ1L/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin
cp: /usr/bin/basename: Cross-device link

-- 
Renato Botelho




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?622fce0c-403b-35fa-9134-a432390a8b44>