Re: make installworld failing with locales due to broken symlinks

2015-11-17 Thread Baptiste Daroussin
On Sun, Nov 15, 2015 at 05:57:52PM -0800, NGie Cooper wrote:
> Hi,
>   I run into this error when running `make installworld` with a world 
> installed prior and during the projects/collation merge to head — reason is 
> that the target for the symlink doesn’t exist. This might be fallout from 
> recent build changes, or a side effect of the broken symlinks…
> Thanks,
> -NGie
> 
> install: //usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE: No such file or 
> directory
> *** Error code 71
> 
> Stop.
> make[5]: stopped in /usr/src/git/share/ctypedef
> *** Error code 1
> 
> Stop.
> make[4]: stopped in /usr/src/git/share
> *** Error code 1
> 
> Stop.
> make[3]: stopped in /usr/src/git
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /usr/src/git
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/src/git
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/src/git
> $ ls -l /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
> lrwxr-xr-x  1 root  wheel  27 Nov  1 16:24 
> /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
> $ readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
> /usr/share/locale/la_LN.ISO8859-1
> $ ls `readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE`
> ls: /usr/share/locale/la_LN.ISO8859-1: No such file or directory

There is a bug in install(1) basically it tries to follow symlinks when
installing a file instead of replacing the symlink with the said file.

In the current case the problem is la_LN.ISO8859-1 has been removed before, so
the previous symlink is a dead symlink meaning install(1) fails to open it and
die

here is a proposal for a fix:
https://reviews.freebsd.org/D4191

Best regards,
Bapt


signature.asc
Description: PGP signature


Re: make installworld failing with locales due to broken symlinks

2015-11-16 Thread Baptiste Daroussin
On Mon, Nov 16, 2015 at 08:22:26AM +0100, O. Hartmann wrote:
> Am Mon, 16 Nov 2015 08:14:36 +0100
> "O. Hartmann"  schrieb:
> 
> > Am Sun, 15 Nov 2015 19:59:54 -0800
> > Craig Rodrigues  schrieb:
> > 
> > > On Sun, Nov 15, 2015 at 5:57 PM, NGie Cooper  
> > > wrote:
> > >   
> > > >
> > > > install: //usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE: No such file or
> > > > directory
> > > > *** Error code 71
> > > >
> > > > $ ls -l /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
> > > > lrwxr-xr-x  1 root  wheel  27 Nov  1 16:24
> > > > /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE -> 
> > > > ../la_LN.ISO8859-1/LC_CTYPE
> > > > $ readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
> > > > /usr/share/locale/la_LN.ISO8859-1
> > > > $ ls `readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE`
> > > > ls: /usr/share/locale/la_LN.ISO8859-1: No such file or directory
> > > >
> > > 
> > > 
> > > Hi,
> > > 
> > > I ran into the same error when I tried to upgrade a system that I did an
> > > installworld on
> > > 2 days ago.
> > > 
> > > --
> > > Craig
> > > ___
> > > freebsd-current@freebsd.org mailing list
> > > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > > To unsubscribe, send any mail to 
> > > "freebsd-current-unsubscr...@freebsd.org"  
> > 
> > A "me, too" from here, I'm with CURRENT at revision 290924. Still failing 
> > to "make
> > installworld".
> > 
> > Kind regards,
> > 
> > oh
> 
> All right, missed the part "rm -rf". I deleted the file/link in question and 
> the world
> gets installed as usual.

Since yesterday (and the fixes from Craig on the symlinks today) that should not
be needed anymore.

Best regards,
Bapt


signature.asc
Description: PGP signature


Re: make installworld failing with locales due to broken symlinks

2015-11-16 Thread O. Hartmann
Am Mon, 16 Nov 2015 09:28:03 +0100
Baptiste Daroussin  schrieb:

> On Mon, Nov 16, 2015 at 08:22:26AM +0100, O. Hartmann wrote:
> > Am Mon, 16 Nov 2015 08:14:36 +0100
> > "O. Hartmann"  schrieb:
> >   
> > > Am Sun, 15 Nov 2015 19:59:54 -0800
> > > Craig Rodrigues  schrieb:
> > >   
> > > > On Sun, Nov 15, 2015 at 5:57 PM, NGie Cooper  
> > > > wrote:
> > > > 
> > > > >
> > > > > install: //usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE: No such file or
> > > > > directory
> > > > > *** Error code 71
> > > > >
> > > > > $ ls -l /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
> > > > > lrwxr-xr-x  1 root  wheel  27 Nov  1 16:24
> > > > > /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE -> 
> > > > > ../la_LN.ISO8859-1/LC_CTYPE
> > > > > $ readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
> > > > > /usr/share/locale/la_LN.ISO8859-1
> > > > > $ ls `readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE`
> > > > > ls: /usr/share/locale/la_LN.ISO8859-1: No such file or directory
> > > > >  
> > > > 
> > > > 
> > > > Hi,
> > > > 
> > > > I ran into the same error when I tried to upgrade a system that I did an
> > > > installworld on
> > > > 2 days ago.
> > > > 
> > > > --
> > > > Craig
> > > > ___
> > > > freebsd-current@freebsd.org mailing list
> > > > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > > > To unsubscribe, send any mail to 
> > > > "freebsd-current-unsubscr...@freebsd.org"
> > > 
> > > A "me, too" from here, I'm with CURRENT at revision 290924. Still failing 
> > > to "make
> > > installworld".
> > > 
> > > Kind regards,
> > > 
> > > oh  
> > 
> > All right, missed the part "rm -rf". I deleted the file/link in question 
> > and the world
> > gets installed as usual.  
> 
> Since yesterday (and the fixes from Craig on the symlinks today) that should 
> not
> be needed anymore.
> 
> Best regards,
> Bapt

That ist NOT(!) the case in:

URL: http://svn.freebsd.org/base/head
Relative URL: ^/head
Repository Root: http://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 290925
Node Kind: directory
Schedule: normal
Last Changed Author: ae
Last Changed Rev: 290924
Last Changed Date: 2015-11-16 08:10:42 +0100 (Mo., 16 Nov. 2015)

I just updated a box running now FreeBSD CURRENT FreeBSD 11.0-CURRENT #11 
r290688: Wed
Nov 11 21:27:57 CET 2015 amd64.

Kind regards,
oh


pgpQkeINJtY0g.pgp
Description: OpenPGP digital signature


Re: make installworld failing with locales due to broken symlinks

2015-11-16 Thread Baptiste Daroussin
On Mon, Nov 16, 2015 at 10:35:34AM +0100, O. Hartmann wrote:
> Am Mon, 16 Nov 2015 09:28:03 +0100
> Baptiste Daroussin  schrieb:
> 
> > On Mon, Nov 16, 2015 at 08:22:26AM +0100, O. Hartmann wrote:
> > > Am Mon, 16 Nov 2015 08:14:36 +0100
> > > "O. Hartmann"  schrieb:
> > >   
> > > > Am Sun, 15 Nov 2015 19:59:54 -0800
> > > > Craig Rodrigues  schrieb:
> > > >   
> > > > > On Sun, Nov 15, 2015 at 5:57 PM, NGie Cooper  
> > > > > wrote:
> > > > > 
> > > > > >
> > > > > > install: //usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE: No such file 
> > > > > > or
> > > > > > directory
> > > > > > *** Error code 71
> > > > > >
> > > > > > $ ls -l /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
> > > > > > lrwxr-xr-x  1 root  wheel  27 Nov  1 16:24
> > > > > > /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE -> 
> > > > > > ../la_LN.ISO8859-1/LC_CTYPE
> > > > > > $ readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
> > > > > > /usr/share/locale/la_LN.ISO8859-1
> > > > > > $ ls `readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE`
> > > > > > ls: /usr/share/locale/la_LN.ISO8859-1: No such file or directory
> > > > > >  
> > > > > 
> > > > > 
> > > > > Hi,
> > > > > 
> > > > > I ran into the same error when I tried to upgrade a system that I did 
> > > > > an
> > > > > installworld on
> > > > > 2 days ago.
> > > > > 
> > > > > --
> > > > > Craig
> > > > > ___
> > > > > freebsd-current@freebsd.org mailing list
> > > > > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > > > > To unsubscribe, send any mail to 
> > > > > "freebsd-current-unsubscr...@freebsd.org"
> > > > 
> > > > A "me, too" from here, I'm with CURRENT at revision 290924. Still 
> > > > failing to "make
> > > > installworld".
> > > > 
> > > > Kind regards,
> > > > 
> > > > oh  
> > > 
> > > All right, missed the part "rm -rf". I deleted the file/link in question 
> > > and the world
> > > gets installed as usual.  
> > 
> > Since yesterday (and the fixes from Craig on the symlinks today) that 
> > should not
> > be needed anymore.
> > 
> > Best regards,
> > Bapt
> 
> That ist NOT(!) the case in:
> 

I meant updating from a pre-collation current to a current as of today. anyone
that updated in the meantime would have to rm -rf yes. I will add an entry on
UPDATING about that.

Best regards,
Bapt


signature.asc
Description: PGP signature


Re: make installworld failing with locales due to broken symlinks

2015-11-15 Thread Craig Rodrigues
On Sun, Nov 15, 2015 at 5:57 PM, NGie Cooper  wrote:

> $ ls `readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE`
> ls: /usr/share/locale/la_LN.ISO8859-1: No such file or directory
>


I built the latest world, and then did the following:

rm -fr /tmp/testdir
mkdir /tmp/testdir

make installworld DESTDIR=/tmp/testdir

cd /tmp/testdir/usr/share/locale
for f in $(find . -type l) ; do [ ! -e $f ] && echo "$f does not exist";
done

./zh_CN.GB2312/LC_NUMERIC does not exist
./zh_CN.GB2312/LC_MONETARY does not exist
./zh_CN.GB2312/LC_COLLATE does not exist
./zh_CN.GB2312/LC_CTYPE does not exist
./zh_CN.GB2312/LC_MESSAGES does not exist
./zh_CN.GB2312/LC_TIME does not exist
./zh_CN.eucCN/LC_MESSAGES does not exist
./zh_CN.eucCN/LC_NUMERIC does not exist
./zh_CN.eucCN/LC_TIME does not exist
./zh_CN.eucCN/LC_CTYPE does not exist
./zh_CN.eucCN/LC_MONETARY does not exist
./zh_CN.eucCN/LC_COLLATE does not exist
./zh_HK.UTF-8/LC_NUMERIC does not exist
./zh_HK.UTF-8/LC_MONETARY does not exist
./zh_HK.UTF-8/LC_COLLATE does not exist
./zh_HK.UTF-8/LC_MESSAGES does not exist
./zh_HK.UTF-8/LC_TIME does not exist
./zh_HK.UTF-8/LC_CTYPE does not exist
./zh_CN.GBK/LC_CTYPE does not exist
./zh_CN.GBK/LC_NUMERIC does not exist
./zh_CN.GBK/LC_MESSAGES does not exist
./zh_CN.GBK/LC_COLLATE does not exist
./zh_CN.GBK/LC_MONETARY does not exist
./zh_CN.GBK/LC_TIME does not exist
./zh_CN.GB18030/LC_COLLATE does not exist
./zh_CN.GB18030/LC_MESSAGES does not exist
./zh_CN.GB18030/LC_CTYPE does not exist
./zh_CN.GB18030/LC_TIME does not exist
./zh_CN.GB18030/LC_NUMERIC does not exist
./zh_CN.GB18030/LC_MONETARY does not exist
./zh_TW.UTF-8/LC_MESSAGES does not exist
./zh_TW.UTF-8/LC_NUMERIC does not exist
./zh_TW.UTF-8/LC_MONETARY does not exist
./zh_TW.UTF-8/LC_TIME does not exist
./zh_TW.UTF-8/LC_CTYPE does not exist
./zh_TW.UTF-8/LC_COLLATE does not exist
./zh_HK.Big5HKSCS/LC_MONETARY does not exist
./zh_HK.Big5HKSCS/LC_NUMERIC does not exist
./zh_HK.Big5HKSCS/LC_CTYPE does not exist
./zh_HK.Big5HKSCS/LC_TIME does not exist
./zh_HK.Big5HKSCS/LC_COLLATE does not exist
./zh_HK.Big5HKSCS/LC_MESSAGES does not exist
./zh_TW.Big5/LC_MONETARY does not exist
./zh_TW.Big5/LC_CTYPE does not exist
./zh_TW.Big5/LC_TIME does not exist
./zh_TW.Big5/LC_NUMERIC does not exist
./zh_TW.Big5/LC_MESSAGES does not exist
./zh_TW.Big5/LC_COLLATE does not exist

--
Craig
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: make installworld failing with locales due to broken symlinks

2015-11-15 Thread Andrey Chernov
On 16.11.2015 4:57, NGie Cooper wrote:
> make: stopped in /usr/src/git
> $ ls -l /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
> lrwxr-xr-x  1 root  wheel  27 Nov  1 16:24 
> /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
> $ readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
> /usr/share/locale/la_LN.ISO8859-1
> $ ls `readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE`
> ls: /usr/share/locale/la_LN.ISO8859-1: No such file or directory

As I remember, we already hit this type of problem before with old
locales. "ln -sf" and "rm -rf" should be used everywhere on install
target to avoid that.

-- 
http://ache.vniz.net/
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: make installworld failing with locales due to broken symlinks

2015-11-15 Thread Craig Rodrigues
On Sun, Nov 15, 2015 at 6:27 PM, Craig Rodrigues 
wrote:

> On Sun, Nov 15, 2015 at 5:57 PM, NGie Cooper 
> wrote:
>
>> $ ls `readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE`
>> ls: /usr/share/locale/la_LN.ISO8859-1: No such file or directory
>>
>
>
> I built the latest world, and then did the following:
>
> rm -fr /tmp/testdir
> mkdir /tmp/testdir
>
> make installworld DESTDIR=/tmp/testdir
>
> cd /tmp/testdir/usr/share/locale
> for f in $(find . -type l) ; do [ ! -e $f ] && echo "$f does not exist";
> done
>
> ./zh_CN.GB2312/LC_NUMERIC does not exist
> ./zh_CN.GB2312/LC_MONETARY does not exist
> ./zh_CN.GB2312/LC_COLLATE does not exist
> ./zh_CN.GB2312/LC_CTYPE does not exist
> ./zh_CN.GB2312/LC_MESSAGES does not exist
> ./zh_CN.GB2312/LC_TIME does not exist
> ./zh_CN.eucCN/LC_MESSAGES does not exist
> ./zh_CN.eucCN/LC_NUMERIC does not exist
> ./zh_CN.eucCN/LC_TIME does not exist
> ./zh_CN.eucCN/LC_CTYPE does not exist
> ./zh_CN.eucCN/LC_MONETARY does not exist
> ./zh_CN.eucCN/LC_COLLATE does not exist
> ./zh_HK.UTF-8/LC_NUMERIC does not exist
> ./zh_HK.UTF-8/LC_MONETARY does not exist
> ./zh_HK.UTF-8/LC_COLLATE does not exist
> ./zh_HK.UTF-8/LC_MESSAGES does not exist
> ./zh_HK.UTF-8/LC_TIME does not exist
> ./zh_HK.UTF-8/LC_CTYPE does not exist
> ./zh_CN.GBK/LC_CTYPE does not exist
> ./zh_CN.GBK/LC_NUMERIC does not exist
> ./zh_CN.GBK/LC_MESSAGES does not exist
> ./zh_CN.GBK/LC_COLLATE does not exist
> ./zh_CN.GBK/LC_MONETARY does not exist
> ./zh_CN.GBK/LC_TIME does not exist
> ./zh_CN.GB18030/LC_COLLATE does not exist
> ./zh_CN.GB18030/LC_MESSAGES does not exist
> ./zh_CN.GB18030/LC_CTYPE does not exist
> ./zh_CN.GB18030/LC_TIME does not exist
> ./zh_CN.GB18030/LC_NUMERIC does not exist
> ./zh_CN.GB18030/LC_MONETARY does not exist
> ./zh_TW.UTF-8/LC_MESSAGES does not exist
> ./zh_TW.UTF-8/LC_NUMERIC does not exist
> ./zh_TW.UTF-8/LC_MONETARY does not exist
> ./zh_TW.UTF-8/LC_TIME does not exist
> ./zh_TW.UTF-8/LC_CTYPE does not exist
> ./zh_TW.UTF-8/LC_COLLATE does not exist
> ./zh_HK.Big5HKSCS/LC_MONETARY does not exist
> ./zh_HK.Big5HKSCS/LC_NUMERIC does not exist
> ./zh_HK.Big5HKSCS/LC_CTYPE does not exist
> ./zh_HK.Big5HKSCS/LC_TIME does not exist
> ./zh_HK.Big5HKSCS/LC_COLLATE does not exist
> ./zh_HK.Big5HKSCS/LC_MESSAGES does not exist
> ./zh_TW.Big5/LC_MONETARY does not exist
> ./zh_TW.Big5/LC_CTYPE does not exist
> ./zh_TW.Big5/LC_TIME does not exist
> ./zh_TW.Big5/LC_NUMERIC does not exist
> ./zh_TW.Big5/LC_MESSAGES does not exist
> ./zh_TW.Big5/LC_COLLATE does not exist
>
> --
> Craig
>
>


This fixed it for me:

Index: Makefile
===
--- Makefile(revision 290902)
+++ Makefile(working copy)
@@ -15,7 +15,7 @@

 .for from to in ${ALIASES}
 .for f in ${LC_FILES}
-SYMLINKS+= ${from}/${f} ${LOCALEDIR}/${to}/${f}
+SYMLINKS+= ../${from}/${f} ${LOCALEDIR}/${to}/${f}
 .endfor
 .endfor

--
Craig
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: make installworld failing with locales due to broken symlinks

2015-11-15 Thread NGie Cooper

> On Nov 15, 2015, at 19:08, Craig Rodrigues  wrote:
> 
> On Sun, Nov 15, 2015 at 6:27 PM, Craig Rodrigues 
> wrote:
> 
>> On Sun, Nov 15, 2015 at 5:57 PM, NGie Cooper 
>> wrote:
>> 
>>> $ ls `readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE`
>>> ls: /usr/share/locale/la_LN.ISO8859-1: No such file or directory
>>> 
>> 
>> 
>> I built the latest world, and then did the following:
>> 
>> rm -fr /tmp/testdir
>> mkdir /tmp/testdir
>> 
>> make installworld DESTDIR=/tmp/testdir
>> 
>> cd /tmp/testdir/usr/share/locale
>> for f in $(find . -type l) ; do [ ! -e $f ] && echo "$f does not exist";
>> done
>> 
>> ./zh_CN.GB2312/LC_NUMERIC does not exist
>> ./zh_CN.GB2312/LC_MONETARY does not exist
>> ./zh_CN.GB2312/LC_COLLATE does not exist
>> ./zh_CN.GB2312/LC_CTYPE does not exist
>> ./zh_CN.GB2312/LC_MESSAGES does not exist
>> ./zh_CN.GB2312/LC_TIME does not exist
>> ./zh_CN.eucCN/LC_MESSAGES does not exist
>> ./zh_CN.eucCN/LC_NUMERIC does not exist
>> ./zh_CN.eucCN/LC_TIME does not exist
>> ./zh_CN.eucCN/LC_CTYPE does not exist
>> ./zh_CN.eucCN/LC_MONETARY does not exist
>> ./zh_CN.eucCN/LC_COLLATE does not exist
>> ./zh_HK.UTF-8/LC_NUMERIC does not exist
>> ./zh_HK.UTF-8/LC_MONETARY does not exist
>> ./zh_HK.UTF-8/LC_COLLATE does not exist
>> ./zh_HK.UTF-8/LC_MESSAGES does not exist
>> ./zh_HK.UTF-8/LC_TIME does not exist
>> ./zh_HK.UTF-8/LC_CTYPE does not exist
>> ./zh_CN.GBK/LC_CTYPE does not exist
>> ./zh_CN.GBK/LC_NUMERIC does not exist
>> ./zh_CN.GBK/LC_MESSAGES does not exist
>> ./zh_CN.GBK/LC_COLLATE does not exist
>> ./zh_CN.GBK/LC_MONETARY does not exist
>> ./zh_CN.GBK/LC_TIME does not exist
>> ./zh_CN.GB18030/LC_COLLATE does not exist
>> ./zh_CN.GB18030/LC_MESSAGES does not exist
>> ./zh_CN.GB18030/LC_CTYPE does not exist
>> ./zh_CN.GB18030/LC_TIME does not exist
>> ./zh_CN.GB18030/LC_NUMERIC does not exist
>> ./zh_CN.GB18030/LC_MONETARY does not exist
>> ./zh_TW.UTF-8/LC_MESSAGES does not exist
>> ./zh_TW.UTF-8/LC_NUMERIC does not exist
>> ./zh_TW.UTF-8/LC_MONETARY does not exist
>> ./zh_TW.UTF-8/LC_TIME does not exist
>> ./zh_TW.UTF-8/LC_CTYPE does not exist
>> ./zh_TW.UTF-8/LC_COLLATE does not exist
>> ./zh_HK.Big5HKSCS/LC_MONETARY does not exist
>> ./zh_HK.Big5HKSCS/LC_NUMERIC does not exist
>> ./zh_HK.Big5HKSCS/LC_CTYPE does not exist
>> ./zh_HK.Big5HKSCS/LC_TIME does not exist
>> ./zh_HK.Big5HKSCS/LC_COLLATE does not exist
>> ./zh_HK.Big5HKSCS/LC_MESSAGES does not exist
>> ./zh_TW.Big5/LC_MONETARY does not exist
>> ./zh_TW.Big5/LC_CTYPE does not exist
>> ./zh_TW.Big5/LC_TIME does not exist
>> ./zh_TW.Big5/LC_NUMERIC does not exist
>> ./zh_TW.Big5/LC_MESSAGES does not exist
>> ./zh_TW.Big5/LC_COLLATE does not exist
>> 
>> --
>> Craig
>> 
>> 
> 
> 
> This fixed it for me:
> 
> Index: Makefile
> ===
> --- Makefile(revision 290902)
> +++ Makefile(working copy)
> @@ -15,7 +15,7 @@
> 
> .for from to in ${ALIASES}
> .for f in ${LC_FILES}
> -SYMLINKS+= ${from}/${f} ${LOCALEDIR}/${to}/${f}
> +SYMLINKS+= ../${from}/${f} ${LOCALEDIR}/${to}/${f}
> .endfor
> .endfor

LGTM
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: make installworld failing with locales due to broken symlinks

2015-11-15 Thread Craig Rodrigues
On Sun, Nov 15, 2015 at 5:57 PM, NGie Cooper  wrote:

> $ ls `readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE`
> ls: /usr/share/locale/la_LN.ISO8859-1: No such file or directory
>


I built the latest world, and then did the following:

rm -fr /tmp/testdir
mkdir /tmp/testdir

make installworld DESTDIR=/tmp/testdir

cd /tmp/testdir/usr/share/locale
for f in $(find . -type l) ; do [ ! -e $f ] && echo "$f does not exist";
done

./zh_CN.GB2312/LC_NUMERIC does not exist
./zh_CN.GB2312/LC_MONETARY does not exist
./zh_CN.GB2312/LC_COLLATE does not exist
./zh_CN.GB2312/LC_CTYPE does not exist
./zh_CN.GB2312/LC_MESSAGES does not exist
./zh_CN.GB2312/LC_TIME does not exist
./zh_CN.eucCN/LC_MESSAGES does not exist
./zh_CN.eucCN/LC_NUMERIC does not exist
./zh_CN.eucCN/LC_TIME does not exist
./zh_CN.eucCN/LC_CTYPE does not exist
./zh_CN.eucCN/LC_MONETARY does not exist
./zh_CN.eucCN/LC_COLLATE does not exist
./zh_HK.UTF-8/LC_NUMERIC does not exist
./zh_HK.UTF-8/LC_MONETARY does not exist
./zh_HK.UTF-8/LC_COLLATE does not exist
./zh_HK.UTF-8/LC_MESSAGES does not exist
./zh_HK.UTF-8/LC_TIME does not exist
./zh_HK.UTF-8/LC_CTYPE does not exist
./zh_CN.GBK/LC_CTYPE does not exist
./zh_CN.GBK/LC_NUMERIC does not exist
./zh_CN.GBK/LC_MESSAGES does not exist
./zh_CN.GBK/LC_COLLATE does not exist
./zh_CN.GBK/LC_MONETARY does not exist
./zh_CN.GBK/LC_TIME does not exist
./zh_CN.GB18030/LC_COLLATE does not exist
./zh_CN.GB18030/LC_MESSAGES does not exist
./zh_CN.GB18030/LC_CTYPE does not exist
./zh_CN.GB18030/LC_TIME does not exist
./zh_CN.GB18030/LC_NUMERIC does not exist
./zh_CN.GB18030/LC_MONETARY does not exist
./zh_TW.UTF-8/LC_MESSAGES does not exist
./zh_TW.UTF-8/LC_NUMERIC does not exist
./zh_TW.UTF-8/LC_MONETARY does not exist
./zh_TW.UTF-8/LC_TIME does not exist
./zh_TW.UTF-8/LC_CTYPE does not exist
./zh_TW.UTF-8/LC_COLLATE does not exist
./zh_HK.Big5HKSCS/LC_MONETARY does not exist
./zh_HK.Big5HKSCS/LC_NUMERIC does not exist
./zh_HK.Big5HKSCS/LC_CTYPE does not exist
./zh_HK.Big5HKSCS/LC_TIME does not exist
./zh_HK.Big5HKSCS/LC_COLLATE does not exist
./zh_HK.Big5HKSCS/LC_MESSAGES does not exist
./zh_TW.Big5/LC_MONETARY does not exist
./zh_TW.Big5/LC_CTYPE does not exist
./zh_TW.Big5/LC_TIME does not exist
./zh_TW.Big5/LC_NUMERIC does not exist
./zh_TW.Big5/LC_MESSAGES does not exist
./zh_TW.Big5/LC_COLLATE does not exist

--
Craig
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: make installworld failing with locales due to broken symlinks

2015-11-15 Thread Andrey Chernov
On 16.11.2015 5:37, Andrey Chernov wrote:
> On 16.11.2015 4:57, NGie Cooper wrote:
>> make: stopped in /usr/src/git
>> $ ls -l /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
>> lrwxr-xr-x  1 root  wheel  27 Nov  1 16:24 
>> /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
>> $ readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
>> /usr/share/locale/la_LN.ISO8859-1
>> $ ls `readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE`
>> ls: /usr/share/locale/la_LN.ISO8859-1: No such file or directory
> 
> As I remember, we already hit this type of problem before with old
> locales. "ln -sf" and "rm -rf" should be used everywhere on install
> target to avoid that.
> 
Oops, auto-typo. "rm -f" instead, since all directories are created by
mtree.

-- 
http://ache.vniz.net/
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: make installworld failing with locales due to broken symlinks

2015-11-15 Thread Craig Rodrigues
On Sun, Nov 15, 2015 at 5:57 PM, NGie Cooper  wrote:

>
> install: //usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE: No such file or
> directory
> *** Error code 71
>
> $ ls -l /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
> lrwxr-xr-x  1 root  wheel  27 Nov  1 16:24
> /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
> $ readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
> /usr/share/locale/la_LN.ISO8859-1
> $ ls `readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE`
> ls: /usr/share/locale/la_LN.ISO8859-1: No such file or directory
>


Hi,

I ran into the same error when I tried to upgrade a system that I did an
installworld on
2 days ago.

--
Craig
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: make installworld failing with locales due to broken symlinks

2015-11-15 Thread O. Hartmann
Am Sun, 15 Nov 2015 19:59:54 -0800
Craig Rodrigues  schrieb:

> On Sun, Nov 15, 2015 at 5:57 PM, NGie Cooper  wrote:
> 
> >
> > install: //usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE: No such file or
> > directory
> > *** Error code 71
> >
> > $ ls -l /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
> > lrwxr-xr-x  1 root  wheel  27 Nov  1 16:24
> > /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
> > $ readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
> > /usr/share/locale/la_LN.ISO8859-1
> > $ ls `readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE`
> > ls: /usr/share/locale/la_LN.ISO8859-1: No such file or directory
> >  
> 
> 
> Hi,
> 
> I ran into the same error when I tried to upgrade a system that I did an
> installworld on
> 2 days ago.
> 
> --
> Craig
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

A "me, too" from here, I'm with CURRENT at revision 290924. Still failing to 
"make
installworld".

Kind regards,

oh


pgpg9nTuBNPfe.pgp
Description: OpenPGP digital signature


Re: make installworld failing with locales due to broken symlinks

2015-11-15 Thread O. Hartmann
Am Mon, 16 Nov 2015 08:14:36 +0100
"O. Hartmann"  schrieb:

> Am Sun, 15 Nov 2015 19:59:54 -0800
> Craig Rodrigues  schrieb:
> 
> > On Sun, Nov 15, 2015 at 5:57 PM, NGie Cooper  wrote:
> >   
> > >
> > > install: //usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE: No such file or
> > > directory
> > > *** Error code 71
> > >
> > > $ ls -l /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
> > > lrwxr-xr-x  1 root  wheel  27 Nov  1 16:24
> > > /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
> > > $ readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE
> > > /usr/share/locale/la_LN.ISO8859-1
> > > $ ls `readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE`
> > > ls: /usr/share/locale/la_LN.ISO8859-1: No such file or directory
> > >
> > 
> > 
> > Hi,
> > 
> > I ran into the same error when I tried to upgrade a system that I did an
> > installworld on
> > 2 days ago.
> > 
> > --
> > Craig
> > ___
> > freebsd-current@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"  
> 
> A "me, too" from here, I'm with CURRENT at revision 290924. Still failing to 
> "make
> installworld".
> 
> Kind regards,
> 
> oh

All right, missed the part "rm -rf". I deleted the file/link in question and 
the world
gets installed as usual.

oh


pgp1B_0Tt35yY.pgp
Description: OpenPGP digital signature