Received: from mail.gw90.de ([188.40.100.199]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QNmfN-0004Kq-Cr for openembedded-devel@lists.openembedded.org; Sat, 21 May 2011 15:56:29 +0200 Received: from f053038077.adsl.alicedsl.de ([78.53.38.77] 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 1QNmcg-0008PY-V9 for openembedded-devel@lists.openembedded.org; Sat, 21 May 2011 13:53:43 +0000 From: Paul Menzel To: openembedded-devel@lists.openembedded.org In-Reply-To: <1305472473.5838.546.camel@mattotaupa> References: <1305060012.9982.33.camel@mattotaupa> <1305061022.9982.44.camel@mattotaupa> <4DCE2BF8.50403@eukrea.com> <1305472473.5838.546.camel@mattotaupa> Date: Sat, 21 May 2011 15:53:31 +0200 Message-ID: <1305986011.12054.21.camel@mattotaupa> Mime-Version: 1.0 X-Mailer: Evolution 2.32.3 Subject: Re: qt4-native: `/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or directory` because architecture incorrectly detected 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: Sat, 21 May 2011 13:56:29 -0000 X-Groupsio-MsgNum: 32229 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-vG6g63AJfE4IoNrDBLhz" --=-vG6g63AJfE4IoNrDBLhz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Eric, Am Sonntag, den 15.05.2011, 17:14 +0200 schrieb Paul Menzel: > Am Samstag, den 14.05.2011, 09:15 +0200 schrieb Eric B=C3=A9nard: >=20 > > On 10/05/2011 22:57, Paul Menzel wrote: > > > Dear Simon and other OpenEmbedded folks, > > > > > > > > > I am sorry for the wrong subject line. I am fixing it hereby. > > > > > > > > > Am Dienstag, den 10.05.2011, 22:40 +0200 schrieb Paul Menzel: > > > > > >> task configure of `qt4-native` fails on my build system which is a X= en > > >> 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 UTC 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/i6= 86-linux/usr/lib -I /oe/build-angstrom-next/angstrom-dev/sysroots/i686-linu= x/usr/include -qt-libjpeg -qt-gif -system-zlib -no-libjpeg -no-libpng -no-l= ibmng -no-libtiff -no-accessibility -no-cups -no-nas-sound -no-nis -no-open= ssl -verbose -release -embedded -no-freetype -no-glib -no-iconv -exceptions= -xmlpatterns -qt3support -no-fast -silent -no-rpath > > >> Which edition of Qt do you want to use ? > > >> > > >> Type 'c' if you want to use the Commercial Edition. > > >> Type 'o' if you want to use the Open Source Edition. > > >> > > >> > > >> Determining system architecture... (Linux:2.6.32-5-xen-amd6= 4:x86_64) > > >> 64-bit AMD 80x86 (x86_64) > > >> 'x86_64' is supported > > >> System architecture: 'x86_64' > > >> Host architecture: 'x86_64' > >=20 > > this could maybe be fixed by passing -host-arch=3Di386 to configure but= the=20 > > problem is to detect you are running a 32bit userland when uname report= s 64 bits. > > bitbake.conf seems also to use uname : > > BUILD_ARCH :=3D "${@os.uname()[4]}" >=20 > Unfortunately I have not come around a solution to detect this properly. > I had the same problem with TeX Live [1] and the solution was to add on > option to override this setting [2]. >=20 > > maybe something like file `which init` and analysing the output ? >=20 > Unfortunately `which init` does not return anything on my Debian > Sid/unstable system. >=20 > $ which init > $ echo $? > 1 searching the WWW for =C2=BBuname system host architecture 32 64=C2=AB I fo= und the following suggestion [3][4]. Thanks, Paul > [1] http://tug.org/pipermail/tex-live/2009-June/021119.html > [2] http://tug.org/pipermail/tex-live/2009-June/021124.html [3] http://serverfault.com/questions/61673/determine-linux-servers-architec= ture-32-or-64-bit/62118#62118 [4] http://www.commandlinefu.com/commands/view/2940/32-bits-or-64-bits --=-vG6g63AJfE4IoNrDBLhz 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) iEYEABECAAYFAk3Xw9sACgkQPX1aK2wOHViklACdHvmgHguBcxaLt5TC37//fmby Yb0An258dK77LvDKl0smo17GzFjYv7Co =I6/J -----END PGP SIGNATURE----- --=-vG6g63AJfE4IoNrDBLhz--