GNU bug report logs -
#23146
grep 2.24: tests broken with --program-prefix
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#23146: grep 2.24: tests broken with --program-prefix
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 23146 <at> debbugs.gnu.org.
--
23146: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23146
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
On Mon, Mar 28, 2016 at 2:21 PM, Christian Weisgerber
<naddy <at> mips.inka.de> wrote:
> In GNU grep 2.24 and earlier, the regression tests
>
> help-version
> reversed-range-endpoints
>
> fail if grep is built with a program prefix (I use --program-prefix=g).
>
> ---------- help-version.log ----------
> /usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
> /usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
> /usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
> /usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
> /usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
> /usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
> /usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
> /usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
> /usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
> /usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
> /usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
> /usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
> /usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
> FAIL: egrep
> /usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
> FAIL: fgrep
> FAIL help-version (exit status: 1)
>
> ---------- reversed-range-endpoints.log ----------
> --- exp Mon Mar 28 22:46:48 2016
> +++ out Mon Mar 28 22:46:48 2016
> @@ -1 +1 @@
> -Invalid range end
> +/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
> FAIL reversed-range-endpoints (exit status: 1)
Thanks for the report.
You should be able to cause "make check" to pass in that case
by creating a symlink for each classic name to its prefixed version, e.g.,
cd src && for i in grep egrep fgrep; do ln -fs g$i $i; done
You're the first to report this, so for now, I'll simply mark this
issue as closed.
By the way, that reversed-range-endpoints test need not use egrep,
since it already tests 'grep -E', so I have fixed that.
[Message part 3 (message/rfc822, inline)]
In GNU grep 2.24 and earlier, the regression tests
help-version
reversed-range-endpoints
fail if grep is built with a program prefix (I use --program-prefix=g).
---------- help-version.log ----------
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
FAIL: egrep
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
FAIL: fgrep
FAIL help-version (exit status: 1)
---------- reversed-range-endpoints.log ----------
--- exp Mon Mar 28 22:46:48 2016
+++ out Mon Mar 28 22:46:48 2016
@@ -1 +1 @@
-Invalid range end
+/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
FAIL reversed-range-endpoints (exit status: 1)
--
Christian "naddy" Weisgerber naddy <at> mips.inka.de
This bug report was last modified 9 years and 108 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.