Skip Menu |

This queue is for tickets about the local-lib CPAN distribution.

Report information
The Basics
Id: 60519
Status: rejected
Priority: 0/
Queue: local-lib

People
Owner: apeiron [...] cpan.org
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 App::cpanminus
I'm not sure which module is responsible here so I will cross-post this issue to App::cpanminus. 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.
Check the shebang on your cpanm executable.
I can't duplicate this issue using the instructions provided. Either way, it's pretty much impossible for this to be local::lib's fault. The bug would have to be in perlbrew or cpanm, and may be fixed now given that I can't reproduce it. There also hasn't been any response from the user in over 2 years, so I'm rejecting this.