LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Glibc - make check errors not mentioned in the book (http://www.linuxquestions.org/questions/linux-from-scratch-13/glibc-make-check-errors-not-mentioned-in-the-book-4175432646/)

tuxkarl 10-17-2012 03:45 AM

Glibc - make check errors not mentioned in the book
 
Hooray! It's my second post. :D

Well, I'm trying to build an LFS system. I'm now on chapter 6, glibc. But when I ran the test suite for glibc, I encountered some errors not mentioned in the book. Are these errors critical, or can I just ignore them?

LFS 7.2
Host - Debian 6.0.6-i386 running on VM (I'm using VirtualBox)
Host Reqs are all ok

Here's what I did:
Code:

root:/sources/glibc-build# make -k check 2>&1 | tee glibc-check-log
...(lines deleted)
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/glibc-2.16.0'
make: *** [check] Error 2
root:/sources/glibc-build# grep Error glibc-check-log
make[2]: *** [/sources/glibc-build/malloc/tst-trim1.out] Error 1
make[1]: *** [malloc/tests] Error 2
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/nptl/tst-cond20.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cond21.out] Error 1
make[1]: *** [nptl/tests] Error 2
make[2]: [/sources/glibc-build/conform/run-conformtest.out] Error 1 (ignored)
make: *** [check] Error 2


druuna 10-17-2012 04:27 AM

Have you tried running TIMEOUTFACTOR=16 make -k check 2>&1 | tee glibc-check-log to eliminate test timeouts being exceeded as mentioned in chapter 6.9? Also check the created log files for time-outs (if they are time outs, then you are probably safe to ignore them).

Experience tells me that these 2 can probably be ignored:
Code:

make[2]: *** [/sources/glibc-build/nptl/tst-cond20.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cond21.out] Error 1

This one I'm not sure about:
Code:

make[2]: *** [/sources/glibc-build/malloc/tst-trim1.out] Error 1
If you decide to ignore them, you will probably find out if all still works in the next chapter (6.10. Adjusting the Toolchain).

tuxkarl 10-17-2012 04:51 AM

Hello druuna, Thanks for the reply. :D

I'll try TIMEOUTFACTOR=16 make -k check 2>&1 | tee glibc-check-log. Maybe next week. Still got some other things to do/rush. I'll report the results as soon as I've tried it.

tuxkarl 10-24-2012 04:53 AM

Hello druuna, I tried what you have suggested (well, it's also in the book :D). And guess what? I only got 2 errors, posix/annexc and conform/run-conformtest. And these two are expected errors. Thanks for the help :D

druuna 10-24-2012 04:57 AM

You're welcome :)

BTW: Can you put up the [SOLVED] tag.
first post -> Thread Tools -> Mark this thread as solved

tuxkarl 10-24-2012 05:50 AM

Done. :D


All times are GMT -5. The time now is 03:52 PM.