develooper Front page | perl.perl5.porters | Postings from July 2013

Re: [perl #119077] make test fails on NetBSD 6

Thread Previous | Thread Next
From:
Karl Williamson
Date:
July 31, 2013 03:38
Subject:
Re: [perl #119077] make test fails on NetBSD 6
Message ID:
51F886AD.30208@khwilliamson.com
On 07/30/2013 08:18 PM, Kuroishi Mitsuo wrote:
>
> Thanks for your reply.
>
>    Message-id: <rt-3.6.HEAD-2552-1375236311-422.119077-94-0@perl.org>
>    From:       "James E Keenan via RT" <perlbug-followup@perl.org>
>    Subject:    [perl #119077] make test fails on NetBSD 6
>    Date:       Tue, 30 Jul 2013 19:05:11 -0700
>
>    > On Tue Jul 30 01:24:14 2013, kuroishi@iij.ad.jp wrote:
>    > >
>    > > Hi,
>    > >
>    > > I got perl-5.18.0.tar.gz, building it with the make. It was OK,
>    > > but make test failed.
>    > >
>    > > My platform is like below.
>    > >
>    > >   % uname -a
>    > >   NetBSD xxxxxxxxx 6.0 NetBSD 6.0 (GENERIC) amd64
>    > >
>    > >
>    > > And I encountered an error at make test.
>    > >
>    > >
>    > > t/run/locale .................................................. #
>    > > Failed test 3 - format() does not look at LC_NUMERIC without 'use
>    > > locale' at ./test.pl line 925
>    > > #      got "perl: warning: Setting locale failed.\nperl: warning:
>    > > Please check that your locale settings:\n\tLC_ALL =
>    > > \"\",\n\tLC_NUMERIC = \"af_ZA.ISO8859-1\",\n\tLANG =
>    > >  \"ja_JP.UTF8\"\n    are supported and installed on your
>    > > system.\nperl: warning: Falling back to the standard locale
>    > > (\"C\").\n4.2"
>    > > # expected "4.2"
>    > > # PROG:
>    > > # format STDOUT =
>    > > # @.#
>    > > # 4.179
>    > > # .
>    > > # write;
>    > > # STATUS: 0
>    > > # Failed test 4 - format() looks at LC_NUMERIC with 'use locale' at
>    > > ./test.pl line 925
>    > > #      got "perl: warning: Setting locale failed.\nperl: warning:
>    > > Please check that your locale settings:\n\tLC_ALL =
>    > > \"\",\n\tLC_NUMERIC = \"af_ZA.ISO8859-1\",\n\tLANG =
>    > >  \"ja_JP.UTF8\"\n    are supported and installed on your
>    > > system.\nperl: warning: Falling back to the standard locale
>    > > (\"C\").\n4.2"
>    > > # expected "4,2"
>    > > # PROG:
>    > > # use locale;
>    > > # format STDOUT =
>    > > # @.#
>    > > # 4.179
>    > > # .
>    > > # write;
>    > > # STATUS: 0
>    > > FAILED at test 3
>    > >
>    > > How can I fix this?
>    > >
>    > > Thanks in advance.
>    > >
>    > > --
>    > > Kuroishi Mitsuo
>    >
>    >
>    > Diagnostic question:  Have you checked the locale settings as the
>    > warning advised?
>    >
>    > LC_ALL
>    > LC_NUMERIC = af_ZA.ISO8859-1
>    > LANG = ja_JP.UTF8
>    >
>    > (I'm not a locale expert, but I wonder why you are using South African
>    > Afrikaaner numbers with Japanese language?)
>
> I don't know as well.
> My locale setting is like these.
>
> LANG=ja_JP.UTF8
> LC_ALL=C
>
> # Perhaps, is there some problems on base host?
>
> --
> Kuroishi Mitsuo
>

I believe it is a problem on the base host.  Is it possible to ignore 
this error, or does everything in the test suite have to pass?  I don't 
think this error would cause you any problems in the future with your 
locale.  So, if you're doing this just for yourself, disregard the error.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About