Bug#593042: python-apt: FTBFS: SyntaxError: invalid syntax
Source: python-apt
Version: 0.7.96.1
Severity: serious
Tags: squeeze sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20100815 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> make[1]: Entering directory `/build/user-python-apt_0.7.96.1-amd64-k2IZDC/python-apt-0.7.96.1'
> set -e; for python in python2.6 python2.5 python3.1 ; do \
> $python tests/test_all.py -q; \
> done;
> [tests] Running on 2.6.6rc1+ (r266rc1:83691, Aug 5 2010, 17:07:04) [GCC 4.4.5 20100728 (prerelease)]
> ----------------------------------------------------------------------
> Ran 28 tests in 4.775s
>
> OK
> [tests] Running on 2.5.5 (r255:77872, Apr 21 2010, 08:40:04) [GCC 4.4.3]
> ----------------------------------------------------------------------
> Ran 28 tests in 4.850s
>
> OK
> [tests] Running on 3.1.2 (release31-maint, Jul 8 2010, 09:18:08) [GCC 4.4.4]
> Traceback (most recent call last):
> File "tests/test_all.py", line 39, in <module>
> exec('from %s import *' % path[:-3])
> File "<string>", line 1, in <module>
> File "/build/user-python-apt_0.7.96.1-amd64-k2IZDC/python-apt-0.7.96.1/tests/test_aptsources_ports.py", line 7, in <module>
> import aptsources.sourceslist
> File "../aptsources/sourceslist.py", line 349
> print "could not open file '%s'" % file
> ^
> SyntaxError: invalid syntax
> make[1]: *** [override_dh_auto_test] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2010/08/15/python-apt_0.7.96.1_lsid64.buildlog
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot. Internet was not
accessible from the build systems.
--
| Lucas Nussbaum
| lucas@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr GPG: 1024D/023B3F4F |
Reply to: