Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21980 closed defect (duplicate)

qt4-mac does not compile

Reported by: eatdespain@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.99
Keywords: Cc:
Port: qt4-mac

Description (last modified by mf2k (Frank Schima))

Hi,

after trying to upgrade the qt-mac on Mac 10.6 I got: <snip>

DEBUG: Assembled command: 'cd "/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" && /usr/bin/make -j2 first'
In file included from generated/JSDOMWindow.h:25,
                 from bindings/js/GCController.cpp:29:
page/DOMWindow.h:281: error: field 'm_url' has incomplete type
page/DOMWindow.h: In member function 'void WebCore::DOMWindow::setURL(const WebCore::KURL&)':
page/DOMWindow.h:80: error: 'm_url' was not declared in this scope
page/DOMWindow.h: In member function 'WebCore::KURL WebCore::DOMWindow::url() const':
page/DOMWindow.h:81: error: return type 'struct WebCore::KURL' is incomplete
page/DOMWindow.h:81: error: 'm_url' was not declared in this scope
make[2]: *** [.obj/release-shared/GCController.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 -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fconstant-cfstrings -Wreturn-type -fno-strict-aliasing -I/opt/local/include -gdwarf-2 -fvisibility=hidden -fvisibility-inlines-hidden -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -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/JSCanvasRenderingContext2DCustom.o bindings/js/JSCanvasRenderingContext2DCustom.cpp
In file included from generated/JSDOMWindow.h:25,
                 from bindings/js/GCController.cpp:29:
page/DOMWindow.h:281: error: field 'm_url' has incomplete type
page/DOMWindow.h: In member function 'void WebCore::DOMWindow::setURL(const WebCore::KURL&)':
page/DOMWindow.h:80: error: 'm_url' was not declared in this scope
page/DOMWindow.h: In member function 'WebCore::KURL WebCore::DOMWindow::url() const':
page/DOMWindow.h:81: error: return type 'struct WebCore::KURL' is incomplete
page/DOMWindow.h:81: error: 'm_url' was not declared in this scope
make[2]: *** [.obj/debug-shared/GCController.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [debug-all] Error 2
make: *** [sub-webkit-make_default-ordered] 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: couldn't read file "/opt/local/share/macports/Tcl/darwintrace1.0/pkgIndex.tcl": no such file or directory
    while executing
"source [file join $dir pkgIndex.tcl]"
Error: Unable to upgrade port: 1
DEBUG: upgrade qt4-mac failed
    while executing
"macports::_upgrade_mport_deps $mport $target"
    (procedure "mportexec" line 27)
    invoked from within
"mportexec $workername $target"
Error: Unable to execute port: upgrade qt4-mac failed

Any idea?

Thanks very much

Change History (4)

comment:1 Changed 15 years ago by eatdespain@…

Cc: eatdespain@… added

Cc Me!

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Cc: eatdespain@… removed
Description: modified (diff)
Port: qt4-mac added
Priority: HighNormal

What is the output of the following?

port installed qt4-mac

Please run the following and let us know if it works:

sudo port selfupdate
sudo port clean qt4-mac
sudo port upgrade qt4-mac

comment:3 Changed 15 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed

Never mind - this is a dup of #20199.

comment:4 Changed 15 years ago by mf2k (Frank Schima)

Summary: qt-mac-opensource-src-4.5.2 Does not compile --/opt/local/share/macports/Tcl/darwintrace1.0/pkgIndex.tcl": no such file or directoryqt4-mac does not compile
Note: See TracTickets for help on using tickets.