Skip to contentSkip to conversation

xen-4.0.1-rc3 fails to 'make tools'

DISCUSSION Min Lee 2 participants 4 messages Jun 25, 2010

lore
Share & tools
lore

Min Lee

author
#0 lore raw

Hi, I just checked out current xen-testing.hg
but it failed to 'make tools' as below.
I have some troubles with Xen4's tools and ioemu building, actually I don't need since I'm working on mainly PV case. It would be great if I can totally skip ioemu part (I don't even do stubdom) in building xentools. How can I?
Thanks
Min

--

remote: Counting objects: 45652, done.
remote: Compressing objects: 100% (15065/15065), done.
remote: Total 45652 (delta 33226), reused 42451 (delta 30533) Receiving objects: 100% (45652/45652), 18.26 MiB | 322 KiB/s, done. Resolving deltas: 100% (33226/33226), done.
+ [ xen-4.0.1-rc3 ]
+ cd ioemu-remote.tmp
+ git branch -D dummy
+ :
+ git checkout -b dummy xen-4.0.1-rc3
fatal: git checkout: updating paths is incompatible with switching branches. Did you intend to checkout 'xen-4.0.1-rc3' which can not be resolved as commit? make[1]: *** [ioemu-dir-find] Error 128
make[1]: Leaving directory `/root/xen-4.0-testing.hg/tools'
make: *** [tools/ioemu-dir] Error 2

#1 lore raw

Min Lee writes ("[Xen-devel] xen-4.0.1-rc3 fails to 'make tools'"):

Quoted 5 lines

Hi, I just checked out current xen-testing.hg
but it failed to 'make tools' as below.
I have some troubles with Xen4's tools and ioemu building, actually I don't need since I'm working on mainly PV case. It would be great if I can totally skip ioemu part (I don't even do stubdom) in building xentools.

You should be able to by setting CONFIG_IOEMU=n in Config.mk or .config.

But there is something strange about your error message; if that build didn't work perhaps I have made a mistake. Is your tree a fresh one ? Can you send me privately a copy of the whole build transcript ?

Thanks,
Ian.

author
#2 lore raw

Hi, Ian.
I made one change to Config.mk to use git:// instead of http:// as below.
Now I found that QEMU_REMOTE=git:// should be xen-4.0-testing.git, not unstable branch's.. as below.

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

Now it's working.
I think this is just trivial fix.
thanks!
Min

Quoted 17 lines · Ian Jackson

Min Lee writes ("[Xen-devel] xen-4.0.1-rc3 fails to 'make tools'"):

Quoted 5 lines

Hi, I just checked out current xen-testing.hg
but it failed to 'make tools' as below.
I have some troubles with Xen4's tools and ioemu building, actually I don't need since I'm working on mainly PV case. It would be great if I can totally skip ioemu part (I don't even do stubdom) in building xentools.

You should be able to by setting CONFIG_IOEMU=n in Config.mk or .config.

But there is something strange about your error message; if that build didn't work perhaps I have made a mistake. Is your tree a fresh one ? Can you send me privately a copy of the whole build transcript ?

Thanks,
Ian.

#3 lore raw

Min Lee writes ("Re: [Xen-devel] xen-4.0.1-rc3 fails to 'make tools'"):

Quoted 3 lines

I made one change to Config.mk to use git:// instead of http:// as below. Now I found that QEMU_REMOTE=git:// should be xen-4.0-testing.git, not unstable branch's.. as below.

Ah, yes.

Quoted 1 line

I think this is just trivial fix.

Good, thanks.

Ian.