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