Skip to contentSkip to conversation

xen-4.0.1-rc2 fails to 'make tools'

DISCUSSION DEMIAN_8 3 participants 3 messages Jan 9, 2011 – Jan 11, 2011

lore
Share & tools
lore

DEMIAN_8

author
#0 lore raw

Hi, I just checked out current xen-testing.hg
but it failed to 'make tools' as below.
How can I?
Thanks

__________________

make[1]: Entering directory `/root/xen-4.0-testing.hg/tools'

set -ex; \
        if test -d git://xenbits.xensource.com/qemu-xen-4.0-testing.git;
then \
                rm -f ioemu-dir; \
                ln -sf git://xenbits.xensource.com/qemu-xen-4.0-testing.git
ioemu-dir; \
        else \
                if [ ! -d ioemu-remote ]; then \
                        rm -rf ioemu-remote ioemu-remote.tmp; \
                        mkdir ioemu-remote.tmp; rmdir ioemu-remote.tmp; \
                        git clone
git://xenbits.xensource.com/qemu-xen-4.0-testing.git ioemu-remote.tmp; \
                        if [ "6d5b7ee3acfe8cc10681d2583a38398f7470ec2a" ];
then\
                                cd ioemu-remote.tmp;                    \
                                git branch -D dummy >/dev/null 2>&1 ||:; \
                                git checkout -b dummy
6d5b7ee3acfe8cc10681d2583a38398f7470ec2a;        \
                                cd ..;                                  \
                        fi;                                             \
                        mv ioemu-remote.tmp ioemu-remote; \
                fi; \
                rm -f ioemu-dir; \
                ln -sf ioemu-remote ioemu-dir; \
        fi

+ test -d git://xenbits.xensource.com/qemu-xen-4.0-testing.git
+ '[' '!' -d ioemu-remote ']'
+ rm -rf ioemu-remote ioemu-remote.tmp
+ mkdir ioemu-remote.tmp
+ rmdir ioemu-remote.tmp
+ git clone git://xenbits.xensource.com/qemu-xen-4.0-testing.git
ioemu-remote.tmp
Cloning into ioemu-remote.tmp...
remote: Counting objects: 45586, done.
remote: Compressing objects: 100% (14868/14868), done.
remote: Total 45586 (delta 33175), reused 42563 (delta 30664) Receiving objects: 100% (45586/45586), 18.21 MiB | 94 KiB/s, done. Resolving deltas: 100% (33175/33175), done.
+ '[' 6d5b7ee3acfe8cc10681d2583a38398f7470ec2a ']'
+ cd ioemu-remote.tmp
+ git branch -D dummy
+ :
+ git checkout -b dummy 6d5b7ee3acfe8cc10681d2583a38398f7470ec2a
fatal: reference is not a tree: 6d5b7ee3acfe8cc10681d2583a38398f7470ec2a make[1]: *** [ioemu-dir-find] Error 128
make[1]: Leaving directory `/root/xen-4.0-testing.hg/tools'
make: *** [tools/ioemu-dir] Error 2

__________________

I have read post
http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01472.html but nothing happened.

I commented out as there described, but unfortunately does not work.

QEMU_REMOTE=git://xenbits.xensource.com/qemu-xen-4.0-testing.git # QEMU_REMOTE=http://xenbits.xensource.com/git-http/qemu-xe...

Signature · 2 lines
View this message in context: http://xen.1045712.n5.nabble.com/xen-4-0-1-rc2-fails-to-make-tools-tp3333595p3333595.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
#1 lore raw
Quoted 4 lines · On 09/01/2011 04:03, "DEMIAN_8" <[email protected]> wrote:

Hi, I just checked out current xen-testing.hg
but it failed to 'make tools' as below.
How can I?

Two problems I can see.

Firstly, you are not trying to check-out the xen-4.0.2-rc1 tag from the qemu repository. Probably because your xen-4.0-testing.hg tree is not up to date -- you need to pull it from
http://xenbits.xen.org/staging/xen-4.0-testing.hg rather than
http://xenbits.xen.org/xen-4.0-testing.hg.

Secondly, nonetheless, the old tag (6d5b7...) should be present in the qemu repository. So something has gone wrong there. Ian Jackson (cc'ed) can probably help. Perhaps the qemu repo has got broken in updating it for RC1.

-- Keir

Quoted 63 lines

Thanks

__________________

make[1]: Entering directory `/root/xen-4.0-testing.hg/tools'

set -ex; \
        if test -d git://xenbits.xensource.com/qemu-xen-4.0-testing.git;
then \
                rm -f ioemu-dir; \
                ln -sf git://xenbits.xensource.com/qemu-xen-4.0-testing.git
ioemu-dir; \
        else \
                if [ ! -d ioemu-remote ]; then \
                        rm -rf ioemu-remote ioemu-remote.tmp; \
                        mkdir ioemu-remote.tmp; rmdir ioemu-remote.tmp; \
                        git clone
git://xenbits.xensource.com/qemu-xen-4.0-testing.git ioemu-remote.tmp; \
                        if [ "6d5b7ee3acfe8cc10681d2583a38398f7470ec2a" ];
then\
                                cd ioemu-remote.tmp;                    \
                                git branch -D dummy >/dev/null 2>&1 ||:; \
                                git checkout -b dummy
6d5b7ee3acfe8cc10681d2583a38398f7470ec2a;        \
                                cd ..;                                  \
                        fi;                                             \
                        mv ioemu-remote.tmp ioemu-remote; \
                fi; \
                rm -f ioemu-dir; \
                ln -sf ioemu-remote ioemu-dir; \
        fi

+ test -d git://xenbits.xensource.com/qemu-xen-4.0-testing.git
+ '[' '!' -d ioemu-remote ']'
+ rm -rf ioemu-remote ioemu-remote.tmp
+ mkdir ioemu-remote.tmp
+ rmdir ioemu-remote.tmp
+ git clone git://xenbits.xensource.com/qemu-xen-4.0-testing.git
ioemu-remote.tmp
Cloning into ioemu-remote.tmp...
remote: Counting objects: 45586, done.
remote: Compressing objects: 100% (14868/14868), done.
remote: Total 45586 (delta 33175), reused 42563 (delta 30664) Receiving objects: 100% (45586/45586), 18.21 MiB | 94 KiB/s, done. Resolving deltas: 100% (33175/33175), done.
+ '[' 6d5b7ee3acfe8cc10681d2583a38398f7470ec2a ']'
+ cd ioemu-remote.tmp
+ git branch -D dummy
+ :
+ git checkout -b dummy 6d5b7ee3acfe8cc10681d2583a38398f7470ec2a
fatal: reference is not a tree: 6d5b7ee3acfe8cc10681d2583a38398f7470ec2a make[1]: *** [ioemu-dir-find] Error 128
make[1]: Leaving directory `/root/xen-4.0-testing.hg/tools'
make: *** [tools/ioemu-dir] Error 2

__________________

I have read post
http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01472.html but nothing happened.

I commented out as there described, but unfortunately does not work.

QEMU_REMOTE=git://xenbits.xensource.com/qemu-xen-4.0-testing.git # QEMU_REMOTE=http://xenbits.xensource.com/git-http/qemu-xe...

#2 lore raw

Keir Fraser writes ("Re: [Xen-devel] xen-4.0.1-rc2 fails to 'make tools'"):

Quoted 3 lines

Secondly, nonetheless, the old tag (6d5b7...) should be present in the qemu repository. So something has gone wrong there. Ian Jackson (cc'ed) can probably help. Perhaps the qemu repo has got broken in updating it for RC1.

I don't understand what's going on here. I have just run the commands that the transcript shows:

Quoted 1 line
Quoted 1 line

+ git clone git://xenbits.xensource.com/qemu-xen-4.0-testing.git

...

Quoted 1 line
Quoted 1 line

+ git checkout -b dummy 6d5b7ee3acfe8cc10681d2583a38398f7470ec2a

It worked just fine.

Ian.