GNU bug report logs - #25848
[PATCH] gnu: %bootstrap-coreutils&co: Patch egrep/fgrep to point to the correct grep.

Previous Next

Package: guix-patches;

Reported by: manolis837 <at> gmail.com

Date: Thu, 23 Feb 2017 11:42:01 UTC

Severity: normal

Tags: patch

Merged with 25849

Done: zimoun <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: manolis837 <at> gmail.com
Subject: bug#25849: closed (Re: bug#25848: [PATCH] gnu: %bootstrap-coreutils&co:
 Patch egrep/fgrep to point to the correct grep.)
Date: Wed, 05 Jan 2022 09:12:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#25848: [PATCH] gnu: %bootstrap-coreutils&co: Patch egrep/fgrep to point to the correct grep.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 25849 <at> debbugs.gnu.org.

-- 
25848: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25848
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: zimoun <zimon.toutoune <at> gmail.com>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 25848-done <at> debbugs.gnu.org, manolis837 <at> gmail.com
Subject: Re: bug#25848: [PATCH] gnu: %bootstrap-coreutils&co: Patch
 egrep/fgrep to point to the correct grep.
Date: Wed, 05 Jan 2022 10:00:54 +0100
Hi,

On Wed, 05 Jan 2022 at 10:23, Efraim Flashner <efraim <at> flashner.co.il> wrote:
> On Wed, Jan 05, 2022 at 12:57:25AM +0100, zimoun wrote:
>> On Thu, 23 Feb 2017 at 13:41, manolis837 <at> gmail.com wrote:

> Judging that the Hurd, aarch64 and powerpc are all have Guix working on
> them I assume it's working well enough that we can close this bug.

Therefore, I am closing.


Thanks,
simon

[Message part 3 (message/rfc822, inline)]
From: manolis837 <at> gmail.com
To: guix-patches <at> gnu.org
Cc: efraim <at> flashner.co.il, Manolis Ragkousis <manolis837 <at> gmail.com>
Subject: [PATCH] gnu: %bootstrap-coreutils&co: Patch egrep/fgrep to point to
 the correct grep.
Date: Thu, 23 Feb 2017 13:41:19 +0200
From: Manolis Ragkousis <manolis837 <at> gmail.com>

* gnu/packages/bootstrap.scm (%bootstrap-coreutils&co)[source]: Substitute the
absolute location of 'grep' with the one in /gnu/store.
---
 gnu/packages/bootstrap.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index 61f1f1ab3..db7560b48 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -341,7 +341,8 @@ $out/bin/guile --version~%"
                            ;; absolute file name instead of searching for it in $PATH.
                            (if (not (elf-file? "bin/egrep"))
                              (substitute* '("bin/egrep" "bin/fgrep")
-                               (("^exec grep") (string-append (getcwd) "/bin/grep"))))
+                               (("/[^ ]+/bin/grep")
+                                (string-append out "/bin/grep"))))
                            (chmod "bin" #o555)
                            #t)))
 
-- 
2.11.1




This bug report was last modified 3 years and 142 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.