[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: Ignoring SIGPIPE in libtoolize
From: |
Behdad Esfahbod |
Subject: |
Re: FYI: Ignoring SIGPIPE in libtoolize |
Date: |
Thu, 18 May 2006 20:26:21 -0400 (EDT) |
On Thu, 18 May 2006, Ralf Wildenhues wrote:
> Hi Behdad,
>
> * Behdad Esfahbod wrote on Wed, Apr 05, 2006 at 10:39:30AM CEST:
> > On Wed, 5 Apr 2006, Ralf Wildenhues wrote:
> > > * Behdad Esfahbod wrote on Wed, Apr 05, 2006 at 08:25:41AM CEST:
> > > >
> > > > In GNOME project, we have severl machines running as tinderboxes,
> > > > continuously building all our modules from CVS. In a lot of logs
> > > > from these builds I'm seeing these lines:
> > > >
> > > > /usr/bin/libtoolize: line 93: echo: write error: Broken pipe
> > > > /usr/bin/libtoolize: line 94: echo: write error: Broken pipe
>
> > > Well, I guess the simplest way around it would be to not trigger several
> > > writes. How about this instead?
>
> > Yes, that should fix it, but as I said I cannot test it.
>
> I've applied this to branch-1-5. HEAD should be fine already.
> Sorry for the huge delay.
Thanks Ralf,
Now if you could look into the env-var issue :)
Cheers,
behdad
> Cheers,
> Ralf
>
> * libtoolize.in: Use just one `echo' for `--version' output
> instead of several `echo', to avoid `Broken pipe' errors.
> Reported by Behdad Esfahbod <address@hidden>.
>
> Index: ltmain.in
> ===================================================================
> RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v
> retrieving revision 1.334.2.127
> diff -u -r1.334.2.127 ltmain.in
> --- ltmain.in 18 May 2006 06:52:54 -0000 1.334.2.127
> +++ ltmain.in 18 May 2006 16:30:29 -0000
> @@ -482,11 +482,13 @@
> ;;
>
> --version)
> - $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
> - $echo
> - $echo "Copyright (C) 2006 Free Software Foundation, Inc."
> - $echo "This is free software; see the source for copying conditions.
> There is NO"
> - $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE."
> + echo "\
> +
> +$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
> +
> +Copyright (C) 2006 Free Software Foundation, Inc.
> +This is free software; see the source for copying conditions. There is NO
> +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
> exit $?
> ;;
>
>
>
--behdad
http://behdad.org/
"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
-- Dan Bern, "New American Language"