Bug#613859: python-apt: FTBFS: SyntaxError: invalid syntax
Source: python-apt
Version: 0.7.100.1
Severity: serious
Justification: fails to build from source
Tags: sid
python-apt FTBFS in a clean up-to-date sid chroot. Tail of the build
log:
| fakeroot debian/rules clean
| dh --with python2,python3 clean
| dh_testdir
| dh_auto_clean
| running clean
| 'build/lib.linux-i686-2.6-pydebug' does not exist -- can't clean it
| 'build/bdist.linux-i686' does not exist -- can't clean it
| 'build/scripts-2.6' does not exist -- can't clean it
| [77848 refs]
| /usr/lib/python2.5/site-packages/DistUtilsExtra/auto.py:348: Warning: 'as' will become a reserved keyword in Python 2.6
| Traceback (most recent call last):
| File "setup.py", line 13, in <module>
| from DistUtilsExtra.auto import clean_build_tree
| File "/usr/lib/python2.5/site-packages/DistUtilsExtra/auto.py", line 348
| except SyntaxError as e:
| ^
| SyntaxError: invalid syntax
| [9007 refs]
| dh_auto_clean: python2.5-dbg setup.py clean -a returned exit code 1
--
Jakub Wilk
Reply to: