Bug#673586: lsb: build fails on hppa in test-python3.2

Dave Anglin <[email protected]>
Newsgroups gmane.linux.debian.devel.lsb
Message-ID <[email protected]>
Source: lsb
Version: 4.1+Debian4
Severity: normal

Build fails with syntax error:

...
OK (skipped=7)
# Tests are not backported to python2.6, sorry.
PYTHONPATH=. python3.2 test/test_lsb_release.py -vv
Traceback (most recent call last):
  File "test/test_lsb_release.py", line 4, in <module>
    import lsb_release as lr
  File "/home/dave/debian/lsb/lsb-4.1+Debian4/lsb_release.py", line 249
    except IOError, msg:
                  ^
SyntaxError: invalid syntax
make[1]: *** [test-python3.2] Error 1
make[1]: Leaving directory `/home/dave/debian/lsb/lsb-4.1+Debian4'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build command 'cd lsb-4.1+Debian4 && dpkg-buildpackage -b -uc' failed.
NOTICE: 'lsb' packaging is maintained in the 'Git' version control system at:
git://anonscm.debian.org/collab-maint/lsb.git
Skipping already downloaded file 'lsb_4.1+Debian4.dsc'
Skipping already downloaded file 'lsb_4.1+Debian4.tar.bz2'
Need to get 0 B of source archives.
E: Child process failed

4.1+Debian3 was ok.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 3.3.6+ (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
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.