GNU bug report logs - #32866
cross-compiling grep and changing $PATH

Previous Next

Package: grep;

Reported by: Barret Rhoden <brho <at> cs.berkeley.edu>

Date: Fri, 28 Sep 2018 18:49:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

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: Barret Rhoden <brho <at> cs.berkeley.edu>
Subject: bug#32866: closed (Re: bug#32866: cross-compiling grep and
 changing $PATH)
Date: Fri, 28 Sep 2018 21:37:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#32866: cross-compiling grep and changing $PATH

which was filed against the grep package, has been closed.

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

-- 
32866: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32866
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Barret Rhoden <brho <at> cs.berkeley.edu>
Cc: 32866-done <at> debbugs.gnu.org
Subject: Re: bug#32866: cross-compiling grep and changing $PATH
Date: Fri, 28 Sep 2018 14:36:36 -0700
Thanks for the patch; that was quick! It's short enough so that we 
needn't worry about copyright papers, so I installed it in your name 
into the master copy of Grep on savannah.gnu.org and am closing this bug 
report.

[Message part 3 (message/rfc822, inline)]
From: Barret Rhoden <brho <at> cs.berkeley.edu>
To: bug-grep <at> gnu.org
Subject: cross-compiling grep and changing $PATH
Date: Fri, 28 Sep 2018 14:37:27 -0400
Hi -

Not sure if this is a bug or something I'm doing wrong, but when I
cross-compile grep (3.1) for another system where the binaries do not
run on the host, the make output will have a couple of these:

/bin/sh: ./src/grep: No such file or directory

It looks like the newly built grep is being used, but it won't run on
the host.  This looks like it is from cfg.mk:

export PATH := $(builddir)/src$(PATH_SEPARATOR)$(PATH)

It doesn't seem particularly harmful, but maybe that PATH change should
depend on whether it's a cross build or not.

Thanks,

Barret



This bug report was last modified 6 years and 296 days ago.

Previous Next


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