Subject: toolchain/18020: No objdir created in src/tools/makewhatis!
To: None <>
From: Frederick Bruckman <>
List: netbsd-bugs
Date: 08/21/2002 15:21:03
>Number:         18020
>Category:       toolchain
>Synopsis:       No objdir created in src/tools/makewhatis!
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 21 13:22:00 PDT 2002
>Release:        NetBSD 1.6F

	Not very organized.



BSDSRCDIR=		/s/src
BSDOBJDIR=		/t/obj

.ifdef BSD_PKG_MK
# Package system options
.endif # BSD_PKG_MK

System: NetBSD 1.6F NetBSD 1.6F (ARMADA_M700) #0: Sun Aug 11 09:23:22 CDT 2002 i386
Architecture: i386
Machine: i386

	"make obj" in ".../src/tools/makewhatis" fails to create any
	symlink, or directory, and if one already exists, the objects
	will be built outside of it!

	"make obj" or "./" or "./ -t"

	It looks like "" is being included too early
	at the top of ".../src/libexec/makewhatis/Makefile", as
	the problem goes away if you comment that out. Moreover,
	"" is included inconsistently near the top of
	many other "Makefile"'s. It doesn't ever seem to be needed
	there, while it does cause problems for the programs with
	host tool counterparts. So, the inclusion should either
	go away, or if turns out to be needed for something after
	all, it should at least be protected by ".ifndef HOSTPROG".