LFS Trac
Tue, 03 Oct 2006 10:34:43 -0700
#1892: "host pollution" of expect in ch5 breaks binutils testsuite in ch6
----------------------------------------+-----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: lfs-book@linuxfromscratch.org
Type: defect | Status: new
Priority: normal | Milestone:
Component: Book | Version: 6.2
Severity: normal | Keywords:
----------------------------------------+-----------------------------------
If there is a stty binary in /usr/local/bin on the host (default install
of coreutils), that gets picked up by expect's configure script:
{{{
if test -r /usr/local/bin/stty ; then
STTY_BIN=/usr/local/bin/stty
else
STTY_BIN=/bin/stty
fi
}}}
This gets compiled into libexpect and utimately breaks dejagnu in ch6
because we have created a symlink to /tools/bin/stty in /bin but not in
/usr/local/bin.
I see two possible fixes: 1. ln -s /bin/stty /usr/local/bin in the Essential Symlinks[[BR]] Don't like that as it pollutes the final LFS environment. 2. Fix Expect's configure.status and/or Makefile with a sed between the ./configure and the make. [[BR]] (Probably should check first that /bin/stty actually exists on the host.) -- Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1892> LFS Trac <http://wiki.linuxfromscratch.org/lfs/> Linux From Scratch: Your Distro, Your Rules. -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page