Subject: Re: Building current 6-5 on i386
To: current-users <current-users@NetBSD.ORG>
From: Paul R. Goyette <paul@pgoyette.bdt.com>
List: current-users
Date: 06/07/1995 11:00:00
On Wed, 7 Jun 1995, Jeff Kreska wrote:
> Second:
> There are several directory where make install will fail. I haven't been able
> to track down the cause; just want to know if anyone else has seen this?
>
> I think one of the dirs is /usr/src/usr.bin/csh
This one seems to be a problem in /usr/share/mk/bsd.man.mk - I haven't
fixed the problem yet, but a work around is to disable the section that
handles links to man pages:
.if defined(MLINKS) && !empty(MLINKS) && defined(NOTYET)
@set ${MLINKS}; \
while test $$# -ge 2; do \
name=$$1; \
shift; \
dir=${DESTDIR}${MANDIR}`expr $$name : '.*\.\(.*\)'`; \
l=$${dir}${MANSUBDIR}/`expr $$name : '\(.*\)\..*'`.0*; \
z=`expr $$l : '.*0\.\(.*\)'`; \
name=$$1; \
shift; \
dir=${DESTDIR}${MANDIR}`expr $$name : '.*\.\(.*\)'`; \
t=$${dir}${MANSUBDIR}/`expr $$name : '\(.*\)\..*'`.0$${z:+.}$${z}; \
echo $$t -\> $$l; \
rm -f $$t; \
ln $$l $$t; \
done; true
.endif
The problem occurs on the "z=`expr...` line.
Adding the " && defined(NOTYET)" part causes it to skip, and avoids the
problem. Chris Demetriou claimed in an e-mail to me that the problem was
"fixed by a recent change" to bsd.man.mk, but I've got the absolutely
most current version (SUPped to yesterday AM, and compared to the
version in the /pub/NetBSD/src/share directory), and the problem keeps on
happening.
--------------------------------------------------------------------
| Paul Goyette | Key available via finger or key server |
| Paul@pgoyette.bdt.com | Fingerprint: 0E 40 D2 FC 2A 13 74 A0 |
| | E4 69 D5 BE 65 E4 56 C6 |
--------------------------------------------------------------------