Perl 5.20 breaks /usr/bin/perl

Mathieu Arnold mat at FreeBSD.org
Sat Aug 15 20:38:25 UTC 2015



+--On 15 août 2015 22:25:47 +0200 Xavier <xavier at groumpf.org> wrote:
| On 15/08/15 20:59, Mathieu Arnold wrote:
|> +--On 15 août 2015 21:51:36 +0200 Xavier <xavier at groumpf.org> wrote:
|> | Hi,
|> | 
|> | Wondering why nobody does report it yet.
|> | I noticed a couple weeks ago, an confirmed today on another computer,
|> | that :
|> | 
|> | portupgrade -o lang/perl5.20 lang/perl5.18
|> | 
|> | removes the symlink in /usr/bin, and doesn't recreate it, thus broking
|> | all perl scripts and programs.
|> 
|> Yes, it does not create a /usr/bin/perl symlink, starting with Perl 5.20.
|> 
|> If you still need one, and are not using some common shebang, like
|> /usr/local/bin/perl, which still works, or /usr/bin/env perl, which also
|> still works, create one yourself.
|> 
|> Cordialement, :-)
|> 
| 
| IMHO, the port should at least emit a warning, since almost every Perl
| program I'm aware of (including those I wrote for 20 years, since
| MacPerl) use shebang /usr/bin/perl. I even remember it's mentioned in the
| Camel Book.

It was mentionned in UPDATING, in the 20150513 entry, the one explaining
how you upgrade from 5.18 to 5.20 :-)

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20150815/fb9587a0/attachment.bin>


More information about the freebsd-ports mailing list