Need help fixing failing locale tests

Craig Rodrigues rodrigc at FreeBSD.org
Sun Nov 15 11:23:55 UTC 2015


On Sat, Nov 14, 2015 at 11:47 PM, John Marino <freebsd.contact at marino.st>
wrote:

>
> With 4.) they have been removed from FreeBSD when "Make upgrade" is run
> after rebuilding.  Does FreeBSD have a cleanup like that, and did you
> run it?  If not, then maybe that needs to be updated.
>
>
I did not run "make upgrade".
I did this:
cd /usr/src
svn up

I then ran the 11 steps listed in /usr/src/Makefile:

https://github.com/freebsd/freebsd/blob/master/Makefile#L73

It looks like after running those steps, my system is in an inconsistent
state.  I see that the following symlinks point to nonexistent files.

/usr/share/locale/nl_BE.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/nl_BE.ISO8859-1/LC_COLLATE ->
../la_LN.ISO8859-1/LC_COLLATE
/usr/share/locale/en_CA.ISO8859-15/LC_CTYPE -> ../la_LN.ISO8859-15/LC_CTYPE
/usr/share/locale/en_CA.ISO8859-15/LC_COLLATE ->
../la_LN.ISO8859-15/LC_COLLATE
/usr/share/locale/en_US.ISO8859-15/LC_COLLATE ->
../la_LN.ISO8859-15/LC_COLLATE
/usr/share/locale/en_US.ISO8859-15/LC_CTYPE -> ../la_LN.ISO8859-15/LC_CTYPE
/usr/share/locale/ca_FR.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/nb_NO.ISO8859-1/LC_MONETARY ->
../no_NO.ISO8859-1/LC_MONETARY
/usr/share/locale/nb_NO.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/nb_NO.ISO8859-1/LC_COLLATE ->
../no_NO.ISO8859-1/LC_COLLATE
/usr/share/locale/nb_NO.ISO8859-1/LC_MESSAGES ->
../no_NO.ISO8859-1/LC_MESSAGES
/usr/share/locale/nb_NO.ISO8859-1/LC_NUMERIC ->
../no_NO.ISO8859-1/LC_NUMERIC
/usr/share/locale/sr_YU.ISO8859-2/LC_COLLATE ->
../la_LN.ISO8859-2/LC_COLLATE
/usr/share/locale/sr_YU.ISO8859-2/LC_CTYPE -> ../la_LN.ISO8859-2/LC_CTYPE
/usr/share/locale/is_IS.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/zh_TW.Big5/zh_Hant_TW.Big5 -> zh_Hant_TW.Big5
/usr/share/locale/af_ZA.ISO8859-15/LC_CTYPE -> ../la_LN.ISO8859-15/LC_CTYPE
/usr/share/locale/af_ZA.ISO8859-15/LC_COLLATE ->
../la_LN.ISO8859-15/LC_COLLATE
/usr/share/locale/en_AU.ISO8859-15/LC_COLLATE ->
../la_LN.ISO8859-15/LC_COLLATE
/usr/share/locale/en_AU.ISO8859-15/LC_CTYPE -> ../la_LN.ISO8859-15/LC_CTYPE
/usr/share/locale/fr_CH.ISO8859-1/LC_COLLATE ->
../la_LN.ISO8859-1/LC_COLLATE
/usr/share/locale/fr_CH.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/zh_CN.UTF-8/LC_COLLATE -> ../la_LN.US-ASCII/LC_COLLATE
/usr/share/locale/zh_CN.UTF-8/zh_Hans_CN.UTF-8 -> zh_Hans_CN.UTF-8
/usr/share/locale/zh_CN.UTF-8/LC_CTYPE -> ../UTF-8/LC_CTYPE
/usr/share/locale/sv_SE.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/it_IT.ISO8859-1/LC_COLLATE ->
../la_LN.ISO8859-1/LC_COLLATE
/usr/share/locale/it_IT.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/it_CH.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/it_CH.ISO8859-1/LC_COLLATE ->
../la_LN.ISO8859-1/LC_COLLATE
/usr/share/locale/nn_NO.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/nn_NO.ISO8859-1/LC_COLLATE ->
../no_NO.ISO8859-1/LC_COLLATE
/usr/share/locale/nn_NO.ISO8859-1/LC_MONETARY ->
../no_NO.ISO8859-1/LC_MONETARY
/usr/share/locale/nn_NO.ISO8859-1/LC_NUMERIC ->
../no_NO.ISO8859-1/LC_NUMERIC
/usr/share/locale/nn_NO.ISO8859-1/LC_MESSAGES ->
../no_NO.ISO8859-1/LC_MESSAGES
/usr/share/locale/nl_NL.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/nl_NL.ISO8859-1/LC_COLLATE ->
../la_LN.ISO8859-1/LC_COLLATE
/usr/share/locale/zh_TW.UTF-8/LC_COLLATE -> ../la_LN.US-ASCII/LC_COLLATE
/usr/share/locale/zh_TW.UTF-8/zh_Hant_TW.UTF-8 -> zh_Hant_TW.UTF-8
/usr/share/locale/zh_TW.UTF-8/LC_CTYPE -> ../UTF-8/LC_CTYPE
/usr/share/locale/de_AT.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/en_GB.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/en_GB.ISO8859-1/LC_COLLATE ->
../la_LN.ISO8859-1/LC_COLLATE
/usr/share/locale/ca_ES.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/zh_CN.GBK/zh_Hans_CN.GBK -> zh_Hans_CN.GBK
/usr/share/locale/zh_CN.GBK/LC_COLLATE -> ../la_LN.US-ASCII/LC_COLLATE
/usr/share/locale/de_DE.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/fi_FI.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/fi_FI.ISO8859-1/LC_COLLATE ->
../la_LN.ISO8859-1/LC_COLLATE
/usr/share/locale/zh_CN.eucCN/zh_Hans_CN.eucCN -> zh_Hans_CN.eucCN
/usr/share/locale/zh_CN.eucCN/LC_COLLATE -> ../la_LN.US-ASCII/LC_COLLATE
/usr/share/locale/zh_HK.UTF-8/LC_COLLATE -> ../la_LN.US-ASCII/LC_COLLATE
/usr/share/locale/zh_HK.UTF-8/LC_CTYPE -> ../UTF-8/LC_CTYPE
/usr/share/locale/sr_YU.UTF-8/LC_COLLATE -> ../la_LN.US-ASCII/LC_COLLATE
/usr/share/locale/sr_YU.UTF-8/LC_CTYPE -> ../UTF-8/LC_CTYPE
/usr/share/locale/zh_CN.GB18030/zh_Hans_CN.GB18030 -> zh_Hans_CN.GB18030
/usr/share/locale/zh_CN.GB18030/LC_COLLATE -> ../la_LN.US-ASCII/LC_COLLATE
/usr/share/locale/fr_CA.ISO8859-15/LC_CTYPE -> ../la_LN.ISO8859-15/LC_CTYPE
/usr/share/locale/fr_CA.ISO8859-15/LC_COLLATE ->
../la_LN.ISO8859-15/LC_COLLATE
/usr/share/locale/ca_AD.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/fr_BE.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/fr_BE.ISO8859-1/LC_COLLATE ->
../la_LN.ISO8859-1/LC_COLLATE
/usr/share/locale/de_CH.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/en_NZ.ISO8859-15/LC_CTYPE -> ../la_LN.ISO8859-15/LC_CTYPE
/usr/share/locale/en_NZ.ISO8859-15/LC_COLLATE ->
../la_LN.ISO8859-15/LC_COLLATE
/usr/share/locale/es_ES.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/zh_HK.Big5HKSCS/LC_COLLATE -> ../la_LN.US-ASCII/LC_COLLATE
/usr/share/locale/da_DK.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/da_DK.ISO8859-1/LC_COLLATE ->
../la_LN.ISO8859-1/LC_COLLATE
/usr/share/locale/zh_CN.GB2312/LC_COLLATE -> ../la_LN.US-ASCII/LC_COLLATE
/usr/share/locale/zh_CN.GB2312/zh_Hans_CN.GB2312 -> zh_Hans_CN.GB2312
/usr/share/locale/fr_FR.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/fr_FR.ISO8859-1/LC_COLLATE ->
../la_LN.ISO8859-1/LC_COLLATE
/usr/share/locale/pt_PT.ISO8859-1/LC_COLLATE ->
../la_LN.ISO8859-1/LC_COLLATE
/usr/share/locale/pt_PT.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE
/usr/share/locale/lt_LT.ISO8859-4/LC_CTYPE -> ../la_LN.ISO8859-4/LC_CTYPE
/usr/share/locale/eu_ES.ISO8859-1/LC_COLLATE ->
../la_LN.ISO8859-1/LC_COLLATE
/usr/share/locale/eu_ES.ISO8859-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE

What is the fix for this?
It looks like there is some Makefile logic which is wrong.

--
Craig


More information about the freebsd-testing mailing list