LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-09-2009, 02:19 PM   #1
zzypty
LQ Newbie
 
Registered: Mar 2009
Posts: 13

Rep: Reputation: 3
LFS 6.4 : 5.23 grep check errors


Hi!

Everything has been smooth till section 5.23. On giving the check command, this is the errors I got some errors (attached below).

It does say that the errors can be ignored, but is there any way to ascertain whether the tests that failed are not an indicator to failure in compilations later on?

Thanks for helping

Output -
Quote:
lfs@chennai:/media/mango/sources/grep-2.5.3$ make check
Making check in intl
make[1]: Entering directory `/media/mango/sources/grep-2.5.3/intl'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/media/mango/sources/grep-2.5.3/intl'
Making check in po
make[1]: Entering directory `/media/mango/sources/grep-2.5.3/po'
make[1]: Leaving directory `/media/mango/sources/grep-2.5.3/po'
Making check in lib
make[1]: Entering directory `/media/mango/sources/grep-2.5.3/lib'
Making check in posix
make[2]: Entering directory `/media/mango/sources/grep-2.5.3/lib/posix'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/media/mango/sources/grep-2.5.3/lib/posix'
make[2]: Entering directory `/media/mango/sources/grep-2.5.3/lib'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/media/mango/sources/grep-2.5.3/lib'
make[1]: Leaving directory `/media/mango/sources/grep-2.5.3/lib'
Making check in doc
make[1]: Entering directory `/media/mango/sources/grep-2.5.3/doc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/media/mango/sources/grep-2.5.3/doc'
Making check in src
make[1]: Entering directory `/media/mango/sources/grep-2.5.3/src'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/media/mango/sources/grep-2.5.3/src'
Making check in tests
make[1]: Entering directory `/media/mango/sources/grep-2.5.3/tests'
make check-TESTS
make[2]: Entering directory `/media/mango/sources/grep-2.5.3/tests'

Please, do not be alarmed if some of the tests failed.
Report them to <bug-grep@gnu.org>,
with the line number, the name of the file,
and grep version number 'grep --version'.
Thank You.

PASS: warning.sh
PASS: khadafy.sh
PASS: spencer1.sh
PASS: bre.sh
PASS: ere.sh
PASS: pcre.sh
PASS: status.sh
PASS: empty.sh
PASS: options.sh
PASS: backref.sh
PASS: file.sh
Testing: ../src/grep Word -o -i
input: "WordA/wordB/WORDC/"
output: ""
expect: "Word/word/WORD/"
FAIL
Testing: ../src/grep WORD -o -i
input: "WordA/wordB/WORDC/"
output: ""
expect: "Word/word/WORD/"
FAIL
Testing: ../src/grep Word --color=always -i
input: "WordA/wordb/WORDC/"
output: "WordA/wordb/WORDC/"
expect: "WordA/wordb/WORDC/"
FAIL
Testing: ../src/grep WORD --color=always -i
input: "WordA/wordb/WORDC/"
output: "WordA/wordb/WORDC/"
expect: "WordA/wordb/WORDC/"
FAIL
FAIL: foad1.sh
SKIP: fmbtest.sh
Test #11: { ../src/grep -F -n -b -m 5 -C 1 yes; echo "?$?"; sed 's!^!X!'; }
output: "2-10-[B02 no ]/3:20:[C03 yes]/4:30:[D04 yes]/5:40:[E05 yes]/6-50-[F06 no ]/7-60-[G07 no ]/8:70:[H08 yes]/9:80:[I09 yes]/10-90-[J10 no ]/?0/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/"
expect: "2-10-[B02 no ]/3:20:[C03 yes]/4:30:[D04 yes]/5:40:[E05 yes]/6-50-[F06 no ]/7-60-[G07 no ]/8:70:[H08 yes]/9:80:[I09 yes]/?0/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/"
FAIL
Test #27: { ../src/grep -F -n -b -m 2 -v -C 1 yes; echo "?$?"; sed 's!^!X!'; }
output: "1:0:[A01 no ]/2:10:[B02 no ]/3-20-[C03 yes]/?0/X[C03 yes]/X[D04 yes]/X[E05 yes]/X[F06 no ]/X[G07 no ]/X[H08 yes]/X[I09 yes]/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/"
expect: "1:0:[A01 no ]/2:10:[B02 no ]/?0/X[C03 yes]/X[D04 yes]/X[E05 yes]/X[F06 no ]/X[G07 no ]/X[H08 yes]/X[I09 yes]/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/"
FAIL
Test #28: { ../src/grep -F -n -b -m 2 -v -C 1 -o yes; echo "?$?"; sed 's!^!X!'; }
output: "3-25-yes/?0/X[C03 yes]/X[D04 yes]/X[E05 yes]/X[F06 no ]/X[G07 no ]/X[H08 yes]/X[I09 yes]/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/"
expect: "?0/X[C03 yes]/X[D04 yes]/X[E05 yes]/X[F06 no ]/X[G07 no ]/X[H08 yes]/X[I09 yes]/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/"
FAIL
FAIL: yesno.sh
=================================
2 of 13 tests failed
(1 tests were not run)
Please report to bug-grep@gnu.org
=================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/media/mango/sources/grep-2.5.3/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/media/mango/sources/grep-2.5.3/tests'
make: *** [check-recursive] Error 1
 
Old 03-09-2009, 09:24 PM   #2
Mystican
Member
 
Registered: May 2007
Location: San Diego, CA
Distribution: LFS, Xubuntu, others
Posts: 59

Rep: Reputation: 17
The book includes two patches for Grep that fix these test failures, but the instructions don't call for those patches to be applied until the permanent installation of Grep in Chapter 6 - hence the reason you're seeing errors now in Chapter 5. It's another reason (besides host interference) why running the test suites during Chapter 5 can be not only irrelevant but even misleading.

In any case, only if you see these errors again in Chapter 6.39 should they be a concern (and only after you've made sure you applied both patches to Grep successfully).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS 6.3: After chroot in ch 6 grep is not in path gmic Linux From Scratch 2 02-24-2009 02:35 PM
Server Check Scripts with grep Option moyousif Linux - Newbie 6 11-27-2008 11:08 AM
How to check grep status when find elements return 0 ahjiefreak Programming 18 12-18-2007 05:06 PM
Grep 2.5 (LFS 5.0) vexer Linux From Scratch 1 11-18-2003 03:25 PM
grep and framebuffer errors... related? kodiakmook Linux - Software 2 01-29-2002 07:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration