FS#46900 - [perl-cpanplus] Dependency CPANPLUS::Dist::Build missing
Attached to Project:
Community Packages
Opened by Simon Schuster (noctux) - Wednesday, 28 October 2015, 14:12 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:00 GMT
Opened by Simon Schuster (noctux) - Wednesday, 28 October 2015, 14:12 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:00 GMT
|
Details
Description:
Some codepath within CPANPLUS requires the CPANPLUS::Dist::Build module to be installed, which is missing in the default arch-packages resulting in cpanp crashing with: [ERROR] Can't locate object method "new" via package "CPANPLUS::Dist::Build" (perhaps you forgot to load "CPANPLUS::Dist::Build"?) at /usr/share/perl5/vendor_perl/CPANPLUS/Module.pm line 809. Additional info: * perl-cpanplus 0.9156-1 * perl-cpanplus-dist-arch 1.32-1 Steps to reproduce: * setupdistarch * cpanp -i Devel::REPL * Accept the default choices * (Wait till output stops. There is another question which is waiting for input but is not correctly displayed. This looks like an upstream bug, just press enter after the output has stopped) * The error occurs Workaround: * Install the module manually, which interestingly works fine: cpanp i CPANPLUS::Dist::Build I'm not 100% sure if this is an actual bug or desired behaviour as the manual installation of CPANPLUS::Dist::Build and therefore a subset of cpanp works, but I guess installing the 76.0 KiB of perl-cpanplus-dist-build alongside perl-cpan would not hurt anyone either and prevent this undesired behaviour from hitting someone else. Thanks you for the consideration, Simon |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:00 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/perl-cpanplus/issues/1
Saturday, 25 November 2023, 20:00 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/perl-cpanplus/issues/1
I'll add perl-cpanplus-dist-build to [community] and as an optdepend of perl-cpanplus.