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

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

Thread Previous | Thread Next
From:
Karl Williamson
Date:
August 16, 2013 23:25
Subject:
Re: [perl #119077] make test fails on NetBSD 6 [perl #96240]
Message ID:
520EB4CF.5040905@khwilliamson.com
On 07/30/2013 11:55 PM, Kuroishi Mitsuo wrote:
>
>    Message-id: <rt-3.6.HEAD-2552-1375241954-552.119077-94-0@perl.org>
>    From:       "karl williamson via RT" <perlbug-followup@perl.org>
>    Subject:    Re: [perl #119077] make test fails on NetBSD 6
>    Date:       Tue, 30 Jul 2013 20:39:14 -0700
>
>    > 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.
>
> OK. I'll disregard the error.
>
> # In my heart I would like to manage to fix the error.
>
> Anyway, thank you very much for your support.
>
> --
> Kuroishi Mitsuo
>

I noticed a similar issue in this ticket
https://rt.perl.org/rt3//Ticket/Display.html?id=96240

Please try the solution given at then end.  There's also a C language 
utility given in the ticket commentary that you can use to narrow down 
the problem.  Please report back the results.

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