Bug#898754: libcatalyst-controller-html-formfu-perl: FTBFS: Can't locate MooseX/Attribute/FormFuChained.pm in @INC

Niko Tyni ntyni at debian.org
Tue May 15 17:31:43 BST 2018


Source: libcatalyst-controller-html-formfu-perl
Version: 2.02-1
Severity: serious
User: debian-perl at lists.debian.org
Usertags: autopkgtest
Tags: fixed-upstream
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=125102

As noticed by ci.debian.net, this package fails its test suite on current
sid, making it fail to build from source.

 https://ci.debian.net/packages/libc/libcatalyst-controller-html-formfu-perl/

It looks like libhtml-formfu-perl_2.06-1 dropped the
MooseX::Attribute::FormFuChained module, but at least this package is
still using it. This seems to be fixed upstream in 2.03.

Once this is fixed, please also make libhtml-formfu-perl Break the earlier
versions so that partial upgrades cannot end up with broken combinations.
I hope this is also be enough to inform the britney autopkgtest integration
that the packages need to migrate together.

(I see libhtml-formfu-model-dbic-perl was similarly affected but is already
fixed; please consider adding a Breaks entry for that one too if applicable.)

>From my build log:

  [error] Caught exception in TestApp::Controller::Token->form "Can't locate MooseX/Attribute/FormFuChained.pm in @INC (you may need to install the MooseX::Attribute::FormFuChained module) (@INC contains: t/lib /<<PKGBUILDDIR>>/blib/lib /<<PKGBUILDDIR>>/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.2 /usr/local/share/perl/5.26.2 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /<<PKGBUILDDIR>>/blib/lib/HTML/FormFu/Plugin/RequestToken.pm line 8.
  BEGIN failed--compilation aborted at /<<PKGBUILDDIR>>/blib/lib/HTML/FormFu/Plugin/RequestToken.pm line 8.
  Compilation failed in require at /usr/share/perl5/HTML/FormFu/Util.pm line 390.
   at /usr/share/perl5/HTML/FormFu/Role/FormAndElementMethods.pm line 235."
  
  #   Failed test 'GET http://localhost/token/form'
  #   at t/01basic-token.t line 11.
  # 500
  # Internal Server Error
  
  #   Failed test 'Found form'
  #   at t/01basic-token.t line 15.
  Can't call method "find_input" on an undefined value at t/01basic-token.t line 17.
  # Tests were run but no plan was declared and done_testing() was not seen.
  # Looks like your test exited with 255 just after 2.
  t/01basic-token.t ................ 
  not ok 1 - GET http://localhost/token/form
  not ok 2 - Found form
  Dubious, test returned 255 (wstat 65280, 0xff00)
  Failed 2/2 subtests 
 
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list