lazygal version 0.5.1-1 failed to build on i386

Bug #749087 reported by Matthias Klose
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lazygal (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

lazygal version 0.5.1-1 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2398454

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2398454/+files/buildlog_ubuntu-natty-i386.lazygal_0.5.1-1_FAILEDTOBUILD.txt.gz

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

creating build/scripts-2.7
copying and adjusting lazygal.py -> build/scripts-2.7
Traceback (most recent call last):
  File "setup.py", line 253, in <module>
    data_files = theme_data
  File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/distutils/command/build_scripts.py", line 50, in run
    self.copy_scripts()
  File "setup.py", line 175, in copy_scripts
    if not distutils.sysconfig.python_build:
AttributeError: 'module' object has no attribute 'sysconfig'
dh_auto_build: python setup.py build --force returned exit code 1
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110403-1026
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/lazygal-0.5.1

Tags: ftbfs patch natty
Revision history for this message
niol (alexandre-rossi) wrote :

Here is a patch that fixes build with python-2.7.

tags: added: patch
Revision history for this message
Michal Čihař (nijel) wrote :

This is fixed in 0.6.1 which is available in Debian.

niol (alexandre-rossi)
Changed in lazygal (Ubuntu):
status: New → Fix Released
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.