From e8f823ef466b8a1bc9451fcb74bbbadcad29a59b 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 fda5a0b14fa..80f7291f712 100644 --- a/transport-native-epoll/pom.xml +++ b/transport-native-epoll/pom.xml @@ -208,7 +208,7 @@ - +