On 2020-04-12 22:01 +0800, devin operline wrote:
> Hi there,
>
> This is my 3rd attempt at getting through LFS for the first time using (Debian
> 10). It was a fresh install when I made my second attempt. Then hit this
> error and redid chapters 4, 5 and 6 before failing at the same place. While
> I'd typed all commands on my 2nd try (for better absorption), I copied and
> pasted all commands this time (3rd) around
I digged up my mail archive for a while. Douglas said he'd been using Debian 10
as the host to build LFS. So I think it's not a bug of Debian or LFS book.
> On section 6.25 - GCC, I get the following error on the make check:
>
> su nobody -s /bin/bash -c "PATH=$PATH make -k check" =>
> su: Cannot drop the controlling terminal
>
> commands I've run based on different threads I've found usually referring to
> different sections and/or previous versions of the book (as root, within
> chroot)
> ls -l /tools/bin/bash => -rwxr-xr-x
>
> ls -l /dev/pts => c--------- 1 root root 5, 2 Apr 12 10:22 ptmx
>
> tty => not a tty
>
> ldd /bin/bash => linux-vdso.so.1
> libncursesw.so.6 => not found
> libdl.so.2 => /lib/libdl.so.2
> libc.so.6 => /lib/libc.so.6
> /tools/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2
>
> ls -l /lib/{libreadline,libhistory,libncursesw,libdl,libc,ld}* =>
> -rwxr-xr-x 1 root root 1495440 Apr 11 14:44 /lib/ld-2.31.so
> lrwxrwxrwx 1 root root 10 Apr 11 14:44 /lib/ld-linux-x86-64.so.2 -> ld-
> 2.31.so
> -rwxr-xr-x 1 root root 18445352 Apr 11 14:44 /lib/libc-2.31.so
> lrwxrwxrwx 1 root root 12 Apr 11 14:44 /lib/libc.so.6 -> libc-2.31.so
> -rwxr-xr-x 1 root root 179648 Apr 11 14:43 /lib/libcrypt-2.31.so
> lrwxrwxrwx 1 root root 16 Apr 11 14:44 /lib/libcrypt.so.1 -> libcrypt-
> 2.31.so
> -rwxr-xr-x 1 root root 251248 Apr 11 14:43 /lib/libdl-2.31.so
> lrwxrwxrwx 1 root root 13 Apr 11 14:44 /lib/libdl.so.2 -> libdl-2.31.so
> lrwxrwxrwx 1 root root 17 Apr 11 15:51 /lib/libhistory.so.8 ->
> libhistory.so.8.0
> -rwxr-xr-x 1 root root 174272 Apr 11 15:51 /lib/libhistory.so.8.0
> lrwxrwxrwx 1 root root 18 Apr 11 15:51 /lib/libreadline.so.8 ->
> libreadline.so.8.0
> -rwxr-xr-x 1 root root 1092480 Apr 11 15:51 /lib/libreadline.so.8.0
All these seem OK.
Which version of LFS book are you using? And what is the output of "version-
check.sh" in sect. 2.2.?
--
Xi Ruoyao <[email protected]>
School of Aerospace Science and Technology, Xidian University
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style