Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Aug 2015 21:38:22 +0200
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Xavier <xavier@groumpf.org>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: Perl 5.20 breaks /usr/bin/perl
Message-ID:  <0C7DA76B10BC9A38A3BBE715@atuin.in.mat.cc>
In-Reply-To: <55CFA04B.10309@groumpf.org>
References:  <55CF9848.3050302@groumpf.org> <B1F5C46CD42C2B71A771C2FE@atuin.in.mat.cc> <55CFA04B.10309@groumpf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--==========E2F1945D274862226E15==========
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline



+--On 15 ao=C3=BBt 2015 22:25:47 +0200 Xavier <xavier@groumpf.org> wrote:
| On 15/08/15 20:59, Mathieu Arnold wrote:
|> +--On 15 ao=C3=BBt 2015 21:51:36 +0200 Xavier <xavier@groumpf.org> =
wrote:
|> | Hi,
|> |=20
|> | Wondering why nobody does report it yet.
|> | I noticed a couple weeks ago, an confirmed today on another computer,
|> | that :
|> |=20
|> | portupgrade -o lang/perl5.20 lang/perl5.18
|> |=20
|> | removes the symlink in /usr/bin, and doesn't recreate it, thus broking
|> | all perl scripts and programs.
|>=20
|> Yes, it does not create a /usr/bin/perl symlink, starting with Perl =
5.20.
|>=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.
|>=20
|> Cordialement, :-)
|>=20
|=20
| 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 :-)

--=20
Mathieu Arnold
--==========E2F1945D274862226E15==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJVz6M+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz
QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85IU7sP/A6jJvSMK2haWAZ49yZAJxL+
qCho9I5V4mB1w98ndMWEb0bQYqm84EQEI7awZ8nkgK4xK79FOX+yS7p6kEQJneHu
gRN+wvVtpkKHV7tCFIKNqy1Fnv9TS8ZFijH6t92kiPDIkywnnpU+uimkKZAHVVot
2hOYGFVyq83EeIfBwW20AaAC0xFPUVWjjaK83wxXLO0jLLNTsM4T8w4CCUJ71i54
JYHSbO/qYpAsdlKLSpdzZ8I8h6XARAuuKq5pwH3YjcxPVMO3GvAi3GV4q5J2SrBq
ao7OAFokU/kkyDpQ/OjHI84NKcp+elB9Fr/LpXqWoKbmlJy4XyL7MoxQjESJmAc+
6z75Ii+Dz/vCPAAkzsuj+8LAh+40eAmioH3In18+K/pWL/2P3gLIMfjbsn/FHOAo
Wr4SZzMlk+QghdtLvFt+WRu5RhOG4BK6jxAF/Vp8eEXeZY4mwOaJz4kp0YPtIiyj
JUp28MLaiJtDwekqG3WDmYrcE0TRJpCdAtntSJQR8M/67uOSSA8/cH9356dkMavX
8NQcX42TWlCk5UyFED5dTZu/zV27dsKak1NMi096gYOm+vTCr6gzU5g6G5OI8H9f
GII8H0BrsMpsP+7OWO09OqzrM6M91v+4dHf1u91VMRLbyzFdVJG3t8/RfJ6xXM54
3yYtiyJP4K57RRAkKp3M
=3Kph
-----END PGP SIGNATURE-----

--==========E2F1945D274862226E15==========--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0C7DA76B10BC9A38A3BBE715>