[MacPorts] #42864: ocaml @4.01.0 build failure with Xcode 5.1

MacPorts noreply at macports.org
Sat Mar 15 10:45:13 PDT 2014


#42864: ocaml @4.01.0 build failure with Xcode 5.1
--------------------+--------------------------------
 Reporter:  ats@…   |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.2.1
 Keywords:          |       Port:  ocaml
--------------------+--------------------------------
 The ocaml port fails to build with Xcode 5.1.  It fails as follows:

 {{{
 :info:build /usr/bin/clang -DCAML_NAME_SPACE -O -fno-defer-pop -Wall
 -D_FILE_OFFSET_BITS=64 -D_REENTRANT    -c -o interp.o interp.c
 :info:build clang: error: unknown argument: '-fno-defer-pop' [-Wunused-
 command-line-argument-hard-error-in-future]
 :info:build clang: note: this will be a hard error (cannot be downgraded
 to a warning) in the future
 }}}

 It appears that clang in Xcode 5.1 will treat unknown arguments as an
 error.  This can be worked around by setting -Wno-error=unused-command-
 line-argument-hard-error-in-future or removing the unknown argument.

 Here are a couple links I found which discuss this issue:
 * https://twistedmatrix.com/trac/ticket/6974
 * http://stackoverflow.com/questions/22394575/xcode-llvm-5-1-clang-error

 {{{
 Version Information for: /Applications/Xcode.app
       CFBundleShortVersionString 5.1
       CFBundleVersion 5084

 Hardware Information:
       Model Name: MacBook Air
       Model Identifier: MacBookAir5,2
       Processor Name: Intel Core i7
       Processor Speed: 2 GHz
       Number of Processors: 1
       Total Number of Cores: 2
       L2 Cache (per Core): 256 KB
       L3 Cache: 4 MB
       Memory: 8 GB

 Operating System Information:
       ProductName:      Mac OS X
       OS X Version:     10.9.3
       BuildVersion:     13D17
 }}}

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


More information about the macports-tickets mailing list