#37069: py27-matplotlib @1.2.0 Install error - build failure ------------------------------+---------------------- Reporter: juanaus@… | Owner: ram@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-matplotlib | ------------------------------+---------------------- Comment (by juanaus@…): Thanks for all your help, I try your suggestion but unfortunately it cannot build matplotlib. Here is what I get: {{{ comp:gcc-5666.3 oliveros$ sudo port install py27-matplotlib configure.compiler=apple-gcc-4.2 ---> Computing dependencies for py27-matplotlib ---> Fetching archive for py27-matplotlib ---> Attempting to fetch py27-matplotlib-1.2.0_0+tkinter.darwin_9.i386.tbz2 from http://packages.macports.org/py27-matplotlib ---> Attempting to fetch py27-matplotlib-1.2.0_0+tkinter.darwin_9.i386.tbz2 from http://lil.fr.packages.macports.org/py27-matplotlib ---> Attempting to fetch py27-matplotlib-1.2.0_0+tkinter.darwin_9.i386.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py27-matplot... ---> Fetching distfiles for py27-matplotlib ---> Verifying checksum(s) for py27-matplotlib ---> Extracting py27-matplotlib ---> Applying patches to py27-matplotlib ---> Configuring py27-matplotlib ---> 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_ports_python_py-matplotlib/py27-matplotlib/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port py27-matplotlib failed }}} The error in the main.log looks like this: {{{ :info:build running build_ext :info:build building 'matplotlib.ft2font' extension :info:build creating build/temp.macosx-10.5-i386-2.7 :info:build creating build/temp.macosx-10.5-i386-2.7/src :info:build creating build/temp.macosx-10.5-i386-2.7/CXX :info:build /opt/local/bin/gcc-apple-4.2 -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/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/ft2font.cpp -o build/temp.macosx-10.5-i386-2.7/src/ft2font.o :info:build unable to execute /opt/local/bin/gcc-apple-4.2: No such file or directory :info:build error: command '/opt/local/bin/gcc-apple-4.2' 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 77544 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#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS