From owner-freebsd-ports@freebsd.org Sat Aug 15 20:38:25 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 186289BA774 for ; Sat, 15 Aug 2015 20:38:25 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (prod2.absolight.net [79.143.243.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C960F1A25 for ; Sat, 15 Aug 2015 20:38:24 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id B8B8ABDC4C; Sat, 15 Aug 2015 22:38:22 +0200 (CEST) Received: from atuin.in.mat.cc (wireless2.caths.cam.ac.uk [131.111.225.1]) by prod2.absolight.net (Postfix) with ESMTPA id 92DE6BDC1F; Sat, 15 Aug 2015 22:38:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by atuin.in.mat.cc (Postfix) with ESMTP id 3745F40D97C0; Sat, 15 Aug 2015 21:38:22 +0100 (BST) Date: Sat, 15 Aug 2015 21:38:22 +0200 From: Mathieu Arnold To: Xavier , FreeBSD Ports ML 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> <55CFA04B.10309@groumpf.org> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========E2F1945D274862226E15==========" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Aug 2015 20:38:25 -0000 --==========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 wrote: | On 15/08/15 20:59, Mathieu Arnold wrote: |> +--On 15 ao=C3=BBt 2015 21:51:36 +0200 Xavier = 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==========--