[MacPorts] #35358: libsndfile build error OS X 10.8 and Xcode 4.4

MacPorts noreply at macports.org
Sun Jul 29 13:51:04 PDT 2012


#35358: libsndfile build error OS X 10.8 and Xcode 4.4
-----------------------------------+----------------------------------------
 Reporter:  benedikt@…             |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  2.1.2                                
 Keywords:  mountainlion           |        Port:  libsndfile                           
-----------------------------------+----------------------------------------

Comment(by ks+macports@…):

 /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:146
 eventually includes
 /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h
 before it defines CF_IMPLICIT_BRIDGING_ENABLED at line 297.
 Looks like a broken CoreFoundation header.  Try to force
 -DCF_IMPLICIT_BRIDGING_ENABLED on the cc line?

 {{{
 :info:build   CC     sndfile-play.o
 :info:build In file included from sndfile-play.c:61:
 :info:build In file included from
 /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:83:
 :info:build In file included from
 /System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudioTypes.h:28:
 :info:build In file included from
 /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:146:
 :info:build In file included from
 /Developer/Headers/FlatCarbon/MacTypes.h:1:
 :info:build In file included from
 /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18:
 :info:build In file included from
 /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
 :info:build In file included from
 /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18:
 :info:build In file included from
 /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:39:
 :info:build
 /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:49:1:
 error: unknown type name 'CF_IMPLICIT_BRIDGING_ENABLED'
 :info:build CF_IMPLICIT_BRIDGING_ENABLED
 :info:build ^
 :info:build
 /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:50:18:
 error: expected ';' after top level declarator
 }}}

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


More information about the macports-tickets mailing list