﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1892	"""host pollution"" of expect in ch5 breaks binutils testsuite in ch6"	brandon_peirce@…	Jeremy Huntwork	"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.)"	defect	closed	normal		Book	6.2	normal	fixed		
