[MacPorts] #22924: liblastfm fails on snow leopard

MacPorts noreply at macports.org
Thu Dec 17 01:51:04 PST 2009


#22924: liblastfm fails on snow leopard
----------------------------------+-----------------------------------------
 Reporter:  eatdespain@…          |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.8.99                               
 Keywords:                        |        Port:                                       
----------------------------------+-----------------------------------------
 I checked the patched was applied but it still fails to compile getting:


 {{{
 /opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers/qglobal.h:315:6:
 warning: #warning "Support for this version of Mac OS X is still
 preliminary"
 /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:315:6:
 warning: #warning "Support for this version of Mac OS X is still
 preliminary"
 rm -f liblastfm.0.3.0.dylib liblastfm.dylib liblastfm.0.dylib
 liblastfm.0.3.dylib
 /usr/bin/g++-4.2 -headerpad_max_install_names -L/opt/local/lib -arch
 x86_64 -arch -Xarch_x86_64 -mmacosx-version-min=10.5 -single_module
 -dynamiclib -compatibility_versio0.3 -current_version  0.3.0 -install_name
 liblastfm.0.dylib -o liblastfm.0.3.0.dylib _build/ws.o
 _build/NetworkAccessManager.o _build/InternetConnectionMonitor.o
 _build/Xspf.o _build/User.o _build/Track.o _build/Tag.o _build/Playlist.o
 _build/Mbid.o _build/FingerprintId.o _build/Artist.o _build/Album.o
 _build/ScrobblerSubmission.o _build/ScrobblerHttp.o _build/ScrobbleCache.o
 _build/Scrobble.o _build/NowPlaying.o _build/Handshake.o
 _build/Audioscrobbler.o _build/RadioTuner.o _build/XmlQuery.o
 _build/UrlBuilder.o _build/misc.o _build/moc_NetworkAccessManager.o
 _build/moc_InternetConnectionMonitor.o _build/moc_ScrobblerHttp.o
 _build/moc_Audioscrobbler.o _build/moc_RadioTuner.o
 -F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib
 -framework Carbon -framework CoreFoundation -framework QtXml
 -L/opt/local/lib -L/opt/local/libexec/qt4-mac/lib
 -F/opt/local/libexec/qt4-mac/lib -framework QtNetwork -framework
 SystemConfiguration -lssl -lcrypto -framework QtCore -lz -lm -framework
 ApplicationServices
 g++-4.2: Invalid arch name : -Xarch_x86_64
 make[1]: *** [../_bin/liblastfm.0.3.0.dylib] Error 1
 make: *** [__src] Error 2
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_liblastfm/work/liblastfm-0.3.0"
 && /usr/bin/make -j2 all " returned error 2
 Error: Target org.macports.build returned: shell command failed
 DEBUG: Backtrace: shell command failed
     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
 Log for liblastfm is at: /opt/local/var/macports/logs/liblastfm/main.log
 Error: Status 1 encountered during processing.

 }}}

 I do not know why that : Invalid arch name : -Xarch_x86_64

 The system is being built on x64 --MacbookPro Unibody and obviously
 compiling in 64 bits

 Thanks

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


More information about the macports-tickets mailing list