Bug#711439: libemail-mime-createhtml-perl: FTBFS with perl 5.18: test failure
gregor herrmann
gregoa at debian.org
Fri Jun 7 19:23:29 UTC 2013
On Thu, 06 Jun 2013 22:29:58 +0100, Dominic Hargreaves wrote:
> This package FTBFS with perl 5.18 from experimental (in a clean sbuild
> session):
>
> t/Email-MIME-CreateHTML.t ...........
> Failed 1/49 subtests
The failing test:
not ok 36 at line 212 in t/Email-MIME-CreateHTML.t (Bad object_cache caught)
The line in the .t file:
ASSERT( scalar( $@ =~ /object_cache must be an object/ ), "Bad object_cache caught");
The content of $@ under 5.18:
t/Email-MIME-CreateHTML.t .. $VAR1 = 'object_cache does not seem to use the expected cache interface (get and set methods) at ../lib/Email/MIME/CreateHTML/Resolver.pm line 53, <DATA> line 1000.
Email::MIME::CreateHTML::Resolver::new(\'Email::MIME::CreateHTML::Resolver\', \'HASH(0x119f230)\') called at ../lib/Email/MIME/CreateHTML.pm line 43
Email::MIME::CreateHTML::embed_objects(\'<html>\\x{a}<body>\\x{a}<h1>Hello HTML World</h1>\\x{a}<p>Look! a nice <img ...\', \'HASH(0x119f230)\') called at ../lib/Email/MIME/CreateHTML.pm line 219
Email::MIME::create_html(\'Email::MIME\', \'header\', \'ARRAY(0x15efbd0)\', \'body\', \'<html>\\x{a}<body>\\x{a}<h1>Hello HTML World</h1>\\x{a}<p>Look! a nice <img ...\', \'base\', \'./data\', \'objects\', \'HASH(0x16d5d68)\', ...) called at t/Email-MIME-CreateHTML.t line 197
eval {...} called at t/Email-MIME-CreateHTML.t line 196
';
Resolver.pm around line 53:
my $object_cache = $args->{'object_cache'};
if(defined $object_cache ) {
confess "object_cache must be an object" unless ( UNIVERSAL::isa($object_cache,'UNIVERSAL') );
confess "object_cache does not seem to use the expected cache interface (get and set methods)"
unless ($object_cache->can('get') && $object_cache->can('set'));
warn("Caching support is not available - object_cache will not be used") unless($HaveCache);
}
Hm.
Cheers,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Tracy Chapman: The Times They Are A-Changin'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130607/4d61bf52/attachment.pgp>
More information about the pkg-perl-maintainers
mailing list