From owner-freebsd-current Thu Jun 14 20:17:47 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 3914A37B403 for ; Thu, 14 Jun 2001 20:17:34 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id NAA27463; Fri, 15 Jun 2001 13:17:18 +1000 Date: Fri, 15 Jun 2001 13:15:04 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: "Andrey A. Chernov" Cc: Adrian Browne , freebsd-current@FreeBSD.ORG Subject: Re: tcsh.cat In-Reply-To: <20010615020950.A7765@nagual.pp.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 15 Jun 2001, Andrey A. Chernov wrote: > On Thu, Jun 14, 2001 at 22:53:25 +0100, Adrian Browne wrote: > > > > Hi folks I'm having a prob with tcsh.cat when performing a a make install > > after a buildworld and can't seem to shrug it off and or find a reason to > > it's occurance does any one know of a fix as I cant go any further :( > > It seems that 'make hierarchy' step is missing somehow, so required > directories are not created. 'make world' definitely create them. > Probably you run 'make install' instead of 'make installworld' which > create them too. > > /bin/tcsh -> /bin/csh > > install -c -o root -g wheel -m 444 csh.1.gz /usr/share/man/man1 > > /usr/share/man/man1/tcsh.1.gz -> /usr/share/man/man1/csh.1.gz > > ===> bin/csh/nls > > ===> bin/csh/nls/finnish > > install -c -o root -g wheel -m 444 tcsh.cat > > /usr/share/nls/fi_FI.ISO8859-1/tcsh.cat > > install: /usr/share/nls/fi_FI.ISO8859-1/tcsh.cat: No such file or directory > > *** Error code 71 There is a bug somewhere, possibly related to error handling for installworld when the hierarchy is incomplate, that causes the tcsh.cat symlink to point to the empty pathname. ISTR that once you have such a symlink for tcsh.cat, installworld is unable to recover even when the hierarchy is fixed (I used the easy fix of removing the symlink). Related bugs: - symlink(2) is happy to create a symlink to the empty pathname although empty pathnames are invalid. - many utilities are confused by symlinks to the empty pathname. ISTR that one error mode is to blindly append a slash to pathnames, so "" gets transformed to the completely different pathname "/". Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message