ports/156811: lang/python32 has lower priority then lang/python31

Volodymyr Kostyrko c.kworr at gmail.com
Wed May 4 12:10:08 UTC 2011


>Number:         156811
>Category:       ports
>Synopsis:       lang/python32 has lower priority then lang/python31
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 04 12:10:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Volodymyr Kostyrko
>Release:        RELENG_8_2
>Organization:
>Environment:
FreeBSD pkunk.3501.lan 8.2-RELEASE FreeBSD 8.2-RELEASE #1 r218964: Tue Apr 26 10:44:39 EEST 2011     arcade at pkunk.3501.lan:/usr/obj/usr/src/sys/MINIMAL_8  amd64
>Description:
The default python version list defined in Mk/bsd.python.mk @205 lists version 3.1 higher then 3.2:

_PYTHON_PORTBRANCH=     2.7
_PYTHON_ALLBRANCHES=        2.7 2.6 2.5 2.4 3.1 3.2# preferred first
_ZOPE_PORTBRANCH=       2.7
_ZOPE_ALLBRANCHES=      2.7 2.8 2.9 2.10 3.2

This means for any package marked as 3.1+ 3.1 would be preferred version and 3.2 would be ignored.
>How-To-Repeat:
For example try compiling databases/py-postgresql having lang/python32 installed - it will default to building lang/python31.
>Fix:
Why not order list by version?

_PYTHON_ALLBRANCHES=        2.7 2.6 2.5 2.4 3.2 3.1# preferred first

This will revert to old behavior when higher version would be accepted if lesser version is required.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list