Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 60518
Status: rejected
Priority: 0/
Queue: App-cpanminus

People
Owner: Nobody in particular
Requestors: willert [...] gmail.com
Cc:
AdminCc:

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



Subject: Wrong archname when used with App::perlbrew and local::lib
I'm not sure which module is responsible here so I will cross-post this issue to local::lib. When using a perlbrew installed perl, cpanm seems to pick up the wrong archname (most likely the archname of the system perl) while installing modules, e.g. arch dependent files end up in perl5/lib/perl5/i486-linux-gnu-thread-multi (arch of system perl) instead of perl5/lib/perl5/i686-linux (perlbrew arch) and thus installation works but the modules are unusable. Steps to reproduce: perlbrew install $PERLVERSION perlbrew switch $PERL_VERSION cpanp i App::cpanminus cd $ANY_PERL_PROJECT cpanm --installdeps -L perl5 . prove -Mlocal::lib=perl5 t Cheers, Sebastian Willert
Before there are any misunderstandings, explicitly setting the local::lib environment obviously works, but if I understand the intention behind -l/-L in cpanminus correctly, this is still a bug.
I think your cpanp or cpanm has a wrong path in the shebang. Doesn't reproduce for me and anyone else.