Opened 12 years ago

Closed 12 years ago

#35234 closed defect (duplicate)

fluidsynth @1.1.5 fails to upgrade on OSX 10.7

Reported by: nonstop.server@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: fluidsynth

Description

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.

Attachments (1)

main.log (54.8 KB) - added by nonstop.server@… 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by nonstop.server@…

Attachment: main.log added

comment:1 Changed 12 years ago by nonstop.server@…

This is a duplicate of #35198, please close this ticket at your convenience.
Sorry for the extra administration.

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.