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
Attachment:
signature.asc
Description: This is a digitally signed message part.