Opened 15 years ago

Closed 15 years ago

#21974 closed defect (duplicate)

liblastfm 0.3.0 fails to build on 10.6

Reported by: lhunath@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: eatdespain@…, andrea@…
Port: liblastfm

Description

/usr/bin/g++-4.2 -c -pipe -fno-operator-names -pipe -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_RadioTuner.o _build/moc_RadioTuner.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 ../_include/lastfm/ws.h:23,
                 from ../_include/lastfm/User:23,
                 from ../_include/lastfm/RadioStation:23,
                 from _build/../radio/RadioTuner.h:23,
                 from _build/moc_RadioTuner.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
make[1]: *** [_build/misc.o] Error 1
make: *** [__src] Error 2

Change History (5)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

This is similar to #21936. What happens when you run the following?

sudo port selfupdate
sudo port upgrade outdated
sudo port clean liblastfm
sudo port install liblastfm

comment:2 Changed 15 years ago by eatdespain@…

It happens the same:

/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"
/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_RadioTuner.o _build/moc_RadioTuner.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 ../_include/lastfm/ws.h:23,
                 from ../_include/lastfm/User:23,
                 from ../_include/lastfm/RadioStation:23,
                 from _build/../radio/RadioTuner.h:23,
                 from _build/moc_RadioTuner.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
make[1]: *** [_build/misc.o] Error 1
make: *** [__src] Error 2

    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for liblastfm): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.


comment:3 Changed 15 years ago by eatdespain@…

Cc: eatdespain@… added

Cc Me!

comment:4 Changed 15 years ago by andrea@…

Cc: andrea@… added

Cc Me!

comment:5 Changed 15 years ago by nerdling (Jeremy Lavergne)

Resolution: duplicate
Status: newclosed

Duplicate of #21936.

Note: See TracTickets for help on using tickets.