Jeff Pang <[EMAIL PROTECTED]> writes:
> Hello,
>
> I'm sorry that I have tested IP::ChinaISP on both Redhat Linux (kernel 2.4
> and 2.6, perl version is 5.8.0 and 5.8.5) and Freebsd (6.2-RELEASE, perl
> version is 5.8.8), all the results are successfull.
>
> I'm not sure why it got failed on your freebsd os. Can you help give
> some suggestion?
The problem is in the old perl I used for the test (5.5.5). In this
perl version there was only two-args open() available and I suspect
that you're using three-args open() (because of the error message "Too
many arguments for open ...").
I see two possibilities:
* If you like to support old perls < 5.6, then you need to switch to
two-args open(). And maybe there's other compatiblity problems (e.g.
"use vars" instead of "our" etc.)
* If you don't want to support old perls, then just make sure your
Makefile.PL has a line
use 5.006;
on top and the automated test systems will just skip the
distribution.
You can find more information in "Notes for CPAN Authors" on
the CPAN Testers Wiki: http://cpantest.grango.org
Regards,
Slaven
>
> Thanks!
>
> -----Original Message-----
> >From: [EMAIL PROTECTED]
> >Sent: Nov 1, 2007 9:11 AM
> >To: [email protected]
> >Cc: [EMAIL PROTECTED]
> >Subject: FAIL IP-ChinaISP-0.03 amd64-freebsd 6.2-release
> >
> >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/
> >
> >Please cc any replies to [email protected] to keep other
> >test volunteers informed and to prevent any duplicate effort.
> >
> >--
> >Dear Jeff Pang,
> >
> >This is a computer-generated report for IP-ChinaISP-0.03
> >on perl-5.00505, created automatically by CPAN-Reporter-1.04
> >and sent to the CPAN Testers mailing list.
> >
> >If you have received this email directly, it is because the person testing
> >your distribution chose to send a copy to your CPAN email address; there
> >may be a delay before the official report is received and processed
> >by CPAN Testers.
> >
> >Thank you for uploading your work to CPAN. However, it appears that
> >there were some problems with your distribution. If these results are
> >not what you expect, please consult "Notes for CPAN Authors" on
> >the CPAN Testers Wiki: http://cpantest.grango.org
> >
> >Sections of this report:
> >
> > * Tester comments
> > * Program output
> > * Prerequisites
> > * Environment and other context
> >
> >------------------------------
> >TESTER COMMENTS
> >------------------------------
> >
> >Additional comments from tester:
> >
> >[none provided]
> >
> >------------------------------
> >PROGRAM OUTPUT
> >------------------------------
> >
> >Output from '/usr/bin/make test':
> >
> >PERL_DL_NONLAZY=1 /usr/local/bin/perl5.00505 "-MExtUtils::Command::MM" "-e"
> >"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> >t/00-load.........Use of reserved word "our" is deprecated at
> >/mnt/i386/usr/local/src/CPAN/build/IP-ChinaISP-B8ESLc/blib/lib/IP/ChinaISP.pm
> > line 7.
> >Global symbol "$VERSION" requires explicit package name at
> >/mnt/i386/usr/local/src/CPAN/build/IP-ChinaISP-B8ESLc/blib/lib/IP/ChinaISP.pm
> > line 7.
> >
> ># Failed test 'use IP::ChinaISP;'
> ># at t/00-load.t line 6.
> ># Tried to use 'IP::ChinaISP'.
> ># Error: Compilation failed in require at (eval 3) line 2.
> ># BEGIN failed--compilation aborted at t/00-load.t line 6.
> >Use of uninitialized value at t/00-load.t line 9.
> ># Testing IP::ChinaISP , Perl 5.00505, /usr/local/bin/perl5.00505
> ># Looks like you failed 1 test of 1.
> >dubious
> > Test returned status 1 (wstat 256, 0x100)
> >DIED. FAILED test 1
> > Failed 1/1 tests, 0.00% okay
> >t/boilerplate.....Too many arguments for open at t/boilerplate.t line 10,
> >near "$filename
> > or"
> >Execution of t/boilerplate.t aborted due to compilation errors.
> ># Looks like your test died before it could output anything.
> >dubious
> > Test returned status 255 (wstat 65280, 0xff00)
> >DIED. FAILED tests 1-3
> > Failed 3/3 tests, 0.00% okay
> >t/pod-coverage....skipped
> > all skipped: Test::Pod::Coverage 1.04 required for testing POD
> > coverage
> >t/pod.............ok
> >Failed Test Stat Wstat Total Fail List of Failed
> >-------------------------------------------------------------------------------
> >t/00-load.t 1 256 1 1 1
> >t/boilerplate.t 255 65280 3 6 1-3
> >1 test skipped.
> >Failed 2/4 test scripts. 4/5 subtests failed.
> >Files=4, Tests=5, 0 wallclock secs ( 0.04 cusr + 0.11 csys = 0.15 CPU)
> >Failed 2/4 test programs. 4/5 subtests failed.
> >*** Error code 35
> >
> >Stop in /mnt/i386/usr/local/src/CPAN/build/IP-ChinaISP-B8ESLc.
> >
> >------------------------------
> >PREREQUISITES
> >------------------------------
> >
> >Prerequisite modules loaded:
> >
> >requires:
> >
> > Module Need Have
> > ---------- ---- ----
> > Test::More 0 0.72
> >
> >------------------------------
> >ENVIRONMENT AND OTHER CONTEXT
> >------------------------------
> >
> >Environment variables:
> >
> > LC_ALL = de_DE.ISO8859-1
> > LC_CTYPE = de_DE.ISO8859-1
> > PATH =
> > /usr/X11R6/bin:/usr/X11/bin:/usr/local/bin:/usr/bin:/bin:/usr/gnu/bin:/usr/TeX/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/pilot/bin:/home/e/eserte/bin/FreeBSD:/home/e/eserte/bin/sh:/home/e/eserte/bin:/usr/X386/bin:/usr/games:/home/e/eserte/devel
> > PERL5LIB =
> > /usr/local/src/CPAN/build/Sub-Uplevel-0.18-kIV7ax/blib/arch:/usr/local/src/CPAN/build/Sub-Uplevel-0.18-kIV7ax/blib/lib:/usr/local/src/CPAN/build/Module-CoreList-2.12-jnV9Zc/blib/arch:/usr/local/src/CPAN/build/Module-CoreList-2.12-jnV9Zc/blib/lib:/usr/local/src/CPAN/build/ExtUtils-CBuilder-0.21-KewJcD/blib/arch:/usr/local/src/CPAN/build/ExtUtils-CBuilder-0.21-KewJcD/blib/lib:/usr/local/src/CPAN/build/File-Slurp-9999.12-Hu7bgg/blib/arch:/usr/local/src/CPAN/build/File-Slurp-9999.12-Hu7bgg/blib/lib:/usr/local/src/CPAN/build/Parse-IASLog-1.00-cTX12e/blib/arch:/usr/local/src/CPAN/build/Parse-IASLog-1.00-cTX12e/blib/lib:/usr/local/src/CPAN/build/Math-Random-0.70-O6NMqk/blib/arch:/usr/local/src/CPAN/build/Math-Random-0.70-O6NMqk/blib/lib:/usr/local/src/CPAN/build/Proc-Simple-1.22-oRPJlH/blib/arch:/usr/local/src/CPAN/build/Proc-Simple-1.22-oRPJlH/blib/lib:/usr/local/src/CPAN/build/Devel-Symdump-2.08-aGTRs5/blib/arch:/usr/local/src/CPAN/build/Devel-Symdump-2.08-aGTRs5/blib/lib:/usr/local/src/CPAN/build/Array-Compare-1.14-RRoYDg/blib/arch:/usr/local/src/CPAN/build/Array-Compare-1.14-RRoYDg/blib/lib:/usr/local/src/CPAN/build/Tree-DAG_Node-1.05-hND2Fx/blib/arch:/usr/local/src/CPAN/build/Tree-DAG_Node-1.05-hND2Fx/blib/lib:/usr/local/src/CPAN/build/Text-CSV_XS-0.32-PQbpGH/blib/arch:/usr/local/src/CPAN/build/Text-CSV_XS-0.32-PQbpGH/blib/lib:/usr/local/src/CPAN/build/Class-Adapter-1.03-voUhz8/blib/arch:/usr/local/src/CPAN/build/Class-Adapter-1.03-voUhz8/blib/lib:/usr/local/src/CPAN/build/Params-Util-0.30-qVk4bI/blib/arch:/usr/local/src/CPAN/build/Params-Util-0.30-qVk4bI/blib/lib:/usr/local/src/CPAN/build/Regexp-Common-2.120-jH5nwE/blib/arch:/usr/local/src/CPAN/build/Regexp-Common-2.120-jH5nwE/blib/lib:/usr/local/src/CPAN/build/File-MMagic-1.27-Q3gnvT/blib/arch:/usr/local/src/CPAN/build/File-MMagic-1.27-Q3gnvT/blib/lib:/usr/local/src/CPAN/build/MIME-Types-1.21-7dTvFv/blib/arch:/usr/local/src/CPAN/build/MIME-Types-1.21-7dTvFv/blib/lib:/usr/local/src/CPAN/build/Test-Pod-1.26-TeqvXu/blib/arch:/usr/local/src!
/CP!
> > AN/build
> >/Test-Pod-1.26-TeqvXu/blib/lib:/usr/local/src/CPAN/build/Time-Local-1.18-44e3XB/blib/arch:/usr/local/src/CPAN/build/Time-Local-1.18-44e3XB/blib/lib:/usr/local/src/CPAN/build/AI-MegaHAL-0.05-T0Y49u/blib/arch:/usr/local/src/CPAN/build/AI-MegaHAL-0.05-T0Y49u/blib/lib:/usr/local/src/CPAN/build/Net-Netmask-1.9015-1raeY6/blib/arch:/usr/local/src/CPAN/build/Net-Netmask-1.9015-1raeY6/blib/lib:/usr/local/src/CPAN/build/Digest-BubbleBabble-0.01-hGqbNf/blib/arch:/usr/local/src/CPAN/build/Digest-BubbleBabble-0.01-hGqbNf/blib/lib:/usr/local/src/CPAN/build/Crypt-OpenSSL-DSA-0.13-LGUrL9/blib/arch:/usr/local/src/CPAN/build/Crypt-OpenSSL-DSA-0.13-LGUrL9/blib/lib:/usr/local/src/CPAN/build/Crypt-OpenSSL-RSA-0.25-iIUFMl/blib/arch:/usr/local/src/CPAN/build/Crypt-OpenSSL-RSA-0.25-iIUFMl/blib/lib:/usr/local/src/CPAN/build/Crypt-OpenSSL-Random-0.04-kfbSzg/blib/arch:/usr/local/src/CPAN/build/Crypt-OpenSSL-Random-0.04-kfbSzg/blib/lib:/usr/local/src/CPAN/build/Digest-SHA-5.45-1G81HR/blib/arch:/usr/local/src/CPAN/build/Digest-SHA-5.45-1G81HR/blib/lib:/usr/local/src/CPAN/build/Crypt-OpenSSL-Bignum-0.04-ie9zbg/blib/arch:/usr/local/src/CPAN/build/Crypt-OpenSSL-Bignum-0.04-ie9zbg/blib/lib:/usr/local/src/CPAN/build/Digest-HMAC-1.01-QyLudX/blib/arch:/usr/local/src/CPAN/build/Digest-HMAC-1.01-QyLudX/blib/lib
> > PERL5_CPANPLUS_IS_RUNNING = 82131
> > PERL5_CPAN_IS_RUNNING = 82131
> > PERL_HTML_DISPLAY_CLASS = HTML::Display::Mozilla
> > SHELL = /bin/tcsh
> > STDPERL = perl
> > TERM = xterm
> >
> >Perl special variables (and OS-specific diagnostics, for MSWin32):
> >
> > $^X = perl5.00505
> > $UID/$EUID = 1000 / 1000
> > $GID = 1000 1024 0 1000 1000
> > $EGID = 1000 1024 0 1000 1000
> >
> >Perl module toolchain versions installed:
> >
> > Module Have
> > ------------------- ---------
> > CPAN 1.92_51
> > Cwd 2.01
> > ExtUtils::CBuilder 0.21
> > ExtUtils::Command 1.13
> > ExtUtils::Install 1.41
> > ExtUtils::MakeMaker 6.36
> > ExtUtils::Manifest 1.51
> > ExtUtils::ParseXS n/a
> > File::Spec 3.25
> > Module::Build 0.2808_01
> > Module::Signature n/a
> > Test::Harness 2.64
> > Test::More 0.72
> > YAML n/a
> > YAML::Syck n/a
> > version 0.74
> >
> >
> >--
> >
> >Summary of my perl5 (5.0 patchlevel 5 subversion 5) configuration:
> > Platform:
> > osname=freebsd, osvers=6.2-release, archname=amd64-freebsd
> > uname='freebsd biokovo-amd64.herceg.de 6.2-release freebsd 6.2-release
> > #0: fri jan 12 08:32:24 utc 2007 [EMAIL PROTECTED]:usrobjusrsrcsysgeneric
> > amd64 '
> > hint=recommended, useposix=true, d_sigaction=define
> > usethreads=undef useperlio=undef d_sfio=undef
> > Compiler:
> > cc='ccache cc', optimize='-O2 -pipe', gccversion=3.4.6 [FreeBSD] 20060305
> > cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -I/usr/local/include'
> > ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -I/usr/local/include'
> > stdchar='char', d_stdstdio=undef, usevfork=true
> > intsize=4, longsize=8, ptrsize=8, doublesize=8
> > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
> > alignbytes=8, usemymalloc=n, prototype=define
> > Linker and Libraries:
> > ld='ccache cc', ldflags ='-Wl,-E -L/usr/local/lib'
> > libpth=/usr/lib /usr/local/lib
> > libs=-lgdbm -lm -lc -lcrypt
> > libc=, so=so, useshrplib=false, libperl=libperl.a
> > Dynamic Linking:
> > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
> > cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib'
>
>
--
Slaven Rezic - slaven <at> rezic <dot> de
Tk-AppMaster: a perl/Tk module launcher designed for handhelds
http://tk-appmaster.sf.net