Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Langinfo.t fails on FreeBSD 9.2 #16372

Closed
p5pRT opened this issue Jan 20, 2018 · 10 comments
Closed

Langinfo.t fails on FreeBSD 9.2 #16372

p5pRT opened this issue Jan 20, 2018 · 10 comments

Comments

@p5pRT
Copy link

@p5pRT p5pRT commented Jan 20, 2018

Migrated from rt.perl.org#132745 (status was 'resolved')

Searchable as RT132745$

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Jan 20, 2018

From @eserte

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

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Jan 20, 2018

From @khwilliamson

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-archive.perl.org/perl5/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?

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Jan 20, 2018

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Jan 20, 2018

From @eserte

Dana Sat, 20 Jan 2018 08​:39​:21 -0800, public@​khwilliamson.com reče​:

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-archive.perl.org/perl5/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...

as well
as the config.h from those releases?

Attached.

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Jan 20, 2018

From @eserte

config.h.103

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Jan 20, 2018

From @eserte

config.h.92

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Feb 22, 2018

From @khwilliamson

I think this has been fixed in blead. Could you please verify?
--
Karl Williamson

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Feb 22, 2018

From @eserte

Dana Thu, 22 Feb 2018 14​:07​:55 -0800, khw reče​:

I think this has been fixed in blead. Could you please verify?

Confirmed. 5.27.9 tests run without problems.

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Feb 22, 2018

From @khwilliamson

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

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Feb 22, 2018

@khwilliamson - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant