Actions
action #52736
openMake it obvious why we call cpanm with an invalid mirror URL (was: error in package build about wrong use of cpanm)
Start date:
2019-06-07
Due date:
% Done:
0%
Estimated time:
Description
Observation¶
[ 71s] + cpanm --installdeps --with-feature=test .
[ 73s] !
[ 73s] ! Can't write to /usr/lib/perl5/site_perl/5.28.1 and /usr/bin: Installing modules to /home/abuild/perl5
[ 73s] ! To turn off this warning, you have to do one of the following:
[ 73s] ! - run me as a root or with --sudo option (to install to /usr/lib/perl5/site_perl/5.28.1 and /usr/bin)
[ 73s] ! - Configure local::lib in your existing shell to set PERL_MM_OPT etc.
[ 73s] ! - Install local::lib by running the following commands
[ 73s] !
[ 73s] ! cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
[ 73s] !
Suggestion¶
I guess we can just configure cpanm call with --local-lib
Actions