Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2001 13:15:04 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        Adrian Browne <Adrian@nu-earth.demon.co.uk>, freebsd-current@FreeBSD.ORG
Subject:   Re: tcsh.cat
Message-ID:  <Pine.BSF.4.21.0106151301330.80732-100000@besplex.bde.org>
In-Reply-To: <20010615020950.A7765@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0106151301330.80732-100000>