App-perlbrew
App-perlbrew copied to clipboard
`perlbrew --force install perl-5.8.8` ne `perlbrew install --force perl-5.8.8`
When you provide the --force
option, you expect the install to be forced. But perlbrew weirdly relies on the ordering here - can you guess which one is correct in the title? I couldn't, and it gave me a sad face.
Or maybe --force
is broken?
mike@doherty:~ $ perlbrew --force install perl-5.8.8
Installing /home/mike/perl5/perlbrew/build/perl-5.8.8 into ~/perl5/perlbrew/perls/perl-5.8.8
This could take a while. You can run the following command on another shell to track the status:
tail -f ~/perl5/perlbrew/build.perl-5.8.8.log
Installation process failed. To spot any issues, check
/home/mike/perl5/perlbrew/build.perl-5.8.8.log
If some perl tests failed and you still want install this distribution anyway,
do:
(cd /home/mike/perl5/perlbrew/build/perl-5.8.8; make install)
You might also want to try upgrading patchperl before trying again:
perlbrew install-patchperl
Generally, if you need to install a perl distribution known to have minor test
failures, do one of these command to avoid seeing this message
perlbrew --notest install perl-5.8.8
perlbrew --force install perl-5.8.8
Here's the install log: http://sprunge.us/MSYK
Any idea why this issue has such a low priority and was therefore never fixed? This question
https://github.com/gugod/App-perlbrew/blob/e2d23485bbee3947a0a2f1882857a4ccb1f8bbbe/lib/App/perlbrew.pm#L1642
gives a clear hint why the --force
option is broken!