[MacPorts] #40303: py27-pylint @1.0.0: Destroot failure
MacPorts
noreply at macports.org
Sat Aug 31 10:28:01 PDT 2013
#40303: py27-pylint @1.0.0: Destroot failure
-------------------------------+------------------------
Reporter: mark.chilenski@… | Owner: stromnov@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords:
Port: py27-pylint |
-------------------------------+------------------------
Comment (by mark.chilenski@…):
I was able to solve the problem by removing what is apparently an
interfering version of setuptools in site-packages, no need to remove
python27 and py27-*. The ticket may now be closed, thanks for the help!
For others' reference with similar issues, here are the details of what I
did:
I tried uninstalling all three of the non-Macports packages (sudo pip-2.7
uninstall <NAME>) and it did not work.
I then tried uninstalling and reinstalling py27-setuptools (sudo port -f
uninstall py27-setuptools followed by sudo port install py27-setuptools).
py27-pylint still failed to install.
I then noticed that there were several redundant files in site-packages
associated with setuptools:
{{{
drwxr-xr-x 35 root wheel 1190 Aug 31 13:07 setuptools
drwxr-xr-x 3 root wheel 102 Jun 19 15:12 setuptools-0.7.2-py2.7
.egg-info
drwxr-xr-x 9 root wheel 306 Jun 11 14:42 setuptools-0.7.2-py2.7
.egg-info.OLD.1371669160.36
drwxr-xr-x 9 root wheel 306 Aug 31 13:07 setuptools-1.1-py2.7.egg-
info
drwxr-xr-x 30 root wheel 1020 Jun 11 14:42
setuptools.OLD.1371669160.36
}}}
I verified that 1.1 is the active version in Macports and that all
inactive ports had been uninstalled (sudo port -f uninstall inactive -- an
overkill approach, I know), and yet all of those files remained.
So, I deleted the old directories one-by-one, testing after each deletion.
py27-pylint finally installed when it was just setuptools and
setuptools-1.1-py2.7.egg-info left.
--
Ticket URL: <https://trac.macports.org/ticket/40303#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list