Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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).
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!
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.
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?
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
... 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.
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!
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"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.