Received: (at 43513) by debbugs.gnu.org; 30 Sep 2020 11:28:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 30 07:28:28 2020 Received: from localhost ([127.0.0.1]:58444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kNaHc-00039h-5f for submit <at> debbugs.gnu.org; Wed, 30 Sep 2020 07:28:28 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:55014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kNaHX-00039T-Qe for 43513 <at> debbugs.gnu.org; Wed, 30 Sep 2020 07:28:26 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 325683362BFF; Wed, 30 Sep 2020 13:28:21 +0200 (CEST) Date: Wed, 30 Sep 2020 13:27:54 +0200 From: Danny Milosavljevic <dannym@HIDDEN> To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200930132754.1d88c9e2@HIDDEN> In-Reply-To: <87k0wb3a12.fsf@HIDDEN> References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> <87wo0i17vv.fsf@HIDDEN> <20200925131237.32fc61e9@HIDDEN> <20200925131856.4a1d4a1c@HIDDEN> <874knlkfsq.fsf@HIDDEN> <20200925182542.72f556d2@HIDDEN> <20200926125320.11b8f4be@HIDDEN> <87a6x87ubx.fsf@HIDDEN> <20200929124308.419282f2@HIDDEN> <87k0wb3a12.fsf@HIDDEN> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/wY_7.3I/07s.Hica3=8jwvP"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43513 Cc: Andreas Enge <andreas@HIDDEN>, 43513 <at> debbugs.gnu.org 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 (-) --Sig_/wY_7.3I/07s.Hica3=8jwvP Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, On Wed, 30 Sep 2020 11:10:17 +0200 Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: > Danny Milosavljevic <dannym@HIDDEN> skribis: >=20 > > On Tue, 29 Sep 2020 12:25:54 +0200 > > Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: > > Sure, but I want to know what happens to json-c. That sounds like a lo= t of > > manual invocations (like about 20000--for invocations of "configure", "= gcc", > > including all the dependencies etcetc). =20 >=20 > Do we know which bit of json-c=E2=80=99s =E2=80=98configure=E2=80=99 draw= s an incorrect > conclusion? At least I don't. I don't even have a homedir on dover.guix.info, so I can= not run guix pull, guix describe, or really anything that is interesting on the= re. Andreas knows maybe--it works for him. > > while setting up the build environment: executing `/gnu/store/mzfkrxd4w= 8vqrmyrx169wj8wyw7r8i37-bash': No such file or directory =20 >=20 > That=E2=80=99s to little context for me to say much (I=E2=80=99d need to = see the command > at least) but it could be that it=E2=80=99s trying to run i686 code on AR= M or > similar. Note that /gnu/store/mzfkrxd4w8vqrmyrx169wj8wyw7r8i37-bash is an i686 execu= table on dover. Running it just like this /gnu/store/mzfkrxd4w8vqrmyrx169wj8wyw7r8i37-bash it works there on dover! In order to reproduce the problem, you can log into dover.guix.info and then run guix build -s i686-linux json-c . Andreas knows more and can do much more on that machine. --Sig_/wY_7.3I/07s.Hica3=8jwvP Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl90a7oACgkQ5xo1VCww uqVqAAf/Z6BV36FrHOP04WNhLmgtoTtrV4FlVa6GAL//+ZCt5AClXWxxaj7wPOwJ dd28/ygiXt41fcu8+7tYx8FDjzs2Xc7TE590JbvxjVIwsGEQZHLf/daAuHDTiM6M HvMBM2GCEQeBYP/ZjxulwulN10vhZk5dj6/VZlLbi17VKemZ2NM21DvqJyC/+kzH IiJELmFvlzXa8nUuEDQyh0R4lDlUFASjMl82vzAe0Ju2L6i+hKXz0JrySK2BtGze Y5do8Cofc3Gou54bWUgq1AXcG/76JMN/0aA9vqN7k9CCRcMHSz0+dpzC5xFdv+FN ew45vtGkbQg/jp0BKqyjTplZr+/xTw== =FDcY -----END PGP SIGNATURE----- --Sig_/wY_7.3I/07s.Hica3=8jwvP--
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 30 Sep 2020 09:10:29 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 30 05:10:29 2020 Received: from localhost ([127.0.0.1]:58148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kNY84-0005rh-KL for submit <at> debbugs.gnu.org; Wed, 30 Sep 2020 05:10:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1kNY81-0005rT-Dt for 43513 <at> debbugs.gnu.org; Wed, 30 Sep 2020 05:10:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58529) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1kNY7v-0001Tx-5L; Wed, 30 Sep 2020 05:10:19 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=58746 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1kNY7u-0002KN-F2; Wed, 30 Sep 2020 05:10:18 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Danny Milosavljevic <dannym@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> <87wo0i17vv.fsf@HIDDEN> <20200925131237.32fc61e9@HIDDEN> <20200925131856.4a1d4a1c@HIDDEN> <874knlkfsq.fsf@HIDDEN> <20200925182542.72f556d2@HIDDEN> <20200926125320.11b8f4be@HIDDEN> <87a6x87ubx.fsf@HIDDEN> <20200929124308.419282f2@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 =?utf-8?Q?Vend=C3=A9miaire?= an 229 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: Wed, 30 Sep 2020 11:10:17 +0200 In-Reply-To: <20200929124308.419282f2@HIDDEN> (Danny Milosavljevic's message of "Tue, 29 Sep 2020 12:43:08 +0200") Message-ID: <87k0wb3a12.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43513 Cc: Andreas Enge <andreas@HIDDEN>, 43513 <at> debbugs.gnu.org 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, Danny Milosavljevic <dannym@HIDDEN> skribis: > On Tue, 29 Sep 2020 12:25:54 +0200 > Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: > >> > I'd like to test what happens if one builds json-c on an aarch64 host >> > for i686. >> > >> > Could we enable qemu-binfmt for i686 on an aarch64 host for me to test= it?=20=20 >>=20 >> I think you can just run =E2=80=98qemu-i386 /path/to/your/program=E2=80= =99; no need for >> the whole binfmt_misc shebang. > > Sure, but I want to know what happens to json-c. That sounds like a lot = of > manual invocations (like about 20000--for invocations of "configure", "gc= c", > including all the dependencies etcetc). Do we know which bit of json-c=E2=80=99s =E2=80=98configure=E2=80=99 draws = an incorrect conclusion? > Andreas Enge already tried to configure dover.guix.info to uses qemu-binf= mt > to emulate i686-linux, but apparently it doesn't work (on dover.guix.info= ): > > building /gnu/store/7wz8nqh6nkfqz6l780i6i34c6wa6ic6q-guile-bootstrap-2.0.= drv... > \builder for `/gnu/store/7wz8nqh6nkfqz6l780i6i34c6wa6ic6q-guile-bootstrap= -2.0.drv' failed with exit code 1 > build of /gnu/store/7wz8nqh6nkfqz6l780i6i34c6wa6ic6q-guile-bootstrap-2.0.= drv failed > View build log at '/var/log/guix/drvs/7w/z8nqh6nkfqz6l780i6i34c6wa6ic6q-g= uile-bootstrap-2.0.drv.bz2'. > > bash-5.0$ bzless /var/log/guix/drvs/7w/z8nqh6nkfqz6l780i6i34c6wa6ic6q-gui= le-bootstrap-2.0.drv.bz2 > ------> /var/log/guix/drvs/7w/z8nqh6nkfqz6l780i6i34c6wa6ic6q-guile-bootst= rap-2.0.drv.bz2 <------ > while setting up the build environment: executing `/gnu/store/mzfkrxd4w8v= qrmyrx169wj8wyw7r8i37-bash': No such file or directory That=E2=80=99s to little context for me to say much (I=E2=80=99d need to se= e the command at least) but it could be that it=E2=80=99s trying to run i686 code on ARM = or similar. Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Danny Milosavljevic <dannym@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Danny Milosavljevic <dannym@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Danny Milosavljevic <dannym@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Danny Milosavljevic <dannym@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 29 Sep 2020 11:05:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 29 07:05:43 2020 Received: from localhost ([127.0.0.1]:55039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kNDS3-0001w7-84 for submit <at> debbugs.gnu.org; Tue, 29 Sep 2020 07:05:43 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:59632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kNDS0-0001vv-GX for 43513 <at> debbugs.gnu.org; Tue, 29 Sep 2020 07:05:41 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id C6D6C3365338; Tue, 29 Sep 2020 13:05:38 +0200 (CEST) Date: Tue, 29 Sep 2020 13:05:11 +0200 From: Danny Milosavljevic <dannym@HIDDEN> To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200929130511.4573c01f@HIDDEN> In-Reply-To: <20200929124308.419282f2@HIDDEN> References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> <87wo0i17vv.fsf@HIDDEN> <20200925131237.32fc61e9@HIDDEN> <20200925131856.4a1d4a1c@HIDDEN> <874knlkfsq.fsf@HIDDEN> <20200925182542.72f556d2@HIDDEN> <20200926125320.11b8f4be@HIDDEN> <87a6x87ubx.fsf@HIDDEN> <20200929124308.419282f2@HIDDEN> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/KlHqA8OhdGNsrgmbnAp/u3H"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43513 Cc: 43513 <at> debbugs.gnu.org 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 (-) --Sig_/KlHqA8OhdGNsrgmbnAp/u3H Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 29 Sep 2020 12:43:08 +0200 Danny Milosavljevic <dannym@HIDDEN> wrote: > /gnu/store/mzfkrxd4w8vqrmyrx169wj8wyw7r8i37-bash Also, this file exists, and is for i686, and if I invoke it using /gnu/store/mzfkrxd4w8vqrmyrx169wj8wyw7r8i37-bash -c "echo foo" then it works (which means the qemu transparent emulation picks it us). --Sig_/KlHqA8OhdGNsrgmbnAp/u3H Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9zFOcACgkQ5xo1VCww uqWIOggAodueuItVyBGluXBGH/oC96g2r4/kRNPx6+Sd9i0p1AMgw34F8oxIohDd sX8QqkYNPY77l1oKKZjpMhbuKRBgxyID/uF3v9a/aIe1uwK0wsHTds0TU36juxmh Twjwwr4FlnVojNvC3lHCHo9WR3zRsA8QxS7YewgCL3ZT3aUMOGcjSXNmBjxgS+7g EPm3tz58UvxGGjgVy5EX2IbF64ltEYs//quE+JuoGzjHCL/37acFnz2phkiHbgsw nEpR+GrPAVDq5E6IPvtWDmuTeH0720qClji17VNcxUxies/E86FLmXGktw/6q5zw J+kk/0MyBiWAPrM1ePZKS7vo1HErLA== =zZOQ -----END PGP SIGNATURE----- --Sig_/KlHqA8OhdGNsrgmbnAp/u3H--
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 29 Sep 2020 10:43:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 29 06:43:41 2020 Received: from localhost ([127.0.0.1]:55010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kND6j-0001Mq-IH for submit <at> debbugs.gnu.org; Tue, 29 Sep 2020 06:43:41 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:57638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kND6h-0001Mf-84 for 43513 <at> debbugs.gnu.org; Tue, 29 Sep 2020 06:43:40 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 9B5E63363FDB; Tue, 29 Sep 2020 12:43:36 +0200 (CEST) Date: Tue, 29 Sep 2020 12:43:08 +0200 From: Danny Milosavljevic <dannym@HIDDEN> To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200929124308.419282f2@HIDDEN> In-Reply-To: <87a6x87ubx.fsf@HIDDEN> References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> <87wo0i17vv.fsf@HIDDEN> <20200925131237.32fc61e9@HIDDEN> <20200925131856.4a1d4a1c@HIDDEN> <874knlkfsq.fsf@HIDDEN> <20200925182542.72f556d2@HIDDEN> <20200926125320.11b8f4be@HIDDEN> <87a6x87ubx.fsf@HIDDEN> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/TbFo0G_oeij=eL5DSfCvcmk"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43513 Cc: Andreas Enge <andreas@HIDDEN>, 43513 <at> debbugs.gnu.org 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 (-) --Sig_/TbFo0G_oeij=eL5DSfCvcmk Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, On Tue, 29 Sep 2020 12:25:54 +0200 Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: > > I'd like to test what happens if one builds json-c on an aarch64 host > > for i686. > > > > Could we enable qemu-binfmt for i686 on an aarch64 host for me to test = it? =20 >=20 > I think you can just run =E2=80=98qemu-i386 /path/to/your/program=E2=80= =99; no need for > the whole binfmt_misc shebang. Sure, but I want to know what happens to json-c. That sounds like a lot of manual invocations (like about 20000--for invocations of "configure", "gcc", including all the dependencies etcetc). Andreas Enge already tried to configure dover.guix.info to uses qemu-binfmt to emulate i686-linux, but apparently it doesn't work (on dover.guix.info): building /gnu/store/7wz8nqh6nkfqz6l780i6i34c6wa6ic6q-guile-bootstrap-2.0.dr= v... \builder for `/gnu/store/7wz8nqh6nkfqz6l780i6i34c6wa6ic6q-guile-bootstrap-2= .0.drv' failed with exit code 1 build of /gnu/store/7wz8nqh6nkfqz6l780i6i34c6wa6ic6q-guile-bootstrap-2.0.dr= v failed View build log at '/var/log/guix/drvs/7w/z8nqh6nkfqz6l780i6i34c6wa6ic6q-gui= le-bootstrap-2.0.drv.bz2'. bash-5.0$ bzless /var/log/guix/drvs/7w/z8nqh6nkfqz6l780i6i34c6wa6ic6q-guile= -bootstrap-2.0.drv.bz2 ------> /var/log/guix/drvs/7w/z8nqh6nkfqz6l780i6i34c6wa6ic6q-guile-bootstra= p-2.0.drv.bz2 <------ while setting up the build environment: executing `/gnu/store/mzfkrxd4w8vqr= myrx169wj8wyw7r8i37-bash': No such file or directory --Sig_/TbFo0G_oeij=eL5DSfCvcmk Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9zD7wACgkQ5xo1VCww uqXxOQgAnzYeIszNvkOwEVAx96x6JBXDB1ZHXv+3QTYFN7qb0nn/griHPTzO+q0M CWyhqRQ4K0oU3JKV4Msud1aTsLjPLECebHavShn1t5ZMb18DCKOCWLvZ5PDCdeC6 VXoMAtwVTIlblpFtvLJ4B2q09B8lQwKuL9LdEFTHLFFbUMy7IPdkgcVPYudnatgH RdwqIqB7KFfoDqUUHCexbcGuKeVgr1tuPS+Z+zTEUmepXIcApVHu7qGI9LD6ziUE QIL9x/aw3AT6XzQBCWg116ZZKj1DoGZpaEfyK6Rvb0Y6gGwCLt2bs+mGmt2bfrrb rqBP7yXe6LwAyRm0BeLilVw1T3hsng== =V10v -----END PGP SIGNATURE----- --Sig_/TbFo0G_oeij=eL5DSfCvcmk--
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 29 Sep 2020 10:26:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 29 06:26:05 2020 Received: from localhost ([127.0.0.1]:54995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kNCpg-0000wa-SH for submit <at> debbugs.gnu.org; Tue, 29 Sep 2020 06:26:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1kNCpe-0000w7-SW for 43513 <at> debbugs.gnu.org; Tue, 29 Sep 2020 06:26:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35196) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1kNCpZ-0005fp-GG; Tue, 29 Sep 2020 06:25:57 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=57772 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1kNCpX-0001TX-RH; Tue, 29 Sep 2020 06:25:56 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Danny Milosavljevic <dannym@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> <87wo0i17vv.fsf@HIDDEN> <20200925131237.32fc61e9@HIDDEN> <20200925131856.4a1d4a1c@HIDDEN> <874knlkfsq.fsf@HIDDEN> <20200925182542.72f556d2@HIDDEN> <20200926125320.11b8f4be@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 8 =?utf-8?Q?Vend=C3=A9miaire?= an 229 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: Tue, 29 Sep 2020 12:25:54 +0200 In-Reply-To: <20200926125320.11b8f4be@HIDDEN> (Danny Milosavljevic's message of "Sat, 26 Sep 2020 12:53:20 +0200") Message-ID: <87a6x87ubx.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43513 Cc: 43513 <at> debbugs.gnu.org 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, Danny Milosavljevic <dannym@HIDDEN> skribis: > I'd like to test what happens if one builds json-c on an aarch64 host > for i686. > > Could we enable qemu-binfmt for i686 on an aarch64 host for me to test it? I think you can just run =E2=80=98qemu-i386 /path/to/your/program=E2=80=99;= no need for the whole binfmt_misc shebang. HTH, Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 27 Sep 2020 11:33:29 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 27 07:33:29 2020 Received: from localhost ([127.0.0.1]:48507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kMUvp-0002ns-BX for submit <at> debbugs.gnu.org; Sun, 27 Sep 2020 07:33:29 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:51870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kMUvm-0002nj-TW for 43513 <at> debbugs.gnu.org; Sun, 27 Sep 2020 07:33:27 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 4AEE33368273; Sun, 27 Sep 2020 13:33:25 +0200 (CEST) Date: Sun, 27 Sep 2020 13:32:59 +0200 From: Danny Milosavljevic <dannym@HIDDEN> To: Andreas Enge <andreas@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200927133259.6e7b1421@HIDDEN> In-Reply-To: <20200927095027.GA4962@jurong> References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> <87wo0i17vv.fsf@HIDDEN> <20200925131237.32fc61e9@HIDDEN> <20200925131856.4a1d4a1c@HIDDEN> <874knlkfsq.fsf@HIDDEN> <20200925182542.72f556d2@HIDDEN> <20200926125320.11b8f4be@HIDDEN> <20200927095027.GA4962@jurong> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/Q7_q+XbyDDvu3oAqQ6tb.iP"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43513 Cc: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN>, 43513 <at> debbugs.gnu.org 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 (-) --Sig_/Q7_q+XbyDDvu3oAqQ6tb.iP Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hmm, /home/dannym is missing there. I can log in but not pull. --Sig_/Q7_q+XbyDDvu3oAqQ6tb.iP Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9weGsACgkQ5xo1VCww uqUPhggAl3WZajX0fTSW6g/A5mjeOm7SSajiYvfB/Db/nCkt5EWWCGB9dNR3ga6Q SHfkXl50rRb1Z9IOM5KgRSccn+02DYMwuuFjx+M2bM1UobQENBYol3sYT2ONPVvV DrdkhrVIw2So57InLnL9kbwQYlJ+5Ee6UTyDuAwoqEmzDGKE34NiQ6I1i0MGqRTX X6Be/slhUFBQC9c4H5T+C9wUYFf13j0AltTh7E6yoNArI2+7vmSSyl2NpV0lMofb EZ5LGs1qXPPVTU+BQd2lA3g73y6SmtBT/go48pJ9kH9Fvj+h1ySYjR67Oo5Cpj47 NjcUUsWSnWLyUN2CxMNAyGpU6hCtBw== =HDkZ -----END PGP SIGNATURE----- --Sig_/Q7_q+XbyDDvu3oAqQ6tb.iP--
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 27 Sep 2020 09:50:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 27 05:50:35 2020 Received: from localhost ([127.0.0.1]:48353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kMTKF-0006Mj-DS for submit <at> debbugs.gnu.org; Sun, 27 Sep 2020 05:50:35 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:36758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <andreas@HIDDEN>) id 1kMTKD-0006Ma-5C for 43513 <at> debbugs.gnu.org; Sun, 27 Sep 2020 05:50:33 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 60D56E7D; Sun, 27 Sep 2020 11:50:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LpLgQxHwEsjI; Sun, 27 Sep 2020 11:50:30 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:910:103f::d87]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 633FBE79; Sun, 27 Sep 2020 11:50:30 +0200 (CEST) Date: Sun, 27 Sep 2020 11:50:27 +0200 From: Andreas Enge <andreas@HIDDEN> To: Danny Milosavljevic <dannym@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200927095027.GA4962@jurong> References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> <87wo0i17vv.fsf@HIDDEN> <20200925131237.32fc61e9@HIDDEN> <20200925131856.4a1d4a1c@HIDDEN> <874knlkfsq.fsf@HIDDEN> <20200925182542.72f556d2@HIDDEN> <20200926125320.11b8f4be@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200926125320.11b8f4be@HIDDEN> X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 43513 Cc: Ludovic =?iso-8859-15?Q?Court=E8s?= <ludo@HIDDEN>, 43513 <at> debbugs.gnu.org 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: -0.3 (/) Hello Danny, On Sat, Sep 26, 2020 at 12:53:20PM +0200, Danny Milosavljevic wrote: > I'd like to test what happens if one builds json-c on an aarch64 host > for i686. > Could we enable qemu-binfmt for i686 on an aarch64 host for me to test it? > One machine is enough--I'd just run > guix environment -s i686-linux gcc-toolchain -- gcc -o a00 -D_FILE_OFFSET_BITS=xxx a00.c > and then later > guix build -s i686-linux json-c you can give it a try on dover.guix.info, but you should be ready for a wait: As other build machines, it does not use substitutes, so everything will be built locally using qemu-binfmt. Maybe you could import what is needed for the "guix environment" from an i686 machine? I would suggest to do a "guix pull --commit=0939462e3f81bc98b38bdb7610e6a80ca1cbaa1b", since this is the version already available on the machine. Andreas
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 26 Sep 2020 17:20:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 26 13:20:37 2020 Received: from localhost ([127.0.0.1]:47701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kMDsD-0001MU-M9 for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 13:20:37 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:60482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <andreas@HIDDEN>) id 1kMDsA-0001ML-Q3 for 43513 <at> debbugs.gnu.org; Sat, 26 Sep 2020 13:20:35 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 117B2ECE; Sat, 26 Sep 2020 19:20:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5paJDmGqkkNt; Sat, 26 Sep 2020 19:20:31 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:910:103f::7ed]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 4B705EC7; Sat, 26 Sep 2020 19:20:31 +0200 (CEST) Date: Sat, 26 Sep 2020 19:20:29 +0200 From: Andreas Enge <andreas@HIDDEN> To: Danny Milosavljevic <dannym@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200926172029.GA9866@jurong> References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> <87wo0i17vv.fsf@HIDDEN> <20200925131237.32fc61e9@HIDDEN> <20200925131856.4a1d4a1c@HIDDEN> <874knlkfsq.fsf@HIDDEN> <20200925182542.72f556d2@HIDDEN> <20200926125320.11b8f4be@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200926125320.11b8f4be@HIDDEN> X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 43513 Cc: Ludovic =?iso-8859-15?Q?Court=E8s?= <ludo@HIDDEN>, 43513 <at> debbugs.gnu.org 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: -0.3 (/) Hello Danny, On Sat, Sep 26, 2020 at 12:53:20PM +0200, Danny Milosavljevic wrote: > Could we enable qemu-binfmt for i686 on an aarch64 host for me to test it? I am working (or rather, the machine is compiling) to set it up on dover. When it is finished, I will keep you updated (it may take a while, since I did a "guix pull", and now it will also compile a new kernel). Andreas
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 26 Sep 2020 10:53:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 26 06:53:46 2020 Received: from localhost ([127.0.0.1]:45908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kM7pq-0006Hr-M1 for submit <at> debbugs.gnu.org; Sat, 26 Sep 2020 06:53:46 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:57746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kM7po-0006Hh-E6 for 43513 <at> debbugs.gnu.org; Sat, 26 Sep 2020 06:53:45 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id AD78833655C7; Sat, 26 Sep 2020 12:53:43 +0200 (CEST) Date: Sat, 26 Sep 2020 12:53:20 +0200 From: Danny Milosavljevic <dannym@HIDDEN> To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200926125320.11b8f4be@HIDDEN> In-Reply-To: <20200925182542.72f556d2@HIDDEN> References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> <87wo0i17vv.fsf@HIDDEN> <20200925131237.32fc61e9@HIDDEN> <20200925131856.4a1d4a1c@HIDDEN> <874knlkfsq.fsf@HIDDEN> <20200925182542.72f556d2@HIDDEN> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/uIzmFhYqZmZNTx6ZfcH6_TZ"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43513 Cc: 43513 <at> debbugs.gnu.org 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 (-) --Sig_/uIzmFhYqZmZNTx6ZfcH6_TZ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, On Fri, 25 Sep 2020 18:25:42 +0200 Danny Milosavljevic <dannym@HIDDEN> wrote: > On Fri, 25 Sep 2020 18:00:05 +0200 > Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: >=20 > > You=E2=80=99re listed in overdrive.scm in maintenance.git, so you must = have > > access to overdrive1.guixsd.org:52522. =20 >=20 > Indeed, I do. >=20 > Thanks! I'd like to test what happens if one builds json-c on an aarch64 host for i686. Could we enable qemu-binfmt for i686 on an aarch64 host for me to test it? One machine is enough--I'd just run guix environment -s i686-linux gcc-toolchain -- gcc -o a00 -D_FILE_OFFSET= _BITS=3Dxxx a00.c and then later guix build -s i686-linux json-c on it. a00.c: #include <stdio.h> #include <errno.h> #include <assert.h> #include <dirent.h> #if defined( __ILP32__ ) #warning ILP32 #endif int main() { DIR* d; struct dirent* ent; d =3D opendir("tmp"); errno =3D 0; assert(sizeof(ent->d_off) =3D=3D sizeof(off_t)); while ((ent =3D readdir(d)) !=3D NULL) { printf("off=3D%llX, ino=3D%llX\n", (unsigned long long) ent= ->d_off, (unsigned long long) ent->d_ino); } if (errno) perror("readdir"); return sizeof(off_t); } --Sig_/uIzmFhYqZmZNTx6ZfcH6_TZ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9vHaAACgkQ5xo1VCww uqXtogf+Nsm7FF9rNtoFKQU6QQS0q9cOTYmSlcmgbVifSTgf82aObAGBP9XeQnS3 i/IhZj22IcLYbvNCrryR1+qhyR+e29fqCQhHzUBPxBDH8NarCag4URFfZyAE0k4X qL4YfRs8KEQgd2DOBzGbvbNAQyYS1fKN1SONNiYs/lXn2lfwPrFVildy7E1XuZ23 CsTFrxCsPDHZI2NkfImuh13ucKLoXd56eU3xqNNNAHbilIohBZU1gmA052TZ4rhN 3YBbA3VvZ5OM/2Dy1X4wR8aWO1pENaqOUaZXsceQmkqpAYlWn1XAcfCYGodg3vMa xJfFVgFbeALCanzBm3fGmD78Nl7W7Q== =adFG -----END PGP SIGNATURE----- --Sig_/uIzmFhYqZmZNTx6ZfcH6_TZ--
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 25 Sep 2020 16:38:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 25 12:38:14 2020 Received: from localhost ([127.0.0.1]:45208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kLqje-0003Zb-B9 for submit <at> debbugs.gnu.org; Fri, 25 Sep 2020 12:38:14 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:42860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kLqjc-0003ZT-PD for 43513 <at> debbugs.gnu.org; Fri, 25 Sep 2020 12:38:13 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 428223368413; Fri, 25 Sep 2020 18:38:11 +0200 (CEST) Date: Fri, 25 Sep 2020 18:37:20 +0200 From: Danny Milosavljevic <dannym@HIDDEN> To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200925183720.472220de@HIDDEN> In-Reply-To: <20200925182326.402aa6f2@HIDDEN> References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> <87wo0i17vv.fsf@HIDDEN> <20200925131237.32fc61e9@HIDDEN> <87wo0hj13l.fsf@HIDDEN> <20200925182326.402aa6f2@HIDDEN> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/L/07kMXKRU5S1amE2LirMA1"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43513 Cc: 43513 <at> debbugs.gnu.org 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 (-) --Sig_/L/07kMXKRU5S1amE2LirMA1 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > [1] "man getdents64" does not list EOVERFLOW--at least not for me. I meant "man readdir" --Sig_/L/07kMXKRU5S1amE2LirMA1 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9uHMAACgkQ5xo1VCww uqWPgwgAlEg9jMLx/WDB7tbrQuwH2EzkGU/Kd+XaWmezgmcBenkbR/E2gQIquN8m 8SubKQWmMpBEi0sEJe7Xm4t2AgsDXTIwoYFEWGz3Ob6d724RCaiY5vAhwhdcEKMS ZOusM++HAD3afRdfW0RUU7LjdWy3X3sM04sO39+M6fU8OBfrd+kJmb7l81NCGt/o FPal1q7ntzmsyaDnjGA9eo1P3GV9Tid+WW5jn9pqmBqvK4jwaJstZo7F2TYpzFe6 K7F66kcZe5iJvsJawFgJWZePGwhdZBuohbgR0AtQdp05H5WA7wSg8nhJcG+BWkib 1LYIW66/9gdqeOWV8n6dGretG5DK/A== =Cvxp -----END PGP SIGNATURE----- --Sig_/L/07kMXKRU5S1amE2LirMA1--
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 25 Sep 2020 16:26:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 25 12:26:08 2020 Received: from localhost ([127.0.0.1]:45183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kLqXw-0003GD-0P for submit <at> debbugs.gnu.org; Fri, 25 Sep 2020 12:26:08 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:41796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kLqXu-0003G5-DK for 43513 <at> debbugs.gnu.org; Fri, 25 Sep 2020 12:26:07 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id AEB3E3368534; Fri, 25 Sep 2020 18:26:05 +0200 (CEST) Date: Fri, 25 Sep 2020 18:25:42 +0200 From: Danny Milosavljevic <dannym@HIDDEN> To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200925182542.72f556d2@HIDDEN> In-Reply-To: <874knlkfsq.fsf@HIDDEN> References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> <87wo0i17vv.fsf@HIDDEN> <20200925131237.32fc61e9@HIDDEN> <20200925131856.4a1d4a1c@HIDDEN> <874knlkfsq.fsf@HIDDEN> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/T3hTjFtckVRozjK7OqFYfFm"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43513 Cc: 43513 <at> debbugs.gnu.org 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 (-) --Sig_/T3hTjFtckVRozjK7OqFYfFm Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, On Fri, 25 Sep 2020 18:00:05 +0200 Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: > You=E2=80=99re listed in overdrive.scm in maintenance.git, so you must ha= ve > access to overdrive1.guixsd.org:52522. Indeed, I do. Thanks! --Sig_/T3hTjFtckVRozjK7OqFYfFm Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9uGgYACgkQ5xo1VCww uqVtjQf/fvkjp0Dpk+qXGVyCj52AwXSMQHw9DjM4jGM1WMusae6SZj7jJqHVpwsm E8s+3FLRtw3F3b2e05Ofpsl69/EBjtU1zIFw93WBQE83wny/qc95zzEBsh7PZrNA tN3/g4R96qUDCCP9iS5xk2en61swStoWINWr7mNd9Oarm5HYanZ5Se/uJZJLQwHf /Zcyom/LoNXB4uc6W0hyBve957wD8vjexdxTa/RrfoxawCZtzCgFKNXEEVWi025V Ok+tjC/3VSLVkN6qi/kmjAhk7rkFj7DFQY01xUuhEFRixYbI/rwbtJ0pkGh+PSM4 aHfOdoE12WbkqITS2GGsez6lD1IXKg== =WltV -----END PGP SIGNATURE----- --Sig_/T3hTjFtckVRozjK7OqFYfFm--
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 25 Sep 2020 16:24:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 25 12:24:21 2020 Received: from localhost ([127.0.0.1]:45179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kLqWD-0003DF-LK for submit <at> debbugs.gnu.org; Fri, 25 Sep 2020 12:24:21 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:41648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kLqWB-0003D7-KE for 43513 <at> debbugs.gnu.org; Fri, 25 Sep 2020 12:24:20 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 38C873368534; Fri, 25 Sep 2020 18:24:18 +0200 (CEST) Date: Fri, 25 Sep 2020 18:23:26 +0200 From: Danny Milosavljevic <dannym@HIDDEN> To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200925182326.402aa6f2@HIDDEN> In-Reply-To: <87wo0hj13l.fsf@HIDDEN> References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> <87wo0i17vv.fsf@HIDDEN> <20200925131237.32fc61e9@HIDDEN> <87wo0hj13l.fsf@HIDDEN> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/5=gZNvCW1UBpui28Ro3bgMU"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43513 Cc: 43513 <at> debbugs.gnu.org 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 (-) --Sig_/5=gZNvCW1UBpui28Ro3bgMU Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, On Fri, 25 Sep 2020 18:02:54 +0200 Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: > What are the odds of a build succeeding in the presence of broken > getdents/readdir? Wouldn=E2=80=99t such builds simply fail (as in the CM= ake > case), as opposed to succeeding but somehow producing invalid binaries? I don't know what hashing mechanism ext4 uses, but I guess the odds are not that high IF THE DIRECTORY IS RANDOM. If it's crafted by a malicious perso= n, all bets are off. However, notice that glibc can only fail out of readdir once it gets an *ac= tual* value >=3D 2**32. It's totally possible in principle to have a directory w= ith 200 entries, the first 100 of which have d_off < 2**32, and the 101st has d_off >=3D 2**32. Readdir will only stop after having given back 100 entri= es to the caller. The caller most likely will process those 100 entries. That's it, you've just forgotten to install/copy/read/whatever half the fil= es. Technically the caller could examine errno to find out that something bad happened while using readdir, but odds are that they don't (I haven't seen anyone do that in my entire career)--and also the error code they are using is undocumented[1]. So even a person who would check wouldn't expect this error value (errno =3D=3D EOVERFLOW). In short, it won't work in practice. > We can still disabled emulated builds on ci.guix.gnu.org, but let=E2=80= =99s > first make sure we understand the practical impact of this bug. We need non-emulated builds to compare. If a real ARM machine uses substitutes for anything, it probably picks up now-untrustworthy builds made by x86_64 for ARM and builds on top of those. Or don't they use substitutes? In that case everything would be OK-ish. Otherwise huge mess... [1] "man getdents64" does not list EOVERFLOW--at least not for me. --Sig_/5=gZNvCW1UBpui28Ro3bgMU Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9uGX4ACgkQ5xo1VCww uqWi9wgAm4mQhsA+mCqSiaPLDJr7y7QuqAZ/xU9WjKqIbGCQHZJZyveeOr64B2OV xDuVXzn2yc/P4Ot3mMm1+EuW85FXKcIG3y7xwd5kA0+d0oSfHBQOrBru2Xw7ezMD 734V3Fh79KzHSjhL/rBrdl3dJ+nwRas5Ap5jKJpgtB15HKDqyPS1F6+Sooxmxr/J SKuEd8vwsKrS+WmDpTWJoWh1BJkcqQsIOl9rA1kk1WlYU25buysKHSdFzUmZ1EBN d/F8+O5B1/jBQM8EpEkYjG2LvgWX1oqizP9UZ9G3OZ8lM1NaYF+13hdtWtJhJMNn OwHKPnuFRI4lzqpUzMyM35MCPhHE3A== =E3hj -----END PGP SIGNATURE----- --Sig_/5=gZNvCW1UBpui28Ro3bgMU--
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 25 Sep 2020 16:03:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 25 12:03:08 2020 Received: from localhost ([127.0.0.1]:45137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kLqBg-0002fT-B0 for submit <at> debbugs.gnu.org; Fri, 25 Sep 2020 12:03:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1kLqBe-0002f4-Sn for 43513 <at> debbugs.gnu.org; Fri, 25 Sep 2020 12:03:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39430) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1kLqBZ-0003DY-K7; Fri, 25 Sep 2020 12:03:01 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33098 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1kLqBT-0005oz-9g; Fri, 25 Sep 2020 12:02:57 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Danny Milosavljevic <dannym@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> <87wo0i17vv.fsf@HIDDEN> <20200925131237.32fc61e9@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 =?utf-8?Q?Vend=C3=A9miaire?= an 229 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, 25 Sep 2020 18:02:54 +0200 In-Reply-To: <20200925131237.32fc61e9@HIDDEN> (Danny Milosavljevic's message of "Fri, 25 Sep 2020 13:13:22 +0200") Message-ID: <87wo0hj13l.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43513 Cc: 43513 <at> debbugs.gnu.org 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 (---) Danny Milosavljevic <dannym@HIDDEN> skribis: > On Fri, 25 Sep 2020 12:13:40 +0200 > Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: > >> Let=E2=80=99s fix CMake (and JSON-C?) in =E2=80=98core-updates=E2=80=99 = or =E2=80=98staging=E2=80=99 (using a >> graft for CMake wouldn=E2=80=99t help because CMake is used at build tim= e.) > > Sure--cmake upstream will fix it anyway and make a new release. > > But I now opened bug# 43591 on guix-patches in order to find all the OTHER > problems this causes we didn't see yet. I already ran it on my laptop in > order to find all the users trying to stick a 64-bit value into a 32-bit > slot and it looks very bad--there are instances of this problem in libstd= c++, > binutils bfd etcetc. Hmm, it=E2=80=99s this bad? > I suggest to delete all ARM substitutes that were built on x86_64 machines > and disable the builders using x86_64 to build ARM stuff in the mean time. > What that has built is VERY MUCH not reliable since readdir() was broken > sporadically--and compilers need that :P What are the odds of a build succeeding in the presence of broken getdents/readdir? Wouldn=E2=80=99t such builds simply fail (as in the CMake case), as opposed to succeeding but somehow producing invalid binaries? We can still disabled emulated builds on ci.guix.gnu.org, but let=E2=80=99s first make sure we understand the practical impact of this bug. > I thought this matter with making everyone use LFS was settled in about > 2007--but no, here we go again :( Yeah. :-/ Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 25 Sep 2020 16:00:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 25 12:00:18 2020 Received: from localhost ([127.0.0.1]:45133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kLq8v-0002b8-PI for submit <at> debbugs.gnu.org; Fri, 25 Sep 2020 12:00:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1kLq8u-0002av-A0 for 43513 <at> debbugs.gnu.org; Fri, 25 Sep 2020 12:00:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39342) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1kLq8n-0002TW-5y; Fri, 25 Sep 2020 12:00:09 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33096 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1kLq8l-0008CU-3W; Fri, 25 Sep 2020 12:00:07 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Danny Milosavljevic <dannym@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> <87wo0i17vv.fsf@HIDDEN> <20200925131237.32fc61e9@HIDDEN> <20200925131856.4a1d4a1c@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 =?utf-8?Q?Vend=C3=A9miaire?= an 229 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, 25 Sep 2020 18:00:05 +0200 In-Reply-To: <20200925131856.4a1d4a1c@HIDDEN> (Danny Milosavljevic's message of "Fri, 25 Sep 2020 13:18:56 +0200") Message-ID: <874knlkfsq.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43513 Cc: 43513 <at> debbugs.gnu.org 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 (---) Danny Milosavljevic <dannym@HIDDEN> skribis: > On Fri, 25 Sep 2020 13:13:22 +0200 > Danny Milosavljevic <dannym@HIDDEN> wrote: > >> I do not think the X86_32 compatibility layer works on aarch64, so now w= e have >> a problem. That means building stuff for ARMv7 on aarch64 is not reliab= le at >> all. > > Hmm. > > Could I have access to a aarch64 build machine? You=E2=80=99re listed in overdrive.scm in maintenance.git, so you must have access to overdrive1.guixsd.org:52522. Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 25 Sep 2020 11:19:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 25 07:19:23 2020 Received: from localhost ([127.0.0.1]:42864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kLll5-0001LU-A0 for submit <at> debbugs.gnu.org; Fri, 25 Sep 2020 07:19:23 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:41934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kLll3-0001LN-R7 for 43513 <at> debbugs.gnu.org; Fri, 25 Sep 2020 07:19:22 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id E728D3367690; Fri, 25 Sep 2020 13:19:20 +0200 (CEST) Date: Fri, 25 Sep 2020 13:18:56 +0200 From: Danny Milosavljevic <dannym@HIDDEN> To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200925131856.4a1d4a1c@HIDDEN> In-Reply-To: <20200925131237.32fc61e9@HIDDEN> References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> <87wo0i17vv.fsf@HIDDEN> <20200925131237.32fc61e9@HIDDEN> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/em7KpjDbCD8FACtF9=yNQht"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43513 Cc: 43513 <at> debbugs.gnu.org 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 (-) --Sig_/em7KpjDbCD8FACtF9=yNQht Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 25 Sep 2020 13:13:22 +0200 Danny Milosavljevic <dannym@HIDDEN> wrote: > I do not think the X86_32 compatibility layer works on aarch64, so now we= have > a problem. That means building stuff for ARMv7 on aarch64 is not reliabl= e at > all. Hmm. Could I have access to a aarch64 build machine? Or am I able to cause a aarch64 build machine to evaluate a new wip branch? I want to find out what it actually does in the case that aarch64 is used to run armv7 stuff. Does it have a compat layer in the kernel or not? How about all the other 64 bit architectures that have a 32 bit compat fallback in hardware? Do those have a compat layer in the kernel or not? --Sig_/em7KpjDbCD8FACtF9=yNQht Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9t0iAACgkQ5xo1VCww uqWRhAgAiK9kxke/Y5MRBMMip3RNCRplrWBFwN1bR3TOM0aCTkwW80J674ByTVom iY8wzBxZnqWU3KJ4TboL5Sm0TsgnRum7b7WpZRq1uEnwPs2nYpJWxWfStL0zzSrM F0Et1nqzJ2N6dk57UTQgDFwTuGCiEx2D1DuV2j6HkqO52wN5MqhuefoP4EgS5bOU t2cDnkol3+x40QvY7t0Z/pEOOiXHY90xLrCbf/zEEEK8XZ9GOFkx9C2Ieo6PM4r0 cT8TMC1WSA6b5ubpLrZPIr6k2H3L6sBMf+UZKUO6hof0o3KwgliLEsXI7WFR1Xl8 V76v+LHZkzOPLN9PK0+for6M+S3j3Q== =Jzv8 -----END PGP SIGNATURE----- --Sig_/em7KpjDbCD8FACtF9=yNQht--
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 25 Sep 2020 11:14:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 25 07:14:20 2020 Received: from localhost ([127.0.0.1]:42849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kLlgC-0001Cp-Le for submit <at> debbugs.gnu.org; Fri, 25 Sep 2020 07:14:20 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:41442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kLlg9-0001Cf-92 for 43513 <at> debbugs.gnu.org; Fri, 25 Sep 2020 07:14:19 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id B5B483363FDB; Fri, 25 Sep 2020 13:14:15 +0200 (CEST) Date: Fri, 25 Sep 2020 13:13:22 +0200 From: Danny Milosavljevic <dannym@HIDDEN> To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200925131237.32fc61e9@HIDDEN> In-Reply-To: <87wo0i17vv.fsf@HIDDEN> References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> <87wo0i17vv.fsf@HIDDEN> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/9l0DOs/iTGvC+rpHr2/TFTB"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43513 Cc: 43513 <at> debbugs.gnu.org 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 (-) --Sig_/9l0DOs/iTGvC+rpHr2/TFTB Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, On Fri, 25 Sep 2020 12:13:40 +0200 Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: > Let=E2=80=99s fix CMake (and JSON-C?) in =E2=80=98core-updates=E2=80=99 o= r =E2=80=98staging=E2=80=99 (using a > graft for CMake wouldn=E2=80=99t help because CMake is used at build time= .) Sure--cmake upstream will fix it anyway and make a new release. But I now opened bug# 43591 on guix-patches in order to find all the OTHER problems this causes we didn't see yet. I already ran it on my laptop in order to find all the users trying to stick a 64-bit value into a 32-bit slot and it looks very bad--there are instances of this problem in libstdc+= +, binutils bfd etcetc. I suggest to delete all ARM substitutes that were built on x86_64 machines and disable the builders using x86_64 to build ARM stuff in the mean time. What that has built is VERY MUCH not reliable since readdir() was broken sporadically--and compilers need that :P > It doesn=E2=80=99t make sense to cross-compile from x86_64 to i686. Inst= ead we > should use a native build, but an i686 one: >=20 > (package/inherit qemu > (arguments `(#:system "i686-linux" ,@(package-arguments qemu)))) Sure. I'm still hoping we can skip the workaround and do the right thing instead (compiling everything with -D_FILE_OFFSET_BITS=3D64 regardless of architect= ure). I thought this matter with making everyone use LFS was settled in about 2007--but no, here we go again :( Even if we did the workaround with qemu here, that still means the kernel (via a compatibility layer) is going to lie to qemu about file offsets and directory entry hashes. That doesn't sound good for reproducibility. Also, I want to be clear that qemu is not at fault here. It's fundamentally unsound to call getdents64 and expect a value with less than 64 bits back. But that is what glibc does. Users (other packages) who use _FILE_OFFSET_BITS=3D32 (by not setting _FILE_OFFSET_BITS at all) in 2020, those are at fault. > Likewise for AArch64/ARMv7. I do not think the X86_32 compatibility layer works on aarch64, so now we h= ave a problem. That means building stuff for ARMv7 on aarch64 is not reliable = at all. The right fix is to always use "-D_FILE_OFFSET_BITS=3D64" in user space. T= hen none of this weird stuff needs to be done. --Sig_/9l0DOs/iTGvC+rpHr2/TFTB Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9t0NIACgkQ5xo1VCww uqVZFQf7ByjxtzbOpP5VuFBPsuWRsXJvHOYhpTJLXkgLv0/sDx7Xp0PDvlE7Ec99 Scd7US21nTu1z7SKJoI1RcKJ4vPZQYefobr9a6NYUaXz99J+4rp2x77U+IT+DzIN k+3Z/4kMv6rHZ8iJkB5tVM9H3MJSY8CIxGBPdVlLyi1Uap2eY2r/B3Yi+59wz2jD R3Mz4OBUg5jlqIJwcW7/0LRLxU2PGny42pPlX7DukVUExhoGNiGSMgkt9W/GludP op/9wOKaKFk48vdsUbsLgal9p/bfSn0qKnKXkju2B6T1iD5HFJ0XOpsA9OTcnTbr qO1EZEuUuUZLbfU0Pz8Ovoooe7f2tg== =6a2J -----END PGP SIGNATURE----- --Sig_/9l0DOs/iTGvC+rpHr2/TFTB--
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Ludovic Courtès <ludo@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Ludovic Courtès <ludo@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 25 Sep 2020 10:13:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 25 06:13:50 2020 Received: from localhost ([127.0.0.1]:42747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kLkje-0001Yh-4p for submit <at> debbugs.gnu.org; Fri, 25 Sep 2020 06:13:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1kLkjc-0001YR-L6 for 43513 <at> debbugs.gnu.org; Fri, 25 Sep 2020 06:13:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55029) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1kLkjX-0006vH-85; Fri, 25 Sep 2020 06:13:43 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60840 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1kLkjW-0006Xg-M0; Fri, 25 Sep 2020 06:13:43 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Danny Milosavljevic <dannym@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 =?utf-8?Q?Vend=C3=A9miaire?= an 229 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, 25 Sep 2020 12:13:40 +0200 In-Reply-To: <20200921134855.2ed40eb0@HIDDEN> (Danny Milosavljevic's message of "Mon, 21 Sep 2020 14:22:26 +0200") Message-ID: <87wo0i17vv.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43513 Cc: 43513 <at> debbugs.gnu.org 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 Danny! Danny Milosavljevic <dannym@HIDDEN> skribis: > I found the underlying cause of the problem with qemu transparent emulati= on: > > * qemu transparent emulator has 64 bit registers > * the thing it's emulating has 32 bit registers > * The glibc in the distro that is running in the emulator is using getden= ts64 > (on 32 bits!) and then (rightfully) checking whether d_off and the inode = number > fit into their own (32 bits/entry) struct, which they don't (the thing th= ey get > from the kernel is 64 bits/entry). Looks very much like the CMake-on-emulated-hardware issue several of us encountered before: https://issues.guix.gnu.org/38454#3 https://issues.guix.gnu.org/42448 Glad you found an explanation! (I see you also posted <https://issues.guix.gnu.org/43591>.) > See also https://lore.kernel.org/lkml/20181229015453.GA6310@HIDDEN= adead.org/T/ > for an analysis. > > See also https://sourceware.org/bugzilla/show_bug.cgi?id=3D23960 for a di= scussion. Woow. > Least-shitty workaround: Use a 32-bit qemu (yes, a qemu compiled on 32 bi= t) > on a 64 bit machine for transparent emulation of ANOTHER 32-bit machine. > That way, the kernel can know that there's a 32 bit user lurking somewher= e up > the call chain that is calling getdents64 and is not actually able to pro= cess the > result. "The truth? It can't handle the truth." OK. > The right fix: One could also tell all the packages in the emulated > system to use the large file size API (-D_FILE_OFFSET_BITS=3D64 and co). = In this > case cmake is affected--but it could be any number of things. I think th= at that > is the only good fix (we could also add a compile-time check whether <dir= ent.h> > has been included without anyone specifying -D_FILE_OFFSET_BITS=3D64--tha= t would > make finding these problems a LOT easier; if possible, emit that compile-= time > error only if readdir is actually called anywhere). Yes; that user-space should be built with -D_FILE_OFFSET_BITS=3D64 is also the conclusion at <https://sourceware.org/bugzilla/show_bug.cgi?id=3D23960#c32>. Let=E2=80=99s fix CMake (and JSON-C?) in =E2=80=98core-updates=E2=80=99 or = =E2=80=98staging=E2=80=99 (using a graft for CMake wouldn=E2=80=99t help because CMake is used at build time.) > +(define (closest-cross-compiled-qemu qemu target-bits) > + "Cross-compile QEMU for the given TARGET-BITS platform that is closest= to > +the actual host architecture, if possible. This is in order to prevent > +https://lore.kernel.org/lkml/20181229015453.GA6310@HIDDEN= g/T/" > + (define (cross-compiled-qemu target) > + (package > + (inherit qemu) > + (arguments > + (substitute-keyword-arguments (package-arguments qemu) > + ((#:configure-flags flags) > + `(cons ,(string-append "--cross-prefix=3D" target "-") > + ,flags)))) > + (native-inputs > + `(("cross-gcc" ,(cross-gcc target)) > + ("cross-binutils" ,(cross-binutils target)) > + ,@(package-native-inputs qemu))))) > + (match target-bits > + (64 qemu) > + (32 (match (register-width (%current-system)) > + (32 qemu) > + (64 (match (%current-system) > + ("x86_64-linux" > + (cross-compiled-qemu (nix-system->gnu-triplet "i686-linux"= ))) > + ("aarch64-linux" > + (cross-compiled-qemu "arm-linux-gnueabihf")) > + (_ (begin > + ;; TODO: Print warning > + qemu)))))))) It doesn=E2=80=99t make sense to cross-compile from x86_64 to i686. Instea= d we should use a native build, but an i686 one: (package/inherit qemu (arguments `(#:system "i686-linux" ,@(package-arguments qemu)))) Likewise for AArch64/ARMv7. How does that sound? Thanks, Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Ludovic Courtès <ludo@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 21 Sep 2020 12:45:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 21 08:45:55 2020 Received: from localhost ([127.0.0.1]:53708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kKLCd-0004VM-8B for submit <at> debbugs.gnu.org; Mon, 21 Sep 2020 08:45:55 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:54630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kKLCb-0004Sq-Rp for 43513 <at> debbugs.gnu.org; Mon, 21 Sep 2020 08:45:54 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id E0FFA3360821 for <43513 <at> debbugs.gnu.org>; Mon, 21 Sep 2020 14:45:51 +0200 (CEST) Date: Mon, 21 Sep 2020 14:44:41 +0200 From: Danny Milosavljevic <dannym@HIDDEN> To: 43513 <at> debbugs.gnu.org Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200921144441.4b58d775@HIDDEN> In-Reply-To: <20200921134855.2ed40eb0@HIDDEN> References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/rI9NIxqgFvSw0Fn52gy17lh"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43513 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 (-) --Sig_/rI9NIxqgFvSw0Fn52gy17lh Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > to have 64 bit offsets or 32 bit offsets[1]. Right now, from user space,= that > is only possible via process personality flags. Or via CONFIG_X86_X32, which exposes extra syscalls ON x86_64 ONLY. I guess that would be better than nothing--although glibc would have to look seriously strange to use those: Even on ARM, it would have to try this sys= call first, and then the normal one. I don't think that that is reasonable to a= dd to glibc. --Sig_/rI9NIxqgFvSw0Fn52gy17lh Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9ooDkACgkQ5xo1VCww uqUIOAf9ESCd+on4RNsqrv6/EGlu39MMapytX5Vz/GxIKC6yQGD+Y+yuIqsU7Pm3 Y7jDvoAolLRxYBSlAQqxuRz7apud8jl83xiVdPL7w40EJxvPu5z9ofNpcLg2ZqgE aB18RGkt679HAJ0hjEMJFJ3tlAEoXNk25xhlRFzSpazJwPHk9yRz4Hf8N58dOk6h zDOxThOBIJu7o7xwc/Wc2GnLQkZk020mKwwXMH2Iz8Q+tkcRMrXvYcOytHLFGuPV SBliyxMkXsJ2Z0mYFoZd8l4N1UOY99bz8XnVIcjEN7vv5mcgrU5KEKir32zFqq2G dl15Dmr0vpRNxiRH2lTixhYikTXw4g== =oAi2 -----END PGP SIGNATURE----- --Sig_/rI9NIxqgFvSw0Fn52gy17lh--
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 21 Sep 2020 12:24:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 21 08:24:20 2020 Received: from localhost ([127.0.0.1]:53645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kKKrj-00034p-QB for submit <at> debbugs.gnu.org; Mon, 21 Sep 2020 08:24:20 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:52754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kKKri-00034i-4T for 43513 <at> debbugs.gnu.org; Mon, 21 Sep 2020 08:24:18 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 5F217336013F for <43513 <at> debbugs.gnu.org>; Mon, 21 Sep 2020 14:24:17 +0200 (CEST) Date: Mon, 21 Sep 2020 14:23:59 +0200 From: Danny Milosavljevic <dannym@HIDDEN> To: 43513 <at> debbugs.gnu.org Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200921142359.37a60189@HIDDEN> In-Reply-To: <20200921134855.2ed40eb0@HIDDEN> References: <20200919173628.423331da@HIDDEN> <20200921134855.2ed40eb0@HIDDEN> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/jpq7baHirJZBuNna0+SSw1T"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43513 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 (-) --Sig_/jpq7baHirJZBuNna0+SSw1T Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Kernel side: https://bugzilla.kernel.org/show_bug.cgi?id=3D205957 --Sig_/jpq7baHirJZBuNna0+SSw1T Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9om18ACgkQ5xo1VCww uqVyuwgAjRUKQmnnS3xzdOhQZf155cu2I0o8Gmh7agRjSQbqmXcpTuaQ1rhFvml9 2B5WXWrFxPf0eG/vwOL9mLsw6naC/YyUfC+yF3BUODJqNjIkj33DZWNKETXNQHuR 4ZHpMrFp+75iH1tKFXq3gfTunlCcmcvtG2wx3X5u8q8ZyMBvhESyclBlK2xFKYvG 4GWnK5JGGT9c0GsnSfHR40AWuPq5FXIt3gqVpe7oVk60FkJjO411hVuodRWTfADV PKLC4LqDiPkj36uT1olXKVhcQCQ5BT+LmAPmH3GqxDkapI/Q9NmBfMXUXK8OYxiP sLGU6fDcc+a7dPDYf4u3yql9IET+DQ== =0of2 -----END PGP SIGNATURE----- --Sig_/jpq7baHirJZBuNna0+SSw1T--
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 21 Sep 2020 12:22:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 21 08:22:50 2020 Received: from localhost ([127.0.0.1]:53640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kKKqH-000321-VO for submit <at> debbugs.gnu.org; Mon, 21 Sep 2020 08:22:50 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:52604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kKKqE-00031r-UL for 43513 <at> debbugs.gnu.org; Mon, 21 Sep 2020 08:22:48 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 2DCFB336013F; Mon, 21 Sep 2020 14:22:45 +0200 (CEST) Date: Mon, 21 Sep 2020 14:22:26 +0200 From: Danny Milosavljevic <dannym@HIDDEN> To: 43513 <at> debbugs.gnu.org, <ludo@HIDDEN> Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200921134855.2ed40eb0@HIDDEN> In-Reply-To: <20200919173628.423331da@HIDDEN> References: <20200919173628.423331da@HIDDEN> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/vPS14S29omxnO4TH9b/IuZZ"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43513 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 (-) --Sig_/vPS14S29omxnO4TH9b/IuZZ Content-Type: multipart/mixed; boundary="MP_/Viv1tPanKIDOnV68zPcOVbm" --MP_/Viv1tPanKIDOnV68zPcOVbm Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I found the underlying cause of the problem with qemu transparent emulation: * qemu transparent emulator has 64 bit registers * the thing it's emulating has 32 bit registers * The glibc in the distro that is running in the emulator is using getdents= 64 (on 32 bits!) and then (rightfully) checking whether d_off and the inode nu= mber fit into their own (32 bits/entry) struct, which they don't (the thing they= get from the kernel is 64 bits/entry). See also https://lore.kernel.org/lkml/20181229015453.GA6310@HIDDEN= ead.org/T/ for an analysis. See also https://sourceware.org/bugzilla/show_bug.cgi?id=3D23960 for a disc= ussion. Least-shitty workaround: Use a 32-bit qemu (yes, a qemu compiled on 32 bit) on a 64 bit machine for transparent emulation of ANOTHER 32-bit machine. That way, the kernel can know that there's a 32 bit user lurking somewhere = up the call chain that is calling getdents64 and is not actually able to proce= ss the result. "The truth? It can't handle the truth." The right fix: One could also tell all the packages in the emulated system to use the large file size API (-D_FILE_OFFSET_BITS=3D64 and co). I= n this case cmake is affected--but it could be any number of things. I think that= that is the only good fix (we could also add a compile-time check whether <diren= t.h> has been included without anyone specifying -D_FILE_OFFSET_BITS=3D64--that = would make finding these problems a LOT easier; if possible, emit that compile-ti= me error only if readdir is actually called anywhere). For the workaround, we could adapt Guix system's gnu/services/virtualizatio= n.scm so it uses a qemu built for the 32-bit variant of the host architecture if = it's emulating a 32 bit system. So qemu could be compiled for i686 if the host is x86_64 and the emulated system is armhf, qemu could be compiled for armhf if the host is aarch64 and the emulated sy= stem is armhf and so on. That also means that if a host system is 64 bits and DOES NOT HAVE a 32 bit pendant target, then the emulation of a 32 bit system is going to be imperf= ect. One way to fix that would be to fix the kernel to accept an argument on the getdents64 syscall (and similar ones) that tells it whether the user wa= nts to have 64 bit offsets or 32 bit offsets[1]. Right now, from user space, t= hat is only possible via process personality flags. And those would switch the entire qemu executable over to 32 bits, which we don't want (qemu itself has to do stuff using kernel syscalls, so it needs to be capable of 64 bits if it itself is 64 bits). And I think that even that case is not being handled in the kernel correctly. So this fix cannot be done. @Ludo: Anyway, I have a question on how to replicate what "guix build --target=3Di= 686..." does, in the guix service definition. How can I make it use package-cross-derivation instead of package-derivation ? See attachment. With the attachment and the service definition (service qemu-binfmt-service-type (qemu-binfmt-configuration (platforms (lookup-qemu-platforms "arm")) (guix-support? #t))) in order to emulate ARM on x86_64 I eventually get: >Building qemu-minimal for i686 (That's what I want!) >[...] >starting phase `configure' > >ERROR: pkg-config binary 'i686-unknown-linux-gnu-pkg-config' not found pkg-config has not been cross-compiled... That's because it's not using package-cross-derivation, I guess. >command "./configure" "--cc=3D/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-= gcc-7.5.0/bin/gcc" "--host-cc=3D/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk= -gcc-7.5.0/bin/gcc" "--disable-debug-info" "--enable-virtfs" "--prefix=3D/g= nu/store/80ljf47lrh8arrzjmkrrqxghc0k67b3s-qemu-minimal-5.1.0" "--sysconfdir= =3D/etc" "--cross-prefix=3Di686-unknown-linux-gnu-" "--target-list=3Di386-s= oftmmu,x86_64-softmmu" failed with status 1 I think that "--cc" should use ,(cc-for-target) at all times. Better this: diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.= scm index 53e9dde125..bf712afd4a 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -227,7 +227,7 @@ (setenv "LDFLAGS" "-lrt") (apply invoke `("./configure" - ,(string-append "--cc=3D" (which "gcc")) + ,(string-append "--cc=3D" ,(cc-for-target)) ;; Some architectures insist on using HOST_CC ,(string-append "--host-cc=3D" (which "gcc")) "--disable-debug-info" ; save build space [1] A way for userspace to tell the kernel that is to use getdents instad of getdents64 on 32 bits, like it used to. But they don't want to do that any= more. Another way would be for qemu to translate a syscall getdents64 from the gu= est to getdents on the host if the machine they are emulating is 32 bits. But = that would mean that getdents on a 64 bit host would still have to act like it's 32 bits and translate the d_off accordingly. That's not guaranteed[2]. Or even using the old readdir syscall. [2] Linux-5.8.8: [... CONFIG_COMPAT ...] SYSCALL_DEFINE3(getdents, unsigned int, fd, struct linux_dirent __user *, dirent, unsigned int, count) { struct fd f; struct getdents_callback buf =3D { .ctx.actor =3D filldir, .count =3D count, .current_dir =3D dirent }; int error; f =3D fdget_pos(fd); if (!f.file) return -EBADF; error =3D iterate_dir(f.file, &buf.ctx); if (error >=3D 0) error =3D buf.error; if (buf.prev_reclen) { struct linux_dirent __user * lastdirent; lastdirent =3D (void __user *)buf.current_dir - buf.prev_re= clen; if (put_user(buf.ctx.pos, &lastdirent->d_off)) error =3D -EFAULT; else error =3D count - buf.count; } fdput_pos(f); return error; } It's not guaranteed. --MP_/Viv1tPanKIDOnV68zPcOVbm Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=services-qemu-transparent-emulation-make-more-exact.patch diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.= scm index 20e104f48c..77f15ba07b 100644 --- a/gnu/services/virtualization.scm +++ b/gnu/services/virtualization.scm @@ -23,6 +23,7 @@ #:use-module (gnu bootloader grub) #:use-module (gnu image) #:use-module (gnu packages admin) + #:use-module (gnu packages cross-base) #:use-module (gnu packages ssh) #:use-module (gnu packages virtualization) #:use-module (gnu services base) @@ -554,12 +555,13 @@ potential infinite waits blocking libvirt.")) =20 ;; Platforms that QEMU can emulate. (define-record-type <qemu-platform> - (qemu-platform name family magic mask) + (qemu-platform name family register-width magic mask) qemu-platform? - (name qemu-platform-name) ;string - (family qemu-platform-family) ;string - (magic qemu-platform-magic) ;bytevector - (mask qemu-platform-mask)) ;bytevector + (name qemu-platform-name) ;string + (family qemu-platform-family) ;string + (register-width qemu-platform-register-width) ;int, in b= its + (magic qemu-platform-magic) ;bytevector + (mask qemu-platform-mask)) ;bytevector =20 (define-syntax bv (lambda (s) @@ -576,123 +578,123 @@ potential infinite waits blocking libvirt.")) ;;; 'scripts/qemu-binfmt-conf.sh' in QEMU. =20 (define %i386 - (qemu-platform "i386" "i386" + (qemu-platform "i386" "i386" 32 (bv "\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x02\x00\x03\x00") (bv "\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff= \xff\xff\xff\xfe\xff\xff\xff"))) =20 (define %i486 - (qemu-platform "i486" "i386" + (qemu-platform "i486" "i386" 32 (bv "\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x02\x00\x06\x00") (bv "\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff= \xff\xff\xff\xfe\xff\xff\xff"))) =20 (define %alpha - (qemu-platform "alpha" "alpha" + (qemu-platform "alpha" "alpha" 64 (bv "\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x02\x00\x26\x90") (bv "\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff= \xff\xff\xff\xfe\xff\xff\xff"))) =20 (define %arm - (qemu-platform "arm" "arm" + (qemu-platform "arm" "arm" 32 (bv "\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x02\x00\x28\x00") (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff= \xff\xff\xff\xfe\xff\xff\xff"))) =20 (define %armeb - (qemu-platform "armeb" "arm" + (qemu-platform "armeb" "arm" 32 (bv "\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x00\x02\x00\x28") (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff= \xff\xff\xff\xff\xfe\xff\xff"))) =20 (define %sparc - (qemu-platform "sparc" "sparc" + (qemu-platform "sparc" "sparc" 32 ; FIXME check (bv "\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x00\x02\x00\x02") (bv "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff= \xff\xff\xff\xff\xfe\xff\xff"))) =20 (define %sparc32plus - (qemu-platform "sparc32plus" "sparc" + (qemu-platform "sparc32plus" "sparc" 32 ; FIXME check (bv "\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x00\x02\x00\x12") (bv "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff= \xff\xff\xff\xff\xfe\xff\xff"))) =20 (define %ppc - (qemu-platform "ppc" "ppc" + (qemu-platform "ppc" "ppc" 32 (bv "\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x00\x02\x00\x14") (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff= \xff\xff\xff\xff\xfe\xff\xff"))) =20 (define %ppc64 - (qemu-platform "ppc64" "ppc" + (qemu-platform "ppc64" "ppc" 64 (bv "\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x00\x02\x00\x15") (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff= \xff\xff\xff\xff\xfe\xff\xff"))) =20 (define %ppc64le - (qemu-platform "ppc64le" "ppcle" + (qemu-platform "ppc64le" "ppcle" 64 (bv "\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x02\x00\x15\x00") (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff= \xff\xff\xff\xfe\xff\xff\x00"))) =20 (define %m68k - (qemu-platform "m68k" "m68k" + (qemu-platform "m68k" "m68k" 32 (bv "\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x00\x02\x00\x04") (bv "\xff\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff= \xff\xff\xff\xff\xfe\xff\xff"))) =20 ;; XXX: We could use the other endianness on a MIPS host. (define %mips - (qemu-platform "mips" "mips" + (qemu-platform "mips" "mips" 32 (bv "\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x00\x02\x00\x08") (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff= \xff\xff\xff\xff\xfe\xff\xff"))) =20 (define %mipsel - (qemu-platform "mipsel" "mips" + (qemu-platform "mipsel" "mips" 32 (bv "\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x02\x00\x08\x00") (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff= \xff\xff\xff\xfe\xff\xff\xff"))) =20 (define %mipsn32 - (qemu-platform "mipsn32" "mips" + (qemu-platform "mipsn32" "mips" 32 ; FIXME check (bv "\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x00\x02\x00\x08") (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff= \xff\xff\xff\xff\xfe\xff\xff"))) =20 (define %mipsn32el - (qemu-platform "mipsn32el" "mips" + (qemu-platform "mipsn32el" "mips" 32 ; FIXME check (bv "\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x02\x00\x08\x00") (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff= \xff\xff\xff\xfe\xff\xff\xff"))) =20 (define %mips64 - (qemu-platform "mips64" "mips" + (qemu-platform "mips64" "mips" 64 (bv "\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x00\x02\x00\x08") (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff= \xff\xff\xff\xff\xfe\xff\xff"))) =20 (define %mips64el - (qemu-platform "mips64el" "mips" + (qemu-platform "mips64el" "mips" 64 (bv "\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x02\x00\x08\x00") (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff= \xff\xff\xff\xfe\xff\xff\xff"))) =20 (define %riscv32 - (qemu-platform "riscv32" "riscv" + (qemu-platform "riscv32" "riscv" 32 ; FIXME (bv "\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x02\x00\xf3\x00") (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff= \xff\xff\xff\xfe\xff\xff\xff"))) =20 (define %riscv64 - (qemu-platform "riscv64" "riscv" + (qemu-platform "riscv64" "riscv" 64 (bv "\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x02\x00\xf3\x00") (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff= \xff\xff\xff\xfe\xff\xff\xff"))) =20 (define %sh4 - (qemu-platform "sh4" "sh4" + (qemu-platform "sh4" "sh4" 32 (bv "\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x02\x00\x2a\x00") (bv "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff= \xff\xff\xff\xfe\xff\xff\xff"))) =20 (define %sh4eb - (qemu-platform "sh4eb" "sh4" + (qemu-platform "sh4eb" "sh4" 32 (bv "\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x00\x02\x00\x2a") (bv "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff= \xff\xff\xff\xff\xfe\xff\xff"))) =20 (define %s390x - (qemu-platform "s390x" "s390x" + (qemu-platform "s390x" "s390x" 64 (bv "\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x00\x02\x00\x16") (bv "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff= \xff\xff\xff\xff\xfe\xff\xff"))) =20 (define %aarch64 - (qemu-platform "aarch64" "arm" + (qemu-platform "aarch64" "arm" 64 (bv "\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x02\x00\xb7\x00") (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff= \xff\xff\xff\xfe\xff\xff\xff"))) =20 (define %hppa - (qemu-platform "hppa" "hppa" + (qemu-platform "hppa" "hppa" 32 (bv "\x7f\x45\x4c\x46\x01\x02\x01\x00\x00\x00\x00\x00\x00= \x00\x00\x00\x00\x02\x00\x0f") (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff= \xff\xff\xff\xff\xfe\xff\xff"))) =20 @@ -712,12 +714,48 @@ potential infinite waits blocking libvirt.")) qemu-binfmt-configuration make-qemu-binfmt-configuration qemu-binfmt-configuration? (qemu qemu-binfmt-configuration-qemu - (default qemu)) + (default qemu-minimal)) (platforms qemu-binfmt-configuration-platforms (default '())) ;safest default (guix-support? qemu-binfmt-configuration-guix-support? (default #f))) =20 +(define (register-width system) + (match (%current-system) + ("i686-linux" 32) + ("armhf-linux" 32) + ("aarch64-linux" 64) + ("x86_64-linux" 64))) + +(define (closest-cross-compiled-qemu qemu target-bits) + "Cross-compile QEMU for the given TARGET-BITS platform that is closest to +the actual host architecture, if possible. This is in order to prevent +https://lore.kernel.org/lkml/20181229015453.GA6310@HIDDEN/= T/" + (define (cross-compiled-qemu target) + (package + (inherit qemu) + (arguments + (substitute-keyword-arguments (package-arguments qemu) + ((#:configure-flags flags) + `(cons ,(string-append "--cross-prefix=3D" target "-") + ,flags)))) + (native-inputs + `(("cross-gcc" ,(cross-gcc target)) + ("cross-binutils" ,(cross-binutils target)) + ,@(package-native-inputs qemu))))) + (match target-bits + (64 qemu) + (32 (match (register-width (%current-system)) + (32 qemu) + (64 (match (%current-system) + ("x86_64-linux" + (cross-compiled-qemu (nix-system->gnu-triplet "i686-linux"))) + ("aarch64-linux" + (cross-compiled-qemu "arm-linux-gnueabihf")) + (_ (begin + ;; TODO: Print warning + qemu)))))))) + (define (qemu-platform->binfmt qemu platform) "Return a gexp that evaluates to a binfmt string for PLATFORM, using the given QEMU package." @@ -732,12 +770,13 @@ given QEMU package." (bytevector->u8-list bv)))) =20 (match platform - (($ <qemu-platform> name family magic mask) + (($ <qemu-platform> name family register-width magic mask) ;; See 'Documentation/binfmt_misc.txt' in the kernel. #~(string-append ":qemu-" #$name ":M::" #$(bytevector->binfmt-string magic) ":" #$(bytevector->binfmt-string mask) - ":" #$(file-append qemu "/bin/qemu-" name) + ":" #$(file-append (closest-cross-compiled-qemu qemu= register-width) + "/bin/qemu-" name) ":" ;FLAGS go here )))) =20 --MP_/Viv1tPanKIDOnV68zPcOVbm-- --Sig_/vPS14S29omxnO4TH9b/IuZZ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9omwIACgkQ5xo1VCww uqUOEAf/f5fivmpMwTEJus4fOX94uPxsd0BYqyeXJ4TKJDlnyxQ3Fn9Ev8H56hb2 CN5ywUbG0bB8yiVvRJmPJxvuCFf4/873wWVgp9U2cBZRwsaHRV6PHcTcyUZ2ERhs ptY9SjNzuNYwOnyjPh/+mUpm6KrK8strQt8FJSYRj/vPFZ2HUhiwE4wWatRRqxlX 0ic3If+tDIF2Y/wNEZgg03PX73ncjOZ+0syABFt6iyYC7HwVf1tEer9ogL3KQX9E DbUteMlYy8veppFalQt1pILyRS9hbEJas3nWyfWy3DgXZb2kujIzixJpoUHEpf3z RY97rNeURQEBgkVACHR2kUOwWiAipg== =beSN -----END PGP SIGNATURE----- --Sig_/vPS14S29omxnO4TH9b/IuZZ--
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at 43513) by debbugs.gnu.org; 19 Sep 2020 21:05:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 19 17:05:36 2020 Received: from localhost ([127.0.0.1]:48245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kJk36-0002yW-GS for submit <at> debbugs.gnu.org; Sat, 19 Sep 2020 17:05:36 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:49248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kJk34-0002yN-FN for 43513 <at> debbugs.gnu.org; Sat, 19 Sep 2020 17:05:35 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id C45323361708 for <43513 <at> debbugs.gnu.org>; Sat, 19 Sep 2020 23:05:32 +0200 (CEST) Date: Sat, 19 Sep 2020 23:05:14 +0200 From: Danny Milosavljevic <dannym@HIDDEN> To: 43513 <at> debbugs.gnu.org Subject: Re: bug#43513: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200919230514.53f0d88a@HIDDEN> In-Reply-To: <20200919173628.423331da@HIDDEN> References: <20200919173628.423331da@HIDDEN> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/oojsbSv6UVTREXZlGgxbBRB"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43513 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 (-) --Sig_/oojsbSv6UVTREXZlGgxbBRB Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable More info: https://gitlab.kitware.com/cmake/cmake/-/issues/20568 https://gitlab.kitware.com/utils/kwsys/-/merge_requests/187 > Furthermore, I'd like to ask: Why is json-c a dependency in the first pla= ce ? Because of sdl2. I've removed sdl2 from the native-inputs of u-boot and added it to the native-inputs of u-boot-tools in guix master commit 6b1253718d1d660e7a91bd59a96bdb16d7c5e0b3. So now only this fails: $ guix build -s armhf-linux u-boot-tools --Sig_/oojsbSv6UVTREXZlGgxbBRB Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9mcooACgkQ5xo1VCww uqWFrwgAnu0BWfVJXlmf35OE6Z15krkyt4QAjsLMz7mnxSJonL/Itm+4Nm3uGJ8+ qvkYo0YJSGjsSTs9XPkHO+NO6T1c7+UqI/R+Dx9qOSMqW50DZeF5V4E+AOfz/YG+ 5CiArR+Kk4P46SduAorDycegs16je/fICsz7K9+nCBxHx6QEXzV0Gst2TjuA3ifo 9dh6WbPY95/0c/kGian4v2+cDcTN/n/g1ENwebKTGXaOx5/0E9dgU+fLYKR5ez6w UNi3G+8moUvRCl5Md2VwTJU7aU8bZo7l8H0+sO9Y352V05WbRz1On1y7y6uTPbJx ZHLTZfD9frbWCF9njEJ+l0LllwMyaQ== =R6xI -----END PGP SIGNATURE----- --Sig_/oojsbSv6UVTREXZlGgxbBRB--
bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 19 Sep 2020 15:37:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 19 11:37:38 2020 Received: from localhost ([127.0.0.1]:47827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kJevh-00035E-QV for submit <at> debbugs.gnu.org; Sat, 19 Sep 2020 11:37:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:60488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kJevf-000355-H9 for submit <at> debbugs.gnu.org; Sat, 19 Sep 2020 11:37:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dannym@HIDDEN>) id 1kJevZ-0001xJ-Ji for bug-guix@HIDDEN; Sat, 19 Sep 2020 11:37:30 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:55026) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dannym@HIDDEN>) id 1kJevT-0004M7-Cj for bug-guix@HIDDEN; Sat, 19 Sep 2020 11:37:28 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id F0BA233612FE for <bug-guix@HIDDEN>; Sat, 19 Sep 2020 17:37:13 +0200 (CEST) Date: Sat, 19 Sep 2020 17:36:28 +0200 From: Danny Milosavljevic <dannym@HIDDEN> To: <bug-guix@HIDDEN> Subject: json-c build failure (on armhf-linux) while trying to build u-boot Message-ID: <20200919173628.423331da@HIDDEN> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/_zv.f.U.cctL+dv+ZfBg1dV"; protocol="application/pgp-signature"; micalg=pgp-sha512 Received-SPF: none client-ip=85.13.145.193; envelope-from=dannym@HIDDEN; helo=dd26836.kasserver.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/19 11:37:14 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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: -3.3 (---) --Sig_/_zv.f.U.cctL+dv+ZfBg1dV Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, there is a build failure in json-c: $ guix environment -s armhf-linux --pure u-boot-a20-olinuxino-micro [...] running 'cmake' with arguments ("../json-c-0.14" "-DCMAKE_BUILD_TYPE=3DRelW= ithDebInfo" "-DCMAKE_INSTALL_PREFIX=3D/gnu/store/yqaw63n8wmg7f2ncc24019z87m= 5cwhim-json-c-0.14" "-DCMAKE_INSTALL_LIBDIR=3Dlib" "-DCMAKE_INSTALL_RPATH_U= SE_LINK_PATH=3DTRUE" "-DCMAKE_INSTALL_RPATH=3D/gnu/store/yqaw63n8wmg7f2ncc2= 4019z87m5cwhim-json-c-0.14/lib" "-DCMAKE_VERBOSE_MAKEFILE=3DON") CMake Error at /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.= 16.5/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): list sub-command REMOVE_ITEM requires two or more arguments. Call Stack (most recent call first): /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPIL= ER_ID_WRITE) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILE= R_ID_BUILD) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILE= R_ID) CMakeLists.txt:10 (project) CMake Error at /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.= 16.5/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): list sub-command REMOVE_ITEM requires two or more arguments. Call Stack (most recent call first): /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPIL= ER_ID_WRITE) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILE= R_ID_BUILD) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILE= R_ID) CMakeLists.txt:10 (project) CMake Error at /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.= 16.5/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): list sub-command REMOVE_ITEM requires two or more arguments. Call Stack (most recent call first): /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPIL= ER_ID_WRITE) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILE= R_ID_BUILD) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILE= R_ID) CMakeLists.txt:10 (project) CMake Error at /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.= 16.5/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): list sub-command REMOVE_ITEM requires two or more arguments. Call Stack (most recent call first): /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPIL= ER_ID_WRITE) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILE= R_ID_BUILD) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILE= R_ID) CMakeLists.txt:10 (project) CMake Error at /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.= 16.5/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): list sub-command REMOVE_ITEM requires two or more arguments. Call Stack (most recent call first): /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPIL= ER_ID_WRITE) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILE= R_ID_BUILD) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILE= R_ID) CMakeLists.txt:10 (project) CMake Error at /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.= 16.5/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): list sub-command REMOVE_ITEM requires two or more arguments. Call Stack (most recent call first): /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPIL= ER_ID_WRITE) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILE= R_ID_BUILD) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILE= R_ID) CMakeLists.txt:10 (project) CMake Error at /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.= 16.5/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): list sub-command REMOVE_ITEM requires two or more arguments. Call Stack (most recent call first): /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPIL= ER_ID_WRITE) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILE= R_ID_BUILD) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILE= R_ID) CMakeLists.txt:10 (project) CMake Error at /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.= 16.5/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): list sub-command REMOVE_ITEM requires two or more arguments. Call Stack (most recent call first): /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPIL= ER_ID_WRITE) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILE= R_ID_BUILD) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILE= R_ID) CMakeLists.txt:10 (project) CMake Error at /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.= 16.5/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): list sub-command REMOVE_ITEM requires two or more arguments. Call Stack (most recent call first): /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPIL= ER_ID_WRITE) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILE= R_ID_BUILD) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILE= R_ID) CMakeLists.txt:10 (project) CMake Error at /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.= 16.5/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): list sub-command REMOVE_ITEM requires two or more arguments. Call Stack (most recent call first): /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPIL= ER_ID_WRITE) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILE= R_ID_BUILD) /gnu/store/8aamffn0azz4jx4m18pzw4k14sr437ly-cmake-minimal-3.16.5/share/cm= ake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILE= R_ID) CMakeLists.txt:10 (project) -- The C compiler identification is unknown [...] -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)=20 Warning: doxygen not found, the 'doc' target will not be included -- Configuring incomplete, errors occurred! See also "/tmp/guix-build-json-c-0.14.drv-0/build/CMakeFiles/CMakeOutput.lo= g". See also "/tmp/guix-build-json-c-0.14.drv-0/build/CMakeFiles/CMakeError.log= ". command "cmake" "../json-c-0.14" "-DCMAKE_BUILD_TYPE=3DRelWithDebInfo" "-DC= MAKE_INSTALL_PREFIX=3D/gnu/store/yqaw63n8wmg7f2ncc24019z87m5cwhim-json-c-0.= 14" "-DCMAKE_INSTALL_LIBDIR=3Dlib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=3DT= RUE" "-DCMAKE_INSTALL_RPATH=3D/gnu/store/yqaw63n8wmg7f2ncc24019z87m5cwhim-j= son-c-0.14/lib" "-DCMAKE_VERBOSE_MAKEFILE=3DON" failed with status 1 Compiling the C compiler identification source file "CMakeCCompilerId.c" fa= iled. Compiler: /gnu/store/z8954h4nvgxwcyy2in8c1l11g199m2yb-gcc-7.5.0/bin/gcc=20 Build flags:=20 Id flags: =20 The output was: 1 CMakeCCompilerId.c:20:52: error: expected =E2=80=98,=E2=80=99 or =E2=80=98;= =E2=80=99 before =E2=80=98COMPILER_ID=E2=80=99 char const* info_compiler =3D "INFO" ":" "compiler[" COMPILER_ID "]"; ^~~~~~~~~~~ [...] Furthermore, I'd like to ask: Why is json-c a dependency in the first place= ? $ LC_ALL=3DC guix describe Generation 124 Sep 18 2020 22:27:08 (current) guix e6ba735 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: e6ba735d685886e747a831e43a501488e15d97c7 heads 50b97d4 repository URL: https://github.com/daym/heads-guix.git branch: wip-musl commit: 50b97d446ebafd0be7a0e19d87cd236882093244 --Sig_/_zv.f.U.cctL+dv+ZfBg1dV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9mJXwACgkQ5xo1VCww uqXbjAf/XpcklLwZJe7z2T1aFt1hpqYme6wgdHZ9AZJC8vPJIAoFQQ1VzNghMkqi 21D+J4QE9uXSif5Ek5pjOFS5Dat3sGBUASstDWs26DALpCfWjhDcZiU6W7R4v1dA 8QXo0oKsrmePmTV/ZhftygyZzE6JQPwJuLlES4mHoIBR8Hu+AisVXkaCUcOEIKC/ yiargZhYIHmZ2YkSOmjPNT+CeVH8BHi+5g3ZBNDmcBF4s/GrJViG95osuA0RMxZk qT/0uI9jhfinrYMrxNuO0dwDreOclFOKEfmCQ/ylgMUySPVoHeHF4HFKnkZMJAeQ hK9u8HTGK3V7iky9RpfGQkEeOuRTrQ== =IlKf -----END PGP SIGNATURE----- --Sig_/_zv.f.U.cctL+dv+ZfBg1dV--
Danny Milosavljevic <dannym@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#43513
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.