[MacPorts] #31046: py27-matplotlib fails to build with clang (Xcode 4.2)

MacPorts noreply at macports.org
Thu Mar 29 06:29:28 PDT 2012


#31046: py27-matplotlib fails to build with clang (Xcode 4.2)
---------------------------------+------------------------------------------
  Reporter:  rex_4539@…          |       Owner:  ram@…           
      Type:  defect              |      Status:  reopened        
  Priority:  Normal              |   Milestone:                  
 Component:  ports               |     Version:                  
Resolution:                      |    Keywords:  clang           
      Port:  py27-matplotlib     |  
---------------------------------+------------------------------------------
Changes (by kyle.tarplee@…):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 I tried using your new patch and the same error happens.  I have Lion and
 Xcode 4.3.2
 It's still trying to use /Developer to find the clang compiler which does
 not exist.
 Here is the relevant portion of the error log.

 :info:build /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/include -I/opt/local/include/python/opt/local -I.
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -c ttconv/ttutil.cpp -o build/temp.macosx-10.7-x86_64-2.7/ttconv/ttutil.o
 :info:build /usr/bin/clang++ -bundle -undefined dynamic_lookup -isysroot /
 -L/opt/local/lib -arch x86_64 -arch x86_64
 build/temp.macosx-10.7-x86_64-2.7/src/_ttconv.o
 build/temp.macosx-10.7-x86_64-2.7/ttconv/pprdrv_tt.o
 build/temp.macosx-10.7-x86_64-2.7/ttconv/pprdrv_tt2.o
 build/temp.macosx-10.7-x86_64-2.7/ttconv/ttutil.o -L/opt/local/lib -o
 build/lib.macosx-10.7-x86_64-2.7/matplotlib/ttconv.so
 :info:build building 'matplotlib._cntr' extension
 :info:build /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/include/python2.7
 -c src/cntr.c -o build/temp.macosx-10.7-x86_64-2.7/src/cntr.o
 :info:build /Developer/usr/bin/clang -bundle -undefined dynamic_lookup
 -isysroot / -L/opt/local/lib -arch x86_64 -arch x86_64
 build/temp.macosx-10.7-x86_64-2.7/src/cntr.o -L/opt/local/lib -o
 build/lib.macosx-10.7-x86_64-2.7/matplotlib/_cntr.so
 :info:build unable to execute /Developer/usr/bin/clang: No such file or
 directory
 :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.install org.macports.build
 org.macports.destroot
 :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

-- 
Ticket URL: <https://trac.macports.org/ticket/31046#comment:31>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list