From e577c86e71cb6a9614b468e3afeef9602176ad6b Mon Sep 17 00:00:00 2001 From: Ken Moffat Date: Tue, 19 Feb 2008 19:54:40 +0000 Subject: Upgrade grep to 2.5.3, fixes #2054. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8487 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/grep.xml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'chapter06') diff --git a/chapter06/grep.xml b/chapter06/grep.xml index 2111da256..22d65df95 100644 --- a/chapter06/grep.xml +++ b/chapter06/grep.xml @@ -41,14 +41,17 @@ Installation of Grep The current Grep package has many bugs, especially in the support of - multibyte locales. RedHat fixed some of them with the following patch: + multibyte locales. The following consolidated patch from Debian fixes some of them, + improves the number of individual tests which are passed, and much improves the + speed in UTF-8 locales: -patch -Np1 -i ../&grep-fixes-patch; +patch -Np1 -i ../&grep-debian-patch; - In order for the tests added by this patch to pass, the permissions for - the test file have to be changed: + Upstream have fixed some of the documentation, and changed some of the + tests and the expected results in the newest test scripts. This means that + not so many of the individual tests fail: -chmod +x tests/fmbtest.sh +patch -Np1 -i ../&grep-fixes-patch; Prepare Grep for compilation: @@ -60,7 +63,14 @@ To test the results, issue: -make check +make check || true + + There are known test failures in the foad1.sh and + fmbtest.sh tests. The "|| true" construct is + used to avoid build automated build scripts failing due to the test failures. + A good run will show 2 failures from 14 tests, but if you look at the + output you will see in excess of forty individual tests which failed - these + are all in the new tests added since the previous version. Install the package: -- cgit v1.2.3-54-g00ecf