Source: python-apt
Version: 1.0.0~beta3.1
Severity: serious
Justification: fails to build from source
Tags: sid 
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

The package fails to build:

make[1]: Leaving directory '/python-apt-1.0.0~beta3.1'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/python-apt-1.0.0~beta3.1'
set -e; for python in python2.7 python3.4 ; do \
        $python tests/test_all.py -q || [ "linux" = "hurd" ]; \
done;
/python-apt-1.0.0~beta3.1/tests/../doc/source/examples/dpkg-contents.py:19:39: 
W503 line break before binary operator
/python-apt-1.0.0~beta3.1/tests/../doc/source/examples/dpkg-contents.py:23:39: 
W503 line break before binary operator
/python-apt-1.0.0~beta3.1/tests/../tests/test_apt_cache.py:25:1: E402 module 
level import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_apt_cache.py:26:1: E402 module 
level import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_auth.py:25:1: E402 module level 
import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_auth.py:26:1: E402 module level 
import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_debfile.py:19:1: E402 module 
level import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_debfile.py:20:1: E402 module 
level import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_debfile_multiarch.py:17:1: E402 
module level import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_debfile_multiarch.py:18:1: E402 
module level import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_debfile_multiarch.py:19:1: E402 
module level import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_lp659438.py:25:1: E402 module 
level import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_lp659438.py:26:1: E402 module 
level import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_lp659438.py:27:1: E402 module 
level import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_lp659438.py:28:1: E402 module 
level import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_lp659438.py:30:1: E402 module 
level import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_lp659438.py:31:1: E402 module 
level import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_size_to_str.py:5:1: E402 module 
level import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_size_to_str.py:7:1: E402 module 
level import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/test_tagfile.py:28:1: E402 module 
level import not at top of file
/python-apt-1.0.0~beta3.1/tests/../tests/old/apt-test.py:3:1: E402 module level 
import not at top of file
/python-apt-1.0.0~beta3.1/tests/../aptsources/distro.py:129:25: W503 line break 
before binary operator
/python-apt-1.0.0~beta3.1/tests/../aptsources/distro.py:132:27: W503 line break 
before binary operator
/python-apt-1.0.0~beta3.1/tests/../aptsources/sourceslist.py:381:21: W503 line 
break before binary operator
/python-apt-1.0.0~beta3.1/tests/../apt/__init__.py:30:1: E402 module level 
import not at top of file
[tests] Running on 2.7.10 (default, Jul  1 2015, 10:54:53) [GCC 4.9.2]
Using library_dir: 
'/python-apt-1.0.0~beta3.1/build/lib.linux-x86_64-2.7'WARNING: Failed to read 
mirror file
WARNING: Failed to read mirror file
WARNING: Failed to read mirror file
WARNING: Failed to read mirror file
WARNING: Failed to read mirror file
WARNING: Failed to read mirror file
WARNING: Failed to read mirror file
WARNING: Failed to read mirror file
======================================================================
FAIL: test_pep8 (test_pep8.PackagePep8TestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/python-apt-1.0.0~beta3.1/tests/test_pep8.py", line 26, in test_pep8
    self.fail("pep8 failed with: %s" % res)
AssertionError: pep8 failed with: 1

----------------------------------------------------------------------
Ran 94 tests in 15.585s

FAILED (failures=1)

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/python-apt.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-23-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to