[MacPorts] #20435: qt4-mac won't compile on Snow Leopard

MacPorts noreply at macports.org
Sun Jul 26 14:58:22 PDT 2009


#20435: qt4-mac won't compile on Snow Leopard
---------------------------------+------------------------------------------
 Reporter:  huahang.liu@…        |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:                                       
 Keywords:                       |        Port:  qt4-mac                              
---------------------------------+------------------------------------------

Comment(by huahang.liu@…):

 Error information is attached. BTW, if I download the Qt 4.5.2 from their
 official site, it compiles fine.

 {{{
 $ sudo port install qt4-mac
 --->  Computing dependencies for qt4-mac
 --->  Fetching qt4-mac
 --->  Verifying checksum(s) for qt4-mac
 --->  Extracting qt4-mac
 --->  Applying patches to qt4-mac
 --->  Configuring qt4-mac
 --->  Building qt4-mac
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_macports_trunk_dports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.2" && /usr/bin/make -j2 first " returned error
 2
 Command output:
 ../../include/QtCore/../../src/corelib/global/qglobal.h:311:6: warning:
 #warning "Support for this version of Mac OS X is still preliminary"
 In file included from ../../include/QtCore/qglobal.h:1,
                  from global/qt_pch.h:52:
 ../../include/QtCore/../../src/corelib/global/qglobal.h:311:6: warning:
 #warning "Support for this version of Mac OS X is still preliminary"
 /usr/bin/g++-4.2 -O2 -arch x86_64 -Xarch_i386 -mmacosx-version-min=10.4
 -fconstant-cfstrings -O2 -fvisibility=hidden -fvisibility-inlines-hidden
 -Wall -W -arch i386 -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB
 -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS
 -DQT3_SUPPORT -DQT_MOC_COMPAT -DHB_EXPORT=Q_CORE_EXPORT
 -DQT_NO_DEBUG_PLUGIN_CHECK -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE
 -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include
 -I../../include/QtCore -I.rcc/debug-shared -Iglobal
 -I../3rdparty/harfbuzz/src -I.moc/release-shared -x c++-header -c
 global/qt_pch.h -o .pch/debug-shared/QtCore.gch/c++
 In file included from ../../include/QtCore/qglobal.h:1,
                  from global/qt_pch.h:52:
 ../../include/QtCore/../../src/corelib/global/qglobal.h:311:6: warning:
 #warning "Support for this version of Mac OS X is still preliminary"
 In file included from ../../include/QtCore/qglobal.h:1,
                  from global/qt_pch.h:52:
 ../../include/QtCore/../../src/corelib/global/qglobal.h:311:6: warning:
 #warning "Support for this version of Mac OS X is still preliminary"
 lipo: can't figure out the architecture type of: /var/tmp//ccM1AQBP.out
 make[2]: *** [.pch/debug-shared/QtCore_debug.gch/c++] Error 1
 make[1]: *** [debug-all] Error 2
 make[1]: *** Waiting for unfinished jobs....
 /usr/bin/gcc-4.2 -O2 -arch x86_64 -Xarch_i386 -mmacosx-version-min=10.4
 -fconstant-cfstrings -O2 -fvisibility=hidden -Wall -W -arch i386 -fPIC
 -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE
 -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT
 -DQT_MOC_COMPAT -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG_PLUGIN_CHECK
 -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
 -I../../mkspecs/macx-g++ -I. -I../../include -I../../include/QtCore -I.rcc
 /debug-shared -Iglobal -I../3rdparty/harfbuzz/src -I.moc/release-shared -x
 objective-c++-header -c global/qt_pch.h -o .pch/debug-
 shared/QtCore.gch/objective-c++
 <built-in>:0: warning: Mac OS X version 10.5 or later is needed for use of
 the new objc abi
 In file included from ../../include/QtCore/qglobal.h:1,
                  from global/qt_pch.h:52:
 ../../include/QtCore/../../src/corelib/global/qglobal.h:311:6: warning:
 #warning "Support for this version of Mac OS X is still preliminary"
 lipo: can't figure out the architecture type of: /var/tmp//ccOGzF0L.out
 make[2]: *** [.pch/debug-shared/QtCore.gch/c++] Error 1
 make[2]: *** Waiting for unfinished jobs....
 In file included from ../../include/QtCore/qglobal.h:1,
                  from global/qt_pch.h:52:
 ../../include/QtCore/../../src/corelib/global/qglobal.h:311:6: warning:
 #warning "Support for this version of Mac OS X is still preliminary"
 lipo: can't figure out the architecture type of: /var/tmp//ccSJR4rz.out
 make[2]: *** [.pch/debug-shared/QtCore.gch/objective-c++] Error 1
 make[1]: *** [release-all] Error 2
 make: *** [sub-corelib-make_default-ordered] Error 2

 Error: Status 1 encountered during processing.
 }}}

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


More information about the macports-tickets mailing list