Subject: make distrib-dirs doesn't stop on mtree error
To: NetBSD tech-userlevel mailing list <tech-userlevel@netbsd.org>
From: Julian Coleman <J.D.Coleman@newcastle.ac.uk>
List: tech-userlevel
Date: 03/08/2000 15:35:26
I recently helped a user with a problem they were having with DESTDIR builds.
The output they saw was :
Build started at: Sun Feb 27 21:06:19 CET 2000
(cd /usr/src/etc && make distrib-dirs)
install -d -o root -g wheel -m 755 /usr/release
mtree -def mtree/NetBSD.dist -p /usr/release/ -u
mtree: unknown user games
mtree: failed at line 1877 of the specification
*** Error code 1 (ignored)
cd /usr/release; rm -f sys; ln -s usr/src/sys sys
(cd /usr/src/share/mk && make install)
install -c -o root -g wheel -m 444 bsd.README
/usr/release/usr/share/mk/bsd.README
install: /usr/release/usr/share/mk/bsd.README: No such file or directory
*** Error code 1
My question is - why doesn't the make fail when mtree fails? It's trivial to
change, but why is it the way it is?
J
--
My other computer also runs NetBSD
http://www.netbsd.org/