Source: python-nmap
Version: 0.4.0-1
Severity: serious
Justification: fails to build from source

Dear Maintainer,

python-nmap fails to build from source on unstable/amd64:

  [..]
        pybuild --test -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 unittest discover -v 
  nmap.test_nmap (unittest.loader.ModuleImportFailure) ... ERROR
  
  ======================================================================
  ERROR: nmap.test_nmap (unittest.loader.ModuleImportFailure)
  ----------------------------------------------------------------------
  ImportError: Failed to import test module: nmap.test_nmap
  Traceback (most recent call last):
    File "/usr/lib/python2.7/unittest/loader.py", line 254, in
    _find_tests
      module = self._get_module_from_name(name)
    File "/usr/lib/python2.7/unittest/loader.py", line 232, in
    _get_module_from_name
      __import__(name)
    File "nmap/test_nmap.py", line 8, in <module>
      from nose.tools import assert_equals
  ImportError: No module named nose.tools
  
  
  ----------------------------------------------------------------------
  Ran 1 test in 0.000s
  
  FAILED (errors=1)
  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 unittest discover -v 
  dh_auto_test: pybuild --test -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/rbuild/unstable/amd64/python-nmap_0.4.0-1.rbuild.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
Starting to build python-nmap/unstable on 2015-08-15 01:31
The jenkins build log is/was available at 
https://jenkins.debian.net/job/reproducible_builder_eta/24753/console
Reading package lists...
Building dependency tree...
Reading state information...
NOTICE: 'python-nmap' packaging is maintained in the 'Git' version control 
system at:
git://anonscm.debian.org/collab-maint/python-nmap.git
Need to get 50.1 kB of source archives.
Get:1 http://ftp.de.debian.org/debian/ unstable/main python-nmap 0.4.0-1 (dsc) 
[2049 B]
Get:2 http://ftp.de.debian.org/debian/ unstable/main python-nmap 0.4.0-1 (tar) 
[45.9 kB]
Get:3 http://ftp.de.debian.org/debian/ unstable/main python-nmap 0.4.0-1 (diff) 
[2180 B]
Fetched 50.1 kB in 0s (410 kB/s)
Download complete and in download only mode
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 3.0 (quilt)
Source: python-nmap
Binary: python-nmap, python3-nmap
Architecture: all
Version: 0.4.0-1
Maintainer: Federico Ceratto <feder...@debian.org>
Uploaders:  David Paleino <da...@debian.org>
Homepage: http://xael.org/norman/python/python-nmap/
Standards-Version: 3.9.6
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/python-nmap.git
Vcs-Git: git://anonscm.debian.org/collab-maint/python-nmap.git
Build-Depends: debhelper (>= 9~)
Build-Depends-Indep: dh-python, nmap, python-all (>= 2.6.6-3~), python3-all
Package-List:
 python-nmap deb python optional arch=all
 python3-nmap deb python optional arch=all
Checksums-Sha1:
 98ca07d1731d0497aabd8ad10fca97fd6f4a2b90 45862 python-nmap_0.4.0.orig.tar.gz
 065b4e7f9716115b18058afdd16cd9d6cd844637 2180 python-nmap_0.4.0-1.debian.tar.xz
Checksums-Sha256:
 cee43d5eaa2d2257dbddd4c0be585d5f8f0d81be727b10b13342f37d8ebaae75 45862 
python-nmap_0.4.0.orig.tar.gz
 fc4e59aa064c77c2241823d0376c1e22cb767cd594aa4dc11bee489828b3a1c3 2180 
python-nmap_0.4.0-1.debian.tar.xz
Files:
 2046fa63e969ae77b68e91664e97876b 45862 python-nmap_0.4.0.orig.tar.gz
 34e44c85fc31c06f64119d74657815cd 2180 python-nmap_0.4.0-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJVzb7OAAoJEG8xvET1F32qN/4QAIt8avDYZXvEBRS+QByrSZ75
oFeaSavVS/29yKZ/WOOTaOn6Ply0x5tGVWO9Iu8fLSaTWRmYg7/r3Mh3Jo52AiOW
wMoVidF05e4RfxD4C1vs07QCrwkfu/9d+nPieaZh3b4Y9JyNWS9KNg2nBL7DVtc/
ySBS2oydugw+lCwR7H7ZPXyB2o7eOOXhogR4qyCN+D875FxJ37HDjMnEVflthL3Y
LD+tpSlCVCBYFJbAjgSEV1BSHU7mmCUHt8SUXdDarUNupq5Ic2YBTeE9l3AZlC0h
itkJZcEC5GmLMu7X90LRs+0exoLSgNw3Hwbdasr2mboI1GR78Tc6bLZjnbdd/UcD
CQk0GhCjKSaBxctJjQVlzdJNc3UudBWrP/AYNjlwfRXqJv910tVcLwm53HQdkd/u
oTkkjr5KtRxWvGk8J8Q/TxptjBhHkKU3mWalmSLuwYceWF8uY6CksgBNgRFTKZP4
pcBW+PLw2rHmLLhl19ALuQYq/2mkkUCwgZUk3q/C4NKdxoxgaSdMr2AmN7+l6Hed
4ugdaj3agseh2zB7tXy9Wvo7B0xgbZMB/L2yL3eFeB45w+SQCiWO1UFb+Ntym6+F
rlkUxwUfUCS9bBLYDvy+i+wKJluD5bsuZRuZH9x7LlpkvnxZuxrBAJKeb7JbXeuw
MLzGIQ8uUieN8Uwx4Hj4
=vIyq
-----END PGP SIGNATURE-----
+ sudo timeout -k 12.1h 12h /usr/bin/ionice -c 3 /usr/bin/nice 
/usr/sbin/pbuilder --build --configfile 
/srv/reproducible-results/tmp.kgiZR8PyeG/pbuilderrc_9cvl --debbuildopts -b 
--basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult b1 
--logfile b1/build.log python-nmap_0.4.0-1.dsc
W: /root/.pbuilderrc does not exist
I: Logging to b1/build.log
I: using fakeroot in build.
I: pbuilder: network access will be disabled during build
I: Current time: Fri Aug 14 13:31:27 GMT+12 2015
I: pbuilder-time-stamp: 1439602287
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: Mounting /dev/shm
I: Mounting /sys
I: policy-rc.d already exists
I: Installing the build-deps
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-ma...@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by 
pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: debhelper (>= 9~), dh-python, nmap, python-all (>= 2.6.6-3~), 
python3-all
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in 
'/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 20246 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring 
anyway as you requested:
 pbuilder-satisfydepends-dummy depends on dh-python; however:
  Package dh-python is not installed.
 pbuilder-satisfydepends-dummy depends on nmap; however:
  Package nmap is not installed.
 pbuilder-satisfydepends-dummy depends on python-all (>= 2.6.6-3~); however:
  Package python-all is not installed.
 pbuilder-satisfydepends-dummy depends on python3-all; however:
  Package python3-all is not installed.

Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
The following NEW packages will be installed:
  dh-python{a} libblas-common{a} libblas3{a} libexpat1{a} libgfortran3{a} 
  liblinear1{a} liblua5.2-0{a} libmpdec2{a} libpcap0.8{a} 
  libpython-stdlib{a} libpython2.7-minimal{a} libpython2.7-stdlib{a} 
  libpython3-stdlib{a} libpython3.4-minimal{a} libpython3.4-stdlib{a} 
  libssl1.0.0{a} mime-support{a} nmap{a} python{a} python-all{a} 
  python-minimal{a} python2.7{a} python2.7-minimal{a} python3{a} 
  python3-all{a} python3-minimal{a} python3.4{a} python3.4-minimal{a} 
0 packages upgraded, 28 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.6 MB of archives. After unpacking 64.5 MB will be used.
Writing extended state information...
Get: 1 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-minimal 
amd64 2.7.10-3 [382 kB]
Get: 2 http://ftp.de.debian.org/debian/ unstable/main python2.7-minimal amd64 
2.7.10-3 [1418 kB]
Get: 3 http://ftp.de.debian.org/debian/ unstable/main python-minimal amd64 
2.7.9-1 [40.3 kB]
Get: 4 http://ftp.de.debian.org/debian/ unstable/main mime-support all 3.59 
[36.4 kB]
Get: 5 http://ftp.de.debian.org/debian/ unstable/main libexpat1 amd64 2.1.0-7 
[80.0 kB]
Get: 6 http://ftp.de.debian.org/debian/ unstable/main libssl1.0.0 amd64 
1.0.2d-1 [1274 kB]
Get: 7 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-stdlib amd64 
2.7.10-3 [1854 kB]
Get: 8 http://ftp.de.debian.org/debian/ unstable/main python2.7 amd64 2.7.10-3 
[258 kB]
Get: 9 http://ftp.de.debian.org/debian/ unstable/main libpython-stdlib amd64 
2.7.9-1 [19.5 kB]
Get: 10 http://ftp.de.debian.org/debian/ unstable/main python amd64 2.7.9-1 
[151 kB]
Get: 11 http://ftp.de.debian.org/debian/ unstable/main libgfortran3 amd64 
5.2.1-15 [253 kB]
Get: 12 http://ftp.de.debian.org/debian/ unstable/main libmpdec2 amd64 2.4.1-1 
[85.7 kB]
Get: 13 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-minimal 
amd64 3.4.3-8 [495 kB]
Get: 14 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-stdlib 
amd64 3.4.3-8 [2057 kB]
Get: 15 http://ftp.de.debian.org/debian/ unstable/main python3.4-minimal amd64 
3.4.3-8 [1401 kB]
Get: 16 http://ftp.de.debian.org/debian/ unstable/main python3-minimal amd64 
3.4.3-4 [34.7 kB]
Get: 17 http://ftp.de.debian.org/debian/ unstable/main python3.4 amd64 3.4.3-8 
[219 kB]
Get: 18 http://ftp.de.debian.org/debian/ unstable/main libpython3-stdlib amd64 
3.4.3-4 [18.1 kB]
Get: 19 http://ftp.de.debian.org/debian/ unstable/main dh-python all 2.20150728 
[71.3 kB]
Get: 20 http://ftp.de.debian.org/debian/ unstable/main python3 amd64 3.4.3-4 
[21.1 kB]
Get: 21 http://ftp.de.debian.org/debian/ unstable/main libblas-common amd64 
1.2.20110419-10 [8496 B]
Get: 22 http://ftp.de.debian.org/debian/ unstable/main libblas3 amd64 
1.2.20110419-10 [167 kB]
Get: 23 http://ftp.de.debian.org/debian/ unstable/main liblinear1 amd64 
1.8+dfsg-5 [33.1 kB]
Get: 24 http://ftp.de.debian.org/debian/ unstable/main liblua5.2-0 amd64 
5.2.4-1 [108 kB]
Get: 25 http://ftp.de.debian.org/debian/ unstable/main libpcap0.8 amd64 1.7.4-1 
[136 kB]
Get: 26 http://ftp.de.debian.org/debian/ unstable/main python-all amd64 2.7.9-1 
[996 B]
Get: 27 http://ftp.de.debian.org/debian/ unstable/main python3-all amd64 
3.4.3-4 [932 B]
Get: 28 http://ftp.de.debian.org/debian/ unstable/main nmap amd64 6.47-7 [3973 
kB]
Fetched 14.6 MB in 0s (15.5 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpython2.7-minimal:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20246 files and directories currently installed.)
Preparing to unpack .../libpython2.7-minimal_2.7.10-3_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.10-3) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.10-3_amd64.deb ...
Unpacking python2.7-minimal (2.7.10-3) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.9-1_amd64.deb ...
Unpacking python-minimal (2.7.9-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.59_all.deb ...
Unpacking mime-support (3.59) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.1.0-7_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-7) ...
Selecting previously unselected package libssl1.0.0:amd64.
Preparing to unpack .../libssl1.0.0_1.0.2d-1_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.2d-1) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../libpython2.7-stdlib_2.7.10-3_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.10-3) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.10-3_amd64.deb ...
Unpacking python2.7 (2.7.10-3) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.9-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.9-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libpython2.7-minimal:amd64 (2.7.10-3) ...
Setting up python2.7-minimal (2.7.10-3) ...
Setting up python-minimal (2.7.9-1) ...
Selecting previously unselected package python.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 21048 files and directories currently installed.)
Preparing to unpack .../python_2.7.9-1_amd64.deb ...
Unpacking python (2.7.9-1) ...
Selecting previously unselected package libgfortran3:amd64.
Preparing to unpack .../libgfortran3_5.2.1-15_amd64.deb ...
Unpacking libgfortran3:amd64 (5.2.1-15) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../libmpdec2_2.4.1-1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.1-1) ...
Selecting previously unselected package libpython3.4-minimal:amd64.
Preparing to unpack .../libpython3.4-minimal_3.4.3-8_amd64.deb ...
Unpacking libpython3.4-minimal:amd64 (3.4.3-8) ...
Selecting previously unselected package libpython3.4-stdlib:amd64.
Preparing to unpack .../libpython3.4-stdlib_3.4.3-8_amd64.deb ...
Unpacking libpython3.4-stdlib:amd64 (3.4.3-8) ...
Selecting previously unselected package python3.4-minimal.
Preparing to unpack .../python3.4-minimal_3.4.3-8_amd64.deb ...
Unpacking python3.4-minimal (3.4.3-8) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../python3-minimal_3.4.3-4_amd64.deb ...
Unpacking python3-minimal (3.4.3-4) ...
Selecting previously unselected package python3.4.
Preparing to unpack .../python3.4_3.4.3-8_amd64.deb ...
Unpacking python3.4 (3.4.3-8) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.4.3-4_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.4.3-4) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_2.20150728_all.deb ...
Unpacking dh-python (2.20150728) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libssl1.0.0:amd64 (1.0.2d-1) ...
Setting up libpython3.4-minimal:amd64 (3.4.3-8) ...
Setting up libexpat1:amd64 (2.1.0-7) ...
Setting up python3.4-minimal (3.4.3-8) ...
Setting up python3-minimal (3.4.3-4) ...
Processing triggers for libc-bin (2.19-19) ...
Selecting previously unselected package python3.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 22009 files and directories currently installed.)
Preparing to unpack .../python3_3.4.3-4_amd64.deb ...
Unpacking python3 (3.4.3-4) ...
Selecting previously unselected package libblas-common.
Preparing to unpack .../libblas-common_1.2.20110419-10_amd64.deb ...
Unpacking libblas-common (1.2.20110419-10) ...
Selecting previously unselected package libblas3.
Preparing to unpack .../libblas3_1.2.20110419-10_amd64.deb ...
Unpacking libblas3 (1.2.20110419-10) ...
Selecting previously unselected package liblinear1:amd64.
Preparing to unpack .../liblinear1_1.8+dfsg-5_amd64.deb ...
Unpacking liblinear1:amd64 (1.8+dfsg-5) ...
Selecting previously unselected package liblua5.2-0:amd64.
Preparing to unpack .../liblua5.2-0_5.2.4-1_amd64.deb ...
Unpacking liblua5.2-0:amd64 (5.2.4-1) ...
Selecting previously unselected package libpcap0.8:amd64.
Preparing to unpack .../libpcap0.8_1.7.4-1_amd64.deb ...
Unpacking libpcap0.8:amd64 (1.7.4-1) ...
Selecting previously unselected package python-all.
Preparing to unpack .../python-all_2.7.9-1_amd64.deb ...
Unpacking python-all (2.7.9-1) ...
Selecting previously unselected package python3-all.
Preparing to unpack .../python3-all_3.4.3-4_amd64.deb ...
Unpacking python3-all (3.4.3-4) ...
Selecting previously unselected package nmap.
Preparing to unpack .../archives/nmap_6.47-7_amd64.deb ...
Unpacking nmap (6.47-7) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up mime-support (3.59) ...
Setting up libpython2.7-stdlib:amd64 (2.7.10-3) ...
Setting up python2.7 (2.7.10-3) ...
Setting up libpython-stdlib:amd64 (2.7.9-1) ...
Setting up python (2.7.9-1) ...
Setting up libgfortran3:amd64 (5.2.1-15) ...
Setting up libmpdec2:amd64 (2.4.1-1) ...
Setting up libpython3.4-stdlib:amd64 (3.4.3-8) ...
Setting up python3.4 (3.4.3-8) ...
Setting up libpython3-stdlib:amd64 (3.4.3-4) ...
Setting up libblas-common (1.2.20110419-10) ...
Setting up libblas3 (1.2.20110419-10) ...
update-alternatives: using /usr/lib/libblas/libblas.so.3 to provide 
/usr/lib/libblas.so.3 (libblas.so.3) in auto mode
Setting up liblinear1:amd64 (1.8+dfsg-5) ...
Setting up liblua5.2-0:amd64 (5.2.4-1) ...
Setting up libpcap0.8:amd64 (1.7.4-1) ...
Setting up python-all (2.7.9-1) ...
Setting up nmap (6.47-7) ...
Setting up python3 (3.4.3-4) ...
Setting up python3-all (3.4.3-4) ...
Setting up dh-python (2.20150728) ...
Processing triggers for libc-bin (2.19-19) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
fakeroot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Copying source file
I: copying [python-nmap_0.4.0-1.dsc]
I: copying [./python-nmap_0.4.0.orig.tar.gz]
I: copying [./python-nmap_0.4.0-1.debian.tar.xz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Thu Aug 13 22:11:26 2015 GMT+12 using RSA key ID F5177DAA
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./python-nmap_0.4.0-1.dsc
dpkg-source: info: extracting python-nmap in python-nmap-0.4.0
dpkg-source: info: unpacking python-nmap_0.4.0.orig.tar.gz
dpkg-source: info: unpacking python-nmap_0.4.0-1.debian.tar.xz
I: Building the package
I: Running cd tmp/buildd/*/ && env 
PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" dpkg-buildpackage -us -uc  -b 
-rfakeroot
dpkg-buildpackage: source package python-nmap
dpkg-buildpackage: source version 0.4.0-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Federico Ceratto <feder...@debian.org>
 dpkg-source --before-build python-nmap-0.4.0
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --with python2,python3 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
        pybuild --clean -i python{version} -p 2.7 --dir .
I: pybuild base:170: python2.7 setup.py clean 
running clean
removing '/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_2.7/build' (and 
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
        pybuild --clean -i python{version} -p 3.4 --dir .
I: pybuild base:170: python3.4 setup.py clean 
running clean
removing '/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_3.4/build' (and 
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.4' does not exist -- can't clean it
        rm -rf .pybuild/
        find . -name \*.pyc -exec rm {} \;
   dh_clean -O--buildsystem=pybuild
        rm -f debian/python-nmap.substvars
        rm -f debian/python-nmap.*.debhelper
        rm -rf debian/python-nmap/
        rm -f debian/python3-nmap.substvars
        rm -f debian/python3-nmap.*.debhelper
        rm -rf debian/python3-nmap/
        rm -rf debian/.debhelper/
        rm -f debian/*.debhelper.log
        rm -f debian/files
        find .  \( \( \
                \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path 
.\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \
                \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
                 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
                 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
                 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
                \) -exec rm -f {} + \) -o \
                \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) 
\)
        rm -f *-stamp
 debian/rules build
dh build --with python2,python3 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
        pybuild --configure -i python{version} -p 2.7 --dir .
I: pybuild base:170: python2.7 setup.py config 
running config
        pybuild --configure -i python{version} -p 3.4 --dir .
I: pybuild base:170: python3.4 setup.py config 
running config
   dh_auto_build -O--buildsystem=pybuild
        pybuild --build -i python{version} -p 2.7 --dir .
I: pybuild base:170: /usr/bin/python setup.py build 
running build
running build_py
creating /tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_2.7/build/nmap
copying nmap/__init__.py -> 
/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_2.7/build/nmap
copying nmap/nmap_new.py -> 
/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_2.7/build/nmap
copying nmap/nmap.py -> 
/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_2.7/build/nmap
copying nmap/test_nmap.py -> 
/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_2.7/build/nmap
        pybuild --build -i python{version} -p 3.4 --dir .
I: pybuild base:170: /usr/bin/python3 setup.py build 
running build
running build_py
creating /tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_3.4/build/nmap
copying nmap/__init__.py -> 
/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_3.4/build/nmap
copying nmap/nmap_new.py -> 
/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_3.4/build/nmap
copying nmap/nmap.py -> 
/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_3.4/build/nmap
copying nmap/test_nmap.py -> 
/tmp/buildd/python-nmap-0.4.0/.pybuild/pythonX.Y_3.4/build/nmap
   dh_auto_test -O--buildsystem=pybuild
        pybuild --test -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 
unittest discover -v 
nmap.test_nmap (unittest.loader.ModuleImportFailure) ... ERROR

======================================================================
ERROR: nmap.test_nmap (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module: nmap.test_nmap
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/unittest/loader.py", line 232, in 
_get_module_from_name
    __import__(name)
  File "nmap/test_nmap.py", line 8, in <module>
    from nose.tools import assert_equals
ImportError: No module named nose.tools


----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)
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 
unittest discover -v 
dh_auto_test: pybuild --test -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
E: Failed autobuilding of package
I: unmounting /sys filesystem
I: unmounting /dev/shm filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/cache/pbuilder/build//10120 and its subdirectories
Warning: No second build log

Reply via email to