From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp1 ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms11 with LMTPS
	id 4I9KLHgzLWAIdQAA0tVLHw
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 17 Feb 2021 15:17:12 +0000
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1 with LMTPS
	id IBcoKHgzLWBzLgAAbx9fmQ
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 17 Feb 2021 15:17:12 +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 AF7B21275F
	for <larch@yhetil.org>; Wed, 17 Feb 2021 16:17:11 +0100 (CET)
Received: from localhost ([::1]:34578 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 1lCOZh-0003KF-Dh
	for larch@yhetil.org; Wed, 17 Feb 2021 10:17:09 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:41114)
 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 1lCOZa-0003K6-2P
 for bug-guix@gnu.org; Wed, 17 Feb 2021 10:17:02 -0500
Received: from debbugs.gnu.org ([209.51.188.43]:33129)
 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 1lCOZZ-0000iG-R0
 for bug-guix@gnu.org; Wed, 17 Feb 2021 10:17:01 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1lCOZZ-0004St-Mt
 for bug-guix@gnu.org; Wed, 17 Feb 2021 10:17:01 -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: Wed, 17 Feb 2021 15:17:01 +0000
Resent-Message-ID: <handler.46537.B46537.161357499917127@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: Efraim Flashner <efraim@flashner.co.il>
Received: via spool by 46537-submit@debbugs.gnu.org id=B46537.161357499917127
 (code B ref 46537); Wed, 17 Feb 2021 15:17:01 +0000
Received: (at 46537) by debbugs.gnu.org; 17 Feb 2021 15:16:39 +0000
Received: from localhost ([127.0.0.1]:44675 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1lCOZC-0004SB-JS
 for submit@debbugs.gnu.org; Wed, 17 Feb 2021 10:16:38 -0500
Received: from eggs.gnu.org ([209.51.188.92]:51400)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@gnu.org>) id 1lCOZB-0004Rx-2J
 for 46537@debbugs.gnu.org; Wed, 17 Feb 2021 10:16:37 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:48281)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@gnu.org>)
 id 1lCOZ5-0000Vj-ET; Wed, 17 Feb 2021 10:16:31 -0500
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36916 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 1lCOZ4-0000zj-Ko; Wed, 17 Feb 2021 10:16:31 -0500
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
References: <87y2fpxmzl.fsf@inria.fr> <YCuVxvzR4OhiME0h@3900XT>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 29 =?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: Wed, 17 Feb 2021 16:16:29 +0100
In-Reply-To: <YCuVxvzR4OhiME0h@3900XT> (Efraim Flashner's message of "Tue, 16
 Feb 2021 11:52:06 +0200")
Message-ID: <87blcivi5u.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@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.86
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: AF7B21275F
X-Spam-Score: -2.86
X-Migadu-Scanner: scn1.migadu.com
X-TUID: mKVn0koy6qrf

Hi,

(+Cc: gash-devel.)

Efraim Flashner <efraim@flashner.co.il> skribis:

> 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)')/bi=
n/uname -a
>> Linux ribbon 5.10.10-gnu #1 SMP 1 x86_64 GNU/Linux
>> $ $(guix build -e '(@@ (gnu packages commencement) gash-utils-boot)')/bi=
n/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
>> $ uname -s
>> Linux
>> --8<---------------cut here---------------end--------------->8---

I forgot to mention the =E2=80=98uname -s=E2=80=99 problem is hidden by the=
 fact that we
always pass =E2=80=98--build=E2=80=99 to =E2=80=98configure=E2=80=99.  When=
 we don=E2=80=99t do that,
=E2=80=98config.guess=E2=80=99 runs and fails.

> From eedd0ee769393eea3fcb9b7131d469ea15d9f179 Mon Sep 17 00:00:00 2001
> From: Efraim Flashner <efraim@flashner.co.il>
> Date: Tue, 16 Feb 2021 11:50:20 +0200
> Subject: [PATCH] uname: Fix uname -s.
>
> * gash/commands/uname.scm (uname): Remove duplicate kernel-name? match.
> ---
>  gash/commands/uname.scm | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/gash/commands/uname.scm b/gash/commands/uname.scm
> index 2a89c6a..fa15c69 100644
> --- a/gash/commands/uname.scm
> +++ b/gash/commands/uname.scm
> @@ -49,7 +49,6 @@
>           (processor? (option-ref options 'processor #f))
>           (hardware-platform? (option-ref options 'hardware-platform #f))
>           (operating-system? (option-ref options 'operating-system #f))
> -         (kernel-name? (not (or all? kernel-name? node-name? kernel-rele=
ase? kernel-version? machine? processor? hardware-platform? operating-syste=
m?)))

I wonder if this should be kept but changed to:

  (kernel-name? (or kernel-name? (not (or =E2=80=A6))))

but I=E2=80=99m not entirely sure about the logic.

Gash folks, WDYT?

Thanks,
Ludo=E2=80=99.