LinuxQuestions.org
Help answer threads with 0 replies.
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 06-04-2011, 03:28 AM   #1
deedend
LQ Newbie
 
Registered: Jun 2011
Distribution: Debian, Linux From Scratch
Posts: 9

Rep: Reputation: Disabled
Lot of errors with E2fsprogs-1.41.14 make check


Hello I am building Linux From Scratch, until now all is ok but when I have compiled the E2fsprogs in the chapter 6.21 of the book I had a lot of errors, 104 test failed. All the rest and the other tests was ok, I don't know the reason of this issue. here is the pastebin, anyone have a suggestion to help me? The machine is a laptop with Intel Centrino 1.6 MHz, 768Mb of RAM, 12Gb of space on the LFS partition and 2Gb of swap

Thanks
 
Old 06-04-2011, 11:43 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 15,477

Rep: Reputation: 2190Reputation: 2190Reputation: 2190Reputation: 2190Reputation: 2190Reputation: 2190Reputation: 2190Reputation: 2190Reputation: 2190Reputation: 2190Reputation: 2190
The book usually has a comment on the tests.
I would rm -rf on the source, and redo from scratch .
 
0 members found this post helpful.
Old 06-05-2011, 07:43 AM   #3
deedend
LQ Newbie
 
Registered: Jun 2011
Distribution: Debian, Linux From Scratch
Posts: 9

Original Poster
Rep: Reputation: Disabled
Yes, was the first action I made, rm -R the sources directory and rebuilt the package but the result is the same: my problem is that I don't know where I can look to find the error... And the comment of the book isn't helpful in this case
 
Old 06-05-2011, 12:01 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 deedend View Post
my problem is that I don't know where I can look to find the error...
You don't mention it, but did you check the /sources/e2fsprogs-1.41.14/build/tests directory? It should be filled with .log files and accompanying files ending in .ok or .fail for each step (steps 544 'till 656 in your pastebin output).

Hope this helps.
 
1 members found this post helpful.
Old 06-05-2011, 12:07 PM   #5
deedend
LQ Newbie
 
Registered: Jun 2011
Distribution: Debian, Linux From Scratch
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thank you a lot, I will try... for now, I have continued the installation of e2fsprogs ignoring the errors, if after the complete installation of LFS my system will fail I will redo all the procedure. But I want to know WHY I have that errors and in general I want to understand where could be an error when appears even in other package, so your contribution will be surely helpful: thank you again!
 
Old 06-05-2011, 12:14 PM   #6
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: You do need to fix these errors, a 104 is way to many to "ignore". I would look at a handful of .fail files before pushing this problem to a later date: The underlying problem might also influence what is still to come.
 
Old 06-05-2011, 02:01 PM   #7
deedend
LQ Newbie
 
Registered: Jun 2011
Distribution: Debian, Linux From Scratch
Posts: 9

Original Poster
Rep: Reputation: Disabled
I have recompiled the package and I have noticed that there is an error in the compilation process... It end at this point:
http://pastebin.com/J2pGsSwq
Seems that there are a problem with the mke2fs program... what could be the cause?
 
Old 06-05-2011, 02:25 PM   #8
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,

From what you have posted I can't point you to something.

Did you look at the config.log file (/sources/e2fsprogs-1.41.14)? It probably holds more information about what went wrong.

Hope this helps.
 
Old 06-05-2011, 02:51 PM   #9
deedend
LQ Newbie
 
Registered: Jun 2011
Distribution: Debian, Linux From Scratch
Posts: 9

Original Poster
Rep: Reputation: Disabled
mmm I don't have that file
 
Old 06-05-2011, 03:07 PM   #10
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,

My mistake, I forgot that e2fsprogs is build in a separate directory (first 2 commands in 6.21.1).

The log file should be in /sources/e2fsprogs-1.41.14/build

Sorry about that.....
 
Old 06-06-2011, 09:01 AM   #11
deedend
LQ Newbie
 
Registered: Jun 2011
Distribution: Debian, Linux From Scratch
Posts: 9

Original Poster
Rep: Reputation: Disabled
I have decided to continue with the installation... if I will have a problem when boot into the new system I will redo the entire process from begin. I think I have made some kind of error in the chapter 5 phase; I (or rather: an OP on #LFS IRC channel that have helped me) have also noticed that there was a link that was different to the one in the prerequisite: is the bash link, is not /bin/sh but bin/dash - my host system is Debian stable - can this cause a problem? Maybe is all here the issue!
anyway, when I come home I try to recompile the e2fsprogs package (I have removed the source) and see the log file in /sources/e2fsprogs-1.41.14/build to see if there someting that I can do to repair the situation now or at least try to find where is the problem/mistake
 
Old 06-06-2011, 10:04 AM   #12
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 deedend View Post
... noticed that there was a link that was different to the one in the prerequisite: is the bash link, is not /bin/sh but bin/dash - my host system is Debian stable - can this cause a problem? Maybe is all here the issue!
It (having /bin/sh linked to bash) is explicitly mentioned in the Host System Requirements. Guess the LFS folks had a good reason to do so.....

If you build an LFS system and your host does not meet the mentioned requirements you are in for "an interesting" build. Too be honest I'm a bit surprised that it took this long before errors start showing, I would have expected multiple errors during the building of the temporary environment (chapter 5).

Being this far into the build I would advise to continue and to see what happens, but be aware that the end result might not work. Even if this build fails you'll have a better grasp on how things are done the second time around.

Hope this helps.
 
1 members found this post helpful.
Old 06-06-2011, 10:18 AM   #13
deedend
LQ Newbie
 
Registered: Jun 2011
Distribution: Debian, Linux From Scratch
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
Too be honest I'm a bit surprised that it took this long before errors start showing, I would have expected multiple errors during the building of the temporary environment (chapter 5).
I'm surprised to this too... But was all OK in the chapter 5, I have run a lot of tests and all passed. I cross my finger and go ahead. Thank you for all!
 
Old 01-06-2012, 04:29 AM   #14
junx
LQ Newbie
 
Registered: Jan 2012
Posts: 1

Rep: Reputation: Disabled
Hi,
I have same problem with "make check" in building "e2fsprogs", then found this thread with google seach.
I get a hints form here and all is good now.

All "tests/*.log" files says "due to not found mtab files..." then I check it but there is not.
This file is created in LFS book 6.6 Creating Essential Files and Symlinks, and I forget it.
Create "/etc/mtab" and do "make check", I had a result "all test passed"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
4 failures in e2fsprogs-1.41.8 make check pdsmith Linux From Scratch 0 08-15-2009 11:46 AM
Glibc make check errors, safe to continue kummiliim Linux From Scratch 0 03-02-2008 04:40 PM
Glibc-2.5.1 make check errors shomaster Linux From Scratch 1 09-10-2007 04:44 PM
fc7 how can i make check for errors on my hard drive Muhammed Linux - Software 2 08-27-2007 05:28 PM
Chapter 6.12 GCC make -k check errors kz_chopper Linux From Scratch 2 02-20-2007 11:54 PM

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

All times are GMT -5. The time now is 07:21 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