[MacPorts] #35234: fluidsynth @1.1.5 fails to upgrade on OSX 10.7

MacPorts noreply at macports.org
Tue Jul 17 10:38:16 PDT 2012


#35234: fluidsynth @1.1.5 fails to upgrade on OSX 10.7
--------------------------------------+-------------------------------------
 Reporter:  nonstop.server@…          |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  2.1.1                                
 Keywords:                            |        Port:  fluidsynth                           
--------------------------------------+-------------------------------------
 Port fluidsynth fails to upgrade from 1.1.3_0 to 1.1.5_0 on OSX 10.7.
 {{{
 libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include
 -I../src -I../src/drivers -I../src/synth -I../src/rvoice -I../src/midi
 -I../src/utils -I../src/sfloader -I../src/bindings -I/opt/local/include
 -I/opt/local/include -D_REENTRANT -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include -I/opt/local/include/dbus-1.0
 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -pipe -O2 -arch
 x86_64 -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions
 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align
 -Wstrict-prototypes -Winline -Wno-unused-parameter -Wno-cast-qual -MT
 drivers/libfluidsynth_la-fluid_coremidi.lo -MD -MP -MF drivers/.deps
 /libfluidsynth_la-fluid_coremidi.Tpo -c drivers/fluid_coremidi.c -o
 drivers/libfluidsynth_la-fluid_coremidi.o >/dev/null 2>&1
 drivers/fluid_coreaudio.c:80:18: error: unknown type name 'AudioDeviceID'
 get_num_outputs (AudioDeviceID deviceID)
                  ^
 drivers/fluid_coreaudio.c:84:3: error: use of undeclared identifier
 'AudioObjectPropertyAddress'
   AudioObjectPropertyAddress pa;
   ^
 drivers/fluid_coreaudio.c:85:3: error: use of undeclared identifier 'pa'
   pa.mSelector = kAudioDevicePropertyStreamConfiguration;
   ^
 drivers/fluid_coreaudio.c:85:18: error: use of undeclared identifier
 'kAudioDevicePropertyStreamConfiguration'; did you mean
 'kAudioUnitProperty_SpeakerConfiguration'?
   pa.mSelector = kAudioDevicePropertyStreamConfiguration;
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  kAudioUnitProperty_SpeakerConfiguration
 /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnitProperties.h:3109:2:
 note: 'kAudioUnitProperty_SpeakerConfiguration' declared here
         kAudioUnitProperty_SpeakerConfiguration                 = 3001
         ^
 drivers/fluid_coreaudio.c:86:3: error: use of undeclared identifier 'pa'
   pa.mScope = kAudioDevicePropertyScopeOutput;
   ^
 drivers/fluid_coreaudio.c:86:15: error: use of undeclared identifier
 'kAudioDevicePropertyScopeOutput'
   pa.mScope = kAudioDevicePropertyScopeOutput;
               ^
 drivers/fluid_coreaudio.c:87:3: error: use of undeclared identifier 'pa'
   pa.mElement = kAudioObjectPropertyElementMaster;
   ^
 drivers/fluid_coreaudio.c:87:17: error: use of undeclared identifier
 'kAudioObjectPropertyElementMaster'; did you mean
 'kAudioUnitProperty_ElementName'?
   pa.mElement = kAudioObjectPropertyElementMaster;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 kAudioUnitProperty_ElementName
 /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnitProperties.h:747:2:
 note: 'kAudioUnitProperty_ElementName' declared here
         kAudioUnitProperty_ElementName                                  =
 30,
         ^
 drivers/fluid_coreaudio.c:89:7: warning: implicit declaration of function
 'AudioObjectGetPropertyDataSize' is invalid in C99 [-Wimplicit-function-
 declaration]
   if (OK (AudioObjectGetPropertyDataSize (deviceID, &pa, 0, 0, &size))) {
       ^
 drivers/fluid_coreaudio.c:77:16: note: instantiated from:
 #define OK(x) (x == noErr)
                ^
 drivers/fluid_coreaudio.c:89:11: note: instantiated from:
   if (OK (AudioObjectGetPropertyDataSize (deviceID, &pa, 0, 0, &size))) {
           ^
 drivers/fluid_coreaudio.c:92:9: warning: implicit declaration of function
 'AudioObjectGetPropertyData' is invalid in C99 [-Wimplicit-function-
 declaration]
     if (OK (AudioObjectGetPropertyData (deviceID, &pa, 0, 0, &size,
 bufList))) {
         ^
 drivers/fluid_coreaudio.c:77:16: note: instantiated from:
 #define OK(x) (x == noErr)
                ^
 drivers/fluid_coreaudio.c:92:13: note: instantiated from:
     if (OK (AudioObjectGetPropertyData (deviceID, &pa, 0, 0, &size,
 bufList))) {
             ^
 drivers/fluid_coreaudio.c:108:3: error: use of undeclared identifier
 'AudioObjectPropertyAddress'
   AudioObjectPropertyAddress pa;
   ^
 drivers/fluid_coreaudio.c:109:3: error: use of undeclared identifier 'pa'
   pa.mSelector = kAudioHardwarePropertyDevices;
   ^
 mv -f drivers/.deps/libfluidsynth_la-fluid_coremidi.Tpo drivers/.deps
 /libfluidsynth_la-fluid_coremidi.Plo
 /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/clang
 -DHAVE_CONFIG_H -I. -I../include -I../src -I../src/drivers -I../src/synth
 -I../src/rvoice -I../src/midi -I../src/utils -I../src/sfloader
 -I../src/bindings    -I/opt/local/include     -I/opt/local/include
 -D_REENTRANT -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include   -I/opt/local/include/dbus-1.0
 -I/opt/local/lib/dbus-1.0/include    -I/opt/local/include  -pipe -O2 -arch
 x86_64  -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions
 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align
 -Wstrict-prototypes -Winline -Wno-unused-parameter -Wno-cast-qual -MT
 drivers/libfluidsynth_la-fluid_jack.lo -MD -MP -MF drivers/.deps
 /libfluidsynth_la-fluid_jack.Tpo -c -o drivers/libfluidsynth_la-
 fluid_jack.lo `test -f 'drivers/fluid_jack.c' || echo
 './'`drivers/fluid_jack.c
 drivers/fluid_coreaudio.c:109:18: error: use of undeclared identifier
 'kAudioHardwarePropertyDevices'
   pa.mSelector = kAudioHardwarePropertyDevices;
                  ^
 drivers/fluid_coreaudio.c:110:3: error: use of undeclared identifier 'pa'
   pa.mScope = kAudioObjectPropertyScopeWildcard;
   ^
 libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include
 -I../src -I../src/drivers -I../src/synth -I../src/rvoice -I../src/midi
 -I../src/utils -I../src/sfloader -I../src/bindings -I/opt/local/include
 -I/opt/local/include -D_REENTRANT -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include -I/opt/local/include/dbus-1.0
 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -pipe -O2 -arch
 x86_64 -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions
 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align
 -Wstrict-prototypes -Winline -Wno-unused-parameter -Wno-cast-qual -MT
 drivers/libfluidsynth_la-fluid_jack.lo -MD -MP -MF drivers/.deps
 /libfluidsynth_la-fluid_jack.Tpo -c drivers/fluid_jack.c  -fno-common
 -DPIC -o drivers/.libs/libfluidsynth_la-fluid_jack.o
 drivers/fluid_coreaudio.c:110:15: error: use of undeclared identifier
 'kAudioObjectPropertyScopeWildcard'
   pa.mScope = kAudioObjectPropertyScopeWildcard;
               ^
 drivers/fluid_coreaudio.c:111:3: error: use of undeclared identifier 'pa'
   pa.mElement = kAudioObjectPropertyElementMaster;
   ^
 drivers/fluid_coreaudio.c:111:17: error: use of undeclared identifier
 'kAudioObjectPropertyElementMaster'; did you mean
 'kAudioUnitProperty_ElementName'?
   pa.mElement = kAudioObjectPropertyElementMaster;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 kAudioUnitProperty_ElementName
 /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnitProperties.h:747:2:
 note: 'kAudioUnitProperty_ElementName' declared here
 clang: warning: argument unused during compilation: '-funroll-all-loops'
         kAudioUnitProperty_ElementName                                  =
 30,
         ^
 drivers/fluid_coreaudio.c:115:7: error: use of undeclared identifier
 'kAudioObjectSystemObject'
   if (OK (AudioObjectGetPropertyDataSize (kAudioObjectSystemObject, &pa,
 0, 0, &size))) {
       ^
 drivers/fluid_coreaudio.c:77:16: note: instantiated from:
 #define OK(x) (x == noErr)
                ^
 drivers/fluid_coreaudio.c:115:43: note: instantiated from:
   if (OK (AudioObjectGetPropertyDataSize (kAudioObjectSystemObject, &pa,
 0, 0, &size))) {
                                           ^
 drivers/fluid_coreaudio.c:116:36: error: use of undeclared identifier
 'AudioDeviceID'
     int num = size / (int) sizeof (AudioDeviceID);
                                    ^
 drivers/fluid_coreaudio.c:117:5: error: use of undeclared identifier
 'AudioDeviceID'
     AudioDeviceID devs [num];
     ^
 drivers/fluid_coreaudio.c:118:9: error: use of undeclared identifier
 'kAudioObjectSystemObject'
     if (OK (AudioObjectGetPropertyData (kAudioObjectSystemObject, &pa, 0,
 0, &size, devs))) {
         ^
 drivers/fluid_coreaudio.c:77:16: note: instantiated from:
 #define OK(x) (x == noErr)
                ^
 drivers/fluid_coreaudio.c:118:41: note: instantiated from:
     if (OK (AudioObjectGetPropertyData (kAudioObjectSystemObject, &pa, 0,
 0, &size, devs))) {
                                         ^
 fatal error: too many errors emitted, stopping now [-ferror-limit=]
 2 warnings and 20 errors generated.
 }}}
 Version Information:
 {{{
 Mac OS Version:
 Darwin 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 PDT 2012;
 root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64

 Xcode Version:
 Xcode 4.2
 Build version 4D199

 Macports Version:
 Version: 2.1.1
 }}}
 PS I was able perform this upgrade without any issues on OSX 10.5 and
 10.6.

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


More information about the macports-tickets mailing list