Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2006 12:56:22 -0700 (PDT)
From:      Alan Batie <alan@agora.rdrop.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/100449: PERL_VERSION set incorrectly in bsd.ports.mk
Message-ID:  <200607171956.k6HJuM9A067567@agora.rdrop.com>
Resent-Message-ID: <200607172000.k6HK0bDN020249@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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