Subject: | Fails make test on perl 5.9.2 built for darwin-2level |
only.pm 0.28 appears to be failing when I attempt to build it on perl 5.9.2
under OS X 10.4. Here's the output of make test TEST_VERBOSE=1:
------------------------------------------------------------------------
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00config.............1..1
ok 1
ok
t/01install............1..4
Skipping /Users/dankubb/.cpan/build/only-0.28/t/version/0.50/_Foo/Bar.pm (unchanged)
Skipping /Users/dankubb/.cpan/build/only-0.28/t/version/0.50/_Foo/Bar.yaml (unchanged)
ok 1
Skipping /Users/dankubb/.cpan/build/only-0.28/t/version/0.55/_Foo/Bar.pm (unchanged)
Skipping /Users/dankubb/.cpan/build/only-0.28/t/version/0.55/_Foo/Baz.pm (unchanged)
Skipping /Users/dankubb/.cpan/build/only-0.28/t/version/0.55/_Foo/Bar.yaml (unchanged)
Skipping /Users/dankubb/.cpan/build/only-0.28/t/version/0.55/_Foo/Baz.yaml (unchanged)
ok 2
Skipping /Users/dankubb/.cpan/build/only-0.28/t/version/0.60/_Foo/Bar.pm (unchanged)
Skipping /Users/dankubb/.cpan/build/only-0.28/t/version/0.60/_Foo/Baz.pm (unchanged)
Skipping /Users/dankubb/.cpan/build/only-0.28/t/version/0.60/_Foo/Bar.yaml (unchanged)
Skipping /Users/dankubb/.cpan/build/only-0.28/t/version/0.60/_Foo/Baz.yaml (unchanged)
ok 3
Skipping /Users/dankubb/.cpan/build/only-0.28/t/site/_Foo/Bar.pm (unchanged)
Skipping /Users/dankubb/.cpan/build/only-0.28/t/site/_Foo/Baz.pm (unchanged)
ok 4
ok
t/02basic..............1..1
Loaded _Foo::Bar, but version (1.0.0) did not satisfy the requirement:
use only _Foo::Bar => '0.50';
at t/02basic.t line 6
BEGIN failed--compilation aborted at t/02basic.t line 6.
# Looks like your test died before it could output anything.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/03range..............1..4
Loaded _Foo::Bar, but version (1.0.0) did not satisfy the requirement:
use only _Foo::Bar => '0.50-0.59 !0.50';
at t/03range.t line 6
BEGIN failed--compilation aborted at t/03range.t line 6.
# Looks like your test died before it could output anything.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
t/04clobber............1..7
Loaded _Foo::Bar, but version (1.0.0) did not satisfy the requirement:
use only _Foo::Bar => '0.55';
at t/04clobber.t line 6
BEGIN failed--compilation aborted at t/04clobber.t line 6.
# Looks like your test died before it could output anything.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/05site...............1..4
ok 1
ok 2
ok 3
ok 4
ok
t/06require............1..2
Loaded _Foo::Bar, but version (1.0.0) did not satisfy the requirement:
use only _Foo::Bar => '0.60';
at t/06require.t line 6
BEGIN failed--compilation aborted at t/06require.t line 6.
# Looks like your test died before it could output anything.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/07inc................1..5
Loaded _Foo::Bar, but version (1.0.0) did not satisfy the requirement:
use only _Foo::Bar => '0.60';
at t/07inc.t line 6
BEGIN failed--compilation aborted at t/07inc.t line 6.
# Looks like your test died before it could output anything.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/08use................1..3
ok 1
ok 2
ok 3
ok
t/09alternate..........1..4
Skipping /Users/dankubb/.cpan/build/only-0.28/t/alternate/0.77/_Boom.pm (unchanged)
Skipping /Users/dankubb/.cpan/build/only-0.28/t/alternate/0.77/_Boom.yaml (unchanged)
ok 1
not ok 2
# Failed test (t/09alternate.t at line 25)
# got: 'Can't locate desired version of _Boom in @INC:
# - only:_Boom:/Users/dankubb/.cpan/build/only-0.28/t/alternate
# - t/site
# - t/lib
# - t
# - inc
# - /Users/dankubb/.cpan/build/only-0.28/inc
# - /Users/dankubb/.cpan/build/only-0.28/blib/lib
# - /Users/dankubb/.cpan/build/only-0.28/blib/arch
# - /usr/local/lib/perl5/5.9.2/darwin-2level
# - /usr/local/lib/perl5/5.9.2
# - /usr/local/lib/perl5/site_perl/5.9.2/darwin-2level
# - /usr/local/lib/perl5/site_perl/5.9.2
# - /usr/local/lib/perl5/site_perl
# - .
# at (eval 20) line 2
# BEGIN failed--compilation aborted at (eval 20) line 2.
# '
# expected: ''
# Failed test (t/09alternate.t at line 26)
# got: undef
# expected: '0.77'
not ok 3
# Failed test (t/09alternate.t at line 27)
# got: undef
# expected: 'Bada-Boom'
# Looks like you failed 3 tests of 4.
not ok 4
dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t/10install_version....1..4
Skipping /Users/dankubb/.cpan/build/only-0.28/t/alternate/0.11/_Boom.pm (unchanged)
Skipping /Users/dankubb/.cpan/build/only-0.28/t/alternate/0.11/_Boom.yaml (unchanged)
ok 1
not ok 2
# Failed test (t/10install_version.t at line 14)
# got: 'Can't locate desired version of _Boom in @INC:
# - only:_Boom:/Users/dankubb/.cpan/build/only-0.28/t/alternate
# - t/site
# - t/lib
# - t
# - inc
# - /Users/dankubb/.cpan/build/only-0.28/inc
# - /Users/dankubb/.cpan/build/only-0.28/blib/lib
# - /Users/dankubb/.cpan/build/only-0.28/blib/arch
# - /usr/local/lib/perl5/5.9.2/darwin-2level
# - /usr/local/lib/perl5/5.9.2
# - /usr/local/lib/perl5/site_perl/5.9.2/darwin-2level
# - /usr/local/lib/perl5/site_perl/5.9.2
# - /usr/local/lib/perl5/site_perl
# - .
# at (eval 20) line 2
# BEGIN failed--compilation aborted at (eval 20) line 2.
# '
# expected: ''
# Failed test (t/10install_version.t at line 15)
# got: undef
# expected: '0.77'
not ok 3
not ok 4
# Failed test (t/10install_version.t at line 16)
# got: undef
# expected: 'Bada-Boom'
# Looks like you failed 3 tests of 4.
dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t/11fail_msg...........1..1
ok 1
ok
t/12set_versionlib.....1..3
# Failed test (t/12set_versionlib.t at line 15)
# got: 'Can't locate desired version of _Boom in @INC:
# - only:_Boom:/Users/dankubb/.cpan/build/only-0.28/t/alternate
# - t/site
# - t/lib
# - t
# - inc
# - /Users/dankubb/.cpan/build/only-0.28/inc
# - /Users/dankubb/.cpan/build/only-0.28/blib/lib
# - /Users/dankubb/.cpan/build/only-0.28/blib/arch
# - /usr/local/lib/perl5/5.9.2/darwin-2level
# - /usr/local/lib/perl5/5.9.2
# - /usr/local/lib/perl5/site_perl/5.9.2/darwin-2level
# - /usr/local/lib/perl5/site_perl/5.9.2
# - /usr/local/lib/perl5/site_perl
# - .
# at (eval 15) line 2
# BEGIN failed--compilation aborted at (eval 15) line 2.
# '
# expected: ''
# Failed test (t/12set_versionlib.t at line 16)
# got: undef
# expected: '0.77'
not ok 1
# Failed test (t/12set_versionlib.t at line 17)
# got: undef
# expected: 'Bada-Boom'
# Looks like you failed 3 tests of 3.
not ok 2
not ok 3
dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/13ooapi..............1..11
ok 1
not ok 2
# Failed test (t/13ooapi.t at line 20)
# got: '1.00'
# expected: '0.50'
ok 3
# Failed test (t/13ooapi.t at line 22)
# 't/site/_Foo/Bar.pm'
# doesn't match '(?-xism:version)'
not ok 4
not ok 5
# Failed test (t/13ooapi.t at line 23)
not ok 6
# Failed test (t/13ooapi.t at line 24)
# undef
# doesn't match '(?-xism:version)'
Deep recursion on subroutine "only::INC" at /usr/local/lib/perl5/5.9.2/AutoLoader.pm line 92.
Deep recursion on subroutine "only::search" at /Users/dankubb/.cpan/build/only-0.28/blib/lib/only.pm line 131.
Deep recursion on subroutine "only::INC" at /usr/local/lib/perl5/5.9.2/AutoLoader.pm line 92.
Deep recursion on subroutine "only::search" at /Users/dankubb/.cpan/build/only-0.28/blib/lib/only.pm line 131.
Deep recursion on subroutine "only::get_loaded_version" at /Users/dankubb/.cpan/build/only-0.28/blib/lib/only.pm line 161.
Deep recursion on subroutine "AutoLoader::AUTOLOAD" at /Users/dankubb/.cpan/build/only-0.28/blib/lib/only.pm line 306.
dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2, 4-11
Failed 9/11 tests, 18.18% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/02basic.t 255 65280 1 2 200.00% 1
t/03range.t 255 65280 4 8 200.00% 1-4
t/04clobber.t 255 65280 7 14 200.00% 1-7
t/06require.t 255 65280 2 4 200.00% 1-2
t/07inc.t 255 65280 5 10 200.00% 1-5
t/09alternate.t 3 768 4 3 75.00% 2-4
t/10install_version.t 3 768 4 3 75.00% 2-4
t/12set_versionlib.t 3 768 3 3 100.00% 1-3
t/13ooapi.t 0 11 11 14 127.27% 2 4-11
Failed 9/14 test scripts, 35.71% okay. 37/54 subtests failed, 31.48% okay.
make: *** [test_dynamic] Error 255
------------------------------------------------------------------------
And here's the output for perl -V:
------------------------------------------------------------------------
Summary of my perl5 (revision 5 version 9 subversion 2) configuration:
Platform:
osname=darwin, osvers=8.0.0, archname=darwin-2level
uname='darwin dan-kubbs-power-mac-g5.local 8.0.0 darwin kernel version 8.0.0: sat mar 26 14:15:22 pst 2005; root:xnu-792.obj~1release_ppc power macintosh powerpc '
config_args='-de -Dinc_version_list=none -Dperladmin=information_technology@autopilotmarketing.com -Dcf_email=information_technology@autopilotmarketing.com -Dusedevel'
hint=recommended, useposix=true, d_sigaction=define
usethreads=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='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='4.0.0 20041026 (Apple Computer, Inc. build 4061)', gccosandvers='darwin8'
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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lc
perllibs=-ldl -lm -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under darwin
Compiled at Jul 31 2005 13:29:15
@INC:
/usr/local/lib/perl5/5.9.2/darwin-2level
/usr/local/lib/perl5/5.9.2
/usr/local/lib/perl5/site_perl/5.9.2/darwin-2level
/usr/local/lib/perl5/site_perl/5.9.2
/usr/local/lib/perl5/site_perl
.
------------------------------------------------------------------------
Please let me know if you have any questions, or if you'd like me to test
anything out. I'm not 100% sure I understand how only.pm works, otherwise
I'd be glad to submit a patch -- I have no idea why it's failing.