Opened 12 years ago
Last modified 12 years ago
#35383 closed defect
libsndfile does not compile on Mountain Lion — at Initial Version
Reported by: | g@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | libsndfile |
Description
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libsndfile/libsndfile/work/libsndfile-1.0.25/programs'
CC sndfile-play.o
In file included from sndfile-play.c:61: In file included from /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:83: In file included from /System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudioTypes.h:28: In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:146: In file included from /Developer/Headers/FlatCarbon/MacTypes.h:1: In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18: In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20: In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18: In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:39: /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:49:1: error: unknown type name 'CF_IMPLICIT_BRIDGING_ENABLED' CF_IMPLICIT_BRIDGING_ENABLED /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:50:18: error: expected ';' after top level declarator CF_EXTERN_C_BEGIN
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:74:47: error: unknown type name 'CFAllocatorRef' typedef const void * (*CFArrayRetainCallBack)(CFAllocatorRef allocator, const void *value);
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:75:41: error: unknown type name 'CFAllocatorRef' typedef void (*CFArrayReleaseCallBack)(CFAllocatorRef allocator, const void *value);
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:76:21: error: function cannot return function type 'int (const void *)' typedef CFStringRef (*CFArrayCopyDescriptionCallBack)(const void *value);
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:77:18: error: function cannot return function type 'int (const void *, const void *)' typedef Boolean (*CFArrayEqualCallBack)(const void *value1, const void *value2);
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:79:5: error: unknown type name 'CFIndex'
CFIndex version;
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:82:5: error: unknown type name 'CFArrayCopyDescriptionCallBack'
CFArrayCopyDescriptionCallBack copyDescription;
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:83:5: error: unknown type name 'CFArrayEqualCallBack'; did you mean 'CFArrayRetainCallBack'?
CFArrayEqualCallBack equal;
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:74:24: note: 'CFArrayRetainCallBack' declared here typedef const void * (*CFArrayRetainCallBack)(CFAllocatorRef allocator, const void *value);
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:91:1: error: unknown type name 'CF_EXPORT' CF_EXPORT /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:92:1: error: expected identifier or '(' const CFArrayCallBacks kCFTypeArrayCallBacks; /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:120:1: error: unknown type name 'CF_EXPORT' CF_EXPORT /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:121:9: error: expected ';' after top level declarator CFTypeID CFArrayGetTypeID(void);
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:173:1: error: unknown type name 'CF_EXPORT' CF_EXPORT /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:174:11: error: expected ';' after top level declarator CFArrayRef CFArrayCreate(CFAllocatorRef allocator, const void values, CFIndex numValues, const CFArrayCallBacks *callBacks);
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:194:1: error: unknown type name 'CF_EXPORT' CF_EXPORT /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:195:11: error: expected ';' after top level declarator CFArrayRef CFArrayCreateCopy(CFAllocatorRef allocator, CFArrayRef theArray);
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:238:1: error: unknown type name 'CF_EXPORT' CF_EXPORT /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:239:18: error: expected ';' after top level declarator CFMutableArrayRef CFArrayCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFArrayCallBacks *callBacks);
fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: * [sndfile-play.o] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libsndfile/libsndfile/work/libsndfile-1.0.25/programs' make: * [all-recursive] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libsndfile/libsndfile/work/libsndfile-1.0.25' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libsndfile/libsndfile/work/libsndfile-1.0.25" && /usr/bin/make -j4 -w all Exit code: 2 Error: org.macports.build for port libsndfile returned: command execution failed DEBUG: Error code: CHILDSTATUS 64460 2 DEBUG: 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" Warning: targets not executed for libsndfile: org.macports.activate org.macports.build org.macports.destroot org.macports.install Please see the log file for port libsndfile for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libsndfile/libsndfile/main.log
To report a bug, follow the instructions in the guide:
Error: Processing of port libsndfile failed