[MacPorts] #23381: ScummVM 0.31.1 doesn't build on 10.6 macintel
#23381: ScummVM 0.31.1 doesn't build on 10.6 macintel -----------------------------------+---------------------------------------- Reporter: sgaragagghu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.8.2 Keywords: ScummVM 0.31.1 build | Port: ScummVM 0.31.1 -----------------------------------+---------------------------------------- {{{ ---> Computing dependencies for scummvm ---> Building scummvm Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_emulators_scummvm/work/scummvm-0.13.1" && /usr/bin/make -j1 all OSXOPT=/opt/local " returned error 2 Command output: mkdir -p backends/midi/.deps /usr/bin/g++-4.2 -Wp,-MMD,"backends/midi/.deps/coreaudio.d",-MQ,"backends/midi/coreaudio.o",-MP -Wall -O2 -arch i386 -I/opt/local/include -g -ansi -W -Wno-unused- parameter -Wconversion -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Wno-reorder -pedantic -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wimplicit -Wnon-virtual-dtor -Wwrite-strings -fno-rtti -fno-exceptions -fcheck-new -DHAVE_CONFIG_H -DUNIX -DMACOSX -DDATA_PATH=\"/opt/local/share/scummvm\" -DPLUGIN_DIRECTORY=\"/opt/local/lib/scummvm\" -DSDL_BACKEND -DENABLE_SCUMM=STATIC_PLUGIN -DENABLE_SCUMM_7_8 -DENABLE_HE -DENABLE_AGI=STATIC_PLUGIN -DENABLE_AGOS=STATIC_PLUGIN -DENABLE_CINE=STATIC_PLUGIN -DENABLE_DRASCULA=STATIC_PLUGIN -DENABLE_GOB=STATIC_PLUGIN -DENABLE_GROOVIE=STATIC_PLUGIN -DENABLE_KYRA=STATIC_PLUGIN -DENABLE_LURE=STATIC_PLUGIN -DENABLE_PARALLACTION=STATIC_PLUGIN -DENABLE_QUEEN=STATIC_PLUGIN -DENABLE_SAGA=STATIC_PLUGIN -DENABLE_IHNM -DENABLE_SKY=STATIC_PLUGIN -DENABLE_SWORD1=STATIC_PLUGIN -DENABLE_SWORD2=STATIC_PLUGIN -DENABLE_TOUCHE=STATIC_PLUGIN -DENABLE_TUCKER=STATIC_PLUGIN -I. -I. -I./engines -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c backends/midi/coreaudio.cpp -o backends/midi/coreaudio.o backends/midi/coreaudio.cpp: In member function 'virtual int MidiDriver_CORE::open()': backends/midi/coreaudio.cpp:94: error: aggregate 'ComponentDescription desc' has incomplete type and cannot be defined backends/midi/coreaudio.cpp:102: warning: 'AUGraphNewNode' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:673) backends/midi/coreaudio.cpp:108: warning: 'AUGraphNewNode' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:673) backends/midi/coreaudio.cpp:118: warning: 'AUGraphGetNodeInfo' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:687) backends/midi/coreaudio.cpp:118: warning: 'AUGraphGetNodeInfo' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:687) backends/midi/coreaudio.cpp:123: error: aggregate 'FSRef fsref' has incomplete type and cannot be defined backends/midi/coreaudio.cpp:124: error: 'FSSpec' was not declared in this scope backends/midi/coreaudio.cpp:124: error: expected `;' before 'fsSpec' backends/midi/coreaudio.cpp:127: error: 'FSPathMakeRef' was not declared in this scope backends/midi/coreaudio.cpp:130: error: 'kFSCatInfoNone' was not declared in this scope backends/midi/coreaudio.cpp:130: error: 'fsSpec' was not declared in this scope backends/midi/coreaudio.cpp:130: error: 'FSGetCatalogInfo' was not declared in this scope backends/midi/coreaudio.cpp:140: error: 'fsSpec' was not declared in this scope make: *** [backends/midi/coreaudio.o] Error 1 Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output. bash-3.2$ }}} -- Ticket URL: <http://trac.macports.org/ticket/23381> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23381: ScummVM 0.31.1 doesn't build on 10.6 macintel -----------------------------------+---------------------------------------- Reporter: sgaragagghu@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: scummvm -----------------------------------+---------------------------------------- Changes (by jmr@…): * priority: High => Normal * cc: sgaragagghu@… (removed) * keywords: ScummVM 0.31.1 build => * port: ScummVM 0.31.1 => scummvm * owner: macports-tickets@… => mww@… Comment: Please remember to cc the maintainer, and note that you do not need to be in cc when you are the reporter. -- Ticket URL: <http://trac.macports.org/ticket/23381#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23381: ScummVM 0.31.1 doesn't build on 10.6 macintel -----------------------------------+---------------------------------------- Reporter: sgaragagghu@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: scummvm -----------------------------------+---------------------------------------- Comment(by jinksys@…): I get an error similar to the OP, however my install fails building browser.cpp. -- Ticket URL: <http://trac.macports.org/ticket/23381#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23381: ScummVM 0.31.1 doesn't build on 10.6 macintel -----------------------------------+---------------------------------------- Reporter: sgaragagghu@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: scummvm -----------------------------------+---------------------------------------- Comment(by jinksys@…): It appears ScummVM uses Navigation Services. According to [http://developer.apple.com/mac/library/DOCUMENTATION/Carbon/Conceptual/Carbo... this], 64-bit Nav Services is not available. -- Ticket URL: <http://trac.macports.org/ticket/23381#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23381: ScummVM 0.31.1 doesn't build on 10.6 macintel -----------------------------------+---------------------------------------- Reporter: sgaragagghu@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: scummvm -----------------------------------+---------------------------------------- Comment(by jinksys@…): Ok, so I've got it running (and played a little monkey island 2 :) As I said before ScummVM uses Navigation Services (Carbon) for its open- file dialog; Snow Leopard doesn't have 64-bit NavServices. So until the ScummVM team sips some Cocoa I don't think it'll compile 64-bit. I installed zlib, libsdl, and libmad all +UNIVERSAL. I updated the portfile to remove references to x86_64 for darwin10. This fixed my (related) problem with browser.cpp. As for the OP's issue, that's simply a header issue - #include <CoreServices/CoreServices.h>. I updated the portfile to reference the patchfile for coreaudio.cpp and one 'sudo port -d install scummvm' later I'm on Monkey Island. I'll attach my port and coreaudio diff. -- Ticket URL: <http://trac.macports.org/ticket/23381#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23381: ScummVM 0.31.1 doesn't build on 10.6 macintel -----------------------------------+---------------------------------------- Reporter: sgaragagghu@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: scummvm -----------------------------------+---------------------------------------- Comment(by sgaragagghu@…): Thank you very much! One problem i can't fix.. i modified the original Portfile with your information, when i install it, port try to fetch patch-backends-midi-coreaudio.cpp.diff and failed, so i tryed to put it manually in Portfile dir but doesn't work too. Thank you very very much -- Ticket URL: <http://trac.macports.org/ticket/23381#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23381: ScummVM 0.31.1 doesn't build on 10.6 macintel -----------------------------------+---------------------------------------- Reporter: sgaragagghu@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: scummvm -----------------------------------+---------------------------------------- Comment(by jinksys@…): Replying to [comment:7 sgaragagghu@…]:
Thank you very much! One problem i can't fix.. i modified the original Portfile with your information, when i install it, port try to fetch patch-backends-midi-coreaudio.cpp.diff and failed, so i tryed to put it manually in Portfile dir but doesn't work too. Thank you very very much
Are you putting the patch into the "files" directory? -- Ticket URL: <http://trac.macports.org/ticket/23381#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23381: ScummVM 0.31.1 doesn't build on 10.6 macintel -----------------------------------+---------------------------------------- Reporter: sgaragagghu@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: scummvm -----------------------------------+---------------------------------------- Comment(by jinksys@…): Replying to [comment:8 jinksys@…]:
Replying to [comment:7 sgaragagghu@…]:
Thank you very much! One problem i can't fix.. i modified the original Portfile with your information, when i install it, port try to fetch patch-backends-midi-coreaudio.cpp.diff and failed, so i tryed to put it manually in Portfile dir but doesn't work too. Thank you very very much
Are you putting the patch into the "files" directory? To clarify: The coreaudio patch needs to go in the files directory.
-- Ticket URL: <http://trac.macports.org/ticket/23381#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23381: ScummVM 0.31.1 doesn't build on 10.6 macintel ------------------------------------+--------------------------------------- Reporter: sgaragagghu@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: duplicate | Keywords: Port: scummvm | ------------------------------------+--------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => duplicate Comment: #21651 -- Ticket URL: <https://trac.macports.org/ticket/23381#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts