python-apt version 0.7.100.3ubuntu4 failed to build on i386

Bug #765926 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-apt (Ubuntu)
Invalid
High
Unassigned

Bug Description

python-apt version 0.7.100.3ubuntu4 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2466156

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2466156/+files/buildlog_ubuntu-natty-i386.python-apt_0.7.100.3ubuntu4_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 2106 lines into the build log:

  File "tests/test_all.py", line 47, in <module>
    exec('from %s import *' % path[:-3])
  File "<string>", line 1, in <module>
  File "/build/buildd/python-apt-0.7.100.3ubuntu4/tests/test_utils.py", line 12, in <module>
    import apt.utils
  File "../apt/__init__.py", line 24, in <module>
    from apt.package import Package
  File "../apt/package.py", line 518
    print 'Ignoring already existing file:', destfile
                                          ^
SyntaxError: invalid syntax
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory `/build/buildd/python-apt-0.7.100.3ubuntu4'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110418-1239
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/python-apt-0.7.100.3ubuntu4

Tags: ftbfs oneiric
Matthias Klose (doko)
Changed in python-apt (Ubuntu):
importance: Undecided → High
Revision history for this message
Julian Andres Klode (juliank) wrote :

It should use the correct modules. What changed?

Changed in python-apt (Ubuntu):
assignee: nobody → dpolehn (dpolehn-gmail)
status: New → In Progress
Revision history for this message
Julian Andres Klode (juliank) wrote :

Matthias, do you have any idea why ../apt/package.py was used instead of ../build/lib.linux-i686-3.2/apt/package.py as is used correctly in Debian (https://buildd.debian.org/fetch.cgi?pkg=python-apt;ver=0.8.0;arch=i386;stamp=1306510572).

In any case, later versions build correctly again (in natty and oneiric), so this was probably some temporary problem somewhere else in the system.

Changed in python-apt (Ubuntu):
status: In Progress → Invalid
assignee: dpolehn (dpolehn-gmail) → Julian Andres Klode (juliank)
assignee: Julian Andres Klode (juliank) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.