WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] build failure caused by $(XEN_ROOT)/.config

To: Keir Fraser <keir.xen@xxxxxxxxx>
Subject: Re: [Xen-devel] build failure caused by $(XEN_ROOT)/.config
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Thu, 06 Oct 2011 10:11:23 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Delivery-date: Thu, 06 Oct 2011 01:12:30 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1317888684; x=1349424684; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=IU2HVFvhhRyGIX4NCkk6sclGgGBD/ywcn9DqlCxhX34=; b=awzj41EmM41kVgjawEtHn+LnelaLw58QhTontgNtpEGxriAcELX52LNp t/3Kug/In8u5vUsyG6imbILXI1BuAw0Awk+XIWVrM3pCCcsv19WrKnlhO LiBJ3ZNp3b0yjymfGlZYF7s5cg4ZyYAhIoWttFLxliUB3L2dRCFSZ6yCN 7d0dDy5YY4rMW+XB2Q+i8YlW81aX5m3uZwItx7l0c2G+wu/PLEGB30Qh4 FOY78D66hPvHCWru7b27xrEPNRDMt;
Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=CPY9vgztxo7jVV0HSgvQrlMICReJJXmjnuMNDMWRKFkT8pX29b/XL3ox BgSM0OGfvva4fqS5JcXY4y8JAxTNUut65yBxg6ZJn0iUujWvyoCZgrIyL asPT8C+n41ZzWxF7y04JOhH8NuFBupu3f5pihybA9mQ+z/NaKfjWHIBMF aU3LwzOcfRXSRrIqn0SMTDUxi2QSM80jnh61ba4g1tUVAOGh808C5qv5L ey/9hlkOzhg2CVneXVemnkmNkmBI9;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAB31EC1.22461%keir.xen@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Fujitsu Technology Solutions
References: <CAB31EC1.22461%keir.xen@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Iceowl/1.0b2 Icedove/3.1.13
On 10/06/2011 10:00 AM, Keir Fraser wrote:
On 06/10/2011 05:40, "Juergen Gross"<juergen.gross@xxxxxxxxxxxxxx>  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.

His build path suggests he is using xen-4.1-testing. cs23049 was applied 
directly
after branching xen 4.1.
In the current staging tree my patch fixes a similar problem in a different
Makefile.

Allen, which version are you really using?


Juergen

  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@xxxxxxxxxxxxxx]
  Sent: Tuesday, October 04, 2011 9:45 PM
  To: Kay, Allen M
  Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; keir@xxxxxxx
  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





_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel




--
Juergen Gross                 Principal Developer Operating Systems
PDG ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@xxxxxxxxxxxxxx
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel