perl-unicode

Make test failure depends upon $LANG

2003-04-25 10:30:04
Hello,

I'm seeing a make test failure on RedHat 9 with my own compiled
Perl 5.8.0 that depends upon the system's $LANG.  The tests
here were made with Encode 1.93

On my RedHat 9 box that's been successfully upgraded from RedHat 7,
I have this which hasn't changed

% cat /etc/sysconfig/i18n
LANG="en_US"
SUPPORTED="en_US:en"
SYSFONT="lat0-sun16"
SYSFONTACM="iso01"

and make test passes just fine.

On one box that is a fresh install of RedHat 9:

% cat /etc/sysconfig/i18n
LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"

and make test fails:

t/enc_module.....#     Failed test (t/enc_module.t at line 45)
#          got: '1'
#     expected: '0'
t/enc_module.....ok 3/3# Looks like you failed 1 tests of 3.
t/enc_module.....dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/3 tests, 66.67% okay
...
Failed Test    Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/enc_module.t    1   256     3    1  33.33%  1

% perl -I../blib/lib -I../blib/arch t/enc_module.t
1..3
not ok 1 - encoding vs. STDOUT
#     Failed test (t/enc_module.t at line 45)
#          got: '1'
#     expected: '0'
ok 2 - encoding vs. STDIN - 1
ok 3 - encoding vs. STDIN - 2
# Looks like you failed 1 tests of 3.

Best,
Blair

-- 
Blair Zajac <blair(_at_)orcaware(_dot_)com>
Plots of your system's performance - http://www.orcaware.com/orca/


% perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.18-10, archname=i686-linux
    uname='linux orcaware.com 2.4.18-10 #1 wed aug 7 11:39:21 edt 2002 i686 
unknown '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='/opt/i386-linux/gcc/bin/gcc', ccflags ='-fno-strict-aliasing 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O3',
    cppflags='-fno-strict-aliasing -I/usr/include/gdbm'
    ccversion='', gccversion='3.2', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='/opt/i386-linux/gcc/bin/gcc', ldflags =''
    libpth=/lib /usr/lib
    libs=-lnsl -lgdbm -ldl -lm -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
    libc=/lib/libc-2.2.5.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.2.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic 
-Wl,-rpath,/opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/i686-linux/CORE'
    cccdlflags='-fpic', lddlflags='-shared'


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under linux
  Compiled at Sep  9 2002 13:05:07
  @INC:
    /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/i686-linux
    /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0
    /opt/i386-linux/installed/perl-5.8.0/lib/site_perl/5.8.0/i686-linux
    /opt/i386-linux/installed/perl-5.8.0/lib/site_perl/5.8.0
    /opt/i386-linux/installed/perl-5.8.0/lib/site_perl
    .

<Prev in Thread] Current Thread [Next in Thread>