From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 17 20:00:38 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69F2F16A4E1 for ; Mon, 17 Jul 2006 20:00:38 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72AD443D58 for ; Mon, 17 Jul 2006 20:00:37 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6HK0bsm020250 for ; Mon, 17 Jul 2006 20:00:37 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6HK0bDN020249; Mon, 17 Jul 2006 20:00:37 GMT (envelope-from gnats) Resent-Date: Mon, 17 Jul 2006 20:00:37 GMT Resent-Message-Id: <200607172000.k6HK0bDN020249@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alan Batie Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF82116A4DD for ; Mon, 17 Jul 2006 19:56:26 +0000 (UTC) (envelope-from alan@agora.rdrop.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 568D743D45 for ; Mon, 17 Jul 2006 19:56:23 +0000 (GMT) (envelope-from alan@agora.rdrop.com) Received: from agora.rdrop.com (202@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id k6HJuMUb067568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 17 Jul 2006 12:56:23 -0700 (PDT) (envelope-from alan@agora.rdrop.com) Received: (from alan@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) id k6HJuM9A067567; Mon, 17 Jul 2006 12:56:22 -0700 (PDT) Message-Id: <200607171956.k6HJuM9A067567@agora.rdrop.com> Date: Mon, 17 Jul 2006 12:56:22 -0700 (PDT) From: Alan Batie To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/100449: PERL_VERSION set incorrectly in bsd.ports.mk X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alan Batie List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2006 20:00:38 -0000 >Number: 100449 >Category: ports >Synopsis: PERL_VERSION set incorrectly in bsd.ports.mk >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 17 20:00:36 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Alan Batie >Release: FreeBSD 4.7-STABLE i386 >Organization: RainDrop Laboratories >Environment: System: FreeBSD agora.rdrop.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Feb 3 00:57:16 PST 2003 root@agora.rdrop.com:/usr/src/freebsd/src/sys/compile/AGORA i386 >Description: bsd.port.mk fixes PERL_VERSION based on what shipped with the particular OS version, not based on what is currently installed and/or selected by use.perl. This causes many ports that depend on a newer version of perl to refuse to build, despite the fact that a supported version of perl is available. >How-To-Repeat: check out a current version of ports on an older version of FreeBSD (4.x for example). try to build a port that requires perl 5.6 or later (e.g. net-mgmt/p5-Net-SNMP) >Fix: workaround is to edit bsd.port.mk and force PERL_VERSION to the version, though I suspect there are some issues with this and I haven't fully tested it. Between the system and port instances of perl, and the myriad version libraries, perl module version management is a nightmare on long-lived systems... >Release-Note: >Audit-Trail: >Unformatted: