Bug#709762: libcgi-session-perl: FTBFS with perl 5.18: qw syntax errors

Dominic Hargreaves dom at earth.li
Sat May 25 09:33:01 UTC 2013


Source: libcgi-session-perl
Version: 4.46-1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.18-transition
Tags: sid jessie patch
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=69048

This package FTBFS with perl 5.18 from experimental (in a clean sbuild
session):

syntax error at t/ip_matches.t line 39, near "->import qw/-ip_match/"
Execution of t/ip_matches.t aborted due to compilation errors (#1)
    (F) Probably means you had a syntax error.  Common reasons include:
    
        A keyword is misspelled.
        A semicolon is missing.
        A comma is missing.
        An opening or closing parenthesis is missing.
        An opening or closing brace is missing.
        A closing quote is missing.
    
    Often there will be another error message associated with the syntax
    error giving more information.  (Sometimes it helps to turn on -w.)
    The error message itself often tells you where it was in the line when
    it decided to give up.  Sometimes the actual error is several tokens
    before this, because Perl is good at understanding random input.
    Occasionally the line number may be misleading, and once in a blue moon
    the only way to figure out what's triggering the error is to call
    perl -c repeatedly, chopping away half the program each time to see
    if the error went away.  Sort of the cybernetic version of 20 questions.
    
Uncaught exception from user code:
        syntax error at t/ip_matches.t line 39, near "->import qw/-ip_match/"
        Execution of t/ip_matches.t aborted due to compilation errors.
# Looks like your test exited with 255 before it could output anything.
t/ip_matches.t .................. 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
t/is_new.t ...................... ok
Argument "wrong" isn't numeric in numeric ne (!=) at
        /build/dom-libcgi-session-perl_4.46-1-i386-c5sQwC/libcgi-session-perl-4.
46/blib/lib/CGI/Session.pm line 684 (#1)
    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.

There is possible patch on the upstream bug report.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)



More information about the pkg-perl-maintainers mailing list