Subject: | Email-MIME 1.859 can't new() with Email-Simple 2.000/2.001 |
With Email::Simple 2.000/2.001, package unit tests for Email::MIME
(which subclasses Email::Simple) die in the symbol-table-update loop at
Simple.pm:184. This complicates installation, obviously :)
Things work properly with Email::Simple v1.999, to which I've now
reverted. I haven't tested alternative versions of Email::MIME, as the
2.000 release of Simple is relatively fresh, and I'm not seeing any
other reports of this error.
I've also filed a matching ticket under Email::Simple
Here's the make test output (CPAN shell test is identical):
Show quoted text
> make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1...............ok 1/0Can't call method "header" on an undefined
value at /usr/lib/perl5/site_perl/5.8.5/Email/Simple.pm line 184, <IN>
line 1.
# Looks like your test died just after 1.
t/1...............dubious
Test returned status 255 (wstat 65280, 0xff00)
after all the subtests completed successfully
t/2...............ok 1/0Can't call method "header" on an undefined
value at /usr/lib/perl5/site_perl/5.8.5/Email/Simple.pm line 184, <IN>
chunk 1.
# Looks like your test died just after 1.
t/2...............dubious
Test returned status 255 (wstat 65280, 0xff00)
after all the subtests completed successfully
t/3...............Can't call method "header" on an undefined value at
/usr/lib/perl5/site_perl/5.8.5/Email/Simple.pm line 184, <IN> chunk 1.
# Looks like your test died before it could output anything.
t/3...............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/nested-parts....ok 1/5Can't call method "header" on an undefined
value at /usr/lib/perl5/site_perl/5.8.5/Email/Simple.pm line 184, <IN>
line 1.
# Looks like you planned 5 tests but only ran 1.
# Looks like your test died just after 1.
t/nested-parts....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-5
Failed 4/5 tests, 20.00% okay
t/pod-coverage....skipped
all skipped: Test::Pod::Coverage 1.08 required for testing POD
coverage
t/pod.............ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/1.t 255 65280 1 0 ??
t/2.t 255 65280 1 0 ??
t/3.t 255 65280 3 6 1-3
t/nested-parts.t 255 65280 5 8 2-5
1 test skipped.
Failed 4/6 test scripts. 7/11 subtests failed.
Files=6, Tests=11, 1 wallclock secs ( 0.48 cusr + 0.07 csys = 0.55 CPU)
Failed 4/6 test programs. 7/11 subtests failed.
make: *** [test_dynamic] Error 255
... and here's the environment in question, just in case:
Email::MIME v1.859
Email::Simple v2.000/1 (from CPAN) and v2.000 (svn tag 2.000)
Show quoted text> uname -a ; perl -v
Linux sf-eng-tools-01.h5technologies.com 2.6.9-5.ELsmp #1 SMP Wed Jan 5
19:30:39 EST 2005 i686 i686 i386 GNU/Linux
This is perl, v5.8.5 built for i386-linux-thread-multi
Copyright 1987-2004, Larry Wall