NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/39619: looks for nbmake in wrong place and rebuilds after was just built

>Number:         39619
>Category:       bin
>Synopsis: looks for nbmake in wrong place and rebuilds after 
>was just built
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 24 03:00:00 +0000 2008
>Release:        NetBSD 4.99.62
  Jeremy C. Reed
System: NetBSD 4.99.62 NetBSD 4.99.62 (GENERIC) #13: Wed Aug 6 
17:23:27 CDT 2008 amd64
Architecture: x86_64
Machine: amd64
I built the distribution with ./ -U distribution
which said:
         Bootstrapping nbmake
         TOOLDIR path:     /usr/src/tooldir.NetBSD-4.99.62-x86_64
         DESTDIR path:     /usr/src/destdir.amd64
         RELEASEDIR path:  /usr/src/releasedir
         Created /usr/src/tooldir.NetBSD-4.99.62-x86_64/bin/nbmake
         Updated /usr/src/tooldir.NetBSD-4.99.62-x86_64/bin/nbmake-amd64
         Successful make distribution ended:   Tue Sep 23 16:45:49 CDT 2008

and then immediately ran sudo ./ -U install=/
which said:
===> No /usr/src/obj/tooldir.NetBSD-4.99.62-x86_64/bin/nbmake, needs building.
===> Bootstrapping nbmake
checking for sh... /bin/sh

Notice nbmake is at:

-rwxr-xr-x  1 reed  wsrc  166197 Sep 23 14:41 
-rwxr-xr-x  1 reed  wsrc     925 Sep 23 14:41 

But second run adds "obj" to directory it looks under.
rm -rf /usr/obj/* /usr/src/obj
created /usr/obj and owned by me and then:
      time nice ./ -U distribution
      time sudo ./ -U install=/
Use same path as was previously installed. Don't rebuild.

(I understand that if I was to reboot with newer kernel
then I should use -T switch to point to previous tools directory.)


Home | Main Index | Thread Index | Old Index