Subject: misc/5497: top-level build target vs. DESTDIR is broken
To: None <gnats-bugs@gnats.netbsd.org>
From: Scott Reynolds <scottr@Plexus.COM>
List: netbsd-bugs
Date: 05/26/1998 14:28:06
>Number: 5497
>Category: misc
>Synopsis: top-level build target vs. DESTDIR is broken
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 26 12:50:01 1998
>Last-Modified:
>Originator: Scott Reynolds
>Organization:
>Release: NetBSD 1.3 and later
>Environment:
Pentium II running NetBSD 1.3.2
System: NetBSD aqua 1.3.2 NetBSD 1.3.2 (AQUA) #406: Mon May 11 03:33:40 CDT 1998 scottr@aqua:/amd/toaster/netbsd/src/sys/arch/i386/compile/AQUA i386
>Description:
Doing a non-exportable `make build' to an empty $DESTDIR fails
while trying to build compile_et due to the fact that `make includes'
hasn't been run yet.
>How-To-Repeat:
Start with a clean source tree.
Make sure EXPORTABLE_SYSTEM isn't set and that the domestic bits
are available.
Create an empty directory, and set DESTDIR to its path.
Type `make build' at the top level of the source tree.
Watch it die while trying to build compile_et.
>Fix:
Clearly, trying to build executables before installing include
files is a broken concept, and must not be attempted, _even_if_
that executable is required to generate the include files.
Therefore, the compile_et and make_cmds pieces should be removed
from the top-level build target.
>Audit-Trail:
>Unformatted: