Bug#752910: libcgi-application-plugin-ajaxupload-perl: FTBFS with Perl 5.20: CGI will be removed from the Perl core distribution in the next major release.

gregor herrmann gregoa at debian.org
Fri Jun 27 20:18:16 UTC 2014


On Fri, 27 Jun 2014 20:37:40 +0200, gregor herrmann wrote:

> But then we get different test failures with 5.18 (not tested with
> 5.20, I haven't rebuilt all dependencies currently).

For the records:

   dh_auto_test
# Testing CGI::Application::Plugin::AJAXUpload 0.0.3
t/00.load.t ....... ok
t/01.basic.t ...... ok
The 'name' parameter ("rm") has a type specification which is not a number. It is undef.
 Use the constants exported by Params::Validate to declare types. at /usr/share/perl5/Test/CGI/Multipart.pm line 79.
    Test::CGI::Multipart::set_param(undef, 'name', 'rm', 'value', 'ajax_upload_rm') called at t/02.warnings.t line 40
# Looks like you planned 12 tests but ran 1.
# Looks like your test exited with 255 just after 1.
t/02.warnings.t ... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 11/12 subtests 
The 'callback' parameter ("CODE(0x181f4d8)") has a type specification which is not a number. It is undef.
 Use the constants exported by Params::Validate to declare types. at /usr/share/perl5/Test/CGI/Multipart.pm line 290.
    Test::CGI::Multipart::register_callback(undef, 'callback', 'CODE(0x181f4d8)') called at /usr/share/perl5/Test/CGI/Multipart/Gen/Image.pm line 65
    require Test/CGI/Multipart/Gen/Image.pm called at t/03.images.t line 8
    main::BEGIN() called at /usr/share/perl5/Test/CGI/Multipart/Gen/Image.pm line 0
    eval {...} called at /usr/share/perl5/Test/CGI/Multipart/Gen/Image.pm line 0
Compilation failed in require at t/03.images.t line 8.
BEGIN failed--compilation aborted at t/03.images.t line 8.
# Looks like you planned 10 tests but ran 1.
# Looks like your test exited with 255 just after 1.
t/03.images.t ..... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 9/10 subtests 
The 'callback' parameter ("CODE(0x30e8758)") has a type specification which is not a number. It is undef.
 Use the constants exported by Params::Validate to declare types. at /usr/share/perl5/Test/CGI/Multipart.pm line 290.
    Test::CGI::Multipart::register_callback(undef, 'callback', 'CODE(0x30e8758)') called at /usr/share/perl5/Test/CGI/Multipart/Gen/Image.pm line 65
    require Test/CGI/Multipart/Gen/Image.pm called at t/04-resize.t line 8
    main::BEGIN() called at /usr/share/perl5/Test/CGI/Multipart/Gen/Image.pm line 0
    eval {...} called at /usr/share/perl5/Test/CGI/Multipart/Gen/Image.pm line 0
Compilation failed in require at t/04-resize.t line 8.
BEGIN failed--compilation aborted at t/04-resize.t line 8.
# Looks like you planned 12 tests but ran 1.
# Looks like your test exited with 255 just after 1.
t/04-resize.t ..... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 11/12 subtests 



I tried to look into this, but I'm not sure if this is
Test::CGI::Multipart, Params::Validate, Readonly (new version!) or
this cgi-app-* thingie itself.

There seem to be bugs around Readonly and Params::Validate around ...
I guess we need to wait a few days.


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: Kurt Ostbahn & die Chefpartie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 928 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140627/5c74b228/attachment.sig>


More information about the pkg-perl-maintainers mailing list