Follow-up Comment #24, bug #63157 (project make):

[comment #23 comment #23:]
> Frank wrote [
> 
> I now found a way to reproduce it quite easily on my system.
> As I suspected, it seems to be SIGPIPE:
> 
> % rm -f /tmp/G*
> % cat Makefile
> all: ; sleep 1
> % make -j2 -O 2>&1 | :
> % ls -l /tmp/G*
> prw------- 1 frank frank 0 19. Okt 22:42 /tmp/GMfifo370973
> -rw------- 1 frank frank 0 19. Okt 22:42 /tmp/GmFkJIuq
> %
> 
> 
> ].  That looked like just the ticket but sadly it doesn't reproduce it for
me, on amd64 Debian Stretch.

I just reproduced it on a Linux 4.9.0-5-amd64 #1 SMP Debian 4.9.65-3+deb9u2
(2018-01-04) x86_64 GNU/Linux machine. So it doesn't seem to be the version.

Anyway, strace confirms that make is killed by SIGPIPE, so if you catch it (or
ignore it and then handle or ignore stdout/stderr write errors), it should
work.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63157>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to