NetBSD-Bugs archive

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

bin/39390: BSDOBJDIR not checked for until after nbmake is built



>Number:         39390
>Category:       bin
>Synopsis:       BSDOBJDIR not checked for until after nbmake is built
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 21 18:30:01 +0000 2008
>Originator:     reed%reedmedia.net@localhost
>Release:        NetBSD 4.99.62
>Organization:
  Jeremy C. Reed
>Environment:
        
        
System: NetBSD tx.reedmedia.net 4.99.62 NetBSD 4.99.62 (GENERIC) #13: Wed Aug 6 
17:23:27 CDT 2008 
reed%tx.reedmedia.net@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
Today's current.
./build.sh kernel=GENERIC 
fails after building nbmake:

tx:src$  ./build.sh kernel=GENERIC
===> build.sh command: ./build.sh kernel=GENERIC
===> build.sh started: Thu Aug 21 12:51:39 CDT 2008
===> NetBSD version:   4.99.72
===> MACHINE:          amd64
===> MACHINE_ARCH:     x86_64
===> Build platform:   NetBSD 4.99.62 amd64
===> HOST_SH:          /bin/sh
===> No /usr/src/obj/tooldir.NetBSD-4.99.62-x86_64/bin/nbmake, needs building.
===> Bootstrapping nbmake
checking for sh... /bin/sh
checking for gcc... cc
...
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 
-DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c 
/usr/src/tools/make/../../usr.bin/make/lst.lib/lstSucc.c
cc  -O -o nbmake *.o  
BSDOBJDIR /usr/obj does not exist, bailing...

*** Failed target:  obj

Nothing in my mk.conf is related.

Also I don't know why my TOP_objdir is /usr/src but the above is /usr/obj

I do see it may be built but validatemakeparams is done after rebuildmake.

I think that the nbmake build doesn't use the same object directory.

>How-To-Repeat:

Get a real slow system and start build.sh and leave. Come back
later and notice nothing happened.

>Fix:
Check and fail immediately.

Or better yet create the missing directory (and fail if can't).

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index