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
>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
Today's current.
./ kernel=GENERIC 
fails after building nbmake:

tx:src$  ./ kernel=GENERIC
===> command: ./ kernel=GENERIC
===> 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 -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.


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

Check and fail immediately.

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


Home | Main Index | Thread Index | Old Index