Opened 14 years ago

Closed 14 years ago

#23211 closed defect (duplicate)

qt4-mac 4.6.0 build failure

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

Description

Mac OS X 10.5.8, G4

Earlier today, I ran "sudo port -d selfupdate," and ran "sudo port upgrade qt4-mac."

$ gcc -v
Using built-in specs.
Target: powerpc-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5490~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --program-prefix= --host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5490)

error:

/usr/bin/g++-4.0 -c -include .pch/debug-shared/QtWebKit_debug -pipe -Xarch_ppc -mmacosx-version-min=10.4 -Wreturn-type -fno-strict-aliasing -fconstant-cfstrings -I/opt/local/include -gdwarf-2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -arch ppc -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/GCController.o bindings/js/GCController.cpp
platform/network/ResourceResponseBase.h:51: error: ISO C++ forbids declaration of 'KURL' with no type
platform/network/ResourceResponseBase.h:51: error: expected ';' before '&' token
platform/network/ResourceResponseBase.h:52: error: expected ',' or '...' before '&' token
platform/network/ResourceResponseBase.h:52: error: ISO C++ forbids declaration of 'KURL' with no type
platform/network/ResourceResponseBase.h:108: error: expected ',' or '...' before '&' token
platform/network/ResourceResponseBase.h:108: error: ISO C++ forbids declaration of 'KURL' with no type
platform/network/ResourceResponseBase.h:118: error: 'KURL' does not name a type
platform/network/ResourceResponseBase.h:154: error: 'KURL' does not name a type
platform/network/qt/ResourceResponse.h:39: error: expected ',' or '...' before '&' token
platform/network/qt/ResourceResponse.h:39: error: ISO C++ forbids declaration of 'KURL' with no type
platform/network/qt/ResourceResponse.h: In constructor 'WebCore::ResourceResponse::ResourceResponse(int)':
platform/network/qt/ResourceResponse.h:40: error: 'url' was not declared in this scope
platform/network/qt/ResourceResponse.h:40: error: 'expectedLength' was not declared in this scope
platform/network/qt/ResourceResponse.h:40: error: 'filename' was not declared in this scope
platform/network/qt/ResourceResponse.h: At global scope:
platform/network/qt/ResourceResponse.h:39: warning: unused parameter 'KURL'
platform/network/qt/ResourceResponse.h:39: warning: unused parameter 'KURL'
bindings/js/GCController.cpp:83: warning: unused parameter 'waitUntilDone'
make[2]: *** [obj/debug/GCController.o] Error 1
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 -j1 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 -j1 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: perl5 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>

Change History (4)

comment:1 Changed 14 years ago by shawjef3@…

I just ran selfupdate again and it looks like there's been an update to qt4-mac, so I'll try to compile again.

comment:2 Changed 14 years ago by hsivank@…

See #20199 for a workaround to get it compiled.

comment:3 Changed 14 years ago by shawjef3@…

Thanks, it looks to be working after disabling the mentioned ports. Sorry about the noise. I searched tickets for KURL but I guess the search system doesn't search comments.

comment:4 Changed 14 years ago by sharky@…

Resolution: duplicate
Status: newclosed

Closing as a duplicate of #20199

Note: See TracTickets for help on using tickets.