[MacPorts] #34902: qt4-mac 4.8.2: build fails on 10.5.8

MacPorts noreply at macports.org
Fri Jul 13 14:31:52 PDT 2012


#34902: qt4-mac 4.8.2: build fails on 10.5.8
------------------------------------------------+---------------------------
 Reporter:  michael.klein@…                     |       Owner:  michaelld@…           
     Type:  defect                              |      Status:  new                   
 Priority:  Normal                              |   Milestone:                        
Component:  ports                               |     Version:  2.1.1                 
 Keywords:  leopard                             |        Port:  qt4-mac               
------------------------------------------------+---------------------------

Comment(by michael.klein@…):

 Replying to [comment:7 ryandesign@…]:
 > The errors in the log begin with:
 >
 > {{{
 > :info:configure mmx auto-detection... ()
 > :info:configure /usr/bin/g++-4.0 -c -pipe -mmmx -O2 -arch ppc -Wall -W
 -I../../../mkspecs/macx-g++ -I. -o mmx.o mmx.cpp
 > :info:configure cc1plus: error: invalid option ‘mmx’
 > :info:configure gmake: *** [mmx.o] Error 1
 > :info:configure mmx disabled.
 > :info:configure 3dnow auto-detection... ()
 > :info:configure /usr/bin/g++-4.0 -c -pipe -m3dnow -O2 -arch ppc -Wall -W
 -I../../../mkspecs/macx-g++ -I. -o 3dnow.o 3dnow.cpp
 > :info:configure cc1plus: error: invalid option ‘3dnow’
 > :info:configure gmake: *** [3dnow.o] Error 1
 > :info:configure 3dnow disabled.
 > :info:configure sse auto-detection... ()
 > :info:configure /usr/bin/g++-4.0 -c -pipe -msse -O2 -arch ppc -Wall -W
 -I../../../mkspecs/macx-g++ -I. -o sse.o sse.cpp
 > :info:configure sse.cpp:42:23: error: xmmintrin.h: No such file or
 directory
 > }}}

 Isn't this just the configure script checking for mmx/3dnow/sse
 intrinsics?

 I think the first real error is here:

 {{{
 :info:build /usr/bin/gcc-4.0 -c -pipe -O2 -arch ppc -arch ppc -Xarch_ppc
 -mmacosx-version-min=10.5 -fvisibility=hidden -fvisibility-inlines-hidden
 -isysroot /Developer/SDKs/MacOSX10.5.sdk -DNDEBUG -DBUILDING_QT__=1
 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DENABLE_XSLT=0 -DENABLE_WEB_TIMING=0
 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_DATABASE=1 -DENABLE_EVENTSOURCE=1
 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DOM_STORAGE=1
 -DENABLE_ICONDATABASE=1 -DENABLE_CHANNEL_MESSAGING=1
 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_QUOTA=0
 -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1
 -DENABLE_XPATH=1 -DENABLE_WCSS=0 -DENABLE_SHARED_WORKERS=1
 -DENABLE_WORKERS=1 -DENABLE_XHTMLMP=0 -DENABLE_DETAILS=1
 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_BLOB=1
 -DENABLE_NOTIFICATIONS=1 -DENABLE_INPUT_SPEECH=0 -DENABLE_INSPECTOR=1
 -DENABLE_3D_RENDERING=1 -DENABLE_WEB_AUDIO=0 -DENABLE_WEBGL=0
 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_VIDEO_TRACK=0
 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_ANIMATION_API=0 -DENABLE_SVG=1
 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FOREIGN_OBJECT=1
 -DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1
 -DENABLE_DATALIST=1 -DENABLE_TILED_BACKING_STORE=1
 -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_WEB_SOCKETS=1
 -DWTF_USE_QT_BEARER=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_VIDEO=1
 -DWTF_USE_QTKIT=1 -DBUILDING_JavaScriptCore -DBUILDING_WTF
 -DBUILDING_WEBKIT -DQT_MAKEDLL -DNSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES
 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB
 -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
 -I../../../../../mkspecs/macx-g++ -I. -I.moc/release-static
 -I../JavaScriptCore -I../../Source -I../ThirdParty
 -I../JavaScriptCore/assembler -I../JavaScriptCore/bytecode
 -I../JavaScriptCore/bytecompiler -I../JavaScriptCore/heap
 -I../JavaScriptCore/dfg -I../JavaScriptCore/debugger
 -I../JavaScriptCore/interpreter -I../JavaScriptCore/jit
 -I../JavaScriptCore/parser -I../JavaScriptCore/profiler
 -I../JavaScriptCore/runtime -I../JavaScriptCore/wtf
 -I../JavaScriptCore/wtf/gobject
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_aqua_qt4-mac/qt4-mac/work
 /qt-everywhere-opensource-
 src-4.8.2/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian
 -I../JavaScriptCore/wtf/unicode -I../JavaScriptCore/yarr
 -I../JavaScriptCore/API -I../JavaScriptCore/ForwardingHeaders
 -I../JavaScriptCore/generated -Ibridge/qt -Ipage/qt -Iplatform/graphics/qt
 -Iplatform/network/qt -Iplatform/qt -I../WebKit/qt/Api
 -I../WebKit/qt/WebCoreSupport -I. -Iaccessibility -Ibindings
 -Ibindings/generic -Ibridge -Icss -Idom -Idom/default -Iediting -Ifileapi
 -Ihistory -Ihtml -Ihtml/canvas -Ihtml/parser -Ihtml/shadow -Iinspector
 -Iloader -Iloader/appcache -Iloader/archive -Iloader/cache -Iloader/icon
 -Imathml -Inotifications -Ipage -Ipage/animation -Iplatform
 -Iplatform/animation -Iplatform/audio -Iplatform/graphics
 -Iplatform/graphics/filters -Iplatform/graphics/filters/arm
 -Iplatform/graphics/texmap -Iplatform/graphics/transforms -Iplatform
 /image-decoders -Iplatform/leveldb -Iplatform/mock -Iplatform/network
 -Iplatform/sql -Iplatform/text -Iplatform/text/transcoder -Iplugins
 -Irendering -Irendering/mathml -Irendering/style -Irendering/svg -Istorage
 -Isvg -Isvg/animation -Isvg/graphics -Isvg/graphics/filters
 -Isvg/properties -Itesting -Iwebaudio -Iwebsockets
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_aqua_qt4-mac/qt4-mac/work
 /qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source/WebCore/wml
 -Iworkers -Ixml -Ibridge/jsc -Ibindings/js
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_aqua_qt4-mac/qt4-mac/work
 /qt-everywhere-opensource-
 src-4.8.2/src/3rdparty/webkit/Source/WebCore/bindings/js/specialization
 -Ibridge/c -Itesting/js -Igenerated -I../../Source -I../../include
 -I../include/QtWebKit -I../include -Iplatform/mac -Iplatform/graphics/mac
 -I../../WebKitLibraries -I../../../../../include/QtGui
 -I../../../../../include/QtNetwork -I../../../../../include/QtCore
 -I../../../../../include plugins/mac/PluginViewMac.mm -o .obj/release-
 shared/PluginViewMac.o
 :info:build
 /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:51:
 error: conflicting declaration ‘typedef struct _NSSize NSSize’
 :info:build platform/graphics/FloatSize.h:40: error: ‘NSSize’ has a
 previous declaration as ‘typedef struct CGSize NSSize’
 :info:build
 /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:59:
 error: conflicting declaration ‘typedef struct _NSRect NSRect’
 :info:build platform/graphics/IntRect.h:38: error: ‘NSRect’ has a previous
 declaration as ‘typedef struct CGRect NSRect’
 :info:build make[2]: *** [.obj/release-shared/PluginViewMac.o] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_aqua_qt4-mac/qt4-mac/work
 /qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source/WebCore'
 :info:build make[1]: *** [sub-WebCore-all-ordered] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_aqua_qt4-mac/qt4-mac/work
 /qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source'
 :info:build make: *** [sub-webkit-all-ordered] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_aqua_qt4-mac/qt4-mac/work
 /qt-everywhere-opensource-src-4.8.2'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_aqua_qt4-mac/qt4-mac/work
 /qt-everywhere-opensource-src-4.8.2" && /usr/bin/make -w all
 :info:build Exit code: 2
 }}}

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


More information about the macports-tickets mailing list