From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 15rGIcOB7l4yZwAA0tVLHw (envelope-from ) for ; Sat, 20 Jun 2020 21:38:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oAAQHcOB7l6EdAAAbx9fmQ (envelope-from ) for ; Sat, 20 Jun 2020 21:38:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 026D694038F for ; Sat, 20 Jun 2020 21:38:11 +0000 (UTC) Received: from localhost ([::1]:36184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmlBh-00058O-Vh for larch@yhetil.org; Sat, 20 Jun 2020 17:38:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmlBa-00057t-D6 for bug-guix@gnu.org; Sat, 20 Jun 2020 17:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47327) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmlBa-0006jR-4E for bug-guix@gnu.org; Sat, 20 Jun 2020 17:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jmlBa-0007JK-1u for bug-guix@gnu.org; Sat, 20 Jun 2020 17:38:02 -0400 Subject: bug#41775: System cross-compilation to i585-pc-gnu vs. grafts Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Sat, 20 Jun 2020 21:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 41775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41775-done@debbugs.gnu.org Mail-Followup-To: 41775@debbugs.gnu.org, ludo@gnu.org, ludo@gnu.org Received: via spool by 41775-done@debbugs.gnu.org id=D41775.159268906128069 (code D ref 41775); Sat, 20 Jun 2020 21:38:01 +0000 Received: (at 41775-done) by debbugs.gnu.org; 20 Jun 2020 21:37:41 +0000 Received: from localhost ([127.0.0.1]:58872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmlBE-0007If-V8 for submit@debbugs.gnu.org; Sat, 20 Jun 2020 17:37:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmlBA-0007IN-Ik for 41775-done@debbugs.gnu.org; Sat, 20 Jun 2020 17:37:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44671) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmlB5-0006j0-8m for 41775-done@debbugs.gnu.org; Sat, 20 Jun 2020 17:37:31 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=43162 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jmlB4-0007hj-TS for 41775-done@debbugs.gnu.org; Sat, 20 Jun 2020 17:37:31 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87o8psla7r.fsf@inria.fr> Date: Sat, 20 Jun 2020 23:37:28 +0200 In-Reply-To: <87o8psla7r.fsf@inria.fr> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22\?\= \=\?utf-8\?Q\?'s\?\= message of "Tue, 09 Jun 2020 14:01:12 +0200") Message-ID: <87r1u9a06f.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.8 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.8 (--) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.49 X-TUID: V7+l9BebKnMH Hi, Ludovic Court=C3=A8s skribis: > Attempting to cross-build the system to i586-pc-gnu with grafts enabled > leads to something fishy: > > $ git log |head -1 > commit a50628bbe0fa4ba3835e311098e4fdf7a1d8a29e > $ ./pre-inst-env guix system build --target=3Di586-pc-gnu gnu/system/exam= ples/bare-hurd.tmpl -n > The following derivations would be built: > /gnu/store/3dphrw8kka8x3pj1xshc7wxv18spcp9s-tzdata-2019c.drv > /gnu/store/ry0pzyhawjkjmz343dda3in2fbbaax5b-net-tools-1.60-0.479bb4a.d= rv > /gnu/store/jwwsf3kky7qwbi0kswbqa76dk069hj4a-linux-libre-headers-cross-= x86_64-linux-5.4.20.drv > /gnu/store/sa56z96rixkghpf3z1rv0sqc41rfix4d-gcc-cross-sans-libc-x86_64= -linux-7.5.0.drv > /gnu/store/kcrrjh29qawb2yhsq41hvggbymnmy67h-glibc-cross-x86_64-linux-2= .31.drv > /gnu/store/lj7acjnbza54j1kv0n8imdclh70087s3-gcc-cross-x86_64-linux-7.5= .0.drv > 47.9 MB would be downloaded: > /gnu/store/1gyikmvlmdvblg5q6j2aj1dp5dln6d0v-guix-1.1.0-9.ab9e300 > /gnu/store/70qjgxkdvjsqb3q14yyam9wk8sd48azc-openldap-2.4.49 > /gnu/store/w1rm6r3dmhsvqpb5biwy0hck7swij9z1-curl-7.69.1 > /gnu/store/bbm5x79iqrwy0mcx6yr4hq3x5n641jya-git-minimal-2.26.2 > $ guix graph --path -t derivation /gnu/store/ry0pzyhawjkjmz343dda3in2fbba= ax5b-net-tools-1.60-0.479bb4a.drv /gnu/store/sa56z96rixkghpf3z1rv0sqc41rfix= 4d-gcc-cross-sans-libc-x86_64-linux-7.5.0.drv > /gnu/store/ry0pzyhawjkjmz343dda3in2fbbaax5b-net-tools-1.60-0.479bb4a.drv > /gnu/store/jwwsf3kky7qwbi0kswbqa76dk069hj4a-linux-libre-headers-cross-x86= _64-linux-5.4.20.drv > /gnu/store/sa56z96rixkghpf3z1rv0sqc41rfix4d-gcc-cross-sans-libc-x86_64-li= nux-7.5.0.drv > > The =E2=80=9Cx86_64-linux=E2=80=9D cross-toolchain look very bogus. It d= isappears when > adding =E2=80=98--no-grafts=E2=80=99. Fixed by these two commits: 9ee8b41f2b gnu: gnutls: Leave #:disallowed-references empty for GNU/Hurd. 50e7e6a065 build-system/gnu: Cross builds properly handle #:allowed-refer= ences & co. Ludo=E2=80=99.