From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 PX08CfXULWCgLwAA0tVLHw (envelope-from ) for ; Thu, 18 Feb 2021 02:46: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 mp1 with LMTPS id 1LCnBPXULWCmDQAAbx9fmQ (envelope-from ) for ; Thu, 18 Feb 2021 02:46: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 4DFAC2D6CE for ; Thu, 18 Feb 2021 03:46:12 +0100 (CET) Received: from localhost ([::1]:54312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCZKU-0005Dm-2C for larch@yhetil.org; Wed, 17 Feb 2021 21:46:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCZKM-0005CN-NJ for bug-guix@gnu.org; Wed, 17 Feb 2021 21:46:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33960) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCZKM-0003eU-Fr for bug-guix@gnu.org; Wed, 17 Feb 2021 21:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lCZKM-0000St-E8 for bug-guix@gnu.org; Wed, 17 Feb 2021 21:46:02 -0500 Subject: bug#46537: =?UTF-8?Q?=E2=80=98uname_?= =?UTF-8?Q?-s=E2=80=99?= from Gash-Utils-Boot returns nothing Resent-From: Timothy Sample Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Thu, 18 Feb 2021 02:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 46537 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Efraim Flashner Mail-Followup-To: 46537@debbugs.gnu.org, samplet@ngyro.com, ludo@gnu.org Received: via spool by 46537-done@debbugs.gnu.org id=D46537.16136163121719 (code D ref 46537); Thu, 18 Feb 2021 02:46:02 +0000 Received: (at 46537-done) by debbugs.gnu.org; 18 Feb 2021 02:45:12 +0000 Received: from localhost ([127.0.0.1]:45504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCZJY-0000Rf-A3 for submit@debbugs.gnu.org; Wed, 17 Feb 2021 21:45:12 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:60561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCZJW-0000RN-5T for 46537-done@debbugs.gnu.org; Wed, 17 Feb 2021 21:45:10 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0B85E5C00F7; Wed, 17 Feb 2021 21:45:05 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 17 Feb 2021 21:45:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=WgbsmRNDR4mCg42AYaq2qgcb/p/Vc84/fwAzc2IZw RY=; b=rKLCMmabgI4RUVlgFngjQnYdbeujx6SsrkTJ68+1lkGS6WgdZmrq/UnJu PmFFAPdJD/34VXyABidigJDEVeaTEvPJOKQntzllWw4NuQ1WClDSQ+Ur7eHdzjMi hPAJRjgtiUzqTX6k8rspvdumdtiJ3YXnTOHOTMgPjYumLmzGDcd6HAmnZPWmUHGb 3AlwWuX4A/zNJSvcOdkdj12lt44osMxoSuiPX2e8iruw+++BqCpUaL/sDY4vgBjs 1gp6QHXFkmfEeH3lym/IBHOChf5ICrnP5HRDS33ujEoc2Zlxf6Pmi3Biz5tLYC97 pln96yIzY9GNdLoJ5wTVDx79cuF5Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrjeefgdehudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufhffjgfkfgggtgfgsehtqhertddtreejnecuhfhrohhmpefvihhmohht hhihucfurghmphhlvgcuoehsrghmphhlvghtsehnghihrhhordgtohhmqeenucggtffrrg htthgvrhhnpeetgfegffeuueeukeefleelffeljeegjefftdeltddtveeutdeutdegtdei leeuudenucffohhmrghinhepghhnuhdrohhrghdpnhhonhhgnhhurdhorhhgnecukfhppe ejgedrudduiedrudekiedrgeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepshgrmhhplhgvthesnhhghihrohdrtghomh X-ME-Proxy: Received: from mrblack (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id CC6BF24005E; Wed, 17 Feb 2021 21:45:03 -0500 (EST) From: Timothy Sample References: <87y2fpxmzl.fsf@inria.fr> <87blcivi5u.fsf@gnu.org> Date: Wed, 17 Feb 2021 21:45:02 -0500 In-Reply-To: (Efraim Flashner's message of "Wed, 17 Feb 2021 17:26:20 +0200") Message-ID: <87a6s2w0up.fsf@ngyro.com> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gash-devel@nongnu.org, 46537-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=rKLCMmab; 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: 4DFAC2D6CE X-Spam-Score: -1.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: O1jiDDNLSshQ Hello! Efraim Flashner writes: > On Wed, Feb 17, 2021 at 04:16:29PM +0100, Ludovic Court=C3=A8s wrote: >> >> Efraim Flashner 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 >> >> $ uname -s >> >> Linux >> >> --8<---------------cut here---------------end--------------->8--- >>=20 >> 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. W= hen we don=E2=80=99t do that, >> =E2=80=98config.guess=E2=80=99 runs and fails. >>=20 >> [...] >>=20 >> I wonder if this should be kept but changed to: >>=20 >> (kernel-name? (or kernel-name? (not (or =E2=80=A6)))) > > With it changed to this: > (ins)efraim@3900XT ~/workspace/gash-utils$ > /gnu/store/9mb28yyzfh6pr4yk5nyy42vrfbj8caxp-gash-utils-boot-0.1.0.107-eed= d-dirty/bin/uname > -s > Linux 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=3D2= ee2e2721367cc242ceb0e4b364468870a87f0b4 I recommend that you take a look at the =E2=80=9Cwip-gcc-mesboot=E2=80=9D b= ranch. It has a couple =E2=80=9Cfrom the hip=E2=80=9D changes that I made while looki= ng 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, Diffu= tils, 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 o= ver and over). 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. F= or 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-m= esboot=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.... Back to the matter at hand: I=E2=80=99m closing this bug since it=E2=80=99s= already been fixed. :) -- Tim