Bug#699589: lsb ftbfs in wheezy, testsuite problems.

Michael Gilbert <[email protected]>
Newsgroups gmane.linux.debian.devel.lsb
Message-ID <CANTw=MOOS0vHOcxcy1t=MBP18_St91Um5tJavppFnh5q6GP79A__39476.206774316$1359848744$gmane$org@mail.gmail.com>
control: tag -1 patch

> Attempting to build lsb in a wheezy amd64 chroot I get
>
> PYTHONPATH=. python3.2 test/test_initdutils.py -vv
> Traceback (most recent call last):
>  File "test/test_initdutils.py", line 4, in <module>
>    import initdutils as iu
>  File "/lsb-4.1+Debian8/initdutils.py", line 18
>   raise ValueError, 'need a file or string'

This is because python 3 made exceptions functions.  I've attached a
patch that fixes this by conflicting with python3-minimal.  This fixes
the issue since without that PY3VERSIONS will not be populated, and
the tests using python3 will not run.

Best wishes,
Mike
lsb.patch (application/octet-stream, 1005 B)
diff -Nru lsb-4.1+Debian9/debian/changelog lsb-4.1+Debian9+nmu1/debian/changelog
--- lsb-4.1+Debian9/debian/changelog	2012-11-12 02:58:48.000000000 -0500
+++ lsb-4.1+Debian9+nmu1/debian/changelog	2013-02-02 18:35:30.000000000 -0500
@@ -1,3 +1,10 @@
+lsb (4.1+Debian9+nmu1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Build conflict with python3-minimal (closes: #699589).
+
+ -- Michael Gilbert <[email protected]>  Sat, 02 Feb 2013 18:32:22 +0000
+
 lsb (4.1+Debian9) unstable; urgency=low
 
   [ Jeff Licquia ]
diff -Nru lsb-4.1+Debian9/debian/control lsb-4.1+Debian9+nmu1/debian/control
--- lsb-4.1+Debian9/debian/control	2012-11-02 05:49:47.000000000 -0400
+++ lsb-4.1+Debian9+nmu1/debian/control	2013-02-02 18:33:30.000000000 -0500
@@ -7,6 +7,7 @@
  po-debconf (>= 0.5.0),
  dpkg-dev (>= 1.10),
  python-all-dev (>= 2.6.6-6~),
+Build-Conflicts: python3-minimal
 X-Python-Version: >= 2.6
 Standards-Version: 3.9.3
 Homepage: http://www.linuxfoundation.org/collaborate/workgroups/lsb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.