Package: libapache2-mod-perl2
Version: 2.0.8+httpd24-r1449661-2
Severity: serious

Failed builds on mips, mipsel, s390, sparc:

  Test Summary Report
  -------------------
  t/api/err_headers_out.t               (Wstat: 0 Tests: 6 Failed: 3)
    Failed tests:  2-3, 5

Looking at the test code in that file:

    # HTTP::Headers 6.00 makes the next 2 tests fail. When the response comes
    # in the header name is stored as "x-err_headers_out". But when it is to
    # be read below it is referred as "x-err-headers-out" and hence not found.
    local $HTTP::Headers::TRANSLATE_UNDERSCORE=
        $HTTP::Headers::TRANSLATE_UNDERSCORE;
    undef $HTTP::Headers::TRANSLATE_UNDERSCORE
        if defined HTTP::Headers->VERSION and HTTP::Headers->VERSION==6.00;

libhttp-message-perl 6.03-1 has HTTP::Headers VERSION 6.00
but the recently uploaded 6.06-1 has 6.05.

Changing that test to read 'HTTP::Headers->VERSION>=6.00' fixes
the problem (although the equality comparison with a float makes me
slightly nervous.) Note that there are two instances of this code block
in the file.

I haven't verified this, but I assume this also applies to 2.0.8 with
Apache 2.2 and upstream should be informed. I couldn't find a CPAN
RT ticket about this in the HTTP-Message queue.
-- 
Niko Tyni   nt...@debian.org


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to