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.
Sorry, I am quite a beginner at the whole LFS system, where can I find the kernel to edit that? I know I built it for the tools/ dir earlier but have no idea where it was installed to.
Sorry, I am quite a beginner at the whole LFS system, where can I find the kernel to edit that? I know I built it for the tools/ dir earlier but have no idea where it was installed to.
What you built for /tools wasn't the kernel itself, only the kernel headers, because the glibc build needed them. You don't have a kernel yet. And the kernel you would need to rebuild is the one on your host system because that's the one you use in chroot. Frankly that would be using a sledgehammer to crack a nut.
You can find example logs of all the tests at http://www.linuxfromscratch.org/lfs/...00MQ/test-logs. That's always the first place to go if you are worried about errors. Generally speaking a single error (plus those that the book describes as expected) is nothing to worry about. Three, I agree, is a bit more serious. You can always post a question on the LFS mailing list if you are really worried.
What you built for /tools wasn't the kernel itself, only the kernel headers, because the glibc build needed them. You don't have a kernel yet. And the kernel you would need to rebuild is the one on your host system because that's the one you use in chroot. Frankly that would be using a sledgehammer to crack a nut.
You can find example logs of all the tests at http://www.linuxfromscratch.org/lfs/...00MQ/test-logs. That's always the first place to go if you are worried about errors. Generally speaking a single error (plus those that the book describes as expected) is nothing to worry about. Three, I agree, is a bit more serious. You can always post a question on the LFS mailing list if you are really worried.
Thanks for the response. It was only one proper failed test as the other two are failed as well in the logs, which you provided (Thank you!). Weirdly there are four tests which convert from 32 to 64 bit but the other three passed, so think I will remake the package and if the error persists, will just move on, because as you said it's using my host kernel, and as that wouldn't be on my LFS system there shouldn't be a problem.
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616
Rep:
Quote:
Originally Posted by MrSquigy
After re-making the package all the usual tests passed, will do that next time! Thanks to everyone that helped.
Then you've learned another valuable lesson about building LFS: Test results are ephemeral. Many of the "torture" tests assume they're running on a dedicated test machine. When you're building in a virtual machine, or on a desktop and decide to play music, watch youtube, etc. while the tests are running it, can cause some to fail. In other words a failing test might not be an issue. A consistently failing test could be a problem, but not necessarily. A whole lot of tests failing on within the same test suite is a much better indication that something is wrong.
Then you've learned another valuable lesson about building LFS: Test results are ephemeral. Many of the "torture" tests assume they're running on a dedicated test machine. When you're building in a virtual machine, or on a desktop and decide to play music, watch youtube, etc. while the tests are running it, can cause some to fail. In other words a failing test might not be an issue. A consistently failing test could be a problem, but not necessarily. A whole lot of tests failing on within the same test suite is a much better indication that something is wrong.
Yes I have, and glad I learned it on my first LFS system!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.