Subject: tools build failure
To: None <>
From: Julio M. Merino Vidal <>
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

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 `'.  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/
touch: /usr/src/tools/file/../../dist/file/ Permission denied

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

Looks like the code is not honoring my object directory properly.  The
call was:
PATH=/sbin:/bin:/usr/sbin:/usr/bin ./ -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?


Julio M. Merino Vidal <>
The NetBSD Project -