Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the MooseX-App CPAN distribution.

Report information
The Basics
Id: 85545
Status: resolved
Priority: 0/
Queue: MooseX-App

People
Owner: Nobody in particular
Requestors: chisel [...] chizography.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.21
Fixed in: (no value)



Subject: Undeclared dependency on Text::WagnerFischer
We package our CPAN module up into an RPM. We recently added MooseX-App. It failed with: perl-nap-5.14.4-2013.07.02.x86_64 from unstable has depsolving problems --> Missing Dependency: perl-nap(Text::WagnerFischer) is needed by package perl-nap-5.14.4-2013.07.02.x86_64 (unstable) Error: Missing Dependency: perl-nap(Text::WagnerFischer) is needed by package perl-nap-5.14.4-2013.07.02.x86_64 (unstable) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest Some investigation reveals that the module is use'd by MooseX/App/Plugin/Typo/Meta/Class.pm $ sudo rpm -Uvh --nodeps perl-nap-5.14.4-2013.07.02.x86_64.rpm Preparing... ########################################### [100%] 1:perl-nap ########################################### [100%] $ rpm -ql perl-nap | xargs grep Text::WagnerFischer /opt/xt/xt-perl/lib/site_perl/5.14.4/MooseX/App/Plugin/Typo/Meta/Class.pm:use Text::WagnerFischer qw(distance); $
On Wed May 22 12:08:21 2013, CHISEL wrote: Show quoted text
> We package our CPAN module up into an RPM. > > We recently added MooseX-App. It failed with: > [...] > Some investigation reveals that the module is use'd by > MooseX/App/Plugin/Typo/Meta/Class.pm
Text::WagnerFischer is declared as an 'recommended' dependency, which is only used by one (optional) plugin. You can find this dependency declared in the Makefile and thus META.yml and META.json "prereqs" : { "build" : { "requires" : { "ExtUtils::MakeMaker" : "6.59", "Test::Most" : "0", "Test::NoWarnings" : "0" } }, "configure" : { "requires" : { "ExtUtils::MakeMaker" : "6.59" } }, "runtime" : { "recommends" : { "File::HomeDir" : "0", "Term::ANSIColor" : "0", "Text::WagnerFischer" : "0" <---- }, "requires" : { "Config::Any" : "0", "IO::Interactive" : "0", If you run into these kind of problems you either need to install all recommended prereqs, or add Text::WagnerFischer to the prereqs of your MooseX::App based applications if you use the optional Typo plugin (which uses T::WF).
It looks like the Centos toolchain w.r.t. packaging perl modules is getting increasingly antiquated. Apologies for the incorrectly targeted report and thanks for your speedy and constructive reply.