unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Timothy Sample <samplet@ngyro.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: gash-devel@nongnu.org, 46537-done@debbugs.gnu.org
Subject: bug#46537: ‘uname -s’ from Gash-Utils-Boot returns nothing
Date: Thu, 18 Feb 2021 13:02:55 -0500	[thread overview]
Message-ID: <871rddw8xc.fsf@ngyro.com> (raw)
In-Reply-To: <87y2flqz2c.fsf@gnu.org> ("Ludovic Courtès"'s message of "Thu, 18 Feb 2021 14:34:51 +0100")

Hey,

Ludovic Courtès <ludo@gnu.org> writes:

> Timothy Sample <samplet@ngyro.com> skribis:
>
>> [...] Gzip saves writing “(delete 'compress-documentation)” over and
>> over).
>
> We should add a pure Scheme gzip implementation, for instance using the
> R6RS zlib implementation by Göran Weinholt in Industria.

Bootar is already using that.  The problem with the Industria version is
that it only does decompression.  Fortunately, there’s an easy out here.
Gzip supports an uncompressed mode, so it would take only an hour or so
to write a “compressor” that just copies the data into Gzip format with
no compression.  (I’m hoping that XZ can do something similar so that
applying patches in “origin” records does not need to depend on the XZ
we use to unpack Guile.  Alternatively, we could add an option to
compress the patched sources with Gzip.)

>> Unfortunately, building Glibc after that is quite difficult.  To do it
>> with Gash-Utils, we would need (at least) to support redirects in AWK
>> and the “-t” and “-k” flags in sort.  For fun, I tried building Gawk
>> and Coreutils at this point (using the ancient versions that we
>> bootstrap with now).  That let me build Glibc, but then I hit a
>> problem with the “po2test.sed” script while building “gcc-mesboot”.  I
>> tried again with ancient GNU Sed, but the build seemed to hang during
>> a configure test.  I suspect adding Bash to the mix might fix it, but
>> I haven’t tried yet....
>
> Heheh, nice!  Anyhow, that looks like a promising path to me.
>
>> Back to the matter at hand: I’m closing this bug since it’s already been
>> fixed.  :)
>
> Thanks!  Any plan for a release?  We could upgrade the package in
> ‘core-updates’.

I’ve been holding on to “gcc-mesboot” as the milestone that would
warrant a release.  On the other hand, I could try and reify the
progress so far into an improved “commencement.scm” that still uses some
old GNU utilities to build the last “mesboot” version of Glibc.  Either
way, it will take some time since (as you know) my attention is on
Disarchive right now.  :)


-- Tim




  reply	other threads:[~2021-02-18 18:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-15 17:24 bug#46537: ‘uname -s’ from Gash-Utils-Boot returns nothing Ludovic Courtès
2021-02-16  9:52 ` Efraim Flashner
2021-02-17 15:16   ` Ludovic Courtès
2021-02-17 15:26     ` Efraim Flashner
2021-02-18  2:45       ` Timothy Sample
2021-02-18 13:34         ` Ludovic Courtès
2021-02-18 18:02           ` Timothy Sample [this message]
2021-02-19 15:02             ` 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

  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=871rddw8xc.fsf@ngyro.com \
    --to=samplet@ngyro.com \
    --cc=46537-done@debbugs.gnu.org \
    --cc=gash-devel@nongnu.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).