From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8K4dEbASfmL+aQAAbAwnHQ (envelope-from ) for ; Fri, 13 May 2022 10:11:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YKDQELASfmJR7AAAauVa8A (envelope-from ) for ; Fri, 13 May 2022 10:11:28 +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 B6A058793 for ; Fri, 13 May 2022 10:11:27 +0200 (CEST) Received: from localhost ([::1]:42944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npQOU-0003Cn-11 for larch@yhetil.org; Fri, 13 May 2022 04:11:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npQN8-0003Ak-Q7 for guix-patches@gnu.org; Fri, 13 May 2022 04:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49045) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npQN8-0006y0-DY for guix-patches@gnu.org; Fri, 13 May 2022 04:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1npQN8-0004tx-6u for guix-patches@gnu.org; Fri, 13 May 2022 04:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap In-Reply-To: <20220502182105.32068-1-janneke@gnu.org> Resent-From: Jan Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 May 2022 08:10:02 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 55227@debbugs.gnu.org, Thiago Jung Bauermann Received: via spool by 55227-submit@debbugs.gnu.org id=B55227.165242935218726 (code B ref 55227); Fri, 13 May 2022 08:10:02 +0000 Received: (at 55227) by debbugs.gnu.org; 13 May 2022 08:09:12 +0000 Received: from localhost ([127.0.0.1]:42930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npQMJ-0004rw-W4 for submit@debbugs.gnu.org; Fri, 13 May 2022 04:09:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npQMI-0004rg-JG for 55227@debbugs.gnu.org; Fri, 13 May 2022 04:09:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56256) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npQMD-0006sG-4Y; Fri, 13 May 2022 04:09:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:Subject:To:From: in-reply-to; bh=qh4LQEWehy7GiXLe2IoYoSafdn+D+u2+b2hkzhtj6kM=; b=mT4NPFx/xJzgh iondLZE15vy3+ev7FDpOC9EqDQtjHEHFm7LtNHWa6jto+NFlaZc9iC4f/ox5yDdTH18KDGLqQvS06 F9zUvej7+WZwBNwqHJVLoOKXtYyGStaUAKK1LIXPlTYtxqe/HX7u9MdznpAa9nU4AZLI2zuaOmLrQ EK3ztY4a1ZXELPpoJxb4BhKbk5KYPa30jJ/rschd35PosUOuXvqEK8x6oAM262IrkxcxEqOhRfS/u vkh4SnVN+SeBSx2NIdchtUAMiT6IL/IJ8kYJP9KP2OJYGD2QmhNPnPRgDfTlcuc4LBOd7vUTqqB3x 7uWH5HjiKeH6IvtR82r/A==; Received: from 2a02-a462-da03-1-fa3e-1174-c33f-9485.fixed6.kpn.net ([2a02:a462:da03:1:fa3e:1174:c33f:9485]:47892 helo=drakenbij.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npQMB-0005oL-Jz; Fri, 13 May 2022 04:09:04 -0400 From: Jan Nieuwenhuizen Organization: AvatarAcademy.nl References: <20220502182434.32130-1-janneke@gnu.org> <20220502182434.32130-2-janneke@gnu.org> <87ee13nyho.fsf@kolabnow.com> <87y1zbcecx.fsf@gnu.org> <87ilqbkp1l.fsf_-_@gnu.org> X-Url: http://AvatarAcademy.nl Date: Fri, 13 May 2022 10:09:02 +0200 Message-ID: <87wnep4zxd.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=1652429487; 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=qh4LQEWehy7GiXLe2IoYoSafdn+D+u2+b2hkzhtj6kM=; b=WITzqWPeoKCvNhenY08JClEUoQPvaV10I+5wADkV7cEQ1DJVtbhLqba4/uYmaWoMBNcEFr YqL/922QWZ1hjb46elFNbFLhJ7BNLD/OiQ6E1KZaLZGICi8xvNIWZOaubeBCCjR+WO7jxS xVAKAFDfYZU0Rt/wq1rV42hXsuh2glTOy5FTG7cXEryP/22yNLpsDbgtLwIVzkIm7/oRAB WA4aSLFSr8iASIZ4S1MlE8OSR0KsdjOi/bunaWE26WRFJ8dmc1Pq2QZyRUMXymAi9eT+Ym 6VXz/StX2JUqRUOvyqBJdvdYA2COiPxv4FDXHe+sO27Iwlp+JDe2GuG/h0dtKw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652429487; a=rsa-sha256; cv=none; b=LaRt6f/vPZW1E1lm7FVelpYmYCr2xgGRzeYmMy2gDsR98trG+99YwvxXQhrKfbnhg/jc6c j83ED8ifBbtHa7S8ansOYlBZPDKentTHhlCDKNnCx2uVXLHZEnUpaZ/fDRq67p8S4zgt1U Zmi6DKsBH9Fi0pTL+0z4kDl2fL03DklpMy42oEQN/XdrBi7ExQGz7H54WlPsbT8k8I6Bu6 K/HTnuNUZIGjTxrTaaWkyIQ2I6gyWuUVzfVoa8ChnF7rogdVJAWUXV46SKhLlmYom3X88l nDvWF81fXunZCOV6i+6CSRs302sKxu6J6OVkA+8yVNzh6X2Q1XpyUbrcxaPpiA== 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="mT4NPFx/"; 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: -3.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="mT4NPFx/"; 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: B6A058793 X-Spam-Score: -3.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: lI7OYYixAeRQ Ludovic Court=C3=A8s writes: Hi, > Jan Nieuwenhuizen skribis: > >>>>From f013e88563f73a7513faa330c79eef2f653daf28 Mon Sep 17 00:00:00 2001 >> * gnu/packages/commencement.scm (stage0-posix): New variable. > Same comment as earlier regarding =E2=80=98bootstrap-origin=E2=80=99 and = the URL. bootstrap-origin removed and URL changed to: (uri (list (string-append "mirror://gnu/guix/mirror/" "stage0-posix-" version ".tar.gz") (string-append "https://lilypond.org/janneke/guix/20220502/" "stage0-posix-" version ".tar.gz"))) > >> + (supported-systems '("i686-linux" "x86_64-linux" >> + "arm-linux" "aarch64-linux" >> + "riscv64-linux")) > > Woow. :-) :-) Yeah, that will mean some work for us to come... > s/arm-linux/armhf-linux/ Oops. >> + (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. Ok. > The =E2=80=9Cnew style=E2=80=9D (with gexps) doesn=E2=80=99t work well wi= th non-package inputs > in the sense that you cannot use =E2=80=98this-package-input=E2=80=99 to = access 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)) Ok. I put the mescc-tools and m2-planet in the initial let. >> + (synopsis "The initial bootstrap package, builds stage0 up to M2-= Planet") >> + (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 tried: "Starting from the 357-byte hex0-seed binary provided by the bootstrap-seeds, the stage0-posix package first builds hex0 and then all the way up: hex1, catm, hex2, M0, cc_x86, M1, M2, get_machine (that's all of MesCC-Tools), and finally M2-Planet." > (I feel ridiculous commenting on this on a patch series that=E2=80=99s th= is > important, but hey!) (otoh, after putting in all this work, some polishing doesn't hurt, so: thanks!) Greetings, Janneke --=20 Jan Nieuwenhuizen | GNU LilyPond https://lilypond.org Freelance IT https://JoyOfSource.com | Avatar=C2=AE https://AvatarAcademy.c= om