Bug#613859: python-apt: FTBFS: SyntaxError: invalid syntax
On Thu, Feb 17, 2011 at 08:46:29PM +0100, Jakub Wilk wrote:
> Source: python-apt
> Version: 0.7.100.1
> Severity: serious
> Justification: fails to build from source
> Tags: sid
Thanks for your bugreport.
This is actually a bug in python-distutils-extra, it uses a feature
not yet available for pyhton2.5 in the latest upload. All packages
that use it will fail to build.
Cheers,
michael
> 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
>
>
>
> --
> To UNSUBSCRIBE, email to deity-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20110217194629.GA8561@jwilk.net">http://lists.debian.org/[🔎] 20110217194629.GA8561@jwilk.net
>
Reply to: