Skip Menu |

This queue is for tickets about the Encode CPAN distribution.

Report information
The Basics
Id: 2813
Status: resolved
Priority: 0/
Queue: Encode

People
Owner: DANKOGAI [...] cpan.org
Requestors: mstevens [...] etla.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.95
Fixed in: (no value)



Subject: Fails tests on 5.8.0, redhat 9
Trying to install Encode 1.95 on Redhat 9.0, got the following test failure: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Aliases........ok t/at-cn..........ok t/at-tw..........ok t/CJKT...........ok t/enc_data.......skipped all skipped: Perl 5.8.1 or later required t/enc_eucjp......skipped all skipped: Perl 5.8.1 or later required t/enc_module.....# Failed test (t/enc_module.t at line 58) # got: 'åå­å' # expected: 'åå­å # ' # Failed test (t/enc_module.t at line 58) # got: 'ãã¹ãæå­å' # expected: 'ãã¹ãæå­å # ' # Looks like you failed 2 tests of 3. t/enc_module.....dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 2-3 Failed 2/3 tests, 33.33% okay t/enc_utf8.......ok t/Encode.........ok t/Encoder........ok t/encoding.......ok t/fallback.......ok t/grow...........ok t/guess..........ok t/jperl..........ok t/mime-header....ok t/perlio.........ok t/Unicode........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/enc_module.t 2 512 3 2 66.67% 2-3 2 tests skipped. Failed 1/18 test scripts, 94.44% okay. 2/4889 subtests failed, 99.96% okay. make: *** [test_dynamic] Error 29 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force This is: [root@marlin root]# perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=linux, osvers=2.4.20-2.48smp, archname=i386-linux-thread-multi uname='linux stripples.devel.redhat.com 2.4.20-2.48smp #1 smp thu feb 13 11:44:55 est 2003 i686 i686 i386 gnulinux ' config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -g -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -march=i386 -mcpu=i686 -g', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='3.2.2 20030213 (Red Hat Linux 8.0 3.2.2-1)', 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='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil libc=/lib/libc-2.3.1.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.3.1' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: MAINT18379 Built under linux Compiled at Feb 18 2003 22:19:53 @INC: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . Okay I admit it's freakish redhat perl, but it has to be fairly common...
[guest - Tue Jun 17 06:46:58 2003]: Show quoted text
> Trying to install Encode 1.95 on Redhat 9.0, got the following test > failure: > [snip] >-------------------------------------------------------------------------
------ Show quoted text
> t/enc_module.t 2 512 3 2 66.67% 2-3 > 2 tests skipped. > Failed 1/18 test scripts, 94.44% okay. 2/4889 subtests failed, 99.96% > okay. > make: *** [test_dynamic] Error 29 > /usr/bin/make test -- NOT OK > Running make install > make test had returned bad status, won't install without force
I smell locale. Show quoted text
> Okay I admit it's freakish redhat perl, but it has to be fairly > common...
Maybe the new default locale en_US.UTF-8 is standing in a way. Would you send me what "setenv" command tells you? Dan the Encode Maintainer
From: cubic [...] acronis.com
Same problem with RH9 based distro with 5.8.0 and Encode 1.98: t/enc_data.......1..0 # Skip: Perl 5.8.1 or later required skipped all skipped: Perl 5.8.1 or later required t/enc_eucjp......1..0 # Skip: Perl 5.8.1 or later required skipped all skipped: Perl 5.8.1 or later required t/enc_module.....Filehandle STDOUT reopened as FROM only for input at /usr/lib/perl5/5.8.0/File/Compare.pm line 37. # Failed test (t/enc_module.t at line 58) Wide character in print at /usr/lib/perl5/5.8.0/Test/Builder.pm line 910, <STDIN> line 1. # got: '初期文字列' # expected: '初期文字列 # ' # Failed test (t/enc_module.t at line 58) Wide character in print at /usr/lib/perl5/5.8.0/Test/Builder.pm line 910, <STDIN> line 2. # got: 'テスト文字列' # expected: 'テスト文字列 # ' # Looks like you failed 2 tests of 3. But I also tested it with LANG = "C" and "ru_RU.CP1251". Same results. [DANKOGAI - Tue Jun 17 10:11:26 2003]: Show quoted text
> [guest - Tue Jun 17 06:46:58 2003]:
> > Trying to install Encode 1.95 on Redhat 9.0, got the following test > > failure: > > [snip] > >-------------------------------------------------------------------------
> ------
> > t/enc_module.t 2 512 3 2 66.67% 2-3 > > 2 tests skipped. > > Failed 1/18 test scripts, 94.44% okay. 2/4889 subtests failed,
> 99.96%
> > okay. > > make: *** [test_dynamic] Error 29 > > /usr/bin/make test -- NOT OK > > Running make install > > make test had returned bad status, won't install without force
> > I smell locale. >
> > Okay I admit it's freakish redhat perl, but it has to be fairly > > common...
> > Maybe the new default locale en_US.UTF-8 is standing in a way. Would > you send me > what "setenv" command tells you? > > Dan the Encode Maintainer > >