From owner-freebsd-ports@freebsd.org Sat Aug 15 20:26:00 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 030B49BA5A6 for ; Sat, 15 Aug 2015 20:26:00 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [IPv6:2a01:e0c:1:1599::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C1EF915EF for ; Sat, 15 Aug 2015 20:25:59 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from ns3.groumpf.org (unknown [IPv6:2a01:e35:2e1f:f2e0:202:a5ff:feeb:a2b2]) by smtp3-g21.free.fr (Postfix) with ESMTP id EE271A621F for ; Sat, 15 Aug 2015 22:25:48 +0200 (CEST) Received: from vpn-acc13.creps-idf.fr (hardoy.creps-idf.fr [213.56.212.141]) by ns3.groumpf.org (Postfix) with ESMTPA id 44055F744E for ; Sat, 15 Aug 2015 22:25:48 +0200 (CEST) Subject: Re: Perl 5.20 breaks /usr/bin/perl To: FreeBSD Ports ML References: <55CF9848.3050302@groumpf.org> From: Xavier Message-ID: <55CFA04B.10309@groumpf.org> Date: Sat, 15 Aug 2015 22:25:47 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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:26:00 -0000 On 15/08/15 20:59, Mathieu Arnold wrote: > +--On 15 août 2015 21:51:36 +0200 Xavier 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. Cordialement, Xav -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer