qt4-mac build error

Troy Telford ttelford.groups at gmail.com
Wed Jul 15 08:50:13 PDT 2009


I'm getting the following error when I try to upgrade qt4-mac:

/usr/bin/g++-4.0 -c -include .pch/debug-shared/QtWebKit_debug -O2
-Xarch_i386 -mmacosx-version-min=10.4 -fconstant-cfstrings
-Wreturn-type -fno-strict-aliasing -I/opt/local/include -gdwarf-2
-fvisibility=hidden -fvisibility-inlines-hidden -arch i386 -fPIC
-DQT_SHARED -DBUILDING_QT__=1 -DUSE_SYSTEM_MALLOC -DNDEBUG
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT
-DQT_MOC_COMPAT -DBUILD_WEBKIT -DENABLE_OFFLINE_WEB_APPLICATIONS=1
-DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_DATABASE=1
-DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_XPATH=1 -DENABLE_WML=0
-DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FILTERS=1
-DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_ANIMATION=1
-DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_VIDEO=1
-DENABLE_NETSCAPE_PLUGIN_API=1 -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1
-DWTF_CHANGES=1 -DBUILDING_QT__ -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore
-I../../../../include/QtNetwork -I../../../../include/QtGui
-I../../../../include -Istorage -I../WebKit/qt/Api
-I../../../../include/QtWebKit -I.rcc/debug-shared -I.
-I../JavaScriptCore -I../JavaScriptCore/ForwardingHeaders
-I../JavaScriptCore/interpreter -I../JavaScriptCore/bytecode
-I../JavaScriptCore/debugger -I../JavaScriptCore/parser
-I../JavaScriptCore/runtime
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.2/src/3rdparty/webkit/WebCore/../JavaScriptCore/bindings
-I../JavaScriptCore/wrec -I../JavaScriptCore/jit
-I../JavaScriptCore/wtf -Itmp -I../JavaScriptCore
-I../JavaScriptCore/parser -I../JavaScriptCore/bytecompiler
-I../JavaScriptCore/debugger -I../JavaScriptCore/runtime
-I../JavaScriptCore/wtf -I../JavaScriptCore/wtf/unicode
-I../JavaScriptCore/interpreter -I../JavaScriptCore/jit
-I../JavaScriptCore/profiler -I../JavaScriptCore/wrec
-I../JavaScriptCore/API -I../../webkit
-I../JavaScriptCore/ForwardingHeaders -I../JavaScriptCore/bytecode
-I../JavaScriptCore/assembler -I../JavaScriptCore/pcre
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.2/src/3rdparty/webkit/WebKitBuild/Debug/JavaScriptCore/tmp
-Iplatform/qt -Iplatform/network/qt -Iplatform/graphics/filters
-Iplatform/graphics/transforms -Iplatform/graphics/qt
-Isvg/graphics/qt -Iloader -Ipage/qt -I../WebKit/qt/WebCoreSupport
-I../WebKit/qt/Api -Ibridge/qt -I. -IForwardingHeaders -I../../webkit
-Iplatform -Iplatform/animation -Iplatform/network -Iplatform/graphics
-Isvg/animation -Isvg/graphics -Isvg/graphics/filters -Iplatform/sql
-Iplatform/text -Iloader -Iloader/appcache -Iloader/archive
-Iloader/icon -Icss -Idom -Ipage -Ipage/animation -Ibridge -Iediting
-Irendering -Irendering/style -Ihistory -Iinspector -Ixml -Ihtml -Iwml
-Ibindings/js -Isvg -Iplatform/image-decoders -Iplugins -Ibridge
-Ibridge/c -Ibridge/qt -Igenerated -Iplatform/mac
-I../../../../include/phonon
-I../../../../lib/phonon.framework/Versions/4/Headers
-I.moc/debug-shared
-F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.2/lib
-o .obj/debug-shared/JSHTMLOptionsCollectionCustom.o
bindings/js/JSHTMLOptionsCollectionCustom.cpp
html/HTMLSelectElement.h:168: error: 'DOMTimeStamp' does not name a type
make[2]: *** [.obj/debug-shared/JSHTMLOptionsCollectionCustom.o] Error 1
make[1]: *** [debug-all] Error 2
make: *** [sub-webkit-make_default-ordered] Error 2

I've tried building it a number of times, cleaned it, etc.  No real
difference - it fails.  And I really need it to work as a few things
that I'm using need qt4-mac to be upgraded.  (The currently installed
build isn't working for a number of things, actually)


More information about the macports-users mailing list