Subject: | On HP-UX 11.31 IA64, 'make test' fails with " The locale codeset (roman8) isn't one that perl can decode" |
Date: | Fri, 4 Mar 2011 12:14:29 +0200 |
To: | "bug-Encode-Locale [...] rt.cpan.org" <bug-Encode-Locale [...] rt.cpan.org> |
From: | Niskanen Mikko <mikko.niskanen [...] cboss.fi> |
Aye,
Facts:
- HP-UX 11.31 on IA64 architecture, September 2010 Full OE update
(i.e. latest available)
- Perl version:
# perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=hpux, osvers=11.23, archname=IA64.ARCHREV_0-thread-multi
uname='hp-ux buzz b.11.23 u ia64 3101164512 unlimited-user license '
config_args='-Dmksymlinks -ders -Dcc=cc -Dusethreads -Duseithreads -Ud_sigsetjmp -Uinstallusrbinperl -Ulocincpth= -Uloclibpth= -Dsh=/usr/bin/sh -Dd_attribut=undef -Dd_attribute_warn_unused_result=undef -Dd_u32align=define -Aprepend:libswanted=cl -Dvendorprefix=/opt/perl_32 -Accflags=+DSitanium2 -Doptimize=-fast +Ofltacc=strict -Accflags=+Z -Accflags=-DUSE_SITECUSTOMIZE -Duselargefiles -Accflags=-DNO_HASH_SEED -Dprefix=/opt/perl_32 -Dinc_version_list=5.8.7/$archname 5.8.7 5.8.6/$archname 5.8.6 5.8.4/$archname 5.8.4 5.8.3/$archname 5.8.3 5.8.2/$archname 5.8.2 5.8.1/$archname 5.8.1 5.8.0/$archname 5.8.0 -Dsed=/usr/bin/sed -Duseshrplib -Dconfig_heavy=Config_dynamic.pl'
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='cc', ccflags =' -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DSitanium2 +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
optimize='-fast +Ofltacc=strict',
cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DSitanium2 +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags =' -L/usr/lib/hpux32'
libpth=/usr/lib/hpux32 /lib /usr/lib /usr/ccs/lib /usr/local/lib
libs=-lcl -lnsl -lnm -lndbm -ldl -ldld -lm -lsec -lpthread -lc
perllibs=-lcl -lnsl -lnm -ldl -ldld -lm -lsec -lpthread -lc
libc=/usr/lib/hpux32/libc.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/lib/hpux32'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API USE_SITECUSTOMIZE
Built under hpux
Compiled at Nov 28 2008 11:52:02
@INC:
/opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi
/opt/perl_32/lib/5.8.8
/opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi
/opt/perl_32/lib/site_perl/5.8.8
/opt/perl_32/lib/site_perl
/opt/perl_32/lib/vendor_perl/5.8.8/IA64.ARCHREV_0-thread-multi
/opt/perl_32/lib/vendor_perl/5.8.8
/opt/perl_32/lib/vendor_perl
.
- Builds okay, make test fails:
root /data3/sys/PerlMods # rm -rf Encode-Locale-1.01
root /data3/sys/PerlMods # gzip -dc Encode-Locale-1.01.tar.gz| tar xvf -
x Encode-Locale-1.01/Changes, 2134 bytes, 5 tape blocks
x Encode-Locale-1.01/Makefile.PL, 1230 bytes, 3 tape blocks
x Encode-Locale-1.01/MANIFEST, 173 bytes, 1 tape blocks
x Encode-Locale-1.01/META.yml, 707 bytes, 2 tape blocks
x Encode-Locale-1.01/README, 359 bytes, 1 tape blocks
x Encode-Locale-1.01/t/arg.t, 456 bytes, 1 tape blocks
x Encode-Locale-1.01/t/env.t, 526 bytes, 2 tape blocks
x Encode-Locale-1.01/lib/Encode/Locale.pm, 10360 bytes, 21 tape blocks
root /data3/sys/PerlMods # cd Encode-Locale-1.01
root /data3/sys/PerlMods/Encode-Locale-1.01 # perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Encode::Locale
root /data3/sys/PerlMods/Encode-Locale-1.01 # gmake test
cp lib/Encode/Locale.pm blib/lib/Encode/Locale.pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/arg.t .. The locale codeset (roman8) isn't one that perl can decode, stopped at /data3/sys/PerlMods/Encode-Locale-1.01/blib/lib/Encode/Locale.pm line 74.
Compilation failed in require at t/arg.t line 7.
BEGIN failed--compilation aborted at t/arg.t line 7.
t/arg.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/env.t .. The locale codeset (roman8) isn't one that perl can decode, stopped at /data3/sys/PerlMods/Encode-Locale-1.01/blib/lib/Encode/Locale.pm line 74.
Compilation failed in require at t/env.t line 7.
BEGIN failed--compilation aborted at t/env.t line 7.
t/env.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
Test Summary Report
-------------------
t/arg.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/env.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=2, Tests=0, 0 wallclock secs ( 0.05 usr 0.01 sys + 0.10 cusr 0.04 csys = 0.20 CPU)
Result: FAIL
Failed 2/2 test programs. 0/0 subtests failed.
gmake: *** [test_dynamic] Error 255
Locale says:
root /data3/sys/PerlMods/Encode-Locale-1.01 # locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=
br,
-MNi
--
Mikko Niskanen, Support Engineer
Tel. +358 40 572 9902
CBOSS Oy, P.O. Box 300, FI-00381 HELSINKI
http://www.cbossgroup.com<http://www.cbossgroup.com/>
Message body is not shown because it is too large.