Here is the much, much shorter gist to build a different Linux From Scratch:
https://gist.github.com/0x4248/6e1499eb7a6d79349404780f14fdc38dDuring the meeting you all helped me identify the problem with my case-insensitive git clone of linux on a mac: I had not specified that the repo should be case sensitive. These two commands fixed it:
git config case.ignorecase false # set case sensitivity for this repo
git pull -r # rebase (breaks your history, btw)
After that, "make -j$(proc)" completed in 20 minutes, giving me a kernel image at arch/arm64/boot/Image . Thank you so much!
The next part of that gist says to "make menuconfig" in the busybox directory, which of course failed for me:
root@de155ffb13b0:/busybox# make menuconfig
*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
make[2]: *** [/busybox/scripts/kconfig/lxdialog/Makefile:15: scripts/kconfig/lxdialog/dochecklxdialog] Error 1
make[1]: *** [/busybox/scripts/kconfig/Makefile:14: menuconfig] Error 2
make: *** [Makefile:444: menuconfig] Error 2
I assure you ncurses is installed. ldd, pkg-config, and ldconfig have not fixed the problem. This script definitely can't find ncurses: scripts/kconfig/lxdialog/lxdialog .
I'll keep working the problem, as it's definitely easier than doing the real LFS, again. :D
Ben