matplotlib on lion

Gideon Simpson gideon.simpson at gmail.com
Sat Oct 29 18:49:50 PDT 2011


I recently moved to a new machine running lion, and I am trying to get
matplotlib up and running.  I am receiving the following error:

Error: Target org.macports.build returned: shell command failed (see log
for details)
Log for py27-matplotlib is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-matplotlib/py27-matplotlib/main.log
Error: Status 1 encountered during processing.

The tail of the log file, where the error appears, is:

:info:build /Developer/usr/bin/clang -DNDEBUG -g -O3 -Wall -arch x86_64
-DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include
-I/opt/local/include -I/opt/local/include/python/opt/local -I.
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/python/opt/local -I.
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c CXX/IndirectPythonInterface.cxx -o
build/temp.macosx-10.7-x86_64-2.7/CXX/IndirectPythonInterface.o
:info:build /Developer/usr/bin/clang -DNDEBUG -g -O3 -Wall -arch x86_64
-DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include
-I/opt/local/include -I/opt/local/include/python/opt/local -I.
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/python/opt/local -I.
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c CXX/cxxextensions.c -o
build/temp.macosx-10.7-x86_64-2.7/CXX/cxxextensions.o
:info:build /Developer/usr/bin/clang -DNDEBUG -g -O3 -Wall -arch x86_64
-DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include
-I/opt/local/include -I/opt/local/include/python/opt/local -I.
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include
-Isrc -Iagg24/include -I.
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/python/opt/local -I.
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c src/backend_agg.cpp -o
build/temp.macosx-10.7-x86_64-2.7/src/backend_agg.o
:info:build In file included from src/backend_agg.cpp:11:
:info:build In file included from src/_backend_agg.h:34:
:info:build agg24/include/agg_renderer_outline_aa.h:1368:45: error: binding
of reference to type 'agg::line_profile_aa' to a value of type 'const
agg::line_profile_aa' drops qualifiers
:info:build         line_profile_aa& profile() { return *m_profile; }
:info:build                                             ^~~~~~~~~~
:info:build 1 error generated.
:info:build error: command '/Developer/usr/bin/clang' failed with exit
status 1
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-matplotlib/py27-matplotlib/work/matplotlib-1.1.0"
&&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build " returned error 1
:error:build Target org.macports.build returned: shell command failed (see
log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for
py27-matplotlib): org.macports.activate org.macports.build
org.macports.destroot org.macports.install
:notice:build Log for py27-matplotlib is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-matplotlib/py27-matplotlib/main.log


-- 
gideon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20111029/27c2a521/attachment.html>


More information about the macports-users mailing list