LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-20-2011, 04:59 PM   #1
edgezors
LQ Newbie
 
Registered: Jul 2011
Location: South Carolina, USA
Distribution: LFS
Posts: 6

Rep: Reputation: Disabled
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?
 
Old 07-21-2011, 01:27 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
Old 07-21-2011, 11:52 AM   #3
edgezors
LQ Newbie
 
Registered: Jul 2011
Location: South Carolina, USA
Distribution: LFS
Posts: 6

Original Poster
Rep: Reputation: Disabled
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.
 
Old 07-21-2011, 12:13 PM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
1 members found this post helpful.
Old 07-21-2011, 12:45 PM   #5
edgezors
LQ Newbie
 
Registered: Jul 2011
Location: South Carolina, USA
Distribution: LFS
Posts: 6

Original Poster
Rep: Reputation: Disabled
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

Last edited by edgezors; 07-21-2011 at 01:25 PM. Reason: misread
 
Old 07-21-2011, 01:52 PM   #6
edgezors
LQ Newbie
 
Registered: Jul 2011
Location: South Carolina, USA
Distribution: LFS
Posts: 6

Original Poster
Rep: Reputation: Disabled
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.
 
Old 07-21-2011, 02:25 PM   #7
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
  


Reply

Tags
glibc, lfs, test



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
glibc-2.3.6 test suite error sanjeet_guddu Linux From Scratch 3 06-10-2010 04:19 PM
Glibc test suite fails ReyJavikVI Linux From Scratch 6 08-05-2009 08:08 PM
Errors when running Glibc-2.3.6 test suite (reference: LFS 6.2 chapter 6.9) PingFloyd Linux From Scratch 2 02-02-2007 09:43 PM
Errors during the test suite for Glibc-20050926 32 Bit � Cross compile x86_64 Basel Linux From Scratch 3 10-29-2005 06:45 AM
LFS 6-1: Glibc Test Suite Fails at end with 2 errors in Chapter 6 TGWDNGHN Linux From Scratch 1 07-26-2005 12:23 PM

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

All times are GMT -5. The time now is 06:05 AM.

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