ports/168980: devel/py-distribute fails to install some files

Volodymyr Kostyrko c.kworr at gmail.com
Tue Jun 12 15:00:25 UTC 2012


The following reply was made to PR ports/168980; it has been noted by GNATS.

From: Volodymyr Kostyrko <c.kworr at gmail.com>
To: bug-followup at FreeBSD.org, c.kworr at gmail.com
Cc:  
Subject: Re: ports/168980: devel/py-distribute fails to install some files
Date: Tue, 12 Jun 2012 17:54:22 +0300

 Maybe I was too fast about that one as creating new jail without python 
 and installing port there works.
 
 However after switching from py-setuptools to py-distribute on one 
 machine I finished with following:
 
 # python -c 'import setuptools'
 Traceback (most recent call last):
    File "<string>", line 1, in <module>
 ImportError: No module named setuptools
 
 # cat /usr/local/lib/python2.7/site-packages/easy-install.pth
 import sys; sys.__plen = len(sys.path)
 ./setuptools-0.6c11-py2.7.egg
 ./PyYAML-3.10-py2.7-freebsd-9.0-STABLE-amd64.egg
 ./PyAMF-0.6.1-py2.7-freebsd-9.0-STABLE-amd64.egg
 ./Pyrseas-0.5.0-py2.7.egg
 import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; 
 p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = 
 p+len(new)
 
 And this is just after py-distribute was installed.
 
 After cleaning environment I can't reproduce this issue anymore. However 
 if easy-install.pth is already poisoned with link to setuptools `make 
 deinstall reinstall clean` in /usr/ports/devel/py-distribute doesn't 
 change anything.
 
 Don't know is this really an error and should it be fixed or not, but if 
 anytime soon switch from setuptools to distribute will happen this one 
 can cause little havok.
 
 -- 
 Sphinx of black quartz judge my vow.



More information about the freebsd-ports-bugs mailing list