[MacPorts] #50534: py27-matplotlib fails to build on OS X El Capitain

MacPorts noreply at macports.org
Thu Feb 4 04:33:45 PST 2016


#50534: py27-matplotlib fails to build on OS X El Capitain
------------------------------------+--------------------------------
  Reporter:  feedingfatalfairies@…  |      Owner:  macports-tickets@…
      Type:  defect                 |     Status:  closed
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.3.4
Resolution:  invalid                |   Keywords:  elcapitan
      Port:  py27-matplotlib        |
------------------------------------+--------------------------------
Changes (by ryandesign@…):

 * keywords:   => elcapitan
 * cc: openmaintainer@… (removed)
 * status:  new => closed
 * resolution:   => invalid


Old description:

> After upgrading to OS X El Capitan, py27-matplotlib fails to build.
>
> {{{
> --->  Building py27-matplotlib
> Error: org.macports.build for port py27-matplotlib returned: command
> execution failed
> 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
> }}}
>
> Cleaning did not solve the issue. The log file is attached.
>
> Steps taken:
>
> installed macports from web
>
> installed xcode command line tools
> {{{
> xcode-select --install
> }}}
>
> removed and cleaned everything:
> {{{
> sudo port -f uninstall installed
> sudo rm -rf /opt/local/var/macports/build/*
> sudo port clean all
> }}}
>
> installed python 2.7
> {{{
> sudo port install py27-ipython
> sudo port select --set ipython py27-ipython
> sudo port select --set ipython2 py27-ipython
> }}}
>

> (tried to) install matplotlib
>
> {{{
> sudo port install py27-matplotlib
> }}}
>
> The I received the above error
>
> This ticket looked similar but I did not find a workable solution:
> [https://trac.macports.org/ticket/46990]

New description:

 After upgrading to OS X El Capitan, py27-matplotlib fails to build.

 {{{
 --->  Building py27-matplotlib
 Error: org.macports.build for port py27-matplotlib returned: command
 execution failed
 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
 }}}

 Cleaning did not solve the issue. The log file is attached.

 Steps taken:

 installed macports from web

 installed xcode command line tools
 {{{
 xcode-select --install
 }}}

 removed and cleaned everything:
 {{{
 sudo port -f uninstall installed
 sudo rm -rf /opt/local/var/macports/build/*
 sudo port clean all
 }}}

 installed python 2.7
 {{{
 sudo port install py27-ipython
 sudo port select --set ipython py27-ipython
 sudo port select --set ipython2 py27-ipython
 }}}


 (tried to) install matplotlib

 {{{
 sudo port install py27-matplotlib
 }}}

 The I received the above error

 This ticket looked similar but I did not find a workable solution:
 #46990

--

Comment:

 #46990 is unrelated.

 It looks like you are trying to build using Xcode 6.x or earlier. El
 Capitan requires Xcode 7 or later; please upgrade Xcode and the command
 line developer tools.

-- 
Ticket URL: <https://trac.macports.org/ticket/50534#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list