[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf 2.61a: spurious testsuite failure
From: |
Stepan Kasal |
Subject: |
Re: autoconf 2.61a: spurious testsuite failure |
Date: |
Wed, 28 Mar 2007 17:41:35 +0200 |
User-agent: |
Mutt/1.4.2.1i |
Hello,
On Wed, Mar 28, 2007 at 12:52:29PM +0200, Andreas Schwab wrote:
> The test of AC_PROG_SED can lead to a spurious testsuite failure:
..
> +./configure: line 1682: echo: write error: Broken pipe
that line says:
echo "$ac_script" | sed 99q >conftest.sed
The bug seems to be fixed in the current development version, as it
is changed to
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
The relates changelog entry is:
2007-01-11 Ralf Wildenhues <address@hidden>
* lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
early on the reader side, drop stderr of the input to avoid
`broken pipe' error output; this may happen even with shell
builtin `echo' of some bash versions. Reports by Ian Macdonald
<address@hidden> and Sam Sexton <address@hidden>.
BTW, could the same have been achieved by the following?
sed 99q >conftest.sed <<_ACEOF
$ac_script
_ACEOF
Have a nice day,
Stepan Kasal