[kde-freebsd] port www/qt4-webkit failed on sparc64 9.0

Raphael Kubo da Costa kubito at gmail.com
Fri Mar 19 23:16:00 CET 2010


On Wednesday 10 March 2010 18:26:54 Anton Shterenlikht wrote:
> This is on FreeBSD sparc64 9.0-CURRENT #0 r202774
> 
> Building www/qt4-webkit I get this error:
> 
> c++ -c -O2 -pipe -fno-strict-aliasing -I../../../../include/Qt
> -I../../../../include -Wreturn-type -fno-strict-aliasing
> -ffunction-sections -fdata-sections -O2 -I/usr/local/include
> -I/usr/local/include/freetype2 -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 -DHAVE_PTHREAD_NP_H -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=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_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 -DXP_UNIX -DSQLITE_CORE
> -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -DQT_NO_DEBUG
> -DQT_XMLPATTERNS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
> -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
> -I/usr/local/share/qt4/mkspecs/freebsd-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/release-shared
> -I../JavaScriptCore/pcre
> -I/usr/ports/www/qt4-webkit/work/qt-everywhere-opensource-src-4.6.1/src/3r
> dparty/webkit/WebKitBuild/Release/JavaScriptCore/tmp -I../../sqlite
> -I../../../../include/phonon -I/usr/local/include -I.moc/release-shared
> -I/usr/local/include -o obj/release/JSBase.o
> ../JavaScriptCore/API/JSBase.cpp
> 
> In file included from ../JavaScriptCore/runtime/JSCell.h:28,
>                  from ../JavaScriptCore/runtime/JSAPIValueWrapper.h:28,
>                  from ../JavaScriptCore/API/APICast.h:29,
>                  from ../JavaScriptCore/API/JSBase.cpp:30:
> ../JavaScriptCore/runtime/JSValue.h: In constructor
> 'JSC::JSValue::JSValue(JSC::JSCell*)':
> ../JavaScriptCore/runtime/JSValue.h:479: error: cast from 'JSC::JSCell*'
> to 'int32_t' loses precision ../JavaScriptCore/runtime/JSValue.h: In
> constructor 'JSC::JSValue::JSValue(const JSC::JSCell*)':
> ../JavaScriptCore/runtime/JSValue.h:488: error: cast from 'JSC::JSCell*'
> to 'int32_t' loses precision *** Error code 1
> 1 error
> 
> The full log:
> 
> http://seis.bris.ac.uk/~mexas/qt4-webkit-ia64.log

I think this might have just been fixed by 
http://trac.webkit.org/projects/webkit/changeset/56215

Let's hope either Qt 4.6.3 or the porters include this fix :)


More information about the kde-freebsd mailing list