Subject: make release prob (i386)
To: None <current-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 11/16/2001 18:52:38
During a "make release" (not build.sh) with source from 15 Nov 2001 19:42 GMT:

all ===> i386/floppies/ramdisk-big
MAKE=make /usr/src/tools/obj.i386/tools.NetBSD-1.5Y-i386/bin/nbcrunchgen -f -D /usr/src/distrib/i386/floppies/ramdisk-big/../../../.. -L /home/destdir/usr/lib /usr/src/distrib/i386/floppies/ramdisk-big/ramdiskbin.conf
Run "make -f ramdiskbin.mk objs exe" to build crunched binary.        
/usr/src/tools/obj.i386/tools.NetBSD-1.5Y-i386/bin/i386--netbsdelf-gcc -Os -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror    -c /usr/src/distrib/i386/floppies/ramdisk-big/../../../utils/libhack/getcap.c
/usr/src/distrib/i386/floppies/ramdisk-big/../../../utils/libhack/getcap.c:44: sys/cdefs.h: No such file or directory

Same for all the other include files, yet they exist in both
/usr/include and ${DESTDIR}/usr/include.
In fact gcc -v shows that its -I search path is:

#include "..." search starts here:
#include <...> search starts here:
 /usr/src/tools/obj.i386/tools.NetBSD-1.5Y-i386/lib/gcc-lib/i386--netbsdelf/2.95.3/include
 /usr/src/tools/obj.i386/tools.NetBSD-1.5Y-i386/lib/gcc-lib/i386--netbsdelf/2.95.3/../../../../i386--netbsdelf/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/src/tools/obj.i386/tools.NetBSD-1.5Y-i386/lib/gcc-lib/i386--netbsdelf/2.95.3/../../../../include/g++-3
 /usr/src/tools/obj.i386/tools.NetBSD-1.5Y-i386/lib/gcc-lib/i386--netbsdelf/2.95.3/../../../../i386--netbsdelf/sys-include
End of omitted list.


Thoughts?

Cheers,

Patrick