Re: build.sh trying to write to source tree

Martin Husemann <[email protected]> Tue, 3 Jun 2025 11:20:48 +0200
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
On Tue, Jun 03, 2025 at 11:05:37AM +0200, Edgar Fuß wrote:
> I'm unsure whether I'm doing something stupidly wrong.
> 
> Since my last cvs up, building -10 on -10 fails because nbhost-mkdep tries 
> to write what.d.tmp into /usr/src-10/tools/what, which isn't writable for 
> the user running the build.
> 
> Do I have some weird error in my build.sh invocation or is this a (known) 
> regression?

Not a known one. Is this a clean build or a -u one?

Can you check if there are any files in src-10/tools/what that don't
belong there? Something like: "cvs up -I \!" in the directory should tell
you. Also please check all files in there are owned by the soure owner
user.

All releng builds make sure no writes happen to the source tree and I do
all my local build.sh -u builds as a user w/o write access to the sources.

Martin