Subject: tools build failure
To: None <current-users@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: current-users
Date: 12/13/2004 17:36:56
Hi all,

while trying to build tools from a src tree updated some minutes ago, I
get:

config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating magic/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
cd /usr/src/tools/file/../../dist/file && /bin/sh /usr/src/dist/file/missing --run autoheader
autoheader: not found
WARNING: `autoheader' is missing on your system.  You should only need it if
         you modified `acconfig.h' or `configure.in'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.
touch: [config.h].in: Permission denied
touch /usr/src/tools/file/../../dist/file/config.h.in
touch: /usr/src/tools/file/../../dist/file/config.h.in: Permission denied

*** Failed target:  /usr/src/tools/file/../../dist/file/config.h.in
*** Failed command: touch /usr/src/tools/file/../../dist/file/config.h.in
*** Error code 1

Looks like the code is not honoring my object directory properly.  The
call was:
PATH=/sbin:/bin:/usr/sbin:/usr/bin ./build.sh -M /var/build/obj -U tools kernel=/archive/NetBSD/kernels/DAWN

(I'm setting PATH explicitly to avoid configure finding any of the auto*
tools I have installed.  But with a complete PATH, it breaks the same way).

Any idea?

Thanks,

-- 
Julio M. Merino Vidal <jmmv@menta.net>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/