Front page | perl.cpan.testers |
Postings from August 2008
FAIL Number-Format-1.60 i686-linux 2.6.24.3
From:
rick
Date:
August 9, 2008 04:14
Subject:
FAIL Number-Format-1.60 i686-linux 2.6.24.3
This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/
--
Dear William R Ward,
This is a computer-generated report for Number-Format-1.60
on perl 5.10.0, created by CPAN-Reporter-1.1601.
Thank you for uploading your work to CPAN. However, there was a problem
testing your distribution.
If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:
http://cpantest.grango.org/wiki/CPANAuthorNotes
Sections of this report:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
My locale.5 page has...
int_curr_symbol
followed by the international currency symbol. This must be a
4-character string containing the international currency symbol
as defined by the ISO 4217 standard (three characters) followed
by a separator.
... which is where the problem lies. POSIX->localeconv() is returning an
int_curr_symbol of three letters and a space. Since Number::Format seems to
rely on that space not being there, the WorksForMe fix is something like...
--- Format.pm 2008-08-09 02:52:58.000000000 -0400
+++ Format.pm~ 2008-08-09 02:52:46.000000000 -0400
@@ -353,6 +353,9 @@
my $locale_values = localeconv();
my $arg;
+ $locale_values->{int_curr_symbol} =~ s/\s+//g
+ if defined $locale_values->{int_curr_symbol};
+
while(my($arg, $default) = each %$DEFAULT_LOCALE)
{
$me->{$arg} = $locale_values->{$arg} || $default;
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '/usr/bin/make test':
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/format_bytes.......ok
t/format_negative....ok
t/format_number......ok
t/format_picture.....ok
t/format_price.......ok
t/locale.............
# Failed test 'marks or euros'
# at t/locale.t line 14.
# Failed test 'dollars'
# at t/locale.t line 22.
# got: 'USD 123,456.79'
# expected: 'USD 123,456.79'
# Looks like you failed 2 tests of 4.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests
t/object.............ok
t/round..............ok
t/unformat_number....ok
Test Summary Report
-------------------
t/locale (Wstat: 512 Tests: 4 Failed: 2)
Failed tests: 3-4
Non-zero exit status: 2
Files=9, Tests=118, 1 wallclock secs ( 0.15 usr 0.01 sys + 1.02 cusr 0.15 csys = 1.33 CPU)
Result: FAIL
Failed 1/9 test programs. 2/118 subtests failed.
make: *** [test_dynamic] Error 255
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
No requirements found
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
LANG = en_US
LC_COLLATE = C
PATH = /root/bin:/usr/local/apache2/bin:/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
PERL5LIB = /root/.cpan/build/Gtk2-1.183-gZaW4m/blib/arch:/root/.cpan/build/Gtk2-1.183-gZaW4m/blib/lib
PERL5_CPANPLUS_IS_RUNNING = 9136
PERL5_CPAN_IS_RUNNING = 9136
TERM = linux
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /usr/bin/perl
$UID/$EUID = 0 / 0
$GID = 0 0 1 2 3 4 6 10 11
$EGID = 0 0 1 2 3 4 6 10 11
Perl module toolchain versions installed:
Module Have
------------------- ---------
CPAN 1.9205
Cwd 3.2701
ExtUtils::CBuilder 0.23
ExtUtils::Command 1.14
ExtUtils::Install 1.50
ExtUtils::MakeMaker 6.44
ExtUtils::Manifest 1.54
ExtUtils::ParseXS 2.19
File::Spec 3.2701
Module::Build 0.2808_01
Module::Signature 0.55
Test::Harness 3.13
Test::More 0.80
YAML 0.66
YAML::Syck 1.05
version 0.76
--
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=linux, osvers=2.6.24.3, archname=i686-linux
uname='linux xbox 2.6.24.3 #1 mon mar 3 22:14:46 est 2008 i686 pentium4 i386 gnulinux '
config_args='-de -Dprefix=/usr -Uman1dir -Uman3dir'
hint=recommended, useposix=true, d_sigaction=define
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='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.4.6', 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='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.6.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.6'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib'
-
FAIL Number-Format-1.60 i686-linux 2.6.24.3
by rick