As I hope the title implies, my question is about the error messages per se, not about the particular errors that gave rise to them.
So, I'm working through LFS version 7.4 and after building glibc-2.18 I ran
Code:
make -k check 2>&1 | tee glibc-check-log
grep -n Error glibc-check-log
These errors were reported:
Code:
2614:make[2]: *** [/sources/7.4/glibc-build/posix/tst-getaddrinfo4.out] Error 1
2641:make[2]: [/sources/7.4/glibc-build/posix/annexc.out] Error 1 (ignored)
2658:make[1]: *** [posix/tests] Error 2
4081:make[2]: [/sources/7.4/glibc-build/conform/run-conformtest.out] Error 1 (ignored)
9713:make: *** [check] Error 2
I know (because the LFS book says so) that these specific errors are expected and not a concern.
But, for example, looking at the first message:
Code:
2614:make[2]: *** [/sources/7.4/glibc-build/posix/tst-getaddrinfo4.out] Error 1
clearly the middle part "[/sources/7.4/glibc-build/posix/tst-getaddrinfo4.out]" identifies the test suite output file that contains errors. And the numbers at the beginning of each line are the line numbers (in the log file) generated by the grep -n option. But what about
make[2] and
Error 1?
And, two lines below that, where it says
make[1] and
Error 2?
And on the last line
Error 2?
It doesn't seem to be
counting the errors. But someone put those 1's and 2's there for a reason. What do they tell us?