From: Anthony PERARD Subject: Re: [PATCH] tools/hotplug/Linux: Fix build Date: Fri, 10 Oct 2014 16:34:58 +0100 Message-ID: <20141010153458.GE1742@perard.uk.xensource.com> References: <20141009165408.GB12637@aepfle.de> <5436BEC1.9020604@citrix.com> <1412930128.10650.17.camel@citrix.com> <1412930678.10650.20.camel@citrix.com> <20141010095908.GA26050@aepfle.de> <20141010104238.GC1742@perard.uk.xensource.com> <20141010111905.GA9011@aepfle.de> <20141010142037.GD1742@perard.uk.xensource.com> <20141010142812.GA5813@aepfle.de> <1412951470.27111.33.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1412951470.27111.33.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Andrew Cooper , Olaf Hering , Ian Jackson , Xen Devel List-Id: xen-devel@lists.xenproject.org On Fri, Oct 10, 2014 at 03:31:10PM +0100, Ian Campbell wrote: > On Fri, 2014-10-10 at 16:28 +0200, Olaf Hering wrote: > > On Fri, Oct 10, Anthony PERARD wrote: > > > > > Yes, it does, no more weird two calls of make on the systemd/Makefile > > > (with all and install). There is only one call left: "make -C systemd > > > install". And make does not fail to make xen.conf. > > > > I ran into this as well just now, and removing all works for me as well. > > > > > From 41cfaf5318cb0346e31a8e97939b8805145eb182 Mon Sep 17 00:00:00 2001 > > > From: Anthony PERARD > > > Date: Fri, 10 Oct 2014 12:22:34 +0100 > > > Subject: [PATCH] tools/hotplug/Linux: Removing of "all" dependency from > > > "install" rule. > > > > > > Signed-off-by: Anthony PERARD > > > > Tested-by: Olaf Hering > > Great. Could someone supply a bit of explanatory text for the commit > message please. The "install" rules depends on both "all" and "subdirs-install" and "all" depends on "subdirs-all". This leads the "install" rules to call both "subdirs-all" and "subdirs-install" which create a race with two concurrent `make` within the same directory (systemd) trying to make the same things (xen.conf) and failing. Ultimatly, "install" should only depend on the things it needs to install, and not on "all". > Do these indicate a similar problem: > tools/hotplug/NetBSD/Makefile:install: all install-scripts install-rcd > tools/hotplug/common/Makefile:install: all install-scripts > ? > > I think not because no recursion is included. I think this could be an issue, install does not need all. But since there is no subdirs involves, there is no problem for now. Shall I update the patch to change all "install" rules of tools/hotplug/*/Makefile ? -- Anthony PERARD