All of lore.kernel.org
 help / color / mirror / Atom feed
* "make tools/ioemu-dir-force-update" fails
@ 2010-11-22  7:18 Juergen Gross
  2010-11-22  9:26 ` Ian Campbell
  0 siblings, 1 reply; 3+ messages in thread
From: Juergen Gross @ 2010-11-22  7:18 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

Hi,

forced update of qemu in xen-unstable fails (I'm using GIT_HTTP=y, if
this matters):

# make tools/ioemu-dir-force-update
make -C tools ioemu-dir-force-update
make[1]: Entering directory `/root/xen-unstable.hg/tools'
set -ex; \
         if [ "60766b459c41e429a4b2405124b42512ea362984" ]; then \
                 cd ioemu-remote; \
                 git reset --hard 60766b459c41e429a4b2405124b42512ea362984; \
         fi
+ '[' 60766b459c41e429a4b2405124b42512ea362984 ']'
+ cd ioemu-remote
+ git reset --hard 60766b459c41e429a4b2405124b42512ea362984
fatal: Could not parse object '60766b459c41e429a4b2405124b42512ea362984'.
make[1]: *** [ioemu-dir-force-update] Error 128
make[1]: Leaving directory `/root/xen-unstable.hg/tools'
make: *** [tools/ioemu-dir-force-update] Error 2


Juergen

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "make tools/ioemu-dir-force-update" fails
  2010-11-22  7:18 "make tools/ioemu-dir-force-update" fails Juergen Gross
@ 2010-11-22  9:26 ` Ian Campbell
  2010-11-23 19:29   ` Ian Jackson
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Campbell @ 2010-11-22  9:26 UTC (permalink / raw)
  To: Juergen Gross; +Cc: xen-devel@lists.xensource.com

On Mon, 2010-11-22 at 07:18 +0000, Juergen Gross wrote:
> Hi,
> 
> forced update of qemu in xen-unstable fails (I'm using GIT_HTTP=y, if
> this matters):
> 
> # make tools/ioemu-dir-force-update
> make -C tools ioemu-dir-force-update
> make[1]: Entering directory `/root/xen-unstable.hg/tools'
> set -ex; \
>          if [ "60766b459c41e429a4b2405124b42512ea362984" ]; then \
>                  cd ioemu-remote; \
>                  git reset --hard 60766b459c41e429a4b2405124b42512ea362984; \
>          fi
> + '[' 60766b459c41e429a4b2405124b42512ea362984 ']'
> + cd ioemu-remote
> + git reset --hard 60766b459c41e429a4b2405124b42512ea362984
> fatal: Could not parse object '60766b459c41e429a4b2405124b42512ea362984'.
> make[1]: *** [ioemu-dir-force-update] Error 128
> make[1]: Leaving directory `/root/xen-unstable.hg/tools'
> make: *** [tools/ioemu-dir-force-update] Error 2

When I added this I was motivated by doing bisection -- i.e. switching
between versions which are already in the local repository. This
obviously doesn't handle the (most common) case where an entirely new
qemu version is required.

We obviously need a "git fetch" of some description in there:

8<-----------

# HG changeset patch
# User Ian Campbell <ian.campbell@citrix.com>
# Date 1290417947 0
# Node ID 5854108a8305913ebe5c5f02c1dac6bd0f389770
# Parent  4c6b73eacd4747e89ea7aacc2d91b14a83f2c8e3
tools: fetch remote changesets when force refetching/resetting qemu

This makes "make tools/ioemu-dir-force-update" usable for picking up
an entirely new QEMU_TAG.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>

diff -r 4c6b73eacd47 -r 5854108a8305 tools/Makefile
--- a/tools/Makefile	Mon Nov 22 09:21:02 2010 +0000
+++ b/tools/Makefile	Mon Nov 22 09:25:47 2010 +0000
@@ -122,6 +122,7 @@ ioemu-dir-force-update:
 	set -ex; \
 	if [ "$(QEMU_TAG)" ]; then \
 		cd ioemu-remote; \
+		$(GIT) fetch origin; \
 		$(GIT) reset --hard $(QEMU_TAG); \
 	fi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "make tools/ioemu-dir-force-update" fails
  2010-11-22  9:26 ` Ian Campbell
@ 2010-11-23 19:29   ` Ian Jackson
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Jackson @ 2010-11-23 19:29 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Juergen Gross, xen-devel@lists.xensource.com

Ian Campbell writes ("Re: [Xen-devel] "make tools/ioemu-dir-force-update" fails"):
> tools: fetch remote changesets when force refetching/resetting qemu

Applied, thanks.

Ian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-23 19:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-22  7:18 "make tools/ioemu-dir-force-update" fails Juergen Gross
2010-11-22  9:26 ` Ian Campbell
2010-11-23 19:29   ` Ian Jackson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.