[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib/gnulib-tool: line 1512: echo: write error: Broken pipe
From: |
Bruno Haible |
Subject: |
Re: gnulib/gnulib-tool: line 1512: echo: write error: Broken pipe |
Date: |
Mon, 30 Jun 2008 02:26:05 +0200 |
User-agent: |
KMail/1.5.4 |
Hi Sam,
> > inmodules=`echo "$handledmodules" | LC_ALL=C join -v 2 -
> > "$tmp"/queued-modules`
> > and it looks improbable that 'join' would terminate before it has
> > consumed
> > all its input.)
>
> indeed, that is the line 1512 (as you know, Makefile.devel does "cvs up"
> before running gnulib-tool).
> ...
> $ echo $BASH_VERSION
> 3.2.33(1)-release
Hmm. I installed bash-3.2.33 but could not reproduce the problem with a
normal gnulib-tool invocation.
What is join --version ?
Can you save the inputs of that incriminating pipe and see if they contain
something particular? Like this: Before line 1512, insert
if test -f /tmp/gldbgcounter; then dbgcounter=`cat /tmp/gldbgcounter`; else
dbgcounter=0; fi
echo "$handledmodules" > /tmp/gldbg$dbgcounter-input1
cat "$tmp"/queued-modules > /tmp/gldbg$dbgcounter-input2
expr $dbgcounter + 1 > /tmp/gldbgcounter
then perform the usual gnulib-tool command again. Can you see a pattern among
the
/tmp/gldbg* files?
For which value of i does
foo=`cat /tmp/gldbg$i-input1 | LC_ALL=C join -v 2 - /tmp/gldbg$i-input2`
print "echo: write error: Broken pipe"?
Bruno