develooper Front page | perl.perl5.porters | Postings from April 2018

Re: [perl #133157] Solaris Failing Some Locale Tests

Thread Previous | Thread Next
From:
Karl Williamson
Date:
April 27, 2018 19:07
Subject:
Re: [perl #133157] Solaris Failing Some Locale Tests
Message ID:
05039b54-a416-270a-b0f4-f6b25a9b3967@khwilliamson.com
On 04/26/2018 10:07 PM, Carlos Guevara (via RT) wrote:
> # New Ticket Created by  Carlos Guevara
> # Please include the string:  [perl #133157]
> # in the subject line of all future correspondence about this issue.
> # <URL: https://rt.perl.org/Ticket/Display.html?id=133157 >
> 
> 
> This is a bug report for perl from "Carlos Guevara" <carlos@carlosguevara.com>,
> generated with the help of perlbug 1.41 running under perl 5.28.0.
> 
> 
> -----------------------------------------------------------------
> Solaris is failing some locale tests:
> http://perl5.test-smoke.org/report/65421

The problem is that these locales have a UTF-8 decimal radix character, 
and it appears that the OS doesn't properly handle this case.  A very 
similar issue was present in cygwin until we reported it to them, and 
they have since fixed it.  Attached is a short C program to verify that 
it's an OS problem.

In the meantime, solaris smokes are failing.  I've made this a 5.28 
blocker.  I have patches that skip or todo the failing tests.  But I'll 
wait until Carlos runs the program.

Also, this is openindiana solaris.  I have no idea if Oracle solaris has 
this issue.  The bug tracker is not open to the public, which I find 
astonishing and disconcerting.  I did not find this issue in the 
openindiana 
list-----------------------------------------------------------------
> ---
> Flags:
>      category=core
>      severity=low
> ---
> Site configuration information for perl 5.28.0:
> 
> Configured by cpan at Thu Apr 26 22:26:15 CDT 2018.
> 
> Summary of my perl5 (revision 5 version 28 subversion 0) configuration:
>    Snapshot of: 5dbe8f0a915c25666dd9c760775f619c34a51538
>    Platform:
>      osname=solaris
>      osvers=2.11
>      archname=i86pc-solaris-64
>      uname='sunos cjg-hipster 5.11 illumos-094e47e980 i86pc i386 i86pc '
>      config_args='-des -Dprefix=~/bin/perl-blead
> -Dscriptdir=~/bin/perl-blead/bin -Dusedevel -Duse64bitall -Dcc=gcc'
>      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='gcc'
>      ccflags ='-m64 -fwrapv -fno-strict-aliasing -pipe
> -fstack-protector-strong -I/usr/gnu/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DPERL_USE_SAFE_PUTENV'
>      optimize='-O'
>      cppflags='-m64 -fwrapv -fno-strict-aliasing -pipe
> -fstack-protector-strong -I/usr/gnu/include'
>      ccversion=''
>      gccversion='6.4.0'
>      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='gcc'
>      ldflags =' -m64 -fstack-protector-strong -L/usr/gnu/lib '
>      libpth=/usr/gcc/6/lib /usr/lib /usr/gnu/lib /usr/ccs/lib
>      libs=-lpthread -lsocket -lnsl -lgdbm -ldb -ldl -lm -lc
>      perllibs=-lpthread -lsocket -lnsl -ldl -lm -lc
>      libc=/lib/libc.so
>      so=so
>      useshrplib=true
>      libperl=libperl.so
>      gnulibc_version=''
>    Dynamic Linking:
>      dlsrc=dl_dlopen.xs
>      dlext=so
>      d_dlsymun=undef
>      ccdlflags='  -R /home/cpan/bin/perl-blead/lib/5.28.0/i86pc-solaris-64/CORE'
>      cccdlflags='-fPIC'
>      lddlflags=' -shared -m64 -L/usr/gnu/lib -fstack-protector-strong'
> 
> 
> ---
> @INC for perl 5.28.0:
>      /home/cpan/bin/perl-blead/lib/site_perl/5.28.0/i86pc-solaris-64
>      /home/cpan/bin/perl-blead/lib/site_perl/5.28.0
>      /home/cpan/bin/perl-blead/lib/5.28.0/i86pc-solaris-64
>      /home/cpan/bin/perl-blead/lib/5.28.0
> 
> ---
> Environment for perl 5.28.0:
>      HOME=/home/cpan
>      LANG=en_US
>      LANGUAGE (unset)
>      LC_ALL=C
>      LD_LIBRARY_PATH (unset)
>      LOGDIR (unset)
>      PATH=/home/cpan/bin/perl-blead/bin:/home/cpan/bin:/usr/bin:/usr/sbin:/sbin:/usr/gnu/bin
>      PERL_BADLANG (unset)
>      SHELL=/usr/bin/bash
> 
> 


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