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: manolis837 <at> gmail.com
To: 25848 <at> debbugs.gnu.org
Cc: efraim <at> flashner.co.il
Subject: bug#25848: [PATCH] gnu: %bootstrap-coreutils&co: Patch egrep/fgrep to point to the correct grep.
Date: Thu, 23 Feb 2017 13:41:18 +0200
Hello everyone, 

Commit 653add37af10b0d5dbc20c8bc7ce30eec8cf4ae7 patches egrep/fgrep to point to the location of grep. 
But the problem is that when it was run on Hurd, the path for grep in egrep/fgrep had this form: 
/gnu/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-grep-2.25/bin/grep

The above was not being substituted and caused the build to fail. So I changed the pattern to 
"/[^ ]+/bin/grep" and now the path is always replaced. 

Also (getcwd) returns the current path which the build takes place. This happens to be /tmp/guix-build-..-bootstrap-binaries-0.
This is wrong because it should point to the final place in /gnu/store. That why I am using "out".

Thank you,
Manolis




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.