All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir.xen@gmail.com>
To: Juergen Gross <juergen.gross@ts.fujitsu.com>,
	"Kay, Allen M" <allen.m.kay@intel.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: build failure caused by $(XEN_ROOT)/.config
Date: Thu, 06 Oct 2011 09:00:49 +0100	[thread overview]
Message-ID: <CAB31EC1.22461%keir.xen@gmail.com> (raw)
In-Reply-To: <4E8D313F.8040809@ts.fujitsu.com>

On 06/10/2011 05:40, "Juergen Gross" <juergen.gross@ts.fujitsu.com> wrote:

>  
>  Uuh, the same bug was introduced again.
>  Could you try the following patch:

Whilst this is definitely a valid fix, Allen's build was crashing out from
tools/check. This is unlikely to fix it.

 -- Keir

>  diff -r 0b66e6450ffe tools/libfsimage/xfs/Makefile
>  --- a/tools/libfsimage/xfs/Makefile     Tue Oct 04 14:18:30 2011 +0200
>  +++ b/tools/libfsimage/xfs/Makefile     Thu Oct 06 06:32:00 2011 +0200
>  @@ -1,4 +1,4 @@ XEN_ROOT = ../../..
>  -XEN_ROOT = ../../..
>  +XEN_ROOT = $(CURDIR)/../../..
>   
>   LIB_SRCS-y = fsys_xfs.c
>   
>  
>  Keir, it is easy to catch this problem: create a .config file in all
> directories
>  _above_ $XEN_ROOT containing something like:
>  
>  $(error usage of relative XEN_ROOT somewhere in $(MAKEFILE_LIST))
>  
>  
>  Juergen
>  
>  
>>  
>>  
>> 
>>  
>>  
>>  
>> Allen
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>> 
>> From: Juergen Gross [mailto:juergen.gross@ts.fujitsu.com]
>>  Sent: Tuesday, October 04, 2011 9:45 PM
>>  To: Kay, Allen M
>>  Cc: xen-devel@lists.xensource.com; keir@xen.org
>>  Subject: Re: [Xen-devel] build failure caused by $(XEN_ROOT)/.config
>>  
>>  
>>  
>>  
>>  
>> On 10/04/2011 11:44 PM, Kay, Allen M wrote:
>>  
>> Hi Keir,
>>  
>>  
>>  
>> I¹m getting the following build error caused by ³-include
>> $(XEN_ROOT)/.config² line in Config.mk.  Removing it from Config.mk makes the
>> error go away.  The OS I¹m using is FC15.  ³$(XEN_ROOT)/.config² does not
>> exist.
>>  
>>  
>>  
>> Allen
>>  
>>  
>>  
>> -------
>>  
>>  
>>  
>> make[4]: Entering directory `/home/akay/xen-4.1-testing.hg/tools/check'
>>  
>> make[4]: *** ../../.config: Is a directory.  Stop.
>>  
>> make[4]: Leaving directory `/home/akay/xen-4.1-testing.hg/tools/check'
>>  
>> make[3]: *** [subdir-clean-check] Error 2
>>  
>> make[3]: Leaving directory `/home/akay/xen-4.1-testing.hg/tools'
>>  
>> make[2]: *** [subdirs-clean] Error 2
>>  
>> make[2]: Leaving directory `/home/akay/xen-4.1-testing.hg/tools'
>>  
>> make[1]: *** [clean] Error 2
>>  
>> make[1]: Leaving directory `/home/akay/xen-4.1-testing.hg'
>>  
>> make: *** [world] Error 2
>>  
>>  
>>  
>> 
>>  This is fixed with cs 23049 in xen-unstable:
>>  
>>  http://lists.xensource.com/archives/html/xen-devel/2011-03/msg01251.html
>>  
>>  
>>  Juergen
>>  
>>  
>>  

  reply	other threads:[~2011-10-06  8:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-04 21:44 build failure caused by $(XEN_ROOT)/.config Kay, Allen M
2011-10-05  4:45 ` Juergen Gross
2011-10-05 16:24   ` Kay, Allen M
2011-10-05 16:42     ` Keir Fraser
2011-10-05 16:43       ` Keir Fraser
2011-10-05 16:47       ` Brendan Cully
2011-10-05 16:51         ` Keir Fraser
2011-10-05 16:56           ` Ian Campbell
2011-10-06  4:40     ` Juergen Gross
2011-10-06  8:00       ` Keir Fraser [this message]
2011-10-06  8:11         ` Juergen Gross
2011-10-06 17:46           ` Ian Jackson
2011-10-06 18:27             ` Keir Fraser
2011-10-06 18:18       ` Kay, Allen M
2011-10-06 18:23         ` Ian Jackson
2011-10-06 18:27       ` Kay, Allen M
2011-10-06 18:33         ` Keir Fraser
2011-10-06 18:39           ` Kay, Allen M
2011-10-06 18:50           ` Ian Jackson

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=CAB31EC1.22461%keir.xen@gmail.com \
    --to=keir.xen@gmail.com \
    --cc=allen.m.kay@intel.com \
    --cc=juergen.gross@ts.fujitsu.com \
    --cc=xen-devel@lists.xensource.com \
    /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.