GNU bug report logs - #36882
QEMU 4 fails to build for x86_64-linux

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Leo Famulari <leo@HIDDEN>; dated Wed, 31 Jul 2019 20:04:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 36882 <at> debbugs.gnu.org:


Received: (at 36882) by debbugs.gnu.org; 23 Aug 2019 12:58:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 23 08:58:32 2019
Received: from localhost ([127.0.0.1]:39303 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i199E-0004L5-C5
	for submit <at> debbugs.gnu.org; Fri, 23 Aug 2019 08:58:32 -0400
Received: from eggs.gnu.org ([209.51.188.92]:55502)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1i199C-0004Kt-J6
 for 36882 <at> debbugs.gnu.org; Fri, 23 Aug 2019 08:58:31 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:42148)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1i1997-0006nW-CZ; Fri, 23 Aug 2019 08:58:25 -0400
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=48646 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1i1996-0007Fy-2X; Fri, 23 Aug 2019 08:58:24 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Leo Famulari <leo@HIDDEN>
Subject: Re: bug#36882: QEMU 4 fails to build for x86_64-linux
References: <20190731200334.GA29724@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 6 Fructidor an 227 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Fri, 23 Aug 2019 14:58:22 +0200
In-Reply-To: <20190731200334.GA29724@HIDDEN> (Leo Famulari's message of
 "Wed, 31 Jul 2019 16:03:34 -0400")
Message-ID: <8736hs6ntd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 36882
Cc: 36882 <at> debbugs.gnu.org, Marius Bakke <mbakke@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Leo Famulari <leo@HIDDEN> skribis:

> While testing the upgrade of our QEMU package to 4.0.0 or 4.1.0-rc3 on
> x86_64-linux, the build fails when the header 'gnu/stubs-32.h' can't be
> found:
>
> ------
> In file included from /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2=
.28/include/features.h:452:0,
>                  from /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2=
.28/include/bits/libc-header-start.h:33,
>                  from /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2=
.28/include/stdint.h:26,
>                  from linuxboot_dma.c:65:
> /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include/gnu/stubs.=
h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
> compilation terminated.
> make[1]: *** [/tmp/guix-build-qemu-4.1.0-rc3.drv-0/qemu-4.1.0-rc3/rules.m=
ak:69: linuxboot_dma.o] Error 1
> make[1]: Leaving directory '/tmp/guix-build-qemu-4.1.0-rc3.drv-0/qemu-4.1=
.0-rc3/pc-bios/optionrom'
> make: *** [Makefile:519: pc-bios/optionrom/all] Error 2
> ------
>
> And of course, this header is not installed by glibc when it is built
> for 64-bit systems.

That=E2=80=99s a =E2=80=9Cmultilib header=E2=80=9D, which our =E2=80=98glib=
c=E2=80=99 package doesn=E2=80=99t provide.
Normally it=E2=80=99s only needed when doing =E2=80=9Cgcc -m32=E2=80=9D on =
x86_64 or similar.

Can you show the GCC command that leads to this error?

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#36882; Package guix. Full text available.

Message received at 36882 <at> debbugs.gnu.org:


Received: (at 36882) by debbugs.gnu.org; 1 Aug 2019 14:15:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 01 10:15:06 2019
Received: from localhost ([127.0.0.1]:54827 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1htBrG-0004QC-Ad
	for submit <at> debbugs.gnu.org; Thu, 01 Aug 2019 10:15:06 -0400
Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:50125)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mbakke@HIDDEN>) id 1htBrE-0004PO-D2
 for 36882 <at> debbugs.gnu.org; Thu, 01 Aug 2019 10:15:05 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.west.internal (Postfix) with ESMTP id 7C8D23A8;
 Thu,  1 Aug 2019 10:14:58 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute5.internal (MEProxy); Thu, 01 Aug 2019 10:14:58 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
 from:to:subject:in-reply-to:references:date:message-id
 :mime-version:content-type; s=fm3; bh=i5wyLBB/PHo4c0g1LWZIHns30R
 wqp/2GWplRDrXcOjU=; b=e+Lti7/ZGUPBEs4hlhfDFA8HoQS6dFqWY/55951gFs
 0tyg7/tYg+8wAbAWEJ+ilg1s4mcRAHdggZjqKF0JdY9VMdpjGsmb86e7AHLJProh
 rtLX4ThQLweNXr7+WGOw8oTkiAfPhHoiXK5RCKF3w6VEjBqA7xImgV18FcCg4Z+q
 q+VLKvwASGlGq0WDWyeCkZAYLmboFa0bAP1QKTiquKHxwneQmZKSkpwOL1MU1fGi
 ciXjp58IigEa5L0+9LCMalNp/UNHgGqcFENkcKPazKdUredYYPr1WJnatJHbDJ5/
 NkEHEA0JK5y1/1wIJpfC4eWTrA5pMzUTS9+YlXNuInEw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=i5wyLB
 B/PHo4c0g1LWZIHns30Rwqp/2GWplRDrXcOjU=; b=m48mtzfzPvb9xmWGPeZZmD
 sZ+Gu3X0zwKfLdqyQ35cXQyCASlWME8z7y9tL5GkRrxZnmZaU32srf4y4Yc5gNUR
 WqDrWm2IUJUUj4wsJ0MlMac+bKFx00QolrEF17hNks7qYLTdRhDJUdG+iLpgUGEw
 fqe2bEcgihGa/DxehSXbIQU5NbzxK9LwBMv8dNAPIYpGTbWJebr3bGJpSTLihH/A
 3vQQIl7L0s+t1zWKyM57kPval4b9voaP6Z0F+TQICyOnxM85XoJuB+3GpKDdT5lL
 n+TYjwxCgbK8L5+9333AwG0hV/oeqRZtfMADd9kYPDJeGow0nFdcpfYgeEkdLiMQ
 ==
X-ME-Sender: <xms:4fNCXetiNvPxEd74DnyxamcisbT5FYwfi9TnCwlz1SqRJc_tumRe0Q>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrleejgdejvdcutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecunecujfgurhephffvufgjfhgffffkgggtsehgtderre
 dtredtnecuhfhrohhmpeforghrihhushcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshht
 mhgrihhlrdgtohhmqeenucfkphepiedvrdduiedrvddviedrudegtdenucfrrghrrghmpe
 hmrghilhhfrhhomhepmhgsrghkkhgvsehfrghsthhmrghilhdrtghomhenucevlhhushht
 vghrufhiiigvpedt
X-ME-Proxy: <xmx:4fNCXd0nHAQp8adToXRrnRXkzlPGBf-LZb2Gc5qzaFUD-nFNKuyadw>
 <xmx:4fNCXVUIYw1glVOUefWy8U5tOAee258YzctY4E34TNlolqlIOeik3A>
 <xmx:4fNCXTOlol4j69ei-RBY1TeZ7G3PFLUHdJKLxkgETyYsNYcSiJpOvg>
 <xmx:4fNCXUFvepPcmBHp4oGmJ2E3RGWMhERkkven1xeb-gxNvrq5j3P27g>
Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140])
 by mail.messagingengine.com (Postfix) with ESMTPA id 5738D80064;
 Thu,  1 Aug 2019 10:14:57 -0400 (EDT)
From: Marius Bakke <mbakke@HIDDEN>
To: Leo Famulari <leo@HIDDEN>, 36882 <at> debbugs.gnu.org
Subject: Re: bug#36882: QEMU 4 fails to build for x86_64-linux
In-Reply-To: <20190731200334.GA29724@HIDDEN>
References: <20190731200334.GA29724@HIDDEN>
User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2
 (x86_64-pc-linux-gnu)
Date: Thu, 01 Aug 2019 16:14:55 +0200
Message-ID: <87h8712crk.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 36882
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain

Leo Famulari <leo@HIDDEN> writes:

> While testing the upgrade of our QEMU package to 4.0.0 or 4.1.0-rc3 on
> x86_64-linux, the build fails when the header 'gnu/stubs-32.h' can't be
> found:
>
> ------
> In file included from /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include/features.h:452:0,
>                  from /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include/bits/libc-header-start.h:33,
>                  from /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include/stdint.h:26,
>                  from linuxboot_dma.c:65:
> /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
> compilation terminated.
> make[1]: *** [/tmp/guix-build-qemu-4.1.0-rc3.drv-0/qemu-4.1.0-rc3/rules.mak:69: linuxboot_dma.o] Error 1
> make[1]: Leaving directory '/tmp/guix-build-qemu-4.1.0-rc3.drv-0/qemu-4.1.0-rc3/pc-bios/optionrom'
> make: *** [Makefile:519: pc-bios/optionrom/all] Error 2
> ------
>
> And of course, this header is not installed by glibc when it is built
> for 64-bit systems.
>
> The header in question, 'stubs.h', looks like this:
>
> ------
> #if !defined __x86_64__
> # include <gnu/stubs-32.h>
> #endif
> #if defined __x86_64__ && defined __LP64__
> # include <gnu/stubs-64.h>
> #endif
> #if defined __x86_64__ && defined __ILP32__
> # include <gnu/stubs-x32.h>
> #endif
> ------
>
> When I build for i686-linux, it works as expected.
>
> Any advice? I'm not really sure what's going on here.

I don't know why it fails, but it works if you give it a newer GCC such
as the one on 'core-updates'.

I tried it with 4.0.0, but got stuck on two test failures.  Hopefully
4.1.0 is easier to debug...  :-)

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl1C8+AACgkQoqBt8qM6
VPpHIQgAszLRJb5HgNC1JYPLUFqlBD13MNWD43IlTBuRC/cGwvO6EIJcFr/VJRDq
I2n/+n+FQ/baejWJzCrEzFlwxksvA4p8awmKQAPND9c2mPYDp8zfZXushXlhSGYl
zLcoU7yKJ//YmOa+WksNFj/MTAbWFF2QrLQYaZcCe6FyJSq52CJr5DMJdEGNIfcN
InfMemQif2TXR3l/CeLmani61e9Q1wzrUMt+YgfzzPcD0xd6vsqxSFvPlmWaFXAY
YHhs9U3SlCRESDMaDHQo+fz6VuHGyZhwtitAH5hI99RxDdecEq5kDVoDfJMMnSy2
GuZBczFbJaNH7eHirc6XgGO35VV89A==
=17Hx
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#36882; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Jul 2019 20:03:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 31 16:03:48 2019
Received: from localhost ([127.0.0.1]:53134 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hsup8-0002Aj-Pw
	for submit <at> debbugs.gnu.org; Wed, 31 Jul 2019 16:03:48 -0400
Received: from lists.gnu.org ([209.51.188.17]:39023)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1hsup6-0002Ab-L8
 for submit <at> debbugs.gnu.org; Wed, 31 Jul 2019 16:03:45 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51667)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <leo@HIDDEN>) id 1hsup5-00016T-M8
 for bug-guix@HIDDEN; Wed, 31 Jul 2019 16:03:44 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <leo@HIDDEN>) id 1hsup4-0004J2-Ng
 for bug-guix@HIDDEN; Wed, 31 Jul 2019 16:03:43 -0400
Received: from out2-smtp.messagingengine.com ([66.111.4.26]:33285)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <leo@HIDDEN>) id 1hsup4-0004IT-HF
 for bug-guix@HIDDEN; Wed, 31 Jul 2019 16:03:42 -0400
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 3616221FE5;
 Wed, 31 Jul 2019 16:03:40 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute4.internal (MEProxy); Wed, 31 Jul 2019 16:03:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=date:from:to:subject:message-id:mime-version:content-type; s=
 mesmtp; bh=0aFkSahJ5jc3gY3fTcNkHnWRBZtJI2b7H2fCPOXkcZs=; b=SQuq0
 7nlz9jCp66GU7XyqAv3SFHnAVKyEPM6fk6lngQYLTiJG/vHtwFZZgXXQiqJFWoRG
 XkHrZ36BUR/oVqjITISZmPsnfH1dutztaRCpOjE5RsVPlHbcv5mHybFnByE6tfHn
 4RrUJ4OcfQp9dEEW8+36ZsoY8em6y9NSJdrBpc=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:message-id
 :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm3; bh=0aFkSahJ5jc3gY3fTcNkHnWRBZtJI
 2b7H2fCPOXkcZs=; b=1TvhZJsmX+k2ThtIc2FS77wHtafQ4mTITQzOFEWKxw7rP
 99/6KmA99AqP4/Q6f1CjGiZoxfJlqDUQfL3J6pzxXleX2ygLuh1b9eWhqQnGV5Vv
 OAdU+XqI94edVBR/XMjWe0HBNzR7iPFl8HDVhaNS6N8mSgdNf8QgtG36GyiFj5ff
 ilNpzxwI6E1ljNshRHwm9NDeIUIdFPuDhf1crlEjEjWGaFsW/LLqsGQthDI4SIIJ
 e7xWbyEt2AiJm6LFneo9fppwmmMYQuGVXslnMC5e9Q2tgVqDsJTLia2AFi4EKNug
 hO1SFtgqPPV4CmcrpIbfBtAQHZk5TDOpjwrSMmcHQ==
X-ME-Sender: <xms:G_RBXTGtn1QC-VPbSJre57p5VFVPcGi7cCtYV__fK6WTMrVXyb24wQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrleehgddugeefucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtuggfsehttdertd
 dtredvnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghr
 ihdrnhgrmhgvqeenucfkphepjeeirdduvdegrddufeekrdeifeenucfrrghrrghmpehmrg
 hilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvgenucevlhhushhtvghrufhi
 iigvpedt
X-ME-Proxy: <xmx:G_RBXc6qjhxHJ_QqMTFfnAsQX7pEbSPkHWCga_qdLKQpdjP-lT7_aA>
 <xmx:G_RBXZkGwuOi8yM7CTHwcE3wXREwz7xLPeNRt-oeHDxDIxEYdiByBw>
 <xmx:G_RBXX5GCz97vfcvNs5qkHs3jNII5I36duWHaIYm72XXbnUNvISZHA>
 <xmx:HPRBXY3ufSRwNWOHLAIay0ZB9TDPzftrBu0IVQErwR40EzwTArtiKg>
Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63])
 by mail.messagingengine.com (Postfix) with ESMTPA id 3F89580064
 for <bug-guix@HIDDEN>; Wed, 31 Jul 2019 16:03:39 -0400 (EDT)
Date: Wed, 31 Jul 2019 16:03:34 -0400
From: Leo Famulari <leo@HIDDEN>
To: bug-guix@HIDDEN
Subject: QEMU 4 fails to build for x86_64-linux
Message-ID: <20190731200334.GA29724@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.12.1 (2019-06-15)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 66.111.4.26
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

While testing the upgrade of our QEMU package to 4.0.0 or 4.1.0-rc3 on
x86_64-linux, the build fails when the header 'gnu/stubs-32.h' can't be
found:

------
In file included from /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include/features.h:452:0,
                 from /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include/bits/libc-header-start.h:33,
                 from /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include/stdint.h:26,
                 from linuxboot_dma.c:65:
/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.
make[1]: *** [/tmp/guix-build-qemu-4.1.0-rc3.drv-0/qemu-4.1.0-rc3/rules.mak:69: linuxboot_dma.o] Error 1
make[1]: Leaving directory '/tmp/guix-build-qemu-4.1.0-rc3.drv-0/qemu-4.1.0-rc3/pc-bios/optionrom'
make: *** [Makefile:519: pc-bios/optionrom/all] Error 2
------

And of course, this header is not installed by glibc when it is built
for 64-bit systems.

The header in question, 'stubs.h', looks like this:

------
#if !defined __x86_64__
# include <gnu/stubs-32.h>
#endif
#if defined __x86_64__ && defined __LP64__
# include <gnu/stubs-64.h>
#endif
#if defined __x86_64__ && defined __ILP32__
# include <gnu/stubs-x32.h>
#endif
------

When I build for i686-linux, it works as expected.

Any advice? I'm not really sure what's going on here.




Acknowledgement sent to Leo Famulari <leo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#36882; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 23 Aug 2019 13:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.