[MacPorts] #23282: qt4-mac fails to build

MacPorts noreply at macports.org
Wed Jan 13 18:44:15 PST 2010


#23282: qt4-mac fails to build
-----------------------------------+----------------------------------------
 Reporter:  celil.rufat@…          |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.8.2                                
 Keywords:                         |        Port:  qt4-mac                              
-----------------------------------+----------------------------------------
 Trying to upgrade to the latest version of qt4-mac, I get the following
 output in debug mode:


 {{{
 (...)
 /usr/bin/g++-4.2 -c -include .pch/debug-shared/QtWebKit -pipe -Wreturn-
 type -fno-strict-aliasing -fconstant-cfstrings -I/opt/local/include -O2
 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fvisibility=hidden
 -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DBUILDING_QT__=1
 -DNDEBUG -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT
 -DQT_MOC_COMPAT -DBUILD_WEBKIT -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_ORIENTATION_EVENTS=0 -DENABLE_SQLITE=1
 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=0 -DENABLE_XPATH=1
 -DENABLE_WCSS=0 -DENABLE_WML=0 -DENABLE_SHARED_WORKERS=1
 -DENABLE_WORKERS=1 -DENABLE_XHTMLMP=0 -DENABLE_DATAGRID=1 -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_RUBY=1 -DENABLE_VIDEO=1 -DENABLE_DATALIST=1
 -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_XSLT=1
 -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DBUILDING_QT__
 -DBUILDING_JavaScriptCore -DBUILDING_WTF -DQT_NO_DEBUG
 -DQT_XMLPATTERNS_LIB -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/QtXmlPatterns
 -I../../../../include -Ibridge/qt -Ipage/qt -Iplatform/graphics/qt
 -Iplatform/network/qt -Iplatform/qt -I../WebKit/qt/WebCoreSupport -I.
 -Iaccessibility -Ibindings/js -Ibridge -Ibridge/c -Icss -Idom
 -Idom/default -Iediting -Ihistory -Ihtml -Ihtml/canvas -Iinspector
 -Iloader -Iloader/appcache -Iloader/archive -Iloader/icon -Inotifications
 -Ipage -Ipage/animation -Iplatform -Iplatform/animation
 -Iplatform/graphics -Iplatform/graphics/filters
 -Iplatform/graphics/transforms -Iplatform/image-decoders -Iplatform/mock
 -Iplatform/network -Iplatform/sql -Iplatform/text -Iplugins -Irendering
 -Irendering/style -Istorage -Isvg -Isvg/animation -Isvg/graphics
 -Isvg/graphics/filters -Iwebsockets -Iwml -Iworkers -Ixml -Igenerated
 -I../JavaScriptCore -I../../webkit -I../JavaScriptCore/assembler
 -I../JavaScriptCore/bytecode -I../JavaScriptCore/bytecompiler
 -I../JavaScriptCore/debugger -I../JavaScriptCore/interpreter
 -I../JavaScriptCore/jit -I../JavaScriptCore/parser
 -I../JavaScriptCore/profiler -I../JavaScriptCore/runtime
 -I../JavaScriptCore/wrec -I../JavaScriptCore/wtf
 -I../JavaScriptCore/wtf/unicode -I../JavaScriptCore/yarr
 -I../JavaScriptCore/API -I../JavaScriptCore/ForwardingHeaders -Igenerated
 -I../WebKit/qt/Api -I../../../../include/QtWebKit -I.rcc/debug-shared
 -I../JavaScriptCore/pcre
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-everywhere-opensource-
 src-4.6.0/src/3rdparty/webkit/WebKitBuild/Release/JavaScriptCore/tmp
 -Iplatform/mac -I../../../../include/phonon
 -I../../../../lib/phonon.framework/Versions/4/Headers -I.moc/release-
 shared
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-everywhere-opensource-src-4.6.0/lib -o obj/release/JSEventListener.o
 bindings/js/JSEventListener.cpp
 bindings/js/JSEventListener.cpp: In member function 'virtual void
 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext*,
 WebCore::Event*)':
 bindings/js/JSEventListener.cpp:118: error: invalid use of incomplete type
 'struct WebCore::Event'
 dom/EventListener.h:35: error: forward declaration of 'struct
 WebCore::Event'
 bindings/js/JSEventListener.cpp:126: error: invalid use of incomplete type
 'struct WebCore::Event'
 dom/EventListener.h:35: error: forward declaration of 'struct
 WebCore::Event'
 bindings/js/JSEventListener.cpp:127: error: invalid use of incomplete type
 'struct WebCore::Event'
 dom/EventListener.h:35: error: forward declaration of 'struct
 WebCore::Event'
 bindings/js/JSEventListener.cpp:131: error: invalid use of incomplete type
 'struct WebCore::Event'
 dom/EventListener.h:35: error: forward declaration of 'struct
 WebCore::Event'
 bindings/js/JSEventListener.cpp: In member function 'virtual void
 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext*,
 WebCore::Event*)':
 bindings/js/JSEventListener.cpp:118: error: invalid use of incomplete type
 'struct WebCore::Event'
 dom/EventListener.h:35: error: forward declaration of 'struct
 WebCore::Event'
 bindings/js/JSEventListener.cpp:126: error: invalid use of incomplete type
 'struct WebCore::Event'
 dom/EventListener.h:35: error: forward declaration of 'struct
 WebCore::Event'
 bindings/js/JSEventListener.cpp:127: error: invalid use of incomplete type
 'struct WebCore::Event'
 dom/EventListener.h:35: error: forward declaration of 'struct
 WebCore::Event'
 bindings/js/JSEventListener.cpp:131: error: invalid use of incomplete type
 'struct WebCore::Event'
 dom/EventListener.h:35: error: forward declaration of 'struct
 WebCore::Event'
 make[2]: *** [obj/release/JSEventListener.o] Error 1
 make[1]: *** [release-all] Error 2
 make[1]: *** Waiting for unfinished jobs....
 /usr/bin/g++-4.2 -c -include .pch/debug-shared/QtWebKit_debug -pipe
 -Wreturn-type -fno-strict-aliasing -fconstant-cfstrings
 -I/opt/local/include -gdwarf-2 -arch x86_64 -Xarch_x86_64 -mmacosx-
 version-min=10.5 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W
 -fPIC -DQT_SHARED -DBUILDING_QT__=1 -DQT_NO_CAST_TO_ASCII
 -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DNDEBUG
 -DBUILD_WEBKIT -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_ORIENTATION_EVENTS=0
 -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=0
 -DENABLE_XPATH=1 -DENABLE_WCSS=0 -DENABLE_WML=0 -DENABLE_SHARED_WORKERS=1
 -DENABLE_WORKERS=1 -DENABLE_XHTMLMP=0 -DENABLE_DATAGRID=1 -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_RUBY=1 -DENABLE_VIDEO=1 -DENABLE_DATALIST=1
 -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_XSLT=1
 -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DBUILDING_QT__
 -DBUILDING_JavaScriptCore -DBUILDING_WTF -DQT_XMLPATTERNS_LIB -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/QtXmlPatterns -I../../../../include -Ibridge/qt
 -Ipage/qt -Iplatform/graphics/qt -Iplatform/network/qt -Iplatform/qt
 -I../WebKit/qt/WebCoreSupport -I. -Iaccessibility -Ibindings/js -Ibridge
 -Ibridge/c -Icss -Idom -Idom/default -Iediting -Ihistory -Ihtml
 -Ihtml/canvas -Iinspector -Iloader -Iloader/appcache -Iloader/archive
 -Iloader/icon -Inotifications -Ipage -Ipage/animation -Iplatform
 -Iplatform/animation -Iplatform/graphics -Iplatform/graphics/filters
 -Iplatform/graphics/transforms -Iplatform/image-decoders -Iplatform/mock
 -Iplatform/network -Iplatform/sql -Iplatform/text -Iplugins -Irendering
 -Irendering/style -Istorage -Isvg -Isvg/animation -Isvg/graphics
 -Isvg/graphics/filters -Iwebsockets -Iwml -Iworkers -Ixml -Igenerated
 -I../JavaScriptCore -I../../webkit -I../JavaScriptCore/assembler
 -I../JavaScriptCore/bytecode -I../JavaScriptCore/bytecompiler
 -I../JavaScriptCore/debugger -I../JavaScriptCore/interpreter
 -I../JavaScriptCore/jit -I../JavaScriptCore/parser
 -I../JavaScriptCore/profiler -I../JavaScriptCore/runtime
 -I../JavaScriptCore/wrec -I../JavaScriptCore/wtf
 -I../JavaScriptCore/wtf/unicode -I../JavaScriptCore/yarr
 -I../JavaScriptCore/API -I../JavaScriptCore/ForwardingHeaders -Igenerated
 -I../WebKit/qt/Api -I../../../../include/QtWebKit -I.rcc/debug-shared
 -I../JavaScriptCore/pcre
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-everywhere-opensource-
 src-4.6.0/src/3rdparty/webkit/WebKitBuild/Debug/JavaScriptCore/tmp
 -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-everywhere-opensource-src-4.6.0/lib -o obj/debug/JSLazyEventListener.o
 bindings/js/JSLazyEventListener.cpp
 make[2]: *** [obj/debug/JSEventListener.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 make[1]: *** [debug-all] Error 2
 make: *** [sub-webkit-make_default-ordered] Error 2
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-everywhere-opensource-src-4.6.0" && /usr/bin/make -j2 first " returned
 error 2
 DEBUG: Backtrace: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-everywhere-opensource-src-4.6.0" && /usr/bin/make -j2 first " returned
 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 qt4-mac):
 org.macports.destroot org.macports.build
 DEBUG: Registry error: py26-pyobjc2 not registered as installed & active.
     while executing
 "registry::active $portname"
 Error: Unable to upgrade port: 1
 To report a bug, see <http://guide.macports.org/#project.tickets>

 }}}

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


More information about the macports-tickets mailing list