FTBFS on amd64 due to pep8 errors

Bug #1503291 reported by Łukasz Zemczak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntuone-client-data (Ubuntu)
Fix Released
High
Sebastien Bacher

Bug Description

It seems that ubuntuone-client-data during the test-rebuild [1] in wily fails to build from source on amd64 due to some PEP8 errors on package build. Log:

make[1]: Entering directory '/«PKGBUILDDIR»'
./run-tests
+ python ./setup.py build clean
running build
running build_i18n
intltool-update -p -g ubuntuone-client-data
running build_icons
running build_help
running clean
WARNING: the following files are not recognized by DistUtilsExtra.auto:
  PKG-INFO
  po/LINGUAS
  run-tests
  ubuntuone-icons.svg
  ubuntuone.icns
  ubuntuone.ico
++ which python3
+ '[' -x /usr/bin/python3 ']'
+ python3 ./setup.py build clean
running build
running clean
+ pyflakes setup.py
+ pep8 --repeat --exclude=.pc . setup.py
./setup.py:45:1: E402 module level import not at top of file
./setup.py:46:1: E402 module level import not at top of file
setup.py:45:1: E402 module level import not at top of file
setup.py:46:1: E402 module level import not at top of file
debian/rules:7: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build] Error 2
debian/rules:4: recipe for target 'build' failed
dpkg-buildpackage: error: debian/rules build gave error exit status 2

[1] http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20151001-wily.html

Tags: ftbfs patch

Related branches

description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Here's a debdiff with the fix for the issue.

tags: added: patch
Changed in ubuntuone-client-data (Ubuntu):
assignee: Łukasz Zemczak (sil2100) → Sebastien Bacher (seb128)
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-client-data - 15.10+15.10.20151007

---------------
ubuntuone-client-data (15.10+15.10.20151007) wily; urgency=medium

  [Sebastien Bacher]
  * Use correct apport hook syntax to avoid import error.
  * List imports on top to avoid pep8 E402 errors. (LP: #1503291)

  [Rodney Dawes]
  * debian/control:
    - Update standards version to 3.9.5.
  * Automatic snapshot from revision 10 (bootstrap)

 -- Rodney Dawes <email address hidden> Wed, 07 Oct 2015 13:48:15 -0400

Changed in ubuntuone-client-data (Ubuntu):
status: Fix Committed → 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.