LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Lot of errors with E2fsprogs-1.41.14 make check (http://www.linuxquestions.org/questions/linux-from-scratch-13/lot-of-errors-with-e2fsprogs-1-41-14-make-check-884472/)

deedend 06-04-2011 04:28 AM

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

business_kid 06-04-2011 12:43 PM

The book usually has a comment on the tests.
I would rm -rf on the source, and redo from scratch :).

deedend 06-05-2011 08:43 AM

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 :(

druuna 06-05-2011 01:01 PM

Hi,
Quote:

Originally Posted by deedend (Post 4376867)
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.

deedend 06-05-2011 01:07 PM

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!

druuna 06-05-2011 01:14 PM

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.

deedend 06-05-2011 03:01 PM

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?

druuna 06-05-2011 03:25 PM

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.

deedend 06-05-2011 03:51 PM

mmm I don't have that file

druuna 06-05-2011 04:07 PM

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.....

deedend 06-06-2011 10:01 AM

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

druuna 06-06-2011 11:04 AM

Hi,
Quote:

Originally Posted by deedend (Post 4377789)
... 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.

deedend 06-06-2011 11:18 AM

Quote:

Originally Posted by druuna (Post 4377856)
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!

junx 01-06-2012 05:29 AM

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"


All times are GMT -5. The time now is 12:24 AM.