On Thu, 23 Feb 2017 17:42:39 +0000 Mark Pokorny <[email protected]> wrote:
> > Hazel Russman wrote: > >> > >> Minor niggle: I got a failure when running test-getlogin on an Xterm. > >> According to the book, this should pass (it's known to fail on a console). > >> > > > > > > In chapter 6, you are not in an xterm (directly), you are in chroot. Try > > building coreutils directly in an xterm. > > > > -- bruce > > > > Hi Bruce, > > Forgive me for wading in here. Can I suggest that the text in the book > be updated to clarify what you said in your email? I made the > assumption (wrongly in this case) that the phrase “but passes if run > in a X terminal.” would apply even in a chroot environment as the > underlying terminal is still an xterm (LFS 7.10 has a similar phrase > that for a test that DOES pass in a chroot environment). I think it > would be clearer if it said: > > “The test-getlogin test is known to fail on a virtual console (such as > in this chroot environment), but passes if run in an X terminal > directly.” > > I have a feeling this might crop up a good few times in the future otherwise. > > Mark. > -- I can now confirm that the test passes if the build is carried out in X on the host system. But I agree with Mark. Most users will interpret the reference to virtual console versus xterm as referring to the overall environment in which the chroot is run. After all, there is no possibility at this stage of running an xterm within chroot because there is no X on the new system. -- H Russman -- 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
