From owner-freebsd-ports-bugs@freebsd.org Thu Dec 17 07:41:26 2015 Return-Path: Delivered-To: freebsd-ports-bugs@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 E28D7A4ADBC for ; Thu, 17 Dec 2015 07:41:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 D23BB1AFB for ; Thu, 17 Dec 2015 07:41:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tBH7fQLE081626 for ; Thu, 17 Dec 2015 07:41:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 205367] Multiple ports: PERL should be used instead of PERL5 Date: Thu, 17 Dec 2015 07:41:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mi@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2015 07:41:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205367 --- Comment #9 from Mikhail Teterin --- (In reply to Chris Hutchinson from comment #8) > Could an exp-run reveal this (the issue you describe)? Most likely, no -- or else, it would've been revealed already. Exp-run performs a clean rebuild of everything. The problem with PERL5 being set incorrectly arises on a live system. Here is how: 1. Build and install perl -- by using a lang/perl5.XX port and set PERL5_DEFAULT to the 5.xx. In my case, the xx is 22, but it does not matter. 2. Wait for the port you chose to be upgraded -- in my case, it went from 5.22 to 5.22.1 3. Update your ports-tree. 4. Check the value of PERL5 -- by cd-ing into any perl5-using port and performing `make -V PERL5` The output of the above will point at the version of lang/perl5.xx, that WOULD BE INSTALLED, if you built the port today. Instead, it should point at the version, that IS INSTALLED on your system already. Now, maybe, the current behavior is, indeed, intended -- and only the comment needs fixing. But I can not imagine, why it is useful and so suspect, the implementation needs to be fixed instead: use pkg(8) to determine, whether A version of the desired lang/perl5.xx is already installed and, if there is one, use it. Hope, this helps... -- You are receiving this mail because: You are on the CC list for the bug.