Skip to contentSkip to conversation

RFS: xen-qemu-dm (new package)

DISCUSSION Thomas Goirand 3 participants 10 messages Jan 19, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

I believe the package is ready:

http://ftparchive.gplhost.com/debian/pool/lenny/main/x/xen-qemu-dm-3.4/xen-qemu-dm-3.4_3.4.2-1.dsc

I asked Ian Jackson to sponsor it (he works for Citrix and is a DD), but it's been 2 weeks, and he seems busy with work.

I'd be glad if someone was sponsoring the upload of this package in Debian SID, soon enough so that people will be able to test it before Squeeze is out.

A bit of information about this package:

- I have asked stuffs and got answers about them form the xen-devel list and the person responsible for the Xen qemu-dm (Stefano Stabellini <[email protected]>), and got answers to all of them

- my package is using the start of a package that Bastian gave to me. It's lintian clean, and I believe it is production ready.

- Christian Motschke <[email protected]> tested it, and reported it is working as expected with Xen 3.4.

- There's currently a dependency to qemu-system as it holds the keymaps. I asked however that the keymaps are shipped separately, in a smaller package, so that my package has a smaller installed footprint. Until then, I believe it's fine to depend on qemu-system (even if it pulls too much things, it's not really bothering).

Thomas

P.S: By the way, are there plans to have Xen 4.0.0 included in Squeeze, is it already too late, or too early to be able to tell? Maybe in Experimental? If I'm not mistaking, there's also a new version of Qemu for Xen that would be needed.

#1 lore raw
Quoted 31 lines · Thomas Goirand

Hi,

I believe the package is ready:

http://ftparchive.gplhost.com/debian/pool/lenny/main/x/xen-qemu-dm-3.4/xen-qemu-dm-3.4_3.4.2-1.dsc

I asked Ian Jackson to sponsor it (he works for Citrix and is a DD), but it's been 2 weeks, and he seems busy with work.

I'd be glad if someone was sponsoring the upload of this package in Debian SID, soon enough so that people will be able to test it before Squeeze is out.

A bit of information about this package:

- I have asked stuffs and got answers about them form the xen-devel list and the person responsible for the Xen qemu-dm (Stefano Stabellini <[email protected]>), and got answers to all of them

- my package is using the start of a package that Bastian gave to me. It's lintian clean, and I believe it is production ready.

- Christian Motschke <[email protected]> tested it, and reported it is working as expected with Xen 3.4.

- There's currently a dependency to qemu-system as it holds the keymaps. I asked however that the keymaps are shipped separately, in a smaller package, so that my package has a smaller installed footprint. Until then, I believe it's fine to depend on qemu-system (even if it pulls too much things, it's not really bothering).

Quoted 7 lines

Thomas

P.S: By the way, are there plans to have Xen 4.0.0 included in Squeeze, is it already too late, or too early to be able to tell? Maybe in Experimental? If I'm not mistaking, there's also a new version of Qemu for Xen that would be needed.

Yeah, Xen 4.0 uses a newer version of qemu-dm, with more patches.

Changelogs here:

qemu-xen-unstable for xen-unstable (upcoming Xen 4.0):
http://xenbits.xen.org/gitweb?p=qemu-xen-unstable.git;a=summary

qemu-xen-3.4-testing for xen-3.4-testing (Xen 3.4.x releases):
http://xenbits.xen.org/gitweb?p=qemu-xen-3.4-testing.git;a=summary

-- Pasi

#3 lore raw
Quoted 5 lines · Samuel Thibault
Quoted 3 lines · Thomas Goirand, le Tue 19 Jan 2010 17:48:41 +0800, a écrit :

I believe the package is ready:

http://ftparchive.gplhost.com/debian/pool/lenny/main/x/xen-qemu-dm-3.4/xen-qemu-dm-3.4_3.4.2-1.dsc

Quoted 7 lines

It surely is not

€ dpkg-buildpackage -B
...
make: Nothing to be done for `binary-arch'.

:)

That's right. I wrote:

binary-arch: install

instead of:

binary-arch: $(STAMPS_DIR)/install

Quoted 2 lines

Could you also add the libbrlapi-dev build dependency? It will be useful for blind people.

Thanks for the suggestion.

Updated package (thanks to the above) available at the same address.

Thomas

#4 lore raw
Quoted 7 lines · Thomas Goirand, le Tue 19 Jan 2010 22:52:11 +0800, a écrit :

That's right. I wrote:

binary-arch: install

instead of:

binary-arch: $(STAMPS_DIR)/install

That won't work either.

Everything you are currently doing in binary-indep should be moved to binary-arch, else dpkg-buildpackage -B (i.e. what buildds do) won't build any package...

Samuel

#6 lore raw
In reply to Thomas Goirand
Quoted 9 lines · Thomas Goirand, le Wed 20 Jan 2010 02:22:11 +0800, a écrit :
Quoted 7 lines

That won't work either.

Everything you are currently doing in binary-indep should be moved to binary-arch, else dpkg-buildpackage -B (i.e. what buildds do) won't build any package...

Samuel

you can try,

I did

Quoted 1 line

it does work...

It didn't

Quoted 2 lines

Even though it's not very clean, binary-arch
depends on install that itself depends on build.

but doesn't depend on binary-indep which does the actual work of building a .deb...

Samuel

#5 lore raw
In reply to Samuel Thibault
Quoted 8 lines

That won't work either.

Everything you are currently doing in binary-indep should be moved to binary-arch, else dpkg-buildpackage -B (i.e. what buildds do) won't build any package...

Samuel

you can try, it does work... Even though it's not very clean, binary-arch depends on install that itself depends on build.

Thomas

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#7 lore raw
In reply to Samuel Thibault
Quoted 14 lines · Samuel Thibault
Quoted 8 lines · Thomas Goirand, le Wed 20 Jan 2010 02:22:11 +0800, a écrit :
Quoted 7 lines

That won't work either.

Everything you are currently doing in binary-indep should be moved to binary-arch, else dpkg-buildpackage -B (i.e. what buildds do) won't build any package...

Samuel

you can try,

I did

Quoted 1 line

it does work...

Quoted 7 lines

It didn't

Quoted 2 lines

Even though it's not very clean, binary-arch
depends on install that itself depends on build.

but doesn't depend on binary-indep which does the actual work of building a .deb...

If you have a look at the one but the least line in debian/rules, you have:

binary: binary-indep binary-arch

Am I still missing something here or... ?

Thomas

#8 lore raw
Quoted 5 lines · Thomas Goirand, le Wed 20 Jan 2010 02:38:19 +0800, a écrit :

If you have a look at the one but the least line in debian/rules, you have:

binary: binary-indep binary-arch

Am I still missing something here or... ?

The fact that dpkg-buildpackage -B doesn't use binary, but only binary-arch. That's one of the points of -B: only generate arch-specific packages, not arch-indep packages.

Really, did you try a fresh unpack of your package and run dpkg-buildpackage -B
?

Here it builds everything, sure, but in the end it realizes it didn't actual build any .deb:

dpkg-genchanges -B >../xen-qemu-dm-3.4_3.4.2-1_amd64.changes
dpkg-genchanges: arch-specific upload - not including arch-independent packages

Really, apply the attached patch.

Samuel

rules renamed from rules.orig +2 -2
@@ -58,7 +58,7 @@
 
 	# $(MAKE) install DESTDIR=debian/$(PKG_NAME)$(XEN_FOLDER)
 
-binary-indep: $(STAMPS_DIR)/install
+binary-arch: $(STAMPS_DIR)/install
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs Changelog
@@ -73,7 +73,7 @@
 	dh_md5sums
 	dh_builddeb
 
-binary-arch: $(STAMPS_DIR)/install
+binary-indep: $(STAMPS_DIR)/install
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#9 lore raw
Quoted 1 line · Samuel Thibault

Really, apply the attached patch.

Patched and uploaded accordingly. Thanks for your time and care.

Thomas