[MacPorts] #25995: hydrogen 0.9.4 build fail 'CloseComponent' was not declared in this scope

MacPorts noreply at macports.org
Sat Aug 7 20:51:29 PDT 2010


#25995: hydrogen 0.9.4 build fail 'CloseComponent' was not declared in this scope
------------------------------------+---------------------------------------
 Reporter:  macports@…              |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.9.1                                
 Keywords:                          |        Port:                                       
------------------------------------+---------------------------------------
 10.6.4
 Xcode 3.2.3 (1688)

 Log from first 'warning':
 {{{{
 :info:build libs/hydrogen/src/object.cpp:242: warning: format not a string
 literal and no format arguments
 :info:build libs/hydrogen/src/object.cpp:244: warning: format not a string
 literal and no format arguments
 :info:build g++ -o libs/hydrogen/src/IO/coreaudio_driver.o -c -O3 -fomit-
 frame-pointer -funroll-loops -DFLAC_SUPPORT -DCOREAUDIO_SUPPORT
 -DLADSPA_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -I/opt/local/include -I.
 -Igui/src -I3rdparty/install/include -Ilibs/hydrogen/include
 -I/opt/local/libexec/qt4-mac/include
 -I/opt/local/libexec/qt4-mac/include/QtCore
 -I/opt/local/libexec/qt4-mac/include/QtGui
 libs/hydrogen/src/IO/coreaudio_driver.cpp
 :info:build g++ -o libs/hydrogen/src/event_queue.o -c -O3 -fomit-frame-
 pointer -funroll-loops -DFLAC_SUPPORT -DCOREAUDIO_SUPPORT -DLADSPA_SUPPORT
 -DQT_CORE_LIB -DQT_GUI_LIB -I/opt/local/include -I. -Igui/src
 -I3rdparty/install/include -Ilibs/hydrogen/include
 -I/opt/local/libexec/qt4-mac/include
 -I/opt/local/libexec/qt4-mac/include/QtCore
 -I/opt/local/libexec/qt4-mac/include/QtGui
 libs/hydrogen/src/event_queue.cpp
 :info:build g++ -o libs/hydrogen/src/IO/fake_driver.o -c -O3 -fomit-frame-
 pointer -funroll-loops -DFLAC_SUPPORT -DCOREAUDIO_SUPPORT -DLADSPA_SUPPORT
 -DQT_CORE_LIB -DQT_GUI_LIB -I/opt/local/include -I. -Igui/src
 -I3rdparty/install/include -Ilibs/hydrogen/include
 -I/opt/local/libexec/qt4-mac/include
 -I/opt/local/libexec/qt4-mac/include/QtCore
 -I/opt/local/libexec/qt4-mac/include/QtGui
 libs/hydrogen/src/IO/fake_driver.cpp
 :info:build g++ -o libs/hydrogen/src/lash/LashClient.o -c -O3 -fomit-
 frame-pointer -funroll-loops -DFLAC_SUPPORT -DCOREAUDIO_SUPPORT
 -DLADSPA_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -I/opt/local/include -I.
 -Igui/src -I3rdparty/install/include -Ilibs/hydrogen/include
 -I/opt/local/libexec/qt4-mac/include
 -I/opt/local/libexec/qt4-mac/include/QtCore
 -I/opt/local/libexec/qt4-mac/include/QtGui
 libs/hydrogen/src/lash/LashClient.cpp
 :info:build g++ -o libs/hydrogen/src/xml/tinyxml.o -c -O3 -fomit-frame-
 pointer -funroll-loops -DFLAC_SUPPORT -DCOREAUDIO_SUPPORT -DLADSPA_SUPPORT
 -DQT_CORE_LIB -DQT_GUI_LIB -I/opt/local/include -I. -Igui/src
 -I3rdparty/install/include -Ilibs/hydrogen/include
 -I/opt/local/libexec/qt4-mac/include
 -I/opt/local/libexec/qt4-mac/include/QtCore
 -I/opt/local/libexec/qt4-mac/include/QtGui
 libs/hydrogen/src/xml/tinyxml.cpp
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp: In constructor
 'H2Core::CoreAudioDriver::CoreAudioDriver(int (*)(uint32_t, void*))':
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp:85: warning:
 'AudioHardwareGetProperty' is deprecated (declared at
 /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:1119)
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp:89: warning:
 'AudioHardwareGetProperty' is deprecated (declared at
 /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:1119)
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp:95: warning:
 'AudioDeviceGetProperty' is deprecated (declared at
 /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp:102: warning:
 'AudioDeviceGetProperty' is deprecated (declared at
 /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp:113: warning:
 'AudioDeviceGetProperty' is deprecated (declared at
 /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp:113: warning:
 'AudioDeviceGetProperty' is deprecated (declared at
 /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp: In member function
 'virtual int H2Core::CoreAudioDriver::init(unsigned int)':
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp:147: error:
 'Component' was not declared in this scope
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp:147: error: expected
 `;' before 'compOutput'
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp:148: error:
 aggregate 'ComponentDescription descAUHAL' has incomplete type and cannot
 be defined
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp:156: error:
 'compOutput' was not declared in this scope
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp:156: error:
 'FindNextComponent' was not declared in this scope
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp:162: error:
 'OpenAComponent' was not declared in this scope
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp:169: warning:
 'AudioHardwareGetProperty' is deprecated (declared at
 /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:1119)
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp:173: warning:
 'AudioHardwareGetProperty' is deprecated (declared at
 /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:1119)
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp: In member function
 'virtual void H2Core::CoreAudioDriver::disconnect()':
 :info:build libs/hydrogen/src/IO/coreaudio_driver.cpp:271: error:
 'CloseComponent' was not declared in this scope
 :info:build scons: *** [libs/hydrogen/src/IO/coreaudio_driver.o] Error 1
 :info:build scons: building terminated because of errors.
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_hydrogen/work/hydrogen-0.9.4"
 && scons -j4
 DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_hydrogen/work/destroot
 prefix=/opt/local alsa=0 coreaudio=1 coremidi=0 flac=1 jack=0 lash=0
 libarchive=0 lrdf=0 oss=0 portaudio=0 portmidi=0 " returned error 2
 :error:build Target org.macports.build returned: shell command failed
 :debug:build Backtrace: shell command failed
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for hydrogen):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Log for hydrogen is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_hydrogen/main.log

 }}}}

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


More information about the macports-tickets mailing list