[MacPorts] #42897: gdal fails to install after installing Xcode 5.1

MacPorts noreply at macports.org
Mon Mar 17 11:39:34 PDT 2014


#42897: gdal fails to install after installing Xcode 5.1
---------------------------------+--------------------------------
 Reporter:  tcollett+macports@…  |      Owner:  macports-tickets@…
     Type:  defect               |     Status:  new
 Priority:  Normal               |  Milestone:
Component:  ports                |    Version:  2.2.1
 Keywords:                       |       Port:  gdal
---------------------------------+--------------------------------
 When attempting to install the gdal port on OS X 10.9.2 with Xcode 5.1 and
 the corresponding version of clang installed ("Apple LLVM version 5.1
 (clang-503.0.38) (based on LLVM 3.4svn)"), I get the following error in
 the "staging into destroot" phase:
 {{{
 building 'osgeo._gdal' extension
 cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g
 -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd
 -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes
 -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes
 -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I../../port -I../../gcore
 -I../../alg -I../../ogr/
 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/include
 -c extensions/gdal_wrap.cpp -o
 build/temp.macosx-10.9-intel-2.7/extensions/gdal_wrap.o
 clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-
 argument-hard-error-in-future]
 clang: note: this will be a hard error (cannot be downgraded to a warning)
 in the future
 error: command 'cc' failed with exit status 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/42897>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list