[MacPorts] #50225: py-matplotlib - build failure
#50225: py-matplotlib - build failure --------------------------------------------+------------------------------ Reporter: davideproment@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: py-matplotlib, py27-matplotlib | Version: 2.3.4 | Port: py-matplotlib --------------------------------------------+------------------------------ After running a selfupdate (version 2.3.4), I executed sudo port upgrade outdated. I then got the following issue in building the py-matplotlib (I use python2.7): ---> Computing dependencies for py-matplotlib ---> Dependencies to be installed: py27-matplotlib ---> Building py27-matplotlib Error: org.macports.build for port py27-matplotlib returned: command execution failed Error: Failed to install py27-matplotlib Please see the log file for port py27-matplotlib for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-matplotlib/py27-matplotlib/main.log Error: The following dependencies were not installed: py27-matplotlib To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port py-matplotlib failed -- Ticket URL: <https://trac.macports.org/ticket/50225> MacPorts <https://www.macports.org/> Ports system for OS X
#50225: py27-matplotlib - build failure ------------------------------+-------------------- Reporter: davideproment@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-matplotlib | ------------------------------+-------------------- Changes (by mf2k@…): * keywords: py-matplotlib, py27-matplotlib => * owner: macports-tickets@… => sean@… Comment: In the future, please use WikiFormatting and Cc the port maintainers ({{{port info --maintainers py-matplotlib}}}), if any. -- Ticket URL: <https://trac.macports.org/ticket/50225#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50225: py27-matplotlib - build failure ------------------------------+-------------------- Reporter: davideproment@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-matplotlib | ------------------------------+-------------------- Description changed by mf2k@…: Old description:
After running a selfupdate (version 2.3.4), I executed sudo port upgrade outdated. I then got the following issue in building the py-matplotlib (I use python2.7):
---> Computing dependencies for py-matplotlib ---> Dependencies to be installed: py27-matplotlib ---> Building py27-matplotlib Error: org.macports.build for port py27-matplotlib returned: command execution failed Error: Failed to install py27-matplotlib Please see the log file for port py27-matplotlib for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-matplotlib/py27-matplotlib/main.log Error: The following dependencies were not installed: py27-matplotlib To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port py-matplotlib failed
New description: After running a selfupdate (version 2.3.4), I executed sudo port upgrade outdated. I then got the following issue in building the py-matplotlib (I use python2.7): {{{ ---> Computing dependencies for py-matplotlib ---> Dependencies to be installed: py27-matplotlib ---> Building py27-matplotlib Error: org.macports.build for port py27-matplotlib returned: command execution failed Error: Failed to install py27-matplotlib Please see the log file for port py27-matplotlib for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-matplotlib/py27-matplotlib/main.log Error: The following dependencies were not installed: py27-matplotlib To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port py-matplotlib failed }}} -- -- Ticket URL: <https://trac.macports.org/ticket/50225#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50225: py27-matplotlib - build failure ------------------------------+-------------------- Reporter: davideproment@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-matplotlib | ------------------------------+-------------------- Comment (by davideproment@…): Replying to [comment:2 mf2k@…]: Sorry for not using WikiFormatting, and thanks for modifying my ticket accordingly. -- Ticket URL: <https://trac.macports.org/ticket/50225#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50225: py27-matplotlib - build failure ------------------------------+-------------------- Reporter: davideproment@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: py-matplotlib | ------------------------------+-------------------- Changes (by sean@…): * status: new => closed * resolution: => invalid Comment: {{{ :info:build IOError: [Errno 13] Permission denied: '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpydoc-0.5-py2.7.egg-info/PKG-INFO' }}} Did you happen to install something with `sudo pip install ...`? -- Ticket URL: <https://trac.macports.org/ticket/50225#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50225: py27-matplotlib - build failure ------------------------------+-------------------- Reporter: davideproment@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: py-matplotlib | ------------------------------+-------------------- Comment (by davideproment@…): Replying to [comment:4 sean@…]:
{{{ :info:build IOError: [Errno 13] Permission denied: '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpydoc-0.5-py2.7.egg-info/PKG-INFO' }}}
Did you happen to install something with `sudo pip install ...`?
I think I might have done this, yes! Over the last weeks have been installing some packages which were not available on as ports and might have installed something in that way. Why this is a problem? How can I solve this issue? -- Ticket URL: <https://trac.macports.org/ticket/50225#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#50225: py27-matplotlib - build failure ------------------------------+-------------------- Reporter: davideproment@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: py-matplotlib | ------------------------------+-------------------- Comment (by sean@…): MacPorts manages everything under `/opt/local` so installing something by hand into that directory will confuse it. Like it did in your case. If you need something outside of MacPorts for python, then the easiest option is to use a `virtualenv`. Optionally, you could submit a portfile to add that package. In your case, I'd start by uninstall whatever you installed with `pip` and then trying the upgrade again. -- Ticket URL: <https://trac.macports.org/ticket/50225#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#50225: py27-matplotlib - build failure ------------------------------+-------------------- Reporter: davideproment@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: py-matplotlib | ------------------------------+-------------------- Comment (by davideproment@…): Replying to [comment:6 sean@…]:
MacPorts manages everything under `/opt/local` so installing something by hand into that directory will confuse it. Like it did in your case. If you need something outside of MacPorts for python, then the easiest option is to use a `virtualenv`. Optionally, you could submit a portfile to add that package. In your case, I'd start by uninstall whatever you installed with `pip` and then trying the upgrade again.
Dear Sean, thanks for your explanations. I am a bit newbie of python as I have been using it only recently and installing many modules for science research purposes. As a matter of fact, I do not remember which module(s) I have been installing by hand! Any idea on how can I find this information? Can you also explain me (or give me some useful links) on how to use the {{{virtualenv}}}? I wonder if the easiest solution in my case would be to delete all {{{/opt/local/}}} python framework and reinstall everything... -- Ticket URL: <https://trac.macports.org/ticket/50225#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts