Hello,
This is my first post to linuxquestions forums, but I've used them for resources for a while. I can usually find an answer to a question before I need to ask it. Anyway, I'm building lfs for my first time (version 6.8). I've reached the chapter 6.22 coreutils-8.10 install and ran into the same error as above. I found this on the gnu bug list for cp/sparce-fiemap.
Quote:
bug#8532: FAIL: cp/sparse-fiemap
* tests/cp/sparse-fiemap: Parenthesize ternary expression used
as an argument to awk's printf. Otherwise, gawk 3.0.1 and the
one from debian stable's original-awk would get a syntax error.
|
EDIT:
The line they are referring to can be found by grep-ing for awk in tests/cp/sparse-fiemap
Code:
root:/sources/coreutils-8.10# grep awk tests/cp/sparse-fiemap
| awk '/^ *[0-9]/ {printf "%d %d ", $2 , (NF < 5 ? $NF : $5) } END {print ""}'
I did this to make nice the offending expression
Code:
sed -i -e 's/NF < 5 ? $NF : $5/(&)/' tests/cp/sparse-fiemap
Unfortunately this did not fix my problem. I looked over the lfs patch suggested above, but it doesn't look like it actually fixes a problem as was mentioned earlier. I found the same syntactical error in the file tests/filefrag-extent-compare and applied a similar modification, but neither change has had any effect on the test. I also did a make distclean and completely recompiled before testing.