Bug 1568409

Summary: perl-Catalyst-Controller-HTML-FormFu-2.02-3.fc29 FTBFS: Can't locate MooseX/Attribute/FormFuChained.pm
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Catalyst-Controller-HTML-FormFuAssignee: Emmanuel Seyman <emmanuel>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: emmanuel, iarnell, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://apps.fedoraproject.org/koschei/build/4601877
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-22 18:55:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2018-04-17 12:49:58 UTC
perl-Catalyst-Controller-HTML-FormFu-2.02-3.fc29 fails to build in F29 because tests fail:

t/01basic-formmethod.t ........... ok
[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 /builddir/build/BUILD/Catalyst-Controller-HTML-FormFu-2.02/blib/lib /builddir/build/BUILD/Catalyst-Controller-HTML-FormFu-2.02/blib/arch /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /builddir/build/BUILD/Catalyst-Controller-HTML-FormFu-2.02/blib/lib/HTML/FormFu/Plugin/RequestToken.pm line 8.
BEGIN failed--compilation aborted at /builddir/build/BUILD/Catalyst-Controller-HTML-FormFu-2.02/blib/lib/HTML/FormFu/Plugin/RequestToken.pm line 8.
Compilation failed in require at /usr/share/perl5/vendor_perl/HTML/FormFu/Util.pm line 390.
 at /usr/share/perl5/vendor_perl/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 ................ 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/2 subtests 

This is triggered by upgrading HTML-FormFu from 2.05 to 2.06 that removed MooseX::Attribute::FormFuChained in favor of external MooseX::Attribute::Chained <http://cpansearch.perl.org/src/CFRANKS/HTML-FormFu-2.06/Changes>.

Comment 1 Emmanuel Seyman 2018-04-22 18:55:56 UTC
Wait till I get my hands on the moron who upgraded HTML::FormFu without checking the consequences! Oh wait...

Your patch was merged upstream and I've packaged Catalyst-Controller-HTML-FormFu 2.04 which contains it. Thank you, Petr.