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] Re: [Xen-staging] [xen-unstable] If we find a Linuxrepos

To: "Ian Campbell" <Ian.Campbell@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Re: [Xen-staging] [xen-unstable] If we find a Linuxrepository in $(LINUX_SRC_PATH) then symlink it
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Tue, 5 Jun 2007 15:31:30 +0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Alex Williamson <alex.williamson@xxxxxx>
Delivery-date: Tue, 05 Jun 2007 00:29:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1181027480.5416.33.camel@xxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcenQLtEATcB2wAnRmaIlOYdB+PY1QAAmGMw
Thread-topic: [Xen-devel] Re: [Xen-staging] [xen-unstable] If we find a Linuxrepository in $(LINUX_SRC_PATH) then symlink it
When I make world using c/s 15217, I met with the following error:

......
make -f buildconfigs/mk.linux-2.6-xen0 build
make[3]: Entering directory `/home/dcui/tmp/stage-wd2'
set -e ; \
if [ ! -e linux-2.6.18-xen.hg/.hg ] ; then \
    __repo=$(sh buildconfigs/select-repository linux-2.6.18-xen.hg .:..) ; \
    if [ -d ${__repo} ] ; then \
        echo "Linking ${__repo} to linux-2.6.18-xen.hg." ; \
        ln -s ${__repo} linux-2.6.18-xen.hg ; \
    else \
        echo "Cloning ${__repo} to linux-2.6.18-xen.hg." ; \
        hg clone ${__repo} linux-2.6.18-xen.hg ; \
    fi ; \
else \
    __parent=$(hg -R linux-2.6.18-xen.hg path default) ; \
    echo "Pulling changes from ${__parent} into linux-2.6.18-xen.hg." ; \
    hg -R linux-2.6.18-xen.hg pull ${__parent} ; \
fi
select-repository: Searching `.:..' for linux-2.6.18-xen.hg
select-repository: Ignoring `.'
select-repository: Found http:/linux-2.6.18-xen.hg
Cloning http:/linux-2.6.18-xen.hg to linux-2.6.18-xen.hg.
abort: error: o
make[3]: *** [linux-2.6.18-xen.hg/.valid-src] Error 255
make[3]: Leaving directory `/home/dcui/tmp/stage-wd2'
make[2]: *** [linux-2.6-xen0-install] Error 2
make[2]: Leaving directory `/home/dcui/tmp/stage-wd2'
make[1]: *** [install-kernels] Error 1
make[1]: Leaving directory `/home/dcui/tmp/stage-wd2'
make: *** [world] Error 2

-- Dexuan

-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ian Campbell
Sent: 2007年6月5日 15:11
To: Alex Williamson
Cc: xen-devel
Subject: [Xen-devel] Re: [Xen-staging] [xen-unstable] If we find a 
Linuxrepository in $(LINUX_SRC_PATH) then symlink it

On Mon, 2007-06-04 at 16:19 -0600, Alex Williamson wrote:

> You're cloning from a remote repo, mine is local on disk:

Ah yes, I see the problem now. I'll have a look at fixing it this
morning.

>             __repo=$(sh buildconfigs/select-repository linux-2.6.18-xen.hg ) 
> ; \
>             if [ -d ${__repo} ] ; then \

this test is still true even if the repository was found by munging the
parent and not LINUX_SRC_PATH. I'll try prepending "file://" if we go
down the munging path and the tree happens to be local.

Ian.



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

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

<Prev in Thread] Current Thread [Next in Thread>