From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp0 ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms11 with LMTPS
	id WMwaFm6WK2CrOAAA0tVLHw
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 16 Feb 2021 09:54:54 +0000
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp0 with LMTPS
	id yPjwEW6WK2ASTwAA1q6Kng
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 16 Feb 2021 09:54:54 +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 8495E10CDC
	for <larch@yhetil.org>; Tue, 16 Feb 2021 10:54:53 +0100 (CET)
Received: from localhost ([::1]:50124 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 1lBx4F-0003Tk-8N
	for larch@yhetil.org; Tue, 16 Feb 2021 04:54:51 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:40814)
 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 1lBx2W-0002ai-EX
 for bug-guix@gnu.org; Tue, 16 Feb 2021 04:53:04 -0500
Received: from debbugs.gnu.org ([209.51.188.43]:56119)
 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 1lBx2U-00074N-EP
 for bug-guix@gnu.org; Tue, 16 Feb 2021 04:53:03 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1lBx2U-0007xU-Cy
 for bug-guix@gnu.org; Tue, 16 Feb 2021 04:53: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: Efraim Flashner <efraim@flashner.co.il>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-guix@gnu.org
Resent-Date: Tue, 16 Feb 2021 09:53:02 +0000
Resent-Message-ID: <handler.46537.B46537.161346917430577@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: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
Received: via spool by 46537-submit@debbugs.gnu.org id=B46537.161346917430577
 (code B ref 46537); Tue, 16 Feb 2021 09:53:02 +0000
Received: (at 46537) by debbugs.gnu.org; 16 Feb 2021 09:52:54 +0000
Received: from localhost ([127.0.0.1]:39432 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1lBx2M-0007x7-3L
 for submit@debbugs.gnu.org; Tue, 16 Feb 2021 04:52:54 -0500
Received: from flashner.co.il ([178.62.234.194]:51378)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <efraim@flashner.co.il>) id 1lBx2K-0007ws-CO
 for 46537@debbugs.gnu.org; Tue, 16 Feb 2021 04:52:53 -0500
Received: from localhost (unknown [31.210.181.184])
 by flashner.co.il (Postfix) with ESMTPSA id 88470401FA;
 Tue, 16 Feb 2021 09:52:46 +0000 (UTC)
Date: Tue, 16 Feb 2021 11:52:06 +0200
From: Efraim Flashner <efraim@flashner.co.il>
Message-ID: <YCuVxvzR4OhiME0h@3900XT>
References: <87y2fpxmzl.fsf@inria.fr>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="2N7JR9zK7eVHxCw5"
Content-Disposition: inline
In-Reply-To: <87y2fpxmzl.fsf@inria.fr>
X-PGP-Key-ID: 0x41AAE7DCCA3D8351
X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc
X-PGP-Fingerprint: A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
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: 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.46
Authentication-Results: aspmx1.migadu.com;
	dkim=none;
	dmarc=none;
	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: 8495E10CDC
X-Spam-Score: -2.46
X-Migadu-Scanner: scn0.migadu.com
X-TUID: FyUI42oh8SnE


--2N7JR9zK7eVHxCw5
Content-Type: multipart/mixed; boundary="nR1YU2dkHMtJASPZ"
Content-Disposition: inline


--nR1YU2dkHMtJASPZ
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
> $ uname -s
> Linux
> --8<---------------cut here---------------end--------------->8---
>=20
> Ludo=E2=80=99.
>=20

The attached patch fixes it for me when I build it locally. Tested
against master, with an expanded guix.scm to build multiple versions.

--=20
Efraim Flashner   <efraim@flashner.co.il>   =D7=90=D7=A4=D7=A8=D7=99=D7=9D =
=D7=A4=D7=9C=D7=A9=D7=A0=D7=A8
GPG key =3D A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

--nR1YU2dkHMtJASPZ
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="0001-uname-Fix-uname-s.patch"
Content-Transfer-Encoding: quoted-printable

=46rom eedd0ee769393eea3fcb9b7131d469ea15d9f179 Mon Sep 17 00:00:00 2001
=46rom: 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-releas=
e? kernel-version? machine? processor? hardware-platform? operating-system?=
)))
=20
 	 (help? (option-ref options 'help #f))
          (version? (option-ref options 'version #f))
--=20
2.30.1


--nR1YU2dkHMtJASPZ--

--2N7JR9zK7eVHxCw5
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmArlcYACgkQQarn3Mo9
g1FXPg/+PoPhiLCYkjI/oO664o9nBSCdIwJ9gDIJY42OpOkFqqffmaULucEgSvpn
KCqPDx6Vm/FgvEywR8vuule0v/YuCwsSyDqx+cOhMEuVYSAUk/DJB13MKhZ1bsTL
iZk71RbfSpcvVEAfXk4gz82sD/7g6pPCj2iH/Zt6yeePUEFM/c7PC8kDAgNBhcZ8
vBQQfcZut6dkV6pKck4xXX6XrPqzBmzjU+mV9iHFYLl3+OMjM1Z9xhHH3Wz4XmrL
S/OFCCyPZ/hXeao1dNAvxxdJNKL2gyVFHm5fD78XOYSevmbT5FEIiHTc+iOyADC+
SVM4nc8Yq0ZUWv/nNLuDYQuQVLv93X6K/kd/haSE6KYWrTMbhTC8RD2X18e6xK9Y
0k30OJcY3GJFgb1Stthflrswyhrg2+LU0yzOAvFBccz+i2fhv5DCcO2uOkhlj41i
54EN4GMp8uRDHRdIsQYBXvyPAMKmxfWayuWx0hxqwL1E4+pTimufzyERZXV+lgQd
k3+bXmQwZ+bmh93ffW7xxMmRAto1Axc7b3FZqNVKsH8nZ6QBdRIQ9HV1W8RRDqF4
hmZBISr/FkyJdfZw596uWTdLzPHeIoGrs+NgSGMeVLJEdAPzGck2ep4Kmc2gf+e3
TopySA69Fu6yoGb8ICjYSblq9DpdcFwQOIZ1wj7WFzp/npKHn94=
=ZS/e
-----END PGP SIGNATURE-----

--2N7JR9zK7eVHxCw5--