Re: 13-STABLE: can not cross build 13.0-RELENG and 13.1-RELENG, what on CURRENT works fine

From: FreeBSD User <freebsd_at_walstatt-de.de>
Date: Wed, 27 Apr 2022 08:59:03 UTC
On Tue, 19 Apr 2022 06:48:04 -0600
Warner Losh <imp@bsdimp.com> wrote:

Hello again,

I'm on 13-STABLE, version FreeBSD 13.1-STABLE #30
stable/13-n250552-364a69a529b: Tue Apr 26 07:32:42 CEST 2022 amd64 (builder
host). Sources for a NanoBSD of 13.0-RELENG (latest as of today) doesn't build,
still the reported [vdso] error (see below).

> The vdso error is fixed by cherry-picking
> b3b462229f972e2ed24d450d7d2f8855cdd58a87.

Still does not build.

> I'm not sure about the second error, though if it's a general profile
> error, you make need WITHOUT_PROFILE=t in both the build and install phases.

This is now working on the above reported builder host version. The key was,
indeed, setting WITHOUT_PROFILE=t. Thank you for the hint.

On CURRENT I can build both, 13.0-RELENG and 13.1-RELENG without issues.

Kind regards,

Oliver Hartmann

> 
> 
> On Tue, Apr 19, 2022 at 5:46 AM FreeBSD User <freebsd@walstatt-de.de> wrote:
> 
> > I regular build for a NanoBSD appliance 13-STABLE, 13.0-RELENG and
> > 13.1-RELENG
> > on either 14-CURRENT and 13-STABLE. Several days ago, some changes has been
> > made to /usr/src/Makefile.inc1, first on CURRENT and shortly after on 13.
> >
> > As with today, building from sources either 13.1-RELENG and 13.0-RELENG on
> > a
> > CURRENT host (recent 14-CURRENT!) works without problems.
> >
> > On 13-STABLE (FreeBSD 13.1-STABLE #26 stable/13-n250478-bb8e1dfbff3: Thu
> > Apr 14
> > 10:47:51 CEST 2022 amd64) building either 13.0-RELENG or 13.1-RELENG fails!
> >
> > On building from sources 13.0-RELENG I receive while in installworld:
> >
> > [...]
> > --------------------------------------------------------------  
> > >>> Install check world  
> > --------------------------------------------------------------
> > mkdir -p /tmp/install.6R4Ifq8o
> > ...
> > cp: [vdso]: No such file or directory
> > *** Error code 1
> > [...]
> >
> > and on building from sources 13.1-RELENG while in installworld we get:
> >
> > [...]  
> > ===> usr.bin/lex/lib (install)  
> > install -l h -o root -g wheel -m 444
> >
> > /home/ohartmann/Projects/TEST/fbsd13.1-dev/os-base/systemconf/../../world/amd64/TEST-DEV-amd64-13.1-RELENG/_.w/usr/lib/lib
> > ln_p.a
> >
> > /home/ohartmann/Projects/TEST/fbsd13.1-dev/os-base/systemconf/../../world/amd64/TEST-DEV-amd64-13.1-RELENG/_.w/usr/lib/libl_p.a
> > install: link
> > /home/ohartmann/Projects/TEST/fbsd13.1-dev/os-base/systemconf/../../world/amd64/TEST-DEV-amd64-13.1-RELENG/_.w/usr/lib/libln_p.a
> > -> /home/ohartman  
> >
> > n/Projects/TEST/fbsd13.1-dev/os-base/systemconf/../../world/amd64/TEST-DEV-amd64-13.1-RELENG/_.w/usr/lib/libl_p.a:
> > No such file or directory
> > *** Error code 71
> >
> >
> > Thanks in advance,
> >
> > O. Hartmann
> >
> >