Skip Menu |
Report information
Id: 132745
Status: resolved
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: slaven [at] rezic.de
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: low
Type: unknown
Perl Version: (no value)
Fixed In: (no value)



CC: srezic [...] cpan.org
To: perlbug [...] perl.org
From: slaven [...] rezic.de
Date: Sat, 20 Jan 2018 11:39:08 +0100 (CET)
Subject: Langinfo.t fails on FreeBSD 9.2
Download (untitled) / with headers
text/plain 3.7k
This is a bug report for perl from slaven@rezic.de, generated with the help of perlbug 1.39 running under perl 5.27.8. ----------------------------------------------------------------- "make test" fails on a FreeBSD 9.2 system: ../ext/I18N-Langinfo/t/Langinfo.t .................................. 1/38 # Failed test 'Returns ',' for decimal pt for locale 'af_ZA.ISO8859-1'' # at t/Langinfo.t line 69. # got: '.' # expected: ',' # Looks like you failed 1 test of 38. ../ext/I18N-Langinfo/t/Langinfo.t .................................. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/38 subtests (less 2 skipped subtests: 35 okay) It does not fail on newer FreeBSD systems (10, 11, or 12). ----------------------------------------------------------------- --- Flags: category=library severity=low module=I18N::Langinfo --- This perlbug was built using Perl 5.16.3 - Fri Oct 3 22:26:58 UTC 2014 It is being executed now by Perl 5.27.8 - Sat Jan 20 10:28:34 CET 2018. Site configuration information for perl 5.27.8: Configured by eserte at Sat Jan 20 10:28:34 CET 2018. Summary of my perl5 (revision 5 version 27 subversion 8) configuration: Platform: osname=freebsd osvers=9.2-release archname=amd64-freebsd uname='freebsd cvrsnica.herceg.de 9.2-release freebsd 9.2-release #0 r255898: thu sep 26 22:50:31 utc 2013 root@bake.isc.freebsd.org:usrobjusrsrcsysgeneric amd64 ' config_args='-ds -e -Dprefix=/usr/perl5.27.8p -Dusedevel -Dusemallocwrap=no -Dcf_email=srezic@cpan.org -Doptimize=-O2 -pipe' hint=recommended useposix=true d_sigaction=define useithreads=undef usemultiplicity=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='cc' ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2' optimize='-O2 -pipe' cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='' gccversion='4.2.1 20070831 patched [FreeBSD]' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='cc' ldflags ='-pthread -Wl,-E -fstack-protector -L/usr/local/lib' libpth=/usr/lib /usr/local/lib /usr/include/gcc/4.2 /usr/lib libs=-lpthread -lgdbm -lm -lcrypt -lutil -lc perllibs=-lpthread -lm -lcrypt -lutil -lc libc= so=so useshrplib=false libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=so d_dlsymun=undef ccdlflags=' ' cccdlflags='-DPIC -fPIC' lddlflags='-shared -L/usr/local/lib -fstack-protector' Locally applied patches: --- @INC for perl 5.27.8: /usr/local/src/perl-5.27.8/lib /usr/perl5.27.8p/lib/site_perl/5.27.8/amd64-freebsd /usr/perl5.27.8p/lib/site_perl/5.27.8 /usr/perl5.27.8p/lib/5.27.8/amd64-freebsd /usr/perl5.27.8p/lib/5.27.8 --- Environment for perl 5.27.8: HOME=/home/e/eserte LANG (unset) LANGUAGE (unset) LC_ALL=de_DE.UTF-8 LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/e/eserte/bin/freebsd9.1:/home/e/eserte/bin/sh:/home/e/eserte/bin:/home/e/eserte/bin/pistachio-perl/bin:/usr/games:/home/e/eserte/devel PERLDOC=-MPod::Perldoc::ToTextOverstrike PERL_BADLANG (unset) SHELL=/usr/local/bin/zsh
Subject: Re: [perl #132745] Langinfo.t fails on FreeBSD 9.2
Date: Sat, 20 Jan 2018 09:38:59 -0700
To: perl5-porters [...] perl.org
From: Karl Williamson <public [...] khwilliamson.com>
Download (untitled) / with headers
text/plain 1.1k
On 01/20/2018 04:00 AM, slaven@rezic.de wrote: Show quoted text
> # New Ticket Created by slaven@rezic.de > # Please include the string: [perl #132745] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=132745 > > > > > This is a bug report for perl from slaven@rezic.de, > generated with the help of perlbug 1.39 running under perl 5.27.8. > > > ----------------------------------------------------------------- > "make test" fails on a FreeBSD 9.2 system: > > ../ext/I18N-Langinfo/t/Langinfo.t .................................. 1/38 > # Failed test 'Returns ',' for decimal pt for locale 'af_ZA.ISO8859-1'' > # at t/Langinfo.t line 69. > # got: '.' > # expected: ',' > # Looks like you failed 1 test of 38. > ../ext/I18N-Langinfo/t/Langinfo.t .................................. Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/38 subtests > (less 2 skipped subtests: 35 okay) > > > It does not fail on newer FreeBSD systems (10, 11, or 12).
Could you 'make langinfo.i' on 9.2 and 10 and send them to me, as well as the config.h from those releases?
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 1.3k
Dana Sat, 20 Jan 2018 08:39:21 -0800, public@khwilliamson.com reče: Show quoted text
> On 01/20/2018 04:00 AM, slaven@rezic.de wrote:
> > # New Ticket Created by slaven@rezic.de > > # Please include the string: [perl #132745] > > # in the subject line of all future correspondence about this issue. > > # <URL: https://rt.perl.org/Ticket/Display.html?id=132745 > > > > > > > > > This is a bug report for perl from slaven@rezic.de, > > generated with the help of perlbug 1.39 running under perl 5.27.8. > > > > > > ----------------------------------------------------------------- > > "make test" fails on a FreeBSD 9.2 system: > > > > ../ext/I18N-Langinfo/t/Langinfo.t .................................. > > 1/38 > > # Failed test 'Returns ',' for decimal pt for locale > > 'af_ZA.ISO8859-1'' > > # at t/Langinfo.t line 69. > > # got: '.' > > # expected: ',' > > # Looks like you failed 1 test of 38. > > ../ext/I18N-Langinfo/t/Langinfo.t .................................. > > Dubious, test returned 1 (wstat 256, 0x100) > > Failed 1/38 subtests > > (less 2 skipped subtests: 35 okay) > > > > > > It does not fail on newer FreeBSD systems (10, 11, or 12).
> > Could you 'make langinfo.i' on 9.2 and 10 and send them to me,
Hmmm, where? I cannot find such a make target... Show quoted text
> as well > as the config.h from those releases?
Attached.
Subject: config.h.103
Download config.h.103
application/octet-stream 158.6k

Message body not shown because it is not plain text.

Subject: config.h.92
Download config.h.92
application/octet-stream 158.6k

Message body not shown because it is not plain text.

RT-Send-CC: perl5-porters [...] perl.org
I think this has been fixed in blead. Could you please verify? -- Karl Williamson
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 162b
Dana Thu, 22 Feb 2018 14:07:55 -0800, khw reče: Show quoted text
> I think this has been fixed in blead. Could you please verify?
Confirmed. 5.27.9 tests run without problems.
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 184b
OP agrees that this has been fixed. It happened somewhere in the large batch of locale-related commits since the bug was reported; not bothering to determine which -- Karl Williamson


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org