Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#50534 closed defect (invalid)

py27-matplotlib fails to build on OS X El Capitain

Reported by: feedingfatalfairies@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: elcapitan Cc: seanfarley (Sean Farley)
Port: py27-matplotlib

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Attachments (1)

main.log (195.7 KB) - added by feedingfatalfairies@… 9 years ago.
log file

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by feedingfatalfairies@…

Attachment: main.log added

log file

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: openmaintainer@… removed
Description: modified (diff)
Keywords: elcapitan added
Resolution: invalid
Status: newclosed

#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.

comment:2 in reply to:  1 Changed 9 years ago by feedingfatalfairies@…

Replying to ryandesign@…:

#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.

Thanks, upgrading Xcode solved the problem.

I had assumed that Xcode would be updated automatically with OS X and/or that the command line tools installer would have notified me I was not installing the latest version. Alas...

Note: See TracTickets for help on using tickets.