Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2015 19:08:19 -0800
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        freebsd-current Current <freebsd-current@freebsd.org>
Cc:        Bryan Drewery <bdrewery@freebsd.org>, Baptiste Daroussin <bapt@freebsd.org>
Subject:   Re: make installworld failing with locales due to broken symlinks
Message-ID:  <CAG=rPVfaL-0rqdp0yTBFUYdkgrCdg1mQcDaTesdkRYZyGbJDfQ@mail.gmail.com>
In-Reply-To: <CAG=rPVeyT4Hsd_sbwum39ZaE2aNhqW1xKcy2bkN%2BE-2nkEVYWA@mail.gmail.com>
References:  <94D9C31A-2FDF-4B5C-99AE-847FED0DE859@gmail.com> <CAG=rPVd7WPRuo3gdHuJdiM2%2BZCwnF-wf68R9OcRhEEckT4Pxsg@mail.gmail.com> <CAG=rPVeyT4Hsd_sbwum39ZaE2aNhqW1xKcy2bkN%2BE-2nkEVYWA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 15, 2015 at 6:27 PM, Craig Rodrigues <rodrigc@freebsd.org>
wrote:

> On Sun, Nov 15, 2015 at 5:57 PM, NGie Cooper <yaneurabeya@gmail.com>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVfaL-0rqdp0yTBFUYdkgrCdg1mQcDaTesdkRYZyGbJDfQ>