NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: misc/58098: build.sh release fails due to missing METALOG entries
The following reply was made to PR misc/58098; it has been noted by GNATS.
From: Rob Whitlock <rwhitlock22%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: misc-bug-people%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: misc/58098: build.sh release fails due to missing METALOG entries
Date: Fri, 5 Apr 2024 08:15:35 -0400
> On Apr 2, 2024, at 1:40 PM, Taylor R Campbell <riastradh%NetBSD.org@localhost> =
wrote:
>=20
> The following reply was made to PR misc/58098; it has been noted by =
GNATS.
>=20
> From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
> To: Martin Husemann <martin%duskware.de@localhost>
> Cc: Rob Whitlock <rwhitlock22%gmail.com@localhost>,
> gnats-bugs%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost
> Subject: Re: misc/58098: build.sh release fails due to missing METALOG =
entries
> Date: Tue, 2 Apr 2024 17:37:30 +0000
>=20
> This issue isn't about the order of operations for building and
> installing an updated NetBSD -- the issue is that build.sh modules
> leaves a broken METALOG file lying around, which causes other build.sh
> operations to fail.
>=20
> Just doing
>=20
> ./build.sh -u ... tools
> ./build.sh -u ... modules
> ./build.sh -u ... release
>=20
> is probably enough to reproduce the problem, without any install
> steps.
>=20
Assuming that you meant that deleting -U would reproduce the problem, =
this is incorrect. Removing -U requires the build to be done as root. =
Building as an unprivileged user without -U fails with an error saying =
as such. When -U is removed and the commands are run as root with fresh =
-O and -D directories, they complete successfully. This makes sense =
because METALOG is only generated in the case of an unprivileged build =
because the build system can't set permissions willy nilly.=
Home |
Main Index |
Thread Index |
Old Index