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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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
Comment by Felix Yan (felixonmars) - Thursday, 29 October 2015, 08:35 GMT
Upstream has this prompt: "Module::Build support is not bundled standard with CPANPLUS, but requires you to install 'CPANPLUS::Dist::Build' from CPAN."

I'll add perl-cpanplus-dist-build to [community] and as an optdepend of perl-cpanplus.
Comment by Simon Schuster (noctux) - Thursday, 29 October 2015, 15:19 GMT
Thanks! That was quick. Sorry that I've missed that information upstream...
Comment by Eli Schwartz (eschwartz) - Friday, 08 September 2017, 19:22 GMT
Felix, any update on getting this optdepends added? I notice perl-cpanplus-dist-build is still in the AUR.
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...