#37069: py27-matplotlib @1.2.0 Install error - build failure -----------------------+-------------------------------- Reporter: juanaus@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: -----------------------+-------------------------------- I have been trying to install the port py27-matplotlib @1.2.0 but the installation failed on a a mac os x 10.5.8 + Xcode 3.1 The following is the content of the main.log relevant to the error. {{{ :info:build ============================================================================ :info:build BUILDING MATPLOTLIB :info:build matplotlib: 1.2.0 :info:build python: 2.7.3 (default, Oct 23 2012, 20:26:23) [GCC 4.0.1 :info:build (Apple Inc. build 5493)] :info:build platform: darwin :info:build :info:build REQUIRED DEPENDENCIES :info:build numpy: 1.6.2 :info:build freetype2: 15.0.9 :info:build :info:build OPTIONAL BACKEND DEPENDENCIES :info:build libpng: 1.5.13 :info:build Tkinter: Tkinter: 81008, Tk: 8.5, Tcl: 8.5 :info:build Gtk+: gtk+: 2.24.13, glib: 2.34.2, pygtk: 2.22.0, :info:build pygobject: 2.26.0 :info:build Mac OS X native: yes :info:build Qt: no :info:build Qt4: no :info:build PySide: no :info:build Cairo: no :info:build :info:build OPTIONAL DATE/TIMEZONE DEPENDENCIES :info:build dateutil: 1.5 :info:build pytz: 2012h :info:build :info:build OPTIONAL USETEX DEPENDENCIES :info:build dvipng: no :info:build ghostscript: no :info:build latex: no :info:build pdftops: 0.20.5 :info:build :info:build [Edit setup.cfg to suppress the above messages] :info:build ============================================================================ :info:build pymods ['pylab'] :info:build packages ['matplotlib', 'matplotlib.backends', 'matplotlib.backends.qt4_editor', 'matplotlib.projections', 'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist', 'matplotlib.sphinxext', 'matplotlib.tri', 'matplotlib.delaunay'] :info:build running build :info:build running build_py :info:build copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.macosx-10.5-i386-2.7/matplotlib/mpl-data :info:build running build_ext :info:build building 'matplotlib._image' extension :info:build /usr/bin/gcc-4.0 -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/opt/local/include -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/include/python2.7 -c src/image.cpp -o build/temp.macosx-10.5-i386-2.7/src/image.o :info:build src/image.cpp: In member function ‘Py::Object Image::resize(const Py::Tuple&, const Py::Dict&)’: :info:build src/image.cpp:443: warning: comparison between signed and unsigned integer expressions :info:build src/image.cpp:443: warning: comparison between signed and unsigned integer expressions :info:build agg24/include/agg_rasterizer_scanline_aa.h:190: warning: ‘x’ may be used uninitialized in this function :info:build agg24/include/agg_rasterizer_scanline_aa.h:191: warning: ‘y’ may be used uninitialized in this function :info:build src/image.cpp:569: error: insn does not satisfy its constraints: :info:build (insn 6747 1266 1267 139 agg24/include/agg_color_rgba.h:268 (set (mem:QI (plus:SI (reg/f:SI 6 bp) :info:build (const_int -1768 [0xfffffffffffff918])) [0 SR.4381+0 S1 A8]) :info:build (reg:QI 4 si)) 56 {*movqi_1} (nil) :info:build (nil)) :info:build src/image.cpp:569: internal compiler error: in reload_cse_simplify_operands, at postreload.c:391 :info:build Please submit a full bug report, :info:build with preprocessed source if appropriate. :info:build See <URL:http://developer.apple.com/bugreporter> for instructions. :info:build error: command '/usr/bin/gcc-4.0' failed with exit status 1 :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py- matplotlib/py27-matplotlib/work/matplotlib-1.2.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build :info:build Exit code: 1 :error:build org.macports.build for port py27-matplotlib returned: command execution failed :debug:build Error code: CHILDSTATUS 73634 1 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for py27-matplotlib: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build 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_ports_python_py-matplotlib/py27-matplotlib/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/37069> MacPorts <http://www.macports.org/> Ports system for Mac OS