[MacPorts] #21936: liblastfm fails to build on Snow Leopard
#21936: liblastfm fails to build on Snow Leopard ---------------------------------+------------------------------------------ Reporter: sharky@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: liblastfm ---------------------------------+------------------------------------------ liblastfm fails with the following errors when building on Snow Leopard: /opt/local/libexec/qt4-mac/include/QtCore/qglobal.h:311:6: warning: #warning "Support for this version of Mac OS X is still preliminary" /usr/bin/g++-4.2 -c -pipe -fno-operator-names -O2 -arch x86_64 -I/opt/local/include -fvisibility-inlines-hidden -fvisibility=hidden -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/lib/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/include -I../_include -I_build -F/opt/local/libexec/qt4-mac/lib -o _build/moc_Audioscrobbler.o _build/moc_Audioscrobbler.cpp In file included from /opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers/QtGlobal:1, from ../_include/lastfm/global.h:24, from _build/../scrobble/Audioscrobbler.h:23, from _build/moc_Audioscrobbler.cpp:10: /opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers/qglobal.h:311:6: warning: #warning "Support for this version of Mac OS X is still preliminary" core/misc.cpp: In function 'QDir dataDotDot()': core/misc.cpp:69: error: cannot convert 'long int*' to 'SInt32*' for argument '5' to 'OSErr FindFolder(FSVolumeRefNum, OSType, Boolean, FSVolumeRefNum*, SInt32*)' core/misc.cpp:78: error: '::FSMakeFSSpec' has not been declared core/misc.cpp:82: error: '::FSpMakeFSRef' has not been declared -- Ticket URL: <http://trac.macports.org/ticket/21936> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21936: liblastfm fails to build on Snow Leopard ---------------------------------+------------------------------------------ Reporter: sharky@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: liblastfm ---------------------------------+------------------------------------------ Description changed by macsforever2000@…: Old description:
liblastfm fails with the following errors when building on Snow Leopard:
/opt/local/libexec/qt4-mac/include/QtCore/qglobal.h:311:6: warning: #warning "Support for this version of Mac OS X is still preliminary" /usr/bin/g++-4.2 -c -pipe -fno-operator-names -O2 -arch x86_64 -I/opt/local/include -fvisibility-inlines-hidden -fvisibility=hidden -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/lib/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/include -I../_include -I_build -F/opt/local/libexec/qt4-mac/lib -o _build/moc_Audioscrobbler.o _build/moc_Audioscrobbler.cpp In file included from /opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers/QtGlobal:1, from ../_include/lastfm/global.h:24, from _build/../scrobble/Audioscrobbler.h:23, from _build/moc_Audioscrobbler.cpp:10: /opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers/qglobal.h:311:6: warning: #warning "Support for this version of Mac OS X is still preliminary" core/misc.cpp: In function 'QDir dataDotDot()': core/misc.cpp:69: error: cannot convert 'long int*' to 'SInt32*' for argument '5' to 'OSErr FindFolder(FSVolumeRefNum, OSType, Boolean, FSVolumeRefNum*, SInt32*)' core/misc.cpp:78: error: '::FSMakeFSSpec' has not been declared core/misc.cpp:82: error: '::FSpMakeFSRef' has not been declared
New description: liblastfm fails with the following errors when building on Snow Leopard: {{{ /opt/local/libexec/qt4-mac/include/QtCore/qglobal.h:311:6: warning: #warning "Support for this version of Mac OS X is still preliminary" /usr/bin/g++-4.2 -c -pipe -fno-operator-names -O2 -arch x86_64 -I/opt/local/include -fvisibility-inlines-hidden -fvisibility=hidden -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/lib/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/include -I../_include -I_build -F/opt/local/libexec/qt4-mac/lib -o _build/moc_Audioscrobbler.o _build/moc_Audioscrobbler.cpp In file included from /opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers/QtGlobal:1, from ../_include/lastfm/global.h:24, from _build/../scrobble/Audioscrobbler.h:23, from _build/moc_Audioscrobbler.cpp:10: /opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers/qglobal.h:311:6: warning: #warning "Support for this version of Mac OS X is still preliminary" core/misc.cpp: In function 'QDir dataDotDot()': core/misc.cpp:69: error: cannot convert 'long int*' to 'SInt32*' for argument '5' to 'OSErr FindFolder(FSVolumeRefNum, OSType, Boolean, FSVolumeRefNum*, SInt32*)' core/misc.cpp:78: error: '::FSMakeFSSpec' has not been declared core/misc.cpp:82: error: '::FSpMakeFSRef' has not been declared }}} -- -- Ticket URL: <http://trac.macports.org/ticket/21936#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21936: liblastfm fails to build on Snow Leopard ---------------------------------+------------------------------------------ Reporter: sharky@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: liblastfm ---------------------------------+------------------------------------------ Comment(by ewal@…): Same issue here... Wondering how long it will take me to finally get all the deps for amarok compiling ;-) Been compiling and recompiling for 3 weeks now :) -- Ticket URL: <http://trac.macports.org/ticket/21936#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21936: liblastfm fails to build on Snow Leopard ---------------------------------+------------------------------------------ Reporter: sharky@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: liblastfm ---------------------------------+------------------------------------------ Changes (by snc@…): * cc: lhunath@… (added) Comment: Duplicate: #21974. -- Ticket URL: <http://trac.macports.org/ticket/21936#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21936: liblastfm fails to build on Snow Leopard ---------------------------------+------------------------------------------ Reporter: sharky@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: liblastfm ---------------------------------+------------------------------------------ Comment(by m.doppler@…): The patch I just attached fixes the compile problem for me. I replaced the deprecated api calls by corresponding current api calls. Note that I have only tested the patch to compile and not whether it works as expected, yet. -- Ticket URL: <http://trac.macports.org/ticket/21936#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21936: liblastfm fails to build on Snow Leopard ---------------------------------+------------------------------------------ Reporter: sharky@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: liblastfm ---------------------------------+------------------------------------------ Comment(by macports@…): Replying to [comment:9 m.doppler@…]:
The patch I just attached fixes the compile problem for me. I replaced the deprecated api calls by corresponding current api calls.
Note that I have only tested the patch to compile and not whether it works as expected, yet.
Is there documentation on how to use this patch? I'd like to help test. --Dean -- Ticket URL: <http://trac.macports.org/ticket/21936#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21936: liblastfm fails to build on Snow Leopard ---------------------------------+------------------------------------------ Reporter: sharky@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: liblastfm ---------------------------------+------------------------------------------ Comment(by bkn@…): Replying to [comment:13 macports@…]:
Replying to [comment:9 m.doppler@…]:
The patch I just attached fixes the compile problem for me. I replaced the deprecated api calls by corresponding current api calls.
Note that I have only tested the patch to compile and not whether it works as expected, yet.
Is there documentation on how to use this patch? I'd like to help test.
change directory to the source directory of liblastfm you should see it near the beginning of the error output on the compile error (on my machine it was /Users/opt/local/var/macports/build/_Users_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_liblastfm/work/liblastfm-0.3.0) The execute: patch -p0 < /path/to/patch-src-core-misc.cpp.patch note: you may need to be root, depending on your macports setup. -- Ticket URL: <http://trac.macports.org/ticket/21936#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21936: liblastfm fails to build on Snow Leopard ---------------------------------+------------------------------------------ Reporter: sharky@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: liblastfm ---------------------------------+------------------------------------------ Comment(by ewal@…): I can confirm that the patch fixes the compile. I'm continuing compiling amarok now; let's see if it works! -- Ticket URL: <http://trac.macports.org/ticket/21936#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21936: liblastfm fails to build on Snow Leopard ----------------------------------+----------------------------------------- Reporter: sharky@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: liblastfm | ----------------------------------+----------------------------------------- Changes (by sharky@…): * status: new => closed * resolution: => fixed Comment: Committed in r59297, thanks for the patch. -- Ticket URL: <http://trac.macports.org/ticket/21936#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21936: liblastfm fails to build on Snow Leopard ----------------------------------+----------------------------------------- Reporter: sharky@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: liblastfm | ----------------------------------+----------------------------------------- Comment(by macports@…): Thanks for fixing this. Dearly missing amarok since moving from linux to macos. -- Ticket URL: <http://trac.macports.org/ticket/21936#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21936: liblastfm fails to build on Snow Leopard ----------------------------------+----------------------------------------- Reporter: sharky@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: liblastfm | ----------------------------------+----------------------------------------- Comment(by eatdespain@…): Replying to [comment:17 macports@…]:
Thanks for fixing this. Dearly missing amarok since moving from linux to macos.
Still a little walk to go... [https://trac.macports.org/ticket/22037] -- Ticket URL: <http://trac.macports.org/ticket/21936#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts