[LLVMbugs] [Bug 18755] New: configure fails if GREP_OPTIONS contains --line-number (or -n)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Feb 6 08:13:21 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18755
Bug ID: 18755
Summary: configure fails if GREP_OPTIONS contains --line-number
(or -n)
Product: Build scripts
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: autoconf
Assignee: unassignedbugs at nondot.org
Reporter: kyle at omnigroup.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
My .zshrc sets the GREP_OPTIONS environment variable to "--color
--line-number". This causes the configure script to fail with the following
error message:
checking for grep that handles long lines and -e... configure: error: no
acceptable grep could be found in
/usr/omni/bin/Scripts:/usr/omni/bin:/usr/omni/svn/bin:/usr/omni/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/xpg4/bin
configure: error: ../../../projects/sample/configure failed for projects/sample
If the build system depends on grep behaving a certain way, it really ought to
run it in a custom environment and unset GREP_OPTIONS.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140206/5c0c2fb4/attachment.html>
More information about the llvm-bugs
mailing list