[Reproducible-builds] Bug#799762: python-nmap: FTBFS: IOError: [Errno 2] No such file or directory: 'scanme_output.xml'
Chris Lamb
lamby at debian.org
Tue Sep 22 09:27:28 UTC 2015
Source: python-nmap
Version: 0.4.0-2
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,
python-nmap fails to build from source in unstable/amd64:
[..]
pybuild --test --test-nose -i python{version} -p 2.7 --dir .
I: pybuild base:170: cd
/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_2.7/build; python2.7
-m nose
..EEEEEE.E
======================================================================
ERROR: nmap.test_nmap.test_command_line
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 267, in
setUp
try_run(self.test, names)
File "/usr/lib/python2.7/dist-packages/nose/util.py", line 471, in
try_run
return func()
File
"/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_2.7/build/nmap/test_nmap.py",
line 67, in xmlfile_read_setup
nm.analyse_nmap_xml_scan(open('scanme_output.xml').read())
IOError: [Errno 2] No such file or directory: 'scanme_output.xml'
======================================================================
ERROR: nmap.test_nmap.test_scan_info
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 267, in
setUp
try_run(self.test, names)
File "/usr/lib/python2.7/dist-packages/nose/util.py", line 471, in
try_run
return func()
File
"/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_2.7/build/nmap/test_nmap.py",
line 67, in xmlfile_read_setup
nm.analyse_nmap_xml_scan(open('scanme_output.xml').read())
IOError: [Errno 2] No such file or directory: 'scanme_output.xml'
======================================================================
ERROR: nmap.test_nmap.test_all_hosts
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 267, in
setUp
try_run(self.test, names)
File "/usr/lib/python2.7/dist-packages/nose/util.py", line 471, in
try_run
return func()
File
"/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_2.7/build/nmap/test_nmap.py",
line 67, in xmlfile_read_setup
nm.analyse_nmap_xml_scan(open('scanme_output.xml').read())
IOError: [Errno 2] No such file or directory: 'scanme_output.xml'
======================================================================
ERROR: nmap.test_nmap.test_host
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 267, in
setUp
try_run(self.test, names)
File "/usr/lib/python2.7/dist-packages/nose/util.py", line 471, in
try_run
return func()
File
"/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_2.7/build/nmap/test_nmap.py",
line 67, in xmlfile_read_setup
nm.analyse_nmap_xml_scan(open('scanme_output.xml').read())
IOError: [Errno 2] No such file or directory: 'scanme_output.xml'
======================================================================
ERROR: nmap.test_nmap.test_port
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 267, in
setUp
try_run(self.test, names)
File "/usr/lib/python2.7/dist-packages/nose/util.py", line 471, in
try_run
return func()
File
"/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_2.7/build/nmap/test_nmap.py",
line 67, in xmlfile_read_setup
nm.analyse_nmap_xml_scan(open('scanme_output.xml').read())
IOError: [Errno 2] No such file or directory: 'scanme_output.xml'
======================================================================
ERROR: nmap.test_nmap.test_csv_output
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 267, in
setUp
try_run(self.test, names)
File "/usr/lib/python2.7/dist-packages/nose/util.py", line 471, in
try_run
return func()
File
"/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_2.7/build/nmap/test_nmap.py",
line 67, in xmlfile_read_setup
nm.analyse_nmap_xml_scan(open('scanme_output.xml').read())
IOError: [Errno 2] No such file or directory: 'scanme_output.xml'
======================================================================
ERROR: nmap.test_nmap.test_sudo
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in
runTest
self.test(*self.arg)
File
"/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_2.7/build/nmap/test_nmap.py",
line 143, in test_sudo
r=nm.scan('127.0.0.1', arguments='-O', sudo=True)
File
"/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_2.7/build/nmap/nmap.py",
line 203, in scan
stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in
_execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
----------------------------------------------------------------------
Ran 10 tests in 26.191s
FAILED (errors=7)
E: pybuild pybuild:262: test: plugin distutils failed with: exit
code=1: cd /tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_2.7/build;
python2.7 -m nose
dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7
--dir . returned exit code 13
debian/rules:6: 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/python-nmap_0.4.0-2.build1.log.gz
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
More information about the Reproducible-builds
mailing list