Subject: pkg/23363: Perl 5.6.1 compile fails while testing for locales
To: None <gnats-bugs@gnats.netbsd.org>
From: None <xavier.humbert@xavhome.fr.eu.org>
List: netbsd-bugs
Date: 11/03/2003 20:20:55
>Number: 23363
>Category: pkg
>Synopsis: There is a problem with loclaes 'nl' and 'zh_CN.GB18030' when running 'make tests' in perl build process
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 03 19:21:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Xavier HUMBERT
>Release: NetBSD 1.6ZD
>Organization:
>Environment:
System: NetBSD arnor.xavhome.fr.eu.org 1.6ZD NetBSD 1.6ZD (XAVIER) #3: Fri Oct 17 09:04:15 CEST 2003 root@arnor.xavhome.fr.eu.org:/usr/obj.i386/sys/arch/i386/compile/XAVIER i386
Architecture: i386
Machine: i386
>Description:
[ Please note: this is perhaps a 'bin' problem, but -for me- appears when building perl]
When you want to install, upgrade or replace Perl 5.6.1, there is a locale problem in make tests
this happens on various platforms, various system versions, and iirc, since revisions above 5.6.1nb16
I had the problem again ysterday while installing a brand new system.
The output of is :
----------------- 8< --------------------
pragma/locale.......NOK 116# The following locales
#
# C C POSIX POSIX bg_BG.CP1251 ca ca_ES.ISO8859-1 ca_ES.ISO8859-15
# cs cs_CZ.ISO8859-2 da da_DK.ISO8859-1 da_DK.ISO8859-15 de
# de_AT de_AT.ISO8859-1 de_AT.ISO8859-15 de_CH.ISO8859-1
# de_CH.ISO8859-15 de_DE.ISO8859-1 de_DE.ISO8859-15 el
# el_GR.ISO8859-7 en_AU.ISO8859-1 en_AU.ISO8859-15 en_CA.ISO8859-1
# en_CA.ISO8859-15 en_GB.ISO8859-1 en_GB.ISO8859-15 en_US.ISO8859-1
# en_US.ISO8859-15 en_US.UTF-8 eo es es_ES.ISO8859-1
# es_ES.ISO8859-15 et fi_FI.ISO8859-1 fi_FI.ISO8859-15 fr
# fr_BE.ISO8859-1 fr_BE.ISO8859-15 fr_CA.ISO8859-1 fr_CA.ISO8859-15
# fr_CH.ISO8859-1 fr_CH.ISO8859-15 fr_FR.ISO8859-1 fr_FR.ISO8859-15
# gl he hr hr_HR.ISO8859-2 hu_HU.ISO8859-2 hy_AM.ARMSCII-8 id
# is_IS.ISO8859-1 is_IS.ISO8859-15 it it_CH.ISO8859-1
# it_CH.ISO8859-15 it_IT.ISO8859-1 it_IT.ISO8859-15 ja
# ja_JP.ISO2022-JP ja_JP.ISO2022-JP2 ja_JP.SJIS ja_JP.ct
# ja_JP.eucJP ko ko_KR.UTF-8 ko_KR.eucKR lt_LT.ISO8859-13
# lt_LT.ISO8859-4 nl_BE.ISO8859-1 nl_BE.ISO8859-15 nl_NL.ISO8859-1
# nl_NL.ISO8859-15 no no@nynorsk no_NO.ISO8859-1 no_NO.ISO8859-15
# pl pl_PL.ISO8859-2 pt pt_BR pt_PT.ISO8859-1 pt_PT.ISO8859-15
# ro ru ru_RU.CP866 ru_RU.ISO8859-5 ru_RU.KOI8-R sk sk_SK.ISO8859-2
# sl sl_SI.ISO8859-2 sv sv_SE.ISO8859-1 sv_SE.ISO8859-15 tr
# uk_UA.KOI8-U zh_CN zh_CN.eucCN zh_TW zh_TW.BIG5 zh_TW.Big5
# zh_TW.eucTW
#
# tested okay.
#
# The following locales
#
# nl zh_CN.GB18030
#
# had problems.
#
pragma/locale.......FAILED test 116
Failed 1/116 tests, 99.14% okay
----------------- 8< --------------------
>How-To-Repeat:
$ cd /usr/pkgsrc/lang/perl5 && sudo make
>Fix:
$ sudo rm -rf /usr/share/locale/nl /usr/share/locale/zh_CN.GB18030
It's a bit naughty for our Dutch and Chinese friends :-}
Or :
sudo make TEST_TARGET=''
Regards,
Xav
--
Xavier HUMBERT
http://www.freetibet.org
http://www.tibet.fr/
>Release-Note:
>Audit-Trail:
>Unformatted: