From fed552d09de499f5a0424680e031a2d4414538c7 Mon Sep 17 00:00:00 2001 From: Tatsushi Inagaki Date: Fri, 27 Sep 2019 05:26:45 +0900 Subject: [PATCH] Fix broken pipe due to /usr/bin/ldd (#9606) Motivation: The build script for the module Netty Transport Native Epoll can cause intermittent build break due to broken pipe by /usr/bin/ldd. This issue likely to occur on a build environment with multiple processors. Modifications: The root cause is that the consumer head command finishes earlier the producer ldd command. Buffering the outputs of the ldd command by an intermediate tail command avoids the broken pipe. Result: A build on multiple processors can finish successfully. Signed-off-by: Tatsushi Inagaki --- transport-native-epoll/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport-native-epoll/pom.xml b/transport-native-epoll/pom.xml index 31ef939be2..a2299e616e 100644 --- a/transport-native-epoll/pom.xml +++ b/transport-native-epoll/pom.xml @@ -208,7 +208,7 @@ - +