From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp2 ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms11 with LMTPS
	id /LrIHE1tLmBRPwAA0tVLHw
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 18 Feb 2021 13:36:13 +0000
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2 with LMTPS
	id iFBLGE1tLmDQRQAAB5/wlQ
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 18 Feb 2021 13:36:13 +0000
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 C7C0724713
	for <larch@yhetil.org>; Thu, 18 Feb 2021 14:36:12 +0100 (CET)
Received: from localhost ([::1]:36022 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	id 1lCjTX-0006PM-WF
	for larch@yhetil.org; Thu, 18 Feb 2021 08:36:12 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:46300)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1lCjTO-0006Lm-Hm
 for bug-guix@gnu.org; Thu, 18 Feb 2021 08:36:02 -0500
Received: from debbugs.gnu.org ([209.51.188.43]:34870)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1lCjTO-0007oq-9O
 for bug-guix@gnu.org; Thu, 18 Feb 2021 08:36:02 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1lCjTO-0006g8-5F
 for bug-guix@gnu.org; Thu, 18 Feb 2021 08:36:02 -0500
X-Loop: help-debbugs@gnu.org
Subject: bug#46537: =?UTF-8?Q?=E2=80=98uname_?= =?UTF-8?Q?-s=E2=80=99?= from
 Gash-Utils-Boot returns nothing
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-guix@gnu.org
Resent-Date: Thu, 18 Feb 2021 13:36:02 +0000
Resent-Message-ID: <handler.46537.D46537.161365530325593@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 46537
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Timothy Sample <samplet@ngyro.com>
Received: via spool by 46537-done@debbugs.gnu.org id=D46537.161365530325593
 (code D ref 46537); Thu, 18 Feb 2021 13:36:02 +0000
Received: (at 46537-done) by debbugs.gnu.org; 18 Feb 2021 13:35:03 +0000
Received: from localhost ([127.0.0.1]:46416 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1lCjSR-0006ej-20
 for submit@debbugs.gnu.org; Thu, 18 Feb 2021 08:35:03 -0500
Received: from eggs.gnu.org ([209.51.188.92]:56528)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@gnu.org>) id 1lCjSQ-0006eB-7p
 for 46537-done@debbugs.gnu.org; Thu, 18 Feb 2021 08:35:02 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:41682)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@gnu.org>)
 id 1lCjSJ-0007Ja-P5; Thu, 18 Feb 2021 08:34:55 -0500
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=36828 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@gnu.org>)
 id 1lCjSJ-00065B-89; Thu, 18 Feb 2021 08:34:55 -0500
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
References: <87y2fpxmzl.fsf@inria.fr> <YCuVxvzR4OhiME0h@3900XT>
 <87blcivi5u.fsf@gnu.org> <YC01nOSV4dBMlZej@3900XT>
 <87a6s2w0up.fsf@ngyro.com>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 30 =?UTF-8?Q?Pluvi=C3=B4se?= an 229 de la
 =?UTF-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Thu, 18 Feb 2021 14:34:51 +0100
In-Reply-To: <87a6s2w0up.fsf@ngyro.com> (Timothy Sample's message of "Wed, 17
 Feb 2021 21:45:02 -0500")
Message-ID: <87y2flqz2c.fsf@gnu.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (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: bug-guix@gnu.org
List-Id: Bug reports for GNU Guix <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-guix>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=subscribe>
Cc: gash-devel@nongnu.org, 46537-done@debbugs.gnu.org
Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org
Sender: "bug-Guix" <bug-guix-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-Spam-Score: -2.87
Authentication-Results: aspmx1.migadu.com;
	dkim=none;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org
X-Migadu-Queue-Id: C7C0724713
X-Spam-Score: -2.87
X-Migadu-Scanner: scn0.migadu.com
X-TUID: FbQTPIDmUtBS

Hi!

Timothy Sample <samplet@ngyro.com> skribis:

> Efraim Flashner <efraim@flashner.co.il> writes:
>
>> On Wed, Feb 17, 2021 at 04:16:29PM +0100, Ludovic Court=C3=A8s wrote:
>>>
>>> Efraim Flashner <efraim@flashner.co.il> skribis:
>>>=20
>>> > On Mon, Feb 15, 2021 at 06:24:46PM +0100, Ludovic Court=C3=A8s wrote:
>>> >> Gash-Utils =E2=80=98uname=E2=80=99 seems to be confused:
>>> >>=20
>>> >> --8<---------------cut here---------------start------------->8---
>>> >> $ $(guix build -e '(@@ (gnu packages commencement) gash-utils-boot)'=
)/bin/uname -a
>>> >> Linux ribbon 5.10.10-gnu #1 SMP 1 x86_64 GNU/Linux
>>> >> $ $(guix build -e '(@@ (gnu packages commencement) gash-utils-boot)'=
)/bin/uname -s
>>> >>=20
>>> >> $ guix describe
>>> >> Generacio 175	Feb 04 2021 22:52:40	(nuna)
>>> >>   guix 5ae09d7
>>> >>     repository URL: https://git.savannah.gnu.org/git/guix.git
>>> >>     branch: master
>>> >>     commit: 5ae09d7979a0696d862b9555314eab199f7ce576

[...]

> Indeed!  I noticed this same issue the other day.  Check out commit
> 2ee2e2721367cc242ceb0e4b364468870a87f0b4:
>
>     https://git.savannah.nongnu.org/cgit/gash/gash-utils.git/commit/?id=
=3D2ee2e2721367cc242ceb0e4b364468870a87f0b4

Great!

> I recommend that you take a look at the =E2=80=9Cwip-gcc-mesboot=E2=80=9D=
 branch.  It
> has a couple =E2=80=9Cfrom the hip=E2=80=9D changes that I made while loo=
king at getting
> Gash-Utils to handle more of the work in =E2=80=9Ccommencement.scm=E2=80=
=9D.  Last week
> I was able to build to =E2=80=9Cgcc-mesboot1=E2=80=9D with only Make, Dif=
futils, patch,
> and Gzip (the first three were there before the =E2=80=9CScheme-only=E2=
=80=9D bootstrap,
> and Gzip saves writing =E2=80=9C(delete 'compress-documentation)=E2=80=9D=
 over and
> over).

We should add a pure Scheme gzip implementation, for instance using the
R6RS zlib implementation by G=C3=B6ran Weinholt in Industria.

> 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 =E2=80=9C-t=E2=80=9D and =E2=80=9C-k=E2=80=9D 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 =E2=80=9Cpo2test.sed=E2=80=9D script while building =E2=
=80=9Cgcc-mesboot=E2=80=9D.  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=E2=80=99t tried yet....

Heheh, nice!  Anyhow, that looks like a promising path to me.

> Back to the matter at hand: I=E2=80=99m closing this bug since it=E2=80=
=99s already been
> fixed.  :)

Thanks!  Any plan for a release?  We could upgrade the package in
=E2=80=98core-updates=E2=80=99.

Ludo=E2=80=99.