From: Jan Nieuwenhuizen <janneke@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Preparing the reduced bootstrap tarballs
Date: Thu, 15 Nov 2018 16:44:57 +0100 [thread overview]
Message-ID: <87wopejqfa.fsf@gnu.org> (raw)
In-Reply-To: <87muqa4sn5.fsf_-_@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\?\= \=\?utf-8\?Q\?\=22's\?\= message of "Thu, 15 Nov 2018 10:06:06 +0100")
Ludovic Courtès writes:
Hi!
> (This is a followup to <https://bugs.gnu.org/33038>.)
> I (finally!) run “guix build bootstrap-tarballs” on ‘core-updates-next’,
> but that was a bit silly of me since that built the x86_64-linux
> tarballs—i.e., not the “reduced seed.”
>
> So I was about to re-run it with “-s i686-linux”, but I noticed the
> following issue in (gnu packages make-bootstrap):
>
> (define %bootstrap-tarballs
> ;; A single derivation containing all the bootstrap tarballs, for
> ;; convenience.
> (package
Ah right. I saw that several times but did not use it. I think because
initially it was of no use. It would be nice if this built everything
we need, I agree :-)
> [...]
>
> (inputs `(("guile-tarball" ,%guile-bootstrap-tarball)
> ,@(match (%current-system)
> ("i686-linux" `(("mescc-tools-seed" ,(@ (gnu packages bootstrap) %mescc-tools-seed))
> ("mes-seed" ,(@ (gnu packages bootstrap) %mes-seed))
> ("srfi-43" ,(@ (gnu packages bootstrap) %srfi-43))
> ("tinycc-seed" ,(@ (gnu packages bootstrap) %tinycc-seed))))
>
> This does not actually build the bootstrap tarballs; instead it returns
> the pre-built seeds (also the ‘%tinycc-seed’ variable doesn’t exist.)
Indeed. "mes-seed" and "tinycc-seed" are remnants of the past; the only
things we need are
> What we would need here is something to build the things listed in
> ‘%bootstrap-inputs’, namely:
> ‘linux-libre-headers-stripped-4.14.26-i686-linux.tar.xz’ (easy :-)),
> ‘mescc-tools-seed-XYZ.tar.gz’, and
> ‘mes-stripped-0.18-0.08f04f5-i686-linux.tar.xz’
So if you like, please make that change. There is only one little
thing: I have no (scripted) recipe to create mescc-tools-seed-XYZ. But
wait: I have a great excuse for that...I was too lazy or too sloppy.
The thing is, I used to build mescc-tools-seed, mes-seed and tinycc-seed
manually from the mes+mescc+tinycc source trees. Jeremiah Orians is
working to remove any need for mescc-tools-seed (esp. the forward
dependency on Mes) but I don't think we're there yet.
Anyway, I think we/I will have to put some work into scripting
mescc-tools-seed or otherwise changing the mescc-tools-boot build.
WDYT?
> (do we really need an x86_64 version of this Mes?).
No, I don't think so. I added it esp. to get a preview and enable
future development of pure x86_64 bootstrap; but dependency-wise we
should be able to drop it!
> Does that make sense?
Yes!
> Sorry for the delay, and apologies if I overlooked something!
Thank you for looking into and pointing out!
janneke
next prev parent reply other threads:[~2018-11-15 15:45 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20181014085857.3863-1-janneke@gnu.org>
[not found] ` <20181014085857.3863-3-janneke@gnu.org>
[not found] ` <87r2gld3nt.fsf@gnu.org>
[not found] ` <875zxxax4f.fsf@gnu.org>
[not found] ` <87sh0z6m83.fsf@gnu.org>
[not found] ` <87ftwz9e9y.fsf@gnu.org>
[not found] ` <874ldccr9f.fsf@gnu.org>
2018-11-15 9:06 ` Preparing the reduced bootstrap tarballs Ludovic Courtès
2018-11-15 15:44 ` Jan Nieuwenhuizen [this message]
2018-11-16 18:22 ` Ludovic Courtès
2018-11-16 20:52 ` Jan Nieuwenhuizen
2018-11-15 20:39 Jeremiah
2018-11-16 18:27 ` Ludovic Courtès
2018-11-16 20:44 ` Jan Nieuwenhuizen
2018-11-17 14:05 ` Ludovic Courtès
2018-11-18 7:32 ` Jan Nieuwenhuizen
2018-11-18 10:02 ` Jan Nieuwenhuizen
2018-11-17 3:49 ` Mark H Weaver
-- strict thread matches above, loose matches on Subject: below --
2018-11-17 14:27 Jeremiah
2018-11-17 23:14 ` Mark H Weaver
2018-11-19 18:54 ` Giovanni Biscuolo
2018-11-18 12:56 Jeremiah
2018-11-18 18:27 ` Mark H Weaver
2018-11-18 18:39 ` Jan Nieuwenhuizen
2018-11-20 15:45 ` Timothy Sample
2018-11-21 20:32 ` Jan Nieuwenhuizen
2018-11-26 18:49 ` Timothy Sample
2018-11-20 0:26 jeremiah
2018-11-20 8:28 ` Ricardo Wurmus
2018-11-21 3:36 Jeremiah
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wopejqfa.fsf@gnu.org \
--to=janneke@gnu.org \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).