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

Didier Raboud <[email protected]>
Newsgroups gmane.linux.debian.devel.lsb
Organization Debian - The Universal OS
Message-ID <201205201106.10460.odyx__22544.9230558754$1337504968$gmane$org@debian.org>
Hi Dave, and thanks for your bugreport,

Le dimanche, 20 mai 2012 01.24:18, vous avez écrit :
> 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
> (...)
> 4.1+Debian3 was ok.

Indeed.

This is because your build wasn't done in a clean chroot, without python3, not 
required by the Build-Depends.

Cheers,

OdyX
signature.asc (application/pgp-signature, 665 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQGcBAABCAAGBQJPuLQAAAoJEIvPpx7KFjRVIiUL/jHGB9Y9UFR01Sqpq7bXbbz6
b/M3ZA86chzohir1URUfyc662Ockh6NPQJlO+uIskmz1Qe+S5IGduXfk834iuHde
+hyi72QThXVx/qeokMrb4Iq0LNqlNhBIB4JjGGYPmpJyYoztRvJ/i88P7YPCWrzP
A/wRd9m9wlmgOZc/B0L/gb4h0ZrQLPuy11E/o6r3XFrjs6zBtNNk6KSGfoWDXVFO
1OKyFe7UmsQYFFTvwCerXsnyb3GLzFauLiHTQ+IYI5MKTonF3wFe3F4zKB8baBxg
DqpfP6PqGYVtoJ+v23erqoOZ9xtOHo38VY1VONpB9eHcTjtbfkyhSBJCf5CgGQOt
+NR374EWCmWSWs9CvcT8/R15IsVC1f3PDZK4z1tIFWNwBiu2dwqdI2Zq9KkqZmjz
7yo9K9xuFA3YbF4eQHbnwfT7zVjWgYA2RrhflpzvwQdSeaK6DYSjPy16sWZ/Ykg+
Y/5gJb1PX517lf6DJ2ON001rdvrVS+5SkxLPntC9ig==
=xUFZ
-----END PGP SIGNATURE-----
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.