From ae755ca7e1efc425862d7ce51ac12ac0b2df677a Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 23 Jul 2012 09:54:16 -0700 Subject: [PATCH] Fix race condition in parallel execution of "make install". ovs-vsctl is listed, incorrectly, in both bin_PROGRAMS and bin_SCRIPTS. This meant that "make install" with the -j option could try to install ovs-vsctl two times in parallel, a race that occasionally caused a build failure, e.g.: http://buildd.debian.org/status/fetch.php?pkg=openvswitch&arch=s390&ver=1.4.2%2Bgit20120612-5&stamp=1342851603 Debian bug #682384. CC: 682384@bugs.debian.org Reported-by: Bastian Blank Signed-off-by: Ben Pfaff --- utilities/automake.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/automake.mk b/utilities/automake.mk index 04a7fdcc..7bb2c6d6 100644 --- a/utilities/automake.mk +++ b/utilities/automake.mk @@ -4,7 +4,7 @@ bin_PROGRAMS += \ utilities/ovs-dpctl \ utilities/ovs-ofctl \ utilities/ovs-vsctl -bin_SCRIPTS += utilities/ovs-pki utilities/ovs-vsctl utilities/ovs-parse-leaks +bin_SCRIPTS += utilities/ovs-pki utilities/ovs-parse-leaks if HAVE_PYTHON bin_SCRIPTS += \ utilities/ovs-l3ping \ -- 2.30.2