Your message dated Tue, 22 Mar 2011 11:41:00 +0000
with message-id <[email protected]>
and subject line Bug#596545: fixed in xen 4.1.0~rc6-1
has caused the Debian Bug report #596545,
regarding proposed NMU to build with python2.6
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
596545: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596545
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xen
Version: 4.0.1-1
Tags: patch

Here is a patch to get rid off the obvious problem with string exceptions, and to change to rules to build with python2.6.

diff -Nru xen-4.0.1/debian/changelog xen-4.0.1/debian/changelog
--- xen-4.0.1/debian/changelog  2010-09-03 17:16:04.000000000 +0200
+++ xen-4.0.1/debian/changelog  2010-09-12 14:10:26.000000000 +0200
@@ -1,3 +1,12 @@
+xen (4.0.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Replace build-dependency on python2.5-dev with python2.6-dev.
+    Closes: #596316.
+  * Replace string exceptions with ValueError's. Closes: #585372.
+
+ -- Matthias Klose <[email protected]>  Sun, 12 Sep 2010 13:48:08 +0200
+
 xen (4.0.1-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru xen-4.0.1/debian/control xen-4.0.1/debian/control
--- xen-4.0.1/debian/control    2010-09-03 17:18:05.000000000 +0200
+++ xen-4.0.1/debian/control    2010-09-12 14:10:35.000000000 +0200
@@ -4,9 +4,9 @@
 Maintainer: Debian Xen Team <[email protected]>
 Uploaders: Julien Danjou <[email protected]>, Guido Trotter 
<[email protected]>, Bastian Blank <[email protected]>
 Standards-Version: 3.8.4
-Build-Depends: debhelper (>> 7), lsb-release, quilt, python2.5-dev, 
python-support, bcc, gcc-multilib, e2fslibs-dev, iasl, libncurses5-dev, 
uuid-dev, zlib1g-dev
+Build-Depends: debhelper (>> 7), lsb-release, quilt, python2.6-dev, 
python-support, bcc, gcc-multilib, e2fslibs-dev, iasl, libncurses5-dev, 
uuid-dev, zlib1g-dev
 Build-Depends-Indep: graphviz, gs-common, texlive-fonts-recommended, 
texlive-latex-recommended
-XS-Python-Version: 2.5
+XS-Python-Version: 2.6
 
 Package: xen-docs-4.0
 Architecture: all
diff -Nru xen-4.0.1/debian/control.md5sum xen-4.0.1/debian/control.md5sum
--- xen-4.0.1/debian/control.md5sum     2010-09-03 17:18:05.000000000 +0200
+++ xen-4.0.1/debian/control.md5sum     2010-09-12 14:10:35.000000000 +0200
@@ -1,8 +1,8 @@
-62491ef1206240a88e09a4c524798439  debian/changelog
+3dde2ed09f0da529adcf564e295b544a  debian/changelog
 24f2598a23e30264aea4a983d5d19eec  debian/bin/gencontrol.py
 ee1ccd7bf0932a81ca221cab08347614  debian/templates/control.hypervisor.in
 e4335ab10e217a12328cdf123473ed37  debian/templates/control.main.in
-d0b2fdb5ba20b9ae0a33f7ac843744fc  debian/templates/control.source.in
+a35156fe9da59e4eee2d014f10383d2f  debian/templates/control.source.in
 52a1288ece001f683dca62e9a325fd51  debian/templates/control.utils.in
 a15fa64ce6deead28d33c1581b14dba7  debian/templates/xen-hypervisor.postinst.in
 22492e0565a4754b5e008ca7cac871da  debian/templates/xen-hypervisor.postrm.in
diff -Nru xen-4.0.1/debian/patches/series xen-4.0.1/debian/patches/series
--- xen-4.0.1/debian/patches/series     2010-08-17 23:14:56.000000000 +0200
+++ xen-4.0.1/debian/patches/series     2010-09-12 16:00:32.000000000 +0200
@@ -47,3 +47,4 @@
 tools-xenmon-install.diff
 
 tools-python-shebang.diff
+tools-python2.6.diff
diff -Nru xen-4.0.1/debian/patches/tools-python2.6.diff 
xen-4.0.1/debian/patches/tools-python2.6.diff
--- xen-4.0.1/debian/patches/tools-python2.6.diff       1970-01-01 
01:00:00.000000000 +0100
+++ xen-4.0.1/debian/patches/tools-python2.6.diff       2010-09-12 
16:00:12.000000000 +0200
@@ -0,0 +1,48 @@
+Description: Replace python string exceptions with ValueError exceptions
+Author: Matthias Klose <[email protected]>
+Bug-Debian: http://bugs.debian.org/585372
+
+--- xen-4.0.1.orig/tools/python/xen/util/bugtool.py
++++ xen-4.0.1/tools/python/xen/util/bugtool.py
+@@ -139,7 +139,7 @@ def getBugTitle(bug):
+     finally:
+         f.close()
+ 
+-    raise "Could not find title of bug %d!" % bug
++    raise ValueError("Could not find title of bug %d!" % bug)
+ 
+ 
+ def send(bug, conn, fd, filename, username, password):
+--- xen-4.0.1.orig/tools/python/xen/xend/XendBase.py
++++ xen-4.0.1/tools/python/xen/xend/XendBase.py
+@@ -114,7 +114,7 @@ class XendBase:
+             # In OSS, ref == uuid
+             return uuid
+         else:
+-            raise "Big Error.. TODO!"
++            raise ValueError("Big Error.. TODO!")
+ 
+     def get_all_records(cls):
+         return dict([(inst.get_uuid(), inst.get_record())
+--- xen-4.0.1.orig/tools/python/xen/xm/xenapi_create.py
++++ xen-4.0.1/tools/python/xen/xm/xenapi_create.py
+@@ -702,7 +702,7 @@ class sxp2xml:
+                 vm.attributes['security_label'] = \
+                                     
security.set_security_label(sec_data[0][1][1],sec_data[0][2][1])
+             except Exception, e:
+-                raise "Invalid security data format: %s" % str(sec_data)
++                raise ValueError("Invalid security data format: %s" % 
str(sec_data))
+ 
+         # Make the name tag
+ 
+--- xen-4.0.1.orig/tools/python/xen/xm/main.py
++++ xen-4.0.1/tools/python/xen/xm/main.py
+@@ -2616,7 +2616,7 @@ def xm_network_attach(args):
+                              for ref, record in server.xenapi.network
+                              .get_all_records().items()])
+             if bridge not in networks.keys():
+-                raise "Unknown bridge name!"
++                raise ValueError("Unknown bridge name!")
+             return networks[bridge]
+ 
+         vif_conv = {
diff -Nru xen-4.0.1/debian/templates/control.source.in 
xen-4.0.1/debian/templates/control.source.in
--- xen-4.0.1/debian/templates/control.source.in        2010-06-21 
17:16:15.000000000 +0200
+++ xen-4.0.1/debian/templates/control.source.in        2010-09-12 
13:47:15.000000000 +0200
@@ -4,7 +4,7 @@
 Uploaders: Julien Danjou <[email protected]>, Guido Trotter 
<[email protected]>, Bastian Blank <[email protected]>
 Build-Depends:
  debhelper (>> 7), lsb-release, quilt,
- python2.5-dev, python-support,
+ python2.6-dev, python-support,
  bcc,
  gcc-multilib,
  e2fslibs-dev,
@@ -14,5 +14,5 @@
  zlib1g-dev
 Build-Depends-Indep: graphviz, gs-common, texlive-fonts-recommended, 
texlive-latex-recommended
 Standards-Version: 3.8.4
-XS-Python-Version: 2.5
+XS-Python-Version: 2.6
 

--- End Message ---
--- Begin Message ---
Source: xen
Source-Version: 4.1.0~rc6-1

We believe that the bug you reported is fixed in the latest version of
xen, which is due to be installed in the Debian FTP archive:

libxen-dev_4.1.0~rc6-1_amd64.deb
  to main/x/xen/libxen-dev_4.1.0~rc6-1_amd64.deb
libxenstore3.0_4.1.0~rc6-1_amd64.deb
  to main/x/xen/libxenstore3.0_4.1.0~rc6-1_amd64.deb
xen-docs-4.1_4.1.0~rc6-1_all.deb
  to main/x/xen/xen-docs-4.1_4.1.0~rc6-1_all.deb
xen-hypervisor-4.1-amd64_4.1.0~rc6-1_amd64.deb
  to main/x/xen/xen-hypervisor-4.1-amd64_4.1.0~rc6-1_amd64.deb
xen-utils-4.1_4.1.0~rc6-1_amd64.deb
  to main/x/xen/xen-utils-4.1_4.1.0~rc6-1_amd64.deb
xen_4.1.0~rc6-1.debian.tar.gz
  to main/x/xen/xen_4.1.0~rc6-1.debian.tar.gz
xen_4.1.0~rc6-1.dsc
  to main/x/xen/xen_4.1.0~rc6-1.dsc
xen_4.1.0~rc6.orig.tar.gz
  to main/x/xen/xen_4.1.0~rc6.orig.tar.gz
xenstore-utils_4.1.0~rc6-1_amd64.deb
  to main/x/xen/xenstore-utils_4.1.0~rc6-1_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Blank <[email protected]> (supplier of updated xen package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 17 Mar 2011 16:12:45 +0100
Source: xen
Binary: xen-docs-4.1 libxenstore3.0 libxen-dev xenstore-utils xen-utils-4.1 
xen-hypervisor-4.1-amd64 xen-hypervisor-4.1-i386
Architecture: source amd64 all
Version: 4.1.0~rc6-1
Distribution: unstable
Urgency: low
Maintainer: Debian Xen Team <[email protected]>
Changed-By: Bastian Blank <[email protected]>
Description: 
 libxen-dev - Public headers and libs for Xen
 libxenstore3.0 - Xenstore communications library for Xen
 xen-docs-4.1 - Documentation for Xen
 xen-hypervisor-4.1-amd64 - Xen Hypervisor on AMD64
 xen-hypervisor-4.1-i386 - Xen Hypervisor on i386
 xen-utils-4.1 - XEN administrative tools
 xenstore-utils - Xenstore utilities for Xen
Closes: 596545
Changes: 
 xen (4.1.0~rc6-1) unstable; urgency=low
 .
   * New upstream release candidate.
   * Build documentation using pdflatex.
   * Use python 2.6. (closes: #596545)
   * Fix lintian override.
   * Install new tools: xl, xenpaging.
   * Enable blktap2.
     - Use own md5 implementation.
     - Fix includes.
     - Fix linking of blktap2 binaries.
     - Remove optimization setting.
   * Temporarily disable hvmloader, wants to download ipxe.
   * Remove xenstored pid check from xl.
Checksums-Sha1: 
 daad21af87a7c09146ecf18058711da7ab58543b 1495 xen_4.1.0~rc6-1.dsc
 57f5b61f506db5ab0ba14b7924b79fbe088edf54 7632530 xen_4.1.0~rc6.orig.tar.gz
 950482498a36f87b71b9fa5b799cb37940d8643e 39577 xen_4.1.0~rc6-1.debian.tar.gz
 780a279f465b5686cb8b77ac90386ac09e4b3367 741094 
xen-hypervisor-4.1-amd64_4.1.0~rc6-1_amd64.deb
 b1cecc2b91593cd8573c8bd41b715f6aabc618d5 1153018 
xen-docs-4.1_4.1.0~rc6-1_all.deb
 70eb4cd85bf3c08244e3ebb778242e44b78d03b3 281822 
libxen-dev_4.1.0~rc6-1_amd64.deb
 dff56205a2eea3e9c02d27a184cbc1bff7f420c8 24646 
libxenstore3.0_4.1.0~rc6-1_amd64.deb
 4078b8b9d2741a9403f27e47a4d03ca876410d95 21954 
xenstore-utils_4.1.0~rc6-1_amd64.deb
 feacfb5e66a767efa65bc7c8fdb21f01f6570a35 1006518 
xen-utils-4.1_4.1.0~rc6-1_amd64.deb
Checksums-Sha256: 
 6d841fda60a88dc9019fdebd77838619845b5a2fdc82a349fdfb716783fc80d7 1495 
xen_4.1.0~rc6-1.dsc
 8a80f52ccb3d8cff933cea8733385cae6a1dfaf061c7332883ce650d7f70e1c0 7632530 
xen_4.1.0~rc6.orig.tar.gz
 1c4dd465f39ca28912638da8d3cd4e13137580cd02edfa86608fd84e35b1cf9e 39577 
xen_4.1.0~rc6-1.debian.tar.gz
 6293497f6eaba54b9c2c56e525b1d2cb9913b535c48c608a3a2bcaca08e66f67 741094 
xen-hypervisor-4.1-amd64_4.1.0~rc6-1_amd64.deb
 529e1ebfd90c3b927d0221dd5b265536634823cde8d0898102765423ba4b69e8 1153018 
xen-docs-4.1_4.1.0~rc6-1_all.deb
 2ab2be2057804e5c7e1fd9fb61fd549145523dab3b9bfe2738cc9e667c3bec9c 281822 
libxen-dev_4.1.0~rc6-1_amd64.deb
 aedba459053892d9d490c823ddb7744e0a99e861ede069fdbcd3311e3c22fc6a 24646 
libxenstore3.0_4.1.0~rc6-1_amd64.deb
 ebd3c1fd5dfa07a3bd54cc31eb48da041e874ba623479cd6cfc145e30fc48cda 21954 
xenstore-utils_4.1.0~rc6-1_amd64.deb
 601b0fc55e745bc46987169e6509d5328571ccab82259475d49fbc404fb472bb 1006518 
xen-utils-4.1_4.1.0~rc6-1_amd64.deb
Files: 
 9ec82f513120ca5f76a2fb695245860e 1495 kernel optional xen_4.1.0~rc6-1.dsc
 677d8e4870c0374b16177642ba39fdc3 7632530 kernel optional 
xen_4.1.0~rc6.orig.tar.gz
 65aa93e96f9846b99c8f2ffe9d626ab0 39577 kernel optional 
xen_4.1.0~rc6-1.debian.tar.gz
 1ab352851f7622fe04d91a2f62b0c220 741094 kernel optional 
xen-hypervisor-4.1-amd64_4.1.0~rc6-1_amd64.deb
 55c4747b30d85c6d405f20a63331ee22 1153018 doc optional 
xen-docs-4.1_4.1.0~rc6-1_all.deb
 6a60566adbc78d18f900943f0719f1d6 281822 libdevel optional 
libxen-dev_4.1.0~rc6-1_amd64.deb
 7f7a62fa7af6061d429612c788acafa1 24646 libs optional 
libxenstore3.0_4.1.0~rc6-1_amd64.deb
 1247582bf7d689f5b26136421876ca23 21954 admin optional 
xenstore-utils_4.1.0~rc6-1_amd64.deb
 a1e74d345c523525e1c6f60dc213f654 1006518 kernel optional 
xen-utils-4.1_4.1.0~rc6-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk2CL5gACgkQLkAIIn9ODhEX/QCfZUE/g5E0mpih51CJlW9wFGja
WLEAoOL95asRbDFiard2+C7RE2ylBRWW
=1xXL
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to