NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/39619 (build.sh looks for nbmake in wrong place and rebuilds after was just built)
Synopsis: build.sh looks for nbmake in wrong place and rebuilds after was just built
Responsible-Changed-From-To: bin-bug-people->lukem
Responsible-Changed-By: lukem%NetBSD.org@localhost
Responsible-Changed-When: Fri, 02 Jun 2023 16:43:40 +0000
Responsible-Changed-Why:
State-Changed-From-To: open->feedback
State-Changed-By: lukem%NetBSD.org@localhost
State-Changed-When: Fri, 02 Jun 2023 16:43:40 +0000
State-Changed-Why:
A couple of observations:
1. I speculate that your build was relying upon $TOOLDIR in your
shell's environment (because you didn't show invoking build.sh with -T),
and your PR contains this:
TOOLDIR path: /usr/src/tooldir.NetBSD-4.99.62-x86_64
sudo(1) doesn't preserve environment by default (including $TOOLDIR), so
sudo ./build.sh -U install=/
isn't going to inherit your $TOOLDIR (in the default sudo configuration).
2. build.sh was changed on 2009-09-27 (after this PR's submission) in
how it determines the $TOOLDIR, which may have improved the situation.
Is this still a problem?
Home |
Main Index |
Thread Index |
Old Index