From debbugs-submit-bounces@debbugs.gnu.org Fri May 13 04:09:12 2022 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 To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#55227: [PATCH core-updates 0/8] The Full Source Bootstrap 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55227 Cc: 55227@debbugs.gnu.org, Thiago Jung Bauermann X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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