[Python-apps-team] Bug#796446: pyflakes: FTBFS: pybuild:262: test: plugin distutils failed with: exit code=1
Chris Lamb
lamby at debian.org
Fri Aug 21 21:08:04 UTC 2015
Source: pyflakes
Version: 0.8.1-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
pyflakes fails to build from source in unstable/amd64:
[..]
======================================================================
FAIL: When pyflakes finds errors with the files it's given, (if they
don't
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/buildd/pyflakes-0.8.1/.pybuild/pythonX.Y_2.7/build/pyflakes/test/test_api.py",
line 583, in test_errors
self.assertEqual(d, ('', error_msg, 1))
AssertionError: Tuples differ: ('', "/usr/bin/python2.7: can'... !=
('', '/tmp/tmpn4FNFz/temp: No ...
First differing element 1:
/usr/bin/python2.7: can't open file
'/tmp/buildd/pyflakes-0.8.1/.pybuild/pythonX.Y_2.7/build/pyflakes/../bin/pyflakes':
[Errno 2] No such file or directory
/tmp/tmpn4FNFz/temp: No such file or directory
+ ('', '/tmp/tmpn4FNFz/temp: No such file or directory\n', 1)
- ('',
- "/usr/bin/python2.7: can't open file
'/tmp/buildd/pyflakes-0.8.1/.pybuild/pythonX.Y_2.7/build/pyflakes/../bin/pyflakes':
[Errno 2] No such file or directory\n",
- 2)
======================================================================
FAIL: When a Python source file has warnings, the return code is
non-zero
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/buildd/pyflakes-0.8.1/.pybuild/pythonX.Y_2.7/build/pyflakes/test/test_api.py",
line 573, in test_fileWithFlakes
self.assertEqual(d, ("%s\n" % expected, '', 1))
AssertionError: Tuples differ: ('', "/usr/bin/python2.7: can'... !=
("/tmp/tmpbUuV49/temp:1: 'cont...
First differing element 0:
/tmp/tmpbUuV49/temp:1: 'contraband' imported but unused
+ ("/tmp/tmpbUuV49/temp:1: 'contraband' imported but unused\n", '', 1)
- ('',
- "/usr/bin/python2.7: can't open file
'/tmp/buildd/pyflakes-0.8.1/.pybuild/pythonX.Y_2.7/build/pyflakes/../bin/pyflakes':
[Errno 2] No such file or directory\n",
- 2)
======================================================================
FAIL: When a Python source file is all good, the return code is zero
and no
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/buildd/pyflakes-0.8.1/.pybuild/pythonX.Y_2.7/build/pyflakes/test/test_api.py",
line 561, in test_goodFile
self.assertEqual(d, ('', '', 0))
AssertionError: Tuples differ: ('', "/usr/bin/python2.7: can'... !=
('', '', 0)
First differing element 1:
/usr/bin/python2.7: can't open file
'/tmp/buildd/pyflakes-0.8.1/.pybuild/pythonX.Y_2.7/build/pyflakes/../bin/pyflakes':
[Errno 2] No such file or directory
+ ('', '', 0)
- ('',
- "/usr/bin/python2.7: can't open file
'/tmp/buildd/pyflakes-0.8.1/.pybuild/pythonX.Y_2.7/build/pyflakes/../bin/pyflakes':
[Errno 2] No such file or directory\n",
- 2)
======================================================================
FAIL: If no arguments are passed to C{pyflakes} then it reads from
stdin.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/buildd/pyflakes-0.8.1/.pybuild/pythonX.Y_2.7/build/pyflakes/test/test_api.py",
line 591, in test_readFromStdin
self.assertEqual(d, ("%s\n" % expected, '', 1))
AssertionError: Tuples differ: ('', "/usr/bin/python2.7: can'... !=
("<stdin>:1: 'contraband' impo...
First differing element 0:
<stdin>:1: 'contraband' imported but unused
+ ("<stdin>:1: 'contraband' imported but unused\n", '', 1)
- ('',
- "/usr/bin/python2.7: can't open file
'/tmp/buildd/pyflakes-0.8.1/.pybuild/pythonX.Y_2.7/build/pyflakes/../bin/pyflakes':
[Errno 2] No such file or directory\n",
- 2)
----------------------------------------------------------------------
Ran 416 tests in 1.018s
FAILED (SKIP=25, failures=4)
E: pybuild pybuild:262: test: plugin distutils failed with: exit
code=1: cd /tmp/buildd/pyflakes-0.8.1/.pybuild/pythonX.Y_2.7/build;
python2.7 -m nose --with-doctest
dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7
--dir . returned exit code 13
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
[..]
The full build log is attached or can be viewed here:
https://reproducible.debian.net/logs/unstable/amd64/pyflakes_0.8.1-1.build1.log.gz
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pyflakes.0.8.1-1.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20150821/0e248832/attachment-0001.txt>
More information about the Python-apps-team
mailing list