From: Anthony PERARD <anthony.perard@citrix.com>
To: Olaf Hering <olaf@aepfle.de>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
Ian Campbell <Ian.Campbell@citrix.com>,
Xen Devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH] tools/hotplug/Linux: Fix build
Date: Fri, 10 Oct 2014 11:42:38 +0100 [thread overview]
Message-ID: <20141010104238.GC1742@perard.uk.xensource.com> (raw)
In-Reply-To: <20141010095908.GA26050@aepfle.de>
On Fri, Oct 10, 2014 at 11:59:08AM +0200, Olaf Hering wrote:
> On Fri, Oct 10, Ian Campbell wrote:
>
> > I expect the actual problem is that the buildsystem is recusing into
> > this directory twice simultaneously for "all" and "install" at the same
> > time. That seems likely to be an issue with the Makefile in the parent
> > directory.
> >
> > Should subdirs-install depend on subdirs-all perhaps?
>
> Anthony, how do you invoke make? While I have seen it often right now
> I'm unable to reproduce. There are never 'all' and 'install' targets in
> the log. I think my script always called make rpmball.
There are a lot of things in my build script, but it should be done to
this:
git clone
./configure --enable-systemd --other-stuff
export MAKEFLAGS="-j24"
edit .config to use local git tree
make
And later in the process, a `make install` is called but the faillure
is before that.
> I think only the install rule should depend on ALL_XEN_SYSTEMD because
> in the end thats the only place that matters. There is nothing to build,
> and the single xen.conf file could also be generated on the fly during
> install.
>
> But still it would be nice to know what the root cause is.
It look like hotplug stuff are done like that:
make[2]: Entering directory '/build/xen-unstable/src/xen-unstable/tools'
make -C hotplug install
then calling make install on other subdir.
And after entering tools/Linux, I can see both rules "all" and
"install" been called on systemd directory (unfortunatly, at the same
time on this machine).
I think the problem is in tools/Linux/Makefile, where we have:
all: subdirs-all
install: all subdirs-install
Maybe the "install" rules should depend only on the things it need to
install, and not an "all".
--
Anthony PERARD
next prev parent reply other threads:[~2014-10-10 10:42 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-09 16:35 [PATCH] tools/hotplug/Linux: Fix build Anthony PERARD
2014-10-09 16:53 ` Olaf Hering
2014-10-09 16:54 ` Olaf Hering
2014-10-09 16:58 ` Andrew Cooper
2014-10-10 8:35 ` Ian Campbell
2014-10-10 8:44 ` Ian Campbell
2014-10-10 9:19 ` Wei Liu
2014-10-10 9:20 ` Ian Campbell
2014-10-10 10:03 ` Olaf Hering
2014-10-10 9:59 ` Olaf Hering
2014-10-10 10:42 ` Anthony PERARD [this message]
2014-10-10 11:19 ` Olaf Hering
2014-10-10 14:20 ` Anthony PERARD
2014-10-10 14:28 ` Olaf Hering
2014-10-10 14:31 ` Ian Campbell
2014-10-10 15:34 ` Anthony PERARD
2014-10-13 14:31 ` [PATCH V2] tools/hotplug: Removing of "all" dependency from "install" rule Anthony PERARD
2014-10-13 15:26 ` Ian Jackson
2014-10-14 9:58 ` Ian Campbell
2014-10-14 9:59 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141010104238.GC1742@perard.uk.xensource.com \
--to=anthony.perard@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=olaf@aepfle.de \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.