You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`perl -Ilib t/message.t` is fine, `prove -Ilib -r t` works fine,
replacing Makefile.PL with a Build.PL and `./Build test` works fine. no
idea what MakeMaker (6.62) is doing, but it appears to be getting
something wrong with the environment. Worse, it looks like MakeMaker
6.56 doesn't have this problem (so maybe you want to move the bug to
that queue.)
t/message.t ............. 1/129 # Test 94 got: <UNDEF> (t/message.t at
line 368)
# Expected: "\x{FEFF}Hi there \x{263A}\n"
# t/message.t line 368 is: ok(sub { eval { $m->decoded_content } },
"\x{FEFF}Hi there \x{263A}\n");
# Failed test 97 in t/message.t at line 373
# t/message.t line 373 is: ok($m2->decode);
# Test 98 got: "gzip, base64" (t/message.t at line 374)
# Expected: <UNDEF>
# t/message.t line 374 is: ok($m2->header("Content-Encoding"), undef);
# Test 99 got:
"H4sICFWAq0ECA3h4eAB7v3u/R6ZCSUZqUarCoxm7uAAZKHXiEAAAAA==\n"
(t/message.t at line 375)
# Expected: "(?-xism:Hi there)"
# t/message.t line 375 is: ok($m2->content, qr/Hi there/);
# Failed test 100 in t/message.t at line 377
# t/message.t line 377 is: ok(grep { $_ eq "gzip" } $m->decodable);
# Test 101 got: <UNDEF> (t/message.t at line 383)
# Expected: "\x{FEFF}Hi there \x{263A}\n"
# t/message.t line 383 is: ok(sub { eval { $m->decoded_content } },
"\x{FEFF}Hi there \x{263A}\n");
Attempt to reload Compress/Raw/Zlib.pm aborted.
Compilation failed in require at
/usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/Adapter/Deflate.pm
line 9.
BEGIN failed--compilation aborted at
/usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/Adapter/Deflate.pm
line 9.
Compilation failed in require at
/usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/RawDeflate.pm line 12.
BEGIN failed--compilation aborted at
/usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/RawDeflate.pm line 12.
Compilation failed in require at
/usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/Deflate.pm line 9.
BEGIN failed--compilation aborted at
/usr/pkg/lib/perl5/vendor_perl/5.12.0/IO/Compress/Deflate.pm line 9.
Compilation failed in require at /export/home/ewilhelm/HTTP-Message-
6.04/blib/lib/HTTP/Message.pm line 479.
t/message.t ............. Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 21/129 subtests
t/request.t ............. 1/11 # Failed test 3 in t/request.t at line 16
# t/request.t line 16 is: ok($req->header("Accept-Encoding") =~
/\bgzip\b/); # assuming IO::Uncompress::Gunzip is there
t/request.t ............. Failed 1/11 subtests
The text was updated successfully, but these errors were encountered:
There's been a lot of water under the EUMM and HTTP-Message bridges since then (the issue was originally raised in 2012, ten years ago), and HTTP-Message has been very green on CPAN Testers in all recent releases (from a quick spot check, most failures seem to be down to t/response.t randomly fails #101)
I emailed EWILHELM to ask if he still has access to the place where he had the problem, and could confirm it was ok, but haven't had any reply (not a big surprise, as he hasn't released anything since 2013).
The bug report does look like it was an unfortunate combination of things leading to the problem. I concur that we should close this. Thank yo for investigating and following up @neilb!
Migrated from rt.cpan.org#80144 (status was 'new')
Requestors:
From [email protected] on 2012-10-12 00:09:07:
The text was updated successfully, but these errors were encountered: