Subject: bin/14080: make build fails
To: None <gnats-bugs@gnats.netbsd.org>
From: Kimmo Suominen <kim@tac.nyc.ny.us>
List: netbsd-bugs
Date: 09/27/2001 11:19:07
>Number: 14080
>Category: bin
>Synopsis: make build fails
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 27 08:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Kimmo Suominen
>Release: 2001-09-27
>Organization:
Kimmo Suominen
>Environment:
System: NetBSD nix.suominen.org 1.5Y NetBSD 1.5Y (GW-GENERIC) #39: Thu Sep 27 10:43:33 EDT 2001 kim@nix.suominen.org:/net/nix/src-3/NetBSD/cvsroot/src/sys/arch/i386/compile/GW-GENERIC i386
Architecture: i386
Machine: i386
>Description:
During "make build" at the install phase of tools the following happens:
[... lots of output from building and installing deleted ...]
/usr/bin/install -c /net/nix/src-3/NetBSD/cvsroot/src/tools/texinfo/../../gnu/dist/texinfo/util/texi2dvi /usr/tools/bin/texi2dvi
(cd /usr/src/etc && make -m /usr/src/share/mk DESTDIR= distrib-dirs)
STRIP=/usr/tools/bin/i386--netbsdelf-strip /usr/tools/bin/binstall -d -o root -g wheel -m 755
mtree -def mtree/NetBSD.dist -p / -U
dev: permissions (0755, 0555, not modified: Permission denied)
dev/fd: permissions (0755, 0555, not modified: Permission denied)
missing: ./usr/share/locale/cs (created)
missing: ./usr/share/locale/cs/LC_MESSAGES (created)
missing: ./usr/share/locale/de_AT (created)
missing: ./usr/share/locale/de_AT/LC_MESSAGES (created)
missing: ./usr/share/locale/eo (created)
missing: ./usr/share/locale/eo/LC_MESSAGES (created)
missing: ./usr/share/man/cat8/netwinder (created)
missing: ./usr/share/man/man8/netwinder (created)
cd ; rm -f sys; ln -s usr/src/sys sys
ln: sys: Permission denied
*** Error code 1
Stop.
I couldn't quickly find the culprit call that is visible in the output
(cd /usr/src/etc && make -m /usr/src/share/mk DESTDIR= distrib-dirs)
The /usr/src/etc/Makefile rules will not work with DESTDIR set to empty.
I could see that texinfo's Makefile sets DESTDIR to empty...
>How-To-Repeat:
Run "make build" in /usr/src without DESTDIR set in your environment or
in /etc/mk.conf.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: