Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2013 18:58:42 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        David Wolfskill <david@catwhisker.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: libffi update: #error "Qt has not been ported to this architecture"
Message-ID:  <51086232.4050605@FreeBSD.org>
In-Reply-To: <20130129135605.GV1804@albert.catwhisker.org>
References:  <20130129135605.GV1804@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2013-01-29 08:56:05 -0500, David Wolfskill wrote:
> This is running:
> 
> FreeBSD g1-227.catwhisker.org 9.1-STABLE FreeBSD 9.1-STABLE #359
> r246049M/246068: Tue Jan 29 04:55:12 PST 2013
> root@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386
> 
> with a ports tree at r311159.
> 
> I use portmaster, so per UPDATING, I issued:
> 
> portmaster -w -r libffi
> 
> portmaster reported (near the end):

...

> and here's the last part of the attempted rebuild (failing in 
> www/qt4-webkit):
> 
> ... g++ -c -O2 -pipe -fno-strict-aliasing -I../../../../include/Qt
> -I../../../../include -Wall -Wextra -Wreturn-type
> -fno-strict-aliasing -Wcast-align -Wchar-subscripts
> -Wformat-security -Wreturn-type -Wno-unused-parameter
> -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef
> -Wmissing-noreturn -Winit-self -ffunction-sections -fdata-sections
> -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden
> -I/common/local/include/freetype2 -I/common/local/include -DNDEBUG
> -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DENABLE_XSLT=0
> -DENABLE_WEB_TIMING=0 -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_DIRECTORY_UPLOAD=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_QUOTA=0
> -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1
> -DENABLE_XPATH=1 -DENABLE_WCSS=0 -DENABLE_SHARED_WORKERS=1
> -DENABLE_WORKERS=1 -DENABLE_XHTMLMP=0 -DENABLE_DETAILS=1
> -DENABLE_METER_TAG=1 -DENABLE_PRg++ -c -O2 -pipe
> -fno-strict-aliasing -I../../../../include/Qt -I../../../../include
> -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align
> -Wchar-subscripts -Wformat-security -Wreturn-type
> -Wno-unused-parameter -Wno-sign-compare -Wno-switch
> -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self
> -ffunction-sections -fdata-sections -O2 -fPIC -fvisibility=hidden
> -fvisibility-inlines-hidden -I/common/local/include/freetype2
> -I/common/local/include -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG
> -DQT_ASCII_CAST_WARNINGS -DENABLE_XSLT=0 -DENABLE_WEB_TIMING=0
> -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_DIRECTORY_UPLOAD=0
> -DENABLE_FILE_SYSTEM=0 -DENABLE_QUOTA=0 -DENABLE_SQLITE=1
> -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1 -DENABLE_XPATH=1
> -DENABLE_WCSS=0 -DENABLE_SHARED_WORKERS=1 -DENABLE_WORKERS=1
> -DENABLE_XHTMLMP=0 -DENABLE_DETAILS=1 -DENABLE_METER_TAG=1
> -DENABLE_PROGRESS_TAG=1 -DENABLE_BLOB=1 -DENABLE_NOTIFICATIONS=1
> -DENABLE_INPUT_SPEECH=0 -DENABLE_INSPECTOR=1
> -DENABLE_3D_RENDERING=1 -DENABLE_WEB_AUDIO=0 -DENABLE_WEBGL=0
> -DENABLE_MEDIA_STATISTICS=0 -DENABLE_VIDEO_TRACK=0
> -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_ANIMATION_API=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_DATALIST=1 -DENABLE_TILED_BACKING_STORE=1
> -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_WEB_SOCKETS=1
> -DWTF_USE_QT_BEARER=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_VIDEO=0
> -DSQLITE_CORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE
> -DXP_UNIX -DENABLE_NETSCAPE_PLUGIN_METADATA_CACHE=1
> -DBUILDING_JavaScriptCore -DBUILDING_WTF -DBUILDING_WEBKIT
> -DQT_MAKEDLL -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
> -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
> -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2
> -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_SHARED
> -I/common/local/share/qt4/mkspecs/freebsd-g++ -I.
> -I../../../.OGRESS_TAG=1 -DENABLE_BLOB=1 -DENABLE_NOTIFICATIONS=1
> -DENABLE_INPUT_SPEECH=0 -DENABLE_INSPECTOR=1
> -DENABLE_3D_RENDERING=1 -DENABLE_WEB_AUDIO=0 -DENABLE_WEBGL=0
> -DENABLE_MEDIA_STATISTICS=0 -DENABLE_VIDEO_TRACK=0
> -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_ANIMATION_API=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_DATALIST=1 -DENABLE_TILED_BACKING_STORE=1
> -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_WEB_SOCKETS=1
> -DWTF_USE_QT_BEARER=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_VIDEO=0
> -DSQLITE_CORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE
> -DXP_UNIX -DENABLE_NETSCAPE_PLUGIN_METADATA_CACHE=1
> -DBUILDING_JavaScriptCore -DBUILDING_WTF -DBUILDING_WEBKIT
> -DQT_MAKEDLL -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
> -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
> -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2
> -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_SHARED
> -I/common/local/share/qt4/mkspecs/freebsd-g++ -I.
> -I../../../../../include/QtCore -I../../../../../include/QtNetwork
> -I../../../../../include/QtGui -I../../../../../include
> -I../JavaScriptCore -I../../Source -I../ThirdParty
> -I../JavaScriptCore/assembler -I../JavaScriptCore/bytecode
> -I../JavaScriptCore/bytecompiler -I../JavaScriptCore/heap
> -I../JavaScriptCore/dfg -I../JavaScriptCore/debugger
> -I../JavaScriptCore/interpreter -I../JavaScriptCore/jit
> -I../JavaScriptCore/parser -I../JavaScriptCore/profiler
> -I../JavaScriptCore/runtime -I../JavaScriptCore/wtf
> -I../JavaScriptCore/wtf/gobject
> -I/common/ports/www/qt4-webkit/work/qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian
> -I../JavaScriptCore/wtf/unicode -I../JavaScriptCore/yarr
> -I../JavaScriptCore/API -I../JavaScriptCore/ForwardingHeaders
> -I../JavaScriptCore/generated -Ibridge/qt -Ipage/qt
> -Iplatform/graphics/qt -Iplatform/network/qt -Iplatform/qt
> -I../WebKit/qt/Api -I../WebKit/qt/WebCoreSupport -I.
> -Iaccessibility -Ibindings -Ibindings/generic -Ibridge -Icss -Idom
> -Idom/default -Iediti./../include/QtCore
> -I../../../../../include/QtNetwork -I../../../../../include/QtGui
> -I../../../../../include -I../JavaScriptCore -I../../Source
> -I../ThirdParty -I../JavaScriptCore/assembler
> -I../JavaScriptCore/bytecode -I../JavaScriptCore/bytecompiler
> -I../JavaScriptCore/heap -I../JavaScriptCore/dfg
> -I../JavaScriptCore/debugger -I../JavaScriptCore/interpreter
> -I../JavaScriptCore/jit -I../JavaScriptCore/parser
> -I../JavaScriptCore/profiler -I../JavaScriptCore/runtime
> -I../JavaScriptCore/wtf -I../JavaScriptCore/wtf/gobject
> -I/common/ports/www/qt4-webkit/work/qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian
> -I../JavaScriptCore/wtf/unicode -I../JavaScriptCore/yarr
> -I../JavaScriptCore/API -I../JavaScriptCore/ForwardingHeaders
> -I../JavaScriptCore/generated -Ibridge/qt -Ipage/qt
> -Iplatform/graphics/qt -Iplatform/network/qt -Iplatform/qt
> -I../WebKit/qt/Api -I../WebKit/qt/WebCoreSupport -I.
> -Iaccessibility -Ibindings -Ibindings/generic -Ibridge -Icss -Idom
> -Idom/default -Iediting -Ifileapi -Ihistory -Ihtml -Ihtml/canvas
> -Ihtml/parser -Ihtml/shadow -Iinspector -Iloader -Iloader/appcache
> -Iloader/archive -Iloader/cache -Iloader/icon -Imathml
> -Inotifications -Ipage -Ipage/animation -Iplatform
> -Iplatform/animation -Iplatform/audio -Iplatform/graphics
> -Iplatform/graphics/filters -Iplatform/graphics/filters/arm
> -Iplatform/graphics/texmap -Iplatform/graphics/transforms
> -Iplatform/image-decoders -Iplatform/leveldb -Iplatform/mock
> -Iplatform/network -Iplatform/sql -Iplatform/text
> -Iplatform/text/transcoder -Iplugins -Irendering -Irendering/mathml
> -Irendering/style -Irendering/svg -Istorage -Isvg -Isvg/animation
> -Isvg/graphics -Isvg/graphics/filters -Isvg/properties -Itesting
> -Iwebaudio -Iwebsockets
> -I/common/ports/www/qt4-webkit/work/qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source/WebCore/wml
> -Iworkers -Ixml -Ibridge/jsc -Ibindings/js
> -I/common/ports/www/qt4-webkit/work/qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source/WebCore/bindings/js/specialization
> -Ibridge/c ng -Ifileapi -Ihistory -Ihtml -Ihtml/canvas
> -Ihtml/parser -Ihtml/shadow -Iinspector -Iloader -Iloader/appcache
> -Iloader/archive -Iloader/cache -Iloader/icon -Imathml
> -Inotifications -Ipage -Ipage/animation -Iplatform
> -Iplatform/animation -Iplatform/audio -Iplatform/graphics
> -Iplatform/graphics/filters -Iplatform/graphics/filters/arm
> -Iplatform/graphics/texmap -Iplatform/graphics/transforms
> -Iplatform/image-decoders -Iplatform/leveldb -Iplatform/mock
> -Iplatform/network -Iplatform/sql -Iplatform/text
> -Iplatform/text/transcoder -Iplugins -Irendering -Irendering/mathml
> -Irendering/style -Irendering/svg -Istorage -Isvg -Isvg/animation
> -Isvg/graphics -Isvg/graphics/filters -Isvg/properties -Itesting
> -Iwebaudio -Iwebsockets
> -I/common/ports/www/qt4-webkit/work/qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source/WebCore/wml
> -Iworkers -Ixml -Ibridge/jsc -Ibindings/js
> -I/common/ports/www/qt4-webkit/work/qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source/WebCore/bindings/js/specialization
> -Ibridge/c -Itesting/js -Igenerated -I../../Source -I../../include
> -I../include/QtWebKit -I../include -I../../../sqlite
> -I/common/local/include -I.moc/release-static
> -I/common/local/include/qt4 -I/common/local/include -o
> .obj/release-static/AccessibilityImageMapLink.o
> accessibility/AccessibilityImageMapLink.cpp -Itesting/js
> -Igenerated -I../../Source -I../../include -I../include/QtWebKit
> -I../include -I../../../sqlite -I/common/local/include
> -I.moc/release-static -I/common/local/include/qt4
> -I/common/local/include -o
> .obj/release-static/AccessibilityMediaControls.o
> accessibility/AccessibilityMediaControls.cpp

...

> I will proceed to rebuild/reinstall as many of the remaining ports
> as I can, but I'm a bit concerned. :-(
> 
> (All of this was done within script(1); I can make the typescript 
> available, should that be useful.)

I rebuilt everything from scratch to see if I missed anything but I
cannot reproduce the problem.  Can you please check your
${LOCALBASE}/include/qt4/QtCore/qconfig.h?  It should have something
like this (for i386):

/* Machine Architecture */
#ifndef QT_BOOTSTRAPPED
# define QT_ARCH_I386
#else
# define QT_ARCH_I386
#endif

Do you have custom LOCALBASE, i.e., /common/local, BTW?

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAEBAgAGBQJRCGIwAAoJECXpabHZMqHOZb0H/0ruEFAIAuvkllx8XZREasvv
e5BwsJNU2K29outAbe4ph2DT6NR9B9IeqZxbpnWipt6zD9Vnp8ZNGucv8jRh9xK0
IeGIJ7TdlSCf8oEn82CU2hFWGQ7bW5d+OPd7DvDt6aj/ouB+Zv5P+6nHaf8f1dAS
Wcx0rMXh8HbU/qJ/+pTMAtcHzXJeY/CzZRu6yfLdm5MZzPgVHnLJiUrebEsvnTTF
/aSUPOzUTU7UjyoTDF2YNVSrEMvS2IvGhKBGrpwUT5gXAUn1DyG7VR+DiVWitr7C
iZS151Yi78l4cfZhMB0KwevGq0k1YqZ8NqCgz7YI07RR79c8/TetGMANmHKhNpo=
=DX+f
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51086232.4050605>