group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #16946
[Bug 1507418] Re: python-nmap: FTBFS: IOError: [Errno 2] No such file or directory: 'scanme_output.xml'
** Changed in: python-nmap (Ubuntu Wily)
Status: New => Invalid
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1507418
Title:
python-nmap: FTBFS: IOError: [Errno 2] No such file or directory:
'scanme_output.xml'
Status in python-nmap package in Ubuntu:
Fix Released
Status in python-nmap source package in Wily:
Invalid
Status in python-nmap source package in Xenial:
Fix Released
Status in python-nmap package in Debian:
Fix Released
Bug description:
Imported from Debian bug http://bugs.debian.org/799761:
Source: python-nmap
Version: 0.4.0-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds@xxxxxxxxxxxxxxxxxxxxxxx
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxx / chris-lamb.co.uk
`-
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-nmap/+bug/1507418/+subscriptions