all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Timothy Sample <samplet@ngyro.com>
To: guix-devel@gnu.org
Subject: New Gash build Bash without Bash, Coreutils, and a few others
Date: Sat, 22 Dec 2018 00:23:40 -0500	[thread overview]
Message-ID: <87k1k2b0df.fsf@ngyro.com> (raw)

Hi Guix,

Here’s an update about bootstrapping for you.

I am very pleased to announce that Gash (having absorbed Geesh) is now
capable of building Bash without Bash, Coreutils, Grep, Sed, or Tar.
That is, Gash provides alternatives, written in Scheme, to all the
utilities needed by the “gnu-build-system” that are normally provided by
those packages.  Note, however, that this work is still very much at the
“proof of concept” level.

This is exciting because it means that we are within sight of removing
each of those packages from the set of bootstrap binaries (in the
context Jan’s work on MES and the Guix “reduced binary seed bootstrap”).
AIUI, that means that, besides Guile and MES, the set of bootstrap
binaries need only contain AWK, Patch, Bzip2, Gzip, and XZ.

There is still a lot to do.  Concretely, Gash itself has to be
bootstrapped.  There is some mildly bit-rotten code for this that will
have to be revived.  Gash should also be ported to Guile 2.0, since that
is the current bootstrap Guile, and it would be nice not to change it.
(This shouldn’t be too hard.)

As for the other utilities, I don’t really have a strategy for them.  I
would imagine that writing a good-enough “patch.scm” would not be too
hard.  AWK is difficult, but after spending (way too much) time reading
“configure” scripts, I think it could be avoided.

You can see the latest code at <https://gitlab.com/samplet/geesh> (yes,
the URL needs an update).  The work described in this message is on the
“wip-bootstrap” branch.


-- Tim

             reply	other threads:[~2018-12-22  5:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-22  5:23 Timothy Sample [this message]
2018-12-22 14:48 ` New Gash build Bash without Bash, Coreutils, and a few others Joshua Branson
2018-12-22 18:39 ` Jan Nieuwenhuizen
2019-01-05 17:16 ` Ludovic Courtès

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k1k2b0df.fsf@ngyro.com \
    --to=samplet@ngyro.com \
    --cc=guix-devel@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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.