Subject: toolchain/18020: No objdir created in src/tools/makewhatis!
To: None <firstname.lastname@example.org>
From: Frederick Bruckman <email@example.com>
Date: 08/21/2002 15:21:03
>Synopsis: No objdir created in src/tools/makewhatis!
>Arrival-Date: Wed Aug 21 13:22:00 PDT 2002
>Release: NetBSD 1.6F
Not very organized.
# Package system options
.endif # BSD_PKG_MK
System: NetBSD ilfxv013.immanent.net 1.6F NetBSD 1.6F (ARMADA_M700) #0: Sun Aug 11 09:23:22 CDT 2002 firstname.lastname@example.org:/s/src-current/sys/arch/i386/compile/ARMADA_M700 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 "./build.sh" or "./build.sh -t"
It looks like "bsd.obj.mk" is being included too early
at the top of ".../src/libexec/makewhatis/Makefile", as
the problem goes away if you comment that out. Moreover,
"bsd.obj.mk" 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".