From: Ken Moffat
Sent: Friday, March 4, 2016 7:01 PM
To: [email protected]
Subject: [lfs-dev] Failure to build from Fedora

I seem to be doing really well this week - everything I touch
breaks!  I've gone back to fedora (23) and tried to use that to
build LFS (I suspect that my earlier "it was working, then it broke
after I updated it" experience was because I was trying to mount my
/sources (an nfs mount) automatically - I recall there was some
problem with nfs mounts when we had systemd as an option in trunk,
and for the moment letting root mount it manually (i.e. ,user) and
ro,exec (for my scripts) appears to work.

On the first attempt (only runnng tests for the toolchain), it
segfaulted in e2fsprogs at the start of make install-libs.
I put that down to selinux (apparently erroneously), unmounted -
during that I noticed that /dev, /proc and /sys were NOT bound to
/mnt/lfs, which puzzled me - then I turned off selinux, rebooted,
and tried again.

I have an 'intochroot.sh' script which is run by user lfs after
su'ing to root.  On LFS that handles the bind mounts without trouble,
(I think it tests from outside chroot to see if they are mounted,
and if not it binds them) but on fedora it did not bind them.  That
is one place where I differ from the book.  Anyway, I did that part
by hand, as root in fedora.

But again it segfaulted in e2fsprogs at make install-libs.

This time, I took a look at the Makefiles (in build/), but AFAICS
only the toplevel Makefile defines install-libs, as
install-libs-recursive, and I cannot find any other references to
install-libs and therefore no explicit rule for the recursive
variant - I guess that -recursive perhaps tells make to run
install-libs in all the directories, but I cannot see any
instructions for that in any of them, so I'm no wiser about what
command is segfaulting.  I'm obviously missing something.  Anybody,
please ?

ĸen
-- 
This email was written using 100% recycled letters.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page



Hey Ken,

Over at LinuxQuestions we fairly much took Fedora/RedHat/CentOS off the list of 
compatible with building LFS distributions. The only distribution I use or 
promote when building LFS for any purpose any more is Slackware. We aren’t 
certain why Red Hat based distributions fail at building LFS, but it’s been 
enough to get everyone agreeing that these distributions aren’t going to work.

Is it just Fedora, or are other distributions acting similar?

-Ken Harrison
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to