From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AJ1kJs7ofGLjWwEAbAwnHQ (envelope-from ) for ; Thu, 12 May 2022 13:00:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eAZlJs7ofGIYHQEA9RJhRA (envelope-from ) for ; Thu, 12 May 2022 13:00:30 +0200 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 265C5238A0 for ; Thu, 12 May 2022 13:00:30 +0200 (CEST) Received: from localhost ([::1]:36094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1np6YW-0006dy-QM for larch@yhetil.org; Thu, 12 May 2022 07:00:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np6KZ-0005Dc-Hf for guix-patches@gnu.org; Thu, 12 May 2022 06:46:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45869) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1np6KY-0003jq-Ov for guix-patches@gnu.org; Thu, 12 May 2022 06:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1np6KX-0002HS-OA for guix-patches@gnu.org; Thu, 12 May 2022 06:46:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 12 May 2022 10:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55227 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jan Nieuwenhuizen Cc: 55227@debbugs.gnu.org, Thiago Jung Bauermann Received: via spool by 55227-submit@debbugs.gnu.org id=B55227.16523523228699 (code B ref 55227); Thu, 12 May 2022 10:46:01 +0000 Received: (at 55227) by debbugs.gnu.org; 12 May 2022 10:45:22 +0000 Received: from localhost ([127.0.0.1]:39766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1np6Jt-0002GD-J7 for submit@debbugs.gnu.org; Thu, 12 May 2022 06:45:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1np6Jr-0002Fu-CC for 55227@debbugs.gnu.org; Thu, 12 May 2022 06:45:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33290) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np6Jl-0003Px-4l; Thu, 12 May 2022 06:45:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=83dlBrFmfkn2DQ0IQzyt8pgatPia21DcUWxHoV+H8A4=; b=gZeg1ZYCf/eJd0s7rZ60 YtQvnZ1Nrq4PuI2lBAB1xm2dMBDtoAd35Wb0Z8jM76c38r6GllUa4cM9ZUHZ9z32VGQnkRMIDssjj RcqFKcutyiJ4PgexXbOtbAeFi1Z3Cd6gwnpkwC9JOWsaAspHRzn+Z50LoDpjDQMnscYXGJB1bk+QY 0pALvIKE87VzNKmn1S55D05umzqLpb0UOGh+3oz1goj3dXXLuuPeWNP7qRwFZRdrkQqZnqn9Bg32l 5tNzE/xsXlgLf2TMRc+tlRhPcRjLDs1zXqlC9dvYmHabPTq7Wx2kdTYkandQ2J0LE7c2AUxxjK0ug oAo+dryiLB4sUg==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=44928 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np6Jk-0000HE-Gt; Thu, 12 May 2022 06:45:12 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20220502182434.32130-1-janneke@gnu.org> <20220502182434.32130-2-janneke@gnu.org> <87ee13nyho.fsf@kolabnow.com> <87y1zbcecx.fsf@gnu.org> Date: Thu, 12 May 2022 12:45:10 +0200 In-Reply-To: <87y1zbcecx.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Mon, 09 May 2022 10:14:06 +0200") Message-ID: <87ilqbkp1l.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652353230; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=83dlBrFmfkn2DQ0IQzyt8pgatPia21DcUWxHoV+H8A4=; b=nAFmS96K1yMjhk7gT+PcunG62tbFq/+BsLkb9aenbu8+4OhE/NOUds5Uh1jHUEypeXPbYO Yb8ru8XRueypwE1I5RHQcvvAtRGSw6hAfks8DqdZP7k+zgOXUfr/qO2TFYyUcbOcOzHS4j QQUXczbtUZu5bj569QnEzAeWbEGHg03eiuftzosb8N51VGuThxBMv02PVtmaziMrR7dX5Y a84jYw+mStaLqFKxZ/PjgZ5b+hHgMlSB2lInvYr93vX8ytioTKOQyRMVjLri2sS+3P6yx5 w2OtW7WAGexFUCt5S4nGRMm1KUfHSLhynV8I5CIoSxWoqjLr0aKmtJ2QnZy9KA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652353230; a=rsa-sha256; cv=none; b=a11krZPqy1dPQLpaqu8TXmtfmdwljFy/LfQRmAb5VZ6mrA50NByrdTpNOAEGboyIaiCiA1 GsViALQJmE62W2LU3OuWDsN7JH6k3cRE9+zNTo4lqNfwW7LhpXXnejUCyki2ANyI6ruY1P rZmIdKz+WWBqgKtEpPYSe/x5PvKy2R/s5DA924hHE/R/Q5IXFpqqmy/Ri8pdLtBjX1cOsD tJ7AfuDFCxvbLgjmb/C1UPylYHvKItaM/pl7Q9WhWT9PFK67x33FhSAx7fBONsJ4Jpg1lG HvlLkG69QOoOReWMZ1craluwUcU5OtMLYlec2Syh1GVacU4Trtqzjjmzzrut0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=gZeg1ZYC; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=gZeg1ZYC; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 265C5238A0 X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: skz8eokISNqt Jan Nieuwenhuizen skribis: >>>From f013e88563f73a7513faa330c79eef2f653daf28 Mon Sep 17 00:00:00 2001 > From: "Jan (janneke) Nieuwenhuizen" > Date: Thu, 31 Dec 2020 18:25:21 +0100 > Subject: [PATCH core-updates v2 2/8] commencement: Add stage0-posix. > > Stage0-posix is a skeleton for bootstrapping all of Stage0 for POSIX syst= ems. > On x86-linux, from the 357-byte hex0-seed binary from the bootstrap-seeds= , it > builds hex0, kaem, hex1, catm, hex2, M0, cc_x86, M1, M2, > get_machine, (mescc-tools), and M2-Planet. > > * gnu/packages/commencement.scm (stage0-posix): New variable. [...] > + (name "stage0-posix") > + (version "1.4") > + (source (bootstrap-origin > + (origin > + (method url-fetch) > + (uri (string-append > + "https://lilypond.org/janneke/guix/20220502/" > + "stage0-posix-" version ".tar.gz")) Same comment as earlier regarding =E2=80=98bootstrap-origin=E2=80=99 and th= e URL. > + (supported-systems '("i686-linux" "x86_64-linux" > + "arm-linux" "aarch64-linux" > + "riscv64-linux")) Woow. :-) s/arm-linux/armhf-linux/ > + (native-inputs > + `(("bootstrap-seeds" ,bootstrap-seeds) > + ("mescc-tools" > + ,(bootstrap-origin > + (origin > + (method url-fetch) > + (uri (string-append > + "https://lilypond.org/janneke/guix/20220502/" > + "mescc-tools-" mescc-tools-version ".tar.gz")) > + (sha256 > + (base32 > + "1xi6f48pf5bhajhfis189gpizxij7nbp1vzvsb1aafhz4skkiqvg"))= ))) > + ("m2-planet" > + ,(bootstrap-origin > + (origin > + (method url-fetch) > + (uri (string-append > + "https://lilypond.org/janneke/guix/20220502/" > + "M2-Planet-" m2-planet-version ".tar.gz")) > + (sha256 > + (base32 > + "1xrn69sc5nz4hwaishqyrcidp1ncxwib9zswl45x378ddz3mmk7g"))= ))) > + ,@(%boot-gash-inputs))) Here you can avoid =E2=80=98bootstrap-origin=E2=80=99 too and add mirror://= gnu URLs. The =E2=80=9Cnew style=E2=80=9D (with gexps) doesn=E2=80=99t work well with= non-package inputs in the sense that you cannot use =E2=80=98this-package-input=E2=80=99 to ac= cess them. However, it might be simpler to not have them in =E2=80=98native-inputs=E2= =80=99 and to instead refer to them in the code, as in: #~(begin =E2=80=A6 (invoke "tar" "xvf" #$mescc-tools) =E2=80=A6) where: (define mescc-tools (origin =E2=80=A6)) > + (synopsis "The initial bootstrap package, builds stage0 up to M2-P= lanet") > + (description > + "Starting from an 357-byte hex0 provided by the bootstrap-seeds, > +stage0-posix builds hex0, kaem, hex1, catm, hex2, M0, cc_x86, M1, > +M2, get_machine, (mescc-tools), and M2-Planet.") Bonus points if you can make it a full sentence. :-) (I feel ridiculous commenting on this on a patch series that=E2=80=99s this important, but hey!) Ludo=E2=80=99.