LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   glibc test suite errors (https://www.linuxquestions.org/questions/linux-from-scratch-13/glibc-test-suite-errors-892811/)

edgezors 07-20-2011 04:59 PM

glibc test suite errors
 
I'm on chapter 6 of the book for the dev branch and the test suite has a few errors. Some of these i've seen could be ignored but there's a few i'm unsure about.

make[2]: *** [/sources/glibc-build/posix/bug-regex32.out] Error 1
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[1]: *** [posix/tests] Error 2
make[2]: *** [/sources/glibc-build/misc/tst-writev.out] Error 1
make[1]: *** [misc/tests] Error 2
make[2]: *** [/sources/glibc-build/rt/tst-cpuclock2.out] Error 1
make[1]: *** [rt/tests] Error 2
make[2]: *** [/sources/glibc-build/elf/check-textrel.out] Error 1
make[1]: *** [elf/tests] Error 2

the red ones i've found in other posts could be safely ignored but i'm unsure about the others, i'm using ubuntu 11.04 64bit as the host.
Are these other two errors able to be safely ignored or should i start over?

druuna 07-21-2011 01:27 AM

Hi,

This glibc chapter is, in my opinion, one of the trickier parts. Determining if you can continue or if you need to re-trace your steps isn't all that clear.

If the errors that show up are time-out related it is, in most cases, safe to continue. You need to examine the glibc-check-log for the errors that aren't mentioned in the book.

The book does mention a way to eliminate (some of) the time-out related "errors" (using TIMEOUTFACTOR=16 make -k check). You might want to give that a try and see if the errors disappear.

Hope this helps.

edgezors 07-21-2011 11:52 AM

Thanks for your quick reply,
the above error log is the result of running the tests with TIMEOUTFACTOR=16 make -k check.
I was thinking they might be the result of a bug in the development branch but idk.

druuna 07-21-2011 12:13 PM

Hi,

Quote:

Originally Posted by edgezors
the above error log is the result of running the tests with TIMEOUTFACTOR=16 make -k check.

Info you should have provided in your first post ;)

Building the development version doesn't come with any guarantees and the error could indeed be related. This issue also shows up in the stable version and most of the time it is time-out related and you can continue with the build.

Did you check the glibc-check-log file (as mentioned in my previous post)?

BTW: If this is your first LFS build my advise would be to start with the current stable version, it is bug free and works. This would make your life a little easier when something goes wrong.

Hope this helps.

edgezors 07-21-2011 12:45 PM

Sorry i didn't mention that those results are from the TIMEOUTFACTOR=16 make -k check command.
I may restart chapter 6 and see if i still get the problems.

I've done one other LFS build before, about a year ago. This is my first time using the development branch, I wanted to because i like a more bleeding edge system XD. If I start over i will probably go for the stable branch just to ensure no problems.

Some googling showed that make[2]: *** [/sources/glibc-build/misc/tst-writev.out] Error 1 is related to me doing a 64bit build and I believe they said this one is negligible (though it was on a arch linux forum, not totally certain is it is negligible). I'm still unsure about the bug-regex32.out (though the name seems to indicated its related to architecture) and check-textrel.out

edgezors 07-21-2011 01:52 PM

I've decided to take your advice and start over on the stable branch. If all goes well I'll attempt to build the unstable branch at a later date.
Figure this will give me a rather stable platform to build it on as well XD. Thanks for your help.

druuna 07-21-2011 02:25 PM

You're welcome :)

BTW: Do make a backup once you finish chapter 5, this way you will have something to fall back on if you FUBAR chapter 6.


All times are GMT -5. The time now is 02:18 AM.