[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] Re: [Xen-staging] [xen-unstable] If we find a Linuxrepository in $(LINUX_SRC_PATH) then symlink it


  • To: "Ian Campbell" <Ian.Campbell@xxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.