Skip Menu |

This queue is for tickets about the CPANPLUS-Dist-Mdv CPAN distribution.

Report information
The Basics
Id: 52096
Status: resolved
Priority: 0/
Queue: CPANPLUS-Dist-Mdv

People
Owner: jquelin [...] cpan.org
Requestors: mjh [...] cpan.org
Cc:
AdminCc:

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



Subject: error messages could be improved
On first use cpan2dist --format CPANPLUS::Dist::Mdv [module] returns: key 'file' (/root/.cpanplus/5.10.1/build/lib/PluginTestApp/Controller) is of invalid type for 'CPANPLUS::Internals::Utils::_mode_plus_w' provided by CPANPLUS::Internals::Extract::_extract at /usr/lib/perl5/vendor_perl/5.10.0/CPANPLUS/Internals/Extract.pm line 188 Key 'file' (/root/.cpanplus/5.10.1/build/Chained/Auto.pm) is of invalid type for 'CPANPLUS::Internals::Utils::_mode_plus_w' provided by CPANPLUS::Internals::Extract::_extract at /usr/lib/perl5/vendor_perl/5.10.0/CPANPLUS/Internals/Extract.pm line 188 Key 'file' (/root/.cpanplus/5.10.1/build/ACLTestApp.pm) is of invalid type for 'CPANPLUS::Internals::Utils::_mode_plus_w' provided by CPANPLUS::Internals::Extract::_extract at /usr/lib/perl5/vendor_perl/5.10.0/CPANPLUS/Internals/Extract.pm line 188 ==> MISSING Signature file! <== [ERROR] need to create rpm tree structure in your home [ERROR] Format 'CPANPLUS::Dist::Mdv' is not available It would be helpful if it either created the rpm tree structure in the home directory for you if it doesn't exist or at least explained that you need: ~/rpmbuild/BUILD/ ~/rpmbuild/BUILDROOT/ ~/rpmbuild/RPMS/ ~/rpmbuild/SOURCES/ ~/rpmbuild/SPECS/ ~/rpmbuild/SRPMS The invalid type errors make it look like the module is broken, rather than just that the directory structure is missing.
i don't want to create automagically the tree structure. however, module now complains for all missing directories before aborting. fixed in version 2.093310 (i changed version scheme). thanks for reporting.