[Bug 1152319] New: perl-Module-Starter should depend on perl-Software-License
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1152319
Bug ID: 1152319
Summary: perl-Module-Starter should depend on
perl-Software-License
Product: Fedora
Version: 20
Component: perl-Module-Starter
Severity: low
Assignee: ppisar(a)redhat.com
Reporter: rp(a)guests.deus.net
QA Contact: extras-qa(a)fedoraproject.org
CC: mmaslano(a)redhat.com,
perl-devel(a)lists.fedoraproject.org, ppisar(a)redhat.com,
psabata(a)redhat.com
Description of problem:
When used with some fairly simple settings, derived from the examples given in
the documentation, the module-starter tool from perl-Module-Starter produces
code which doesn't work correctly without the Software::License module as found
in perl-Software-License. Worse, it gives misleading error messages and it's
not clear which package the problem is in without tracing through code. So I
think it would be sensible to have perl-Module-Starter require
perl-Software-License, even though it isn't strictly necessary for it to
function.
Version-Release number of selected component (if applicable):
perl-Module-Starter-1.62-1.fc20.noarch
Steps to Reproduce:
With perl-Software-License not installed (and the Software::License module not
available on the system through any other means):
1. module-starter --module=My::Module --builder=Module::Build
--email=example(a)example.com
2. cd My-Module
3. perl Build.PL
Actual results:
Could not get valid metadata. Error is: Invalid metadata structure. Errors:
License 'Artistic_2_0' is invalid (license) [Validation: 1.4]
at /usr/share/perl5/vendor_perl/Module/Build/Base.pm line 4589
Expected results:
No error message, clean build.
Additional info:
http://www.perlmonks.org/?node_id=1006882 shows a user encountering this
problem and not being able to trace it - the suggested fix there is to install
Software::License.
The configuration included in perl-Module-Starter-PBP makes this problem even
easier to encounter, because it makes --builder=Module::Build the default.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=RE5cu9Be6X&a=cc_unsubscribe
9 years, 2 months