[MacPorts] #39825: py32-matplotlib @1.2.1: py32-six install fails if first installed py32-matplotlib
MacPorts
noreply at macports.org
Sun Jul 21 16:33:44 PDT 2013
#39825: py32-matplotlib @1.2.1: py32-six install fails if first installed
py32-matplotlib
-----------------------------+-----------------------------------
Reporter: md14-macports@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: haspatch | Port: py-matplotlib, py-six
-----------------------------+-----------------------------------
The installation of py-six @1.3.0 fails if py32-matplotlib @1.2.1 is
already installed.
{{{
$ sudo port -vs install py32-matplotlib
$ sudo port -vs install py32-six
...
x
./opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2
/site-packages/six.py
x
./opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2
/site-packages/__pycache__/six.cpython-32.pyc
Error: org.macports.activate for port py32-six returned: Image error:
/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2
/site-packages/__pycache__/six.cpython-32.pyc is being used by the active
py32-matplotlib port. Please deactivate this port first, or use 'port -f
activate py32-six' to force the activation.
Warning: targets not executed for py32-six: org.macports.activate
Please see the log file for port py32-six for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-six/py32-six/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port py32-six failed
}}}
It appears that py32-matplotlib installs its own six package.
{{{
$ port contents py32-matplotlib | grep six
/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2
/site-packages/__pycache__/six.cpython-32.pyc
/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2
/site-packages/six.py
}}}
Both packages install without errors if I install py32-six first and then
py32-matplotlib. The attached patch appears to fix the problem. It changes
py3*-matplotlib to depend on py3*-six. It also adds a py33-six subport for
the py33-matplotlib dependency.
--
Ticket URL: <https://trac.macports.org/ticket/39825>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list