Received: from mail.gw90.de ([188.40.100.199]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QJtlh-0002NM-Jf for openembedded-devel@lists.openembedded.org; Tue, 10 May 2011 22:42:57 +0200 Received: from f053032140.adsl.alicedsl.de ([78.53.32.140] helo=[192.168.178.21]) by mail.gw90.de with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1QJtkJ-0004KZ-Tw; Tue, 10 May 2011 20:41:32 +0000 From: Paul Menzel To: openembedded-devel@lists.openembedded.org Date: Tue, 10 May 2011 22:40:12 +0200 Message-ID: <1305060012.9982.33.camel@mattotaupa> Mime-Version: 1.0 X-Mailer: Evolution 2.32.3 Subject: qt4-native: X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2011 20:42:57 -0000 X-Groupsio-MsgNum: 31888 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-B3NaU7s/4lg9lHZ5gBt/" --=-B3NaU7s/4lg9lHZ5gBt/ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Simon and other OpenEmbedded folks, task configure of `qt4-native` fails on my build system which is a Xen DomU running a 64-bit Linux kernel but 32-bit user space. $ uname -a Linux oe-build-host 2.6.32-5-xen-amd64 #1 SMP Tue Mar 8 00:01:30 UT= C 2011 x86_64 GNU/Linux $ dpkg --print-architecture i386 This seems to be a problem in the Qt4 build system which seems to be using `uname` to determine the architecture. $ more log.do_configure + do_configure + echo o + echo yes + ./configure -prefix /oe/build-angstrom-next/angstrom-dev/sysroots= /i686-linux/usr -L /oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux= /usr/lib -I /oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/in= clude -qt-libjpeg -qt-gif -system-zlib -no-libjpeg -no-libpng -no-libmng -n= o-libtiff -no-accessibility -no-cups -no-nas-sound -no-nis -no-openssl -ver= bose -release -embedded -no-freetype -no-glib -no-iconv -exceptions -xmlpat= terns -qt3support -no-fast -silent -no-rpath Which edition of Qt do you want to use ? =20 Type 'c' if you want to use the Commercial Edition. Type 'o' if you want to use the Open Source Edition. =20 =20 Determining system architecture... (Linux:2.6.32-5-xen-amd64:x86_64= ) 64-bit AMD 80x86 (x86_64) 'x86_64' is supported System architecture: 'x86_64' Host architecture: 'x86_64' Precompiled-headers support enabled. Symbol visibility control enabled. =20 This is the Qt for Embedded Linux Open Source Edition. =20 You are licensed to use this software under the terms of the Lesser GNU General Public License (LGPL) versions 2.1. You are also licensed to use this software under the terms of the GNU General Public License (GPL) versions 3. =20 Type '3' to view the GNU General Public License version 3. Type 'L' to view the Lesser GNU General Public License version 2.1. Type 'yes' to accept this license offer. Type 'no' to decline this license offer. =20 Do you accept the terms of either license?=20 Creating qmake. Please wait... g++ -c -o project.o -pipe -m64 -m64 -DQMAKE_OPENSOURCE_EDITION -I. = -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenera= tors/symbian -I/oe/build-angstrom-next/angstrom-dev/work/i686-linux/qt4-nat= ive-4.7.2-r0.0/qt-everywhere-opensource-src-4.7.2/include -I/oe/build-angst= rom-next/angstrom-dev/work/i686-linux/qt4-native-4.7.2-r0.0/qt-everywhere-o= pensource-src-4.7.2/include/QtCore -I/oe/build-angstrom-next/angstrom-dev/w= ork/i686-linux/qt4-native-4.7.2-r0.0/qt-everywhere-opensource-src-4.7.2/src= /corelib/global -I/oe/build-angstrom-next/angstrom-dev/work/i686-linux/qt4-= native-4.7.2-r0.0/qt-everywhere-opensource-src-4.7.2/src/corelib/xml -I/oe/= build-angstrom-next/angstrom-dev/work/i686-linux/qt4-native-4.7.2-r0.0/qt-e= verywhere-opensource-src-4.7.2/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -= DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -DQT_NO_TEXTCODEC -DQT_NO_UNICODET= ABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/oe/build-angstrom-n= ext/angstrom-dev/work/i686-linux/qt4-native-4.7.2-r0.0/qt-everywhere-openso= urce-src-4.7.2/mkspecs/qws/linux-x86_64-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THRE= AD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp In file included from /usr/include/features.h:378, from /usr/include/string.h:26, from /oe/build-angstrom-next/angstrom-dev/work/i68= 6-linux/qt4-native-4.7.2-r0.0/qt-everywhere-opensource-src-4.7.2/include/Qt= Core/../../src/corelib/tools/qbytearray.h:48, from /oe/build-angstrom-next/angstrom-dev/work/i68= 6-linux/qt4-native-4.7.2-r0.0/qt-everywhere-opensource-src-4.7.2/include/Qt= Core/qbytearray.h:1, from /oe/build-angstrom-next/angstrom-dev/work/i68= 6-linux/qt4-native-4.7.2-r0.0/qt-everywhere-opensource-src-4.7.2/include/Qt= Core/../../src/corelib/tools/qstring.h:46, from /oe/build-angstrom-next/angstrom-dev/work/i68= 6-linux/qt4-native-4.7.2-r0.0/qt-everywhere-opensource-src-4.7.2/include/Qt= Core/qstring.h:1, from /oe/build-angstrom-next/angstrom-dev/work/i68= 6-linux/qt4-native-4.7.2-r0.0/qt-everywhere-opensource-src-4.7.2/include/Qt= Core/../../src/corelib/io/qiodevice.h:51, from /oe/build-angstrom-next/angstrom-dev/work/i68= 6-linux/qt4-native-4.7.2-r0.0/qt-everywhere-opensource-src-4.7.2/include/Qt= Core/qiodevice.h:1, from /oe/build-angstrom-next/angstrom-dev/work/i68= 6-linux/qt4-native-4.7.2-r0.0/qt-everywhere-opensource-src-4.7.2/include/Qt= Core/../../src/corelib/io/qdatastream.h:46, from /oe/build-angstrom-next/angstrom-dev/work/i68= 6-linux/qt4-native-4.7.2-r0.0/qt-everywhere-opensource-src-4.7.2/include/Qt= Core/qdatastream.h:1, from /oe/build-angstrom-next/angstrom-dev/work/i68= 6-linux/qt4-native-4.7.2-r0.0/qt-everywhere-opensource-src-4.7.2/include/Qt= Core/../../src/corelib/tools/qstringlist.h:46, from /oe/build-angstrom-next/angstrom-dev/work/i68= 6-linux/qt4-native-4.7.2-r0.0/qt-everywhere-opensource-src-4.7.2/include/Qt= Core/qstringlist.h:1, from project.h:45, from project.cpp:42: /usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file = or directory make: *** [project.o] Error 1 + die 'Configuring qt failed. EXTRA_OECONF was -prefix /oe/build-an= gstrom-next/angstrom-dev/sysroots/i686-linux/usr -L /oe/bui= ld-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/lib -= I /oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/include = -qt-libjpeg -qt-gif -system-zlib -no-libjpeg -n= o-libpng -no-libmng -no-libtiff -no-accessibility = -no-cups -no-nas-sound -no-nis -no-o= penssl -verbose -release -embedded -no-free= type -no-glib -no-iconv -exceptions -xmlpatterns = -qt3support -no-fast -silent -no-rpath' + oefatal 'Configuring qt failed. EXTRA_OECONF was -prefix /oe/buil= d-angstrom-next/angstrom-dev/sysroots/i686-linux/usr -L /oe= /build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/lib = -I /oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/include = -qt-libjpeg -qt-gif -system-zlib -no-libjpe= g -no-libpng -no-libmng -no-libtiff -no-accessibility = -no-cups -no-nas-sound -no-nis -= no-openssl -verbose -release -embedded -no-= freetype -no-glib -no-iconv -exceptions -xmlpatterns = -qt3support -no-fast -silent -no-rpath' + echo FATAL: 'Configuring qt failed. EXTRA_OECONF was -prefix /oe/= build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr -L= /oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/lib = -I /oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/incl= ude -qt-libjpeg -qt-gif -system-zlib -no-li= bjpeg -no-libpng -no-libmng -no-libtiff -no-accessibility = -no-cups -no-nas-sound -no-n= is -no-openssl -verbose -release -embedded = -no-freetype -no-glib -no-iconv -exceptions -xmlpatterns = -qt3support -no-fast -silent -no-rpath' FATAL: Configuring qt failed. EXTRA_OECONF was -prefix /oe/build-an= gstrom-next/angstrom-dev/sysroots/i686-linux/usr -L /oe/bui= ld-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/lib -= I /oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/include = -qt-libjpeg -qt-gif -system-zlib -no-libjpeg -n= o-libpng -no-libmng -no-libtiff -no-accessibility = -no-cups -no-nas-sound -no-nis -no-o= penssl -verbose -release -embedded -no-free= type -no-glib -no-iconv -exceptions -xmlpatterns = -qt3support -no-fast -silent -no-rpath + exit 1 Do you have direct contacts to the Qt developers you can ask about that? If not I need to register at Qt upstream and submit a report sometime. I found [1] and [2] on the WWW dealing with this error, but I did not find an upstream bug report. Thanks, Paul [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D519050 [2] http://www.bitchx.com/log/qt-f/qt-f-11-Jun-2010/qt-f-11-Jun-2010-09.php --=-B3NaU7s/4lg9lHZ5gBt/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk3JoqwACgkQPX1aK2wOHVj61ACfZ2wTXs8wJZjTg1Yu3DZbdy17 j2cAnjFE602hzBEHfwEmmgCTAWlFbmRX =et4B -----END PGP SIGNATURE----- --=-B3NaU7s/4lg9lHZ5gBt/--