ports/118301: devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it

Douglas William Thrift douglas at douglasthrift.net
Wed Nov 28 08:30:02 UTC 2007


>Number:         118301
>Category:       ports
>Synopsis:       devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 28 08:30:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Douglas William Thrift
>Release:        FreeBSD 6.2-RELEASE-jc1 i386
>Organization:
>Environment:
System: FreeBSD slowhand.douglasthrift.net 6.2-RELEASE-jc1 FreeBSD 6.2-RELEASE-jc1 #0: Fri Feb 16 19:33:37 PST 2007 user at jail14.johncompanies.com:/usr/obj/usr/src/sys/jail14 i386
>Description:
The file PREFIX/lib/python2.5/site-packages/easy-install.pth which tells Python what egg files to look in for libraries installed with the Easy Install system is not maintained across upgrading the devel/py-setuptools port. This means that after an upgrade importing libraries which where installed with the Easy Install system will fail.
>How-To-Repeat:
Upgrade devel/py-setuptools.
Run Python and try to import a library installed with Easy Install (for example devel/py-pytz):
    [douglas at slowhand:~]$ python
    Python 2.5.1 (r251:54863, Nov 10 2007, 23:43:31)
    [GCC 3.4.6 [FreeBSD] 20060305] on freebsd6
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import pytz
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    ImportError: No module named pytz
    >>>
>Fix:
The current workaround is to reinstall all of the ports which use the Easy Install system.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list