Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2007 00:05:31 -0800 (PST)
From:      Douglas William Thrift <douglas@douglasthrift.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/118301: devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it
Message-ID:  <200711280805.lAS85Vcs045035@slowhand.douglasthrift.net>
Resent-Message-ID: <200711280830.lAS8U10X068022@freefall.freebsd.org>

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

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



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