make installworld failing with locales due to broken symlinks

Andrey Chernov ache at freebsd.org
Mon Nov 16 02:41:02 UTC 2015


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/


More information about the freebsd-current mailing list