If anyone is trying to build the current SVN there are problems with Util-Linux-2.30.
#1 Build fails in chapter 5 with errors. This is due to upstream changes in configure.ac in version 2.30
Code:
/mnt/lfs/tools/bin/..../x86_64-pc-linux-gnu/bin/ld: cannot find -lncurses
/mnt/lfs/tools/bin/..../x86_64-pc-linux-gnu/bin/ld: cannot find -ltinfo
The fix is to setup a couple of compatibility symlinks before building.
Code:
echo "INPUT(-lncursesw)" > /tools/lib/libncurses.so
ln -sv libncurses.so /tools/lib/libtinfo.so
#2 In the systemd version since Util-Linux-2.29.x was introduced, the configure reports "--enable-libmount-force-mountinfo" as an unrecognized option. This is because it's function was rolled in with another flag in 2.29.x. The correct flag is now:
Code:
--enable-libmount-support-mtab
Hopefully one of the devs will see that, I know at least one of them is around here. Maybe save them some time, or you if you're building the SVN. BTW: Perl 5.26 breaks things badly and I suspect upstream changes are needed in GCC and other packages to fix them.