[Python-apps-team] Bug#906555: pyrit: FTBFS in buster/sid (failing tests)

Santiago Vila sanvila at debian.org
Fri Aug 17 20:22:29 BST 2018


Package: src:pyrit
Version: 0.4.0-7.1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch --with python2 --buildsystem=pybuild
   dh_update_autotools_config -a -O--buildsystem=pybuild
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure
I: pybuild base:217: python2.7 setup.py config 
running config
sed -e 's,<CORES>,1,' debian/config.build.in > debian/config.build
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -a -O--buildsystem=pybuild
I: pybuild base:217: /usr/bin/python setup.py build 
running build
running build_py

[... snipped ...]

  File "test_pyrit.py", line 59, in new_f
    import cpyrit.pckttools
  File "/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7/build/cpyrit/pckttools.py", line 131, in <module>
    scapy.packet.bind_layers(scapy.layers.l2.EAPOL, EAPOL_Key, type=3)
AttributeError: 'module' object has no attribute 'EAPOL'

======================================================================
ERROR: testHandshakes (__main__.FilesystemTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_pyrit.py", line 59, in new_f
    import cpyrit.pckttools
  File "/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7/build/cpyrit/pckttools.py", line 131, in <module>
    scapy.packet.bind_layers(scapy.layers.l2.EAPOL, EAPOL_Key, type=3)
AttributeError: 'module' object has no attribute 'EAPOL'

======================================================================
ERROR: testStripCapture (__main__.FilesystemTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_pyrit.py", line 59, in new_f
    import cpyrit.pckttools
  File "/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7/build/cpyrit/pckttools.py", line 131, in <module>
    scapy.packet.bind_layers(scapy.layers.l2.EAPOL, EAPOL_Key, type=3)
AttributeError: 'module' object has no attribute 'EAPOL'

======================================================================
ERROR: testStripLive (__main__.FilesystemTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_pyrit.py", line 59, in new_f
    import cpyrit.pckttools
  File "/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7/build/cpyrit/pckttools.py", line 131, in <module>
    scapy.packet.bind_layers(scapy.layers.l2.EAPOL, EAPOL_Key, type=3)
AttributeError: 'module' object has no attribute 'EAPOL'

----------------------------------------------------------------------
Ran 24 tests in 187.800s

FAILED (errors=8)
Testing with filesystem-storage...
E: pybuild pybuild:338: test: plugin custom failed with: exit code=1: cd /<<PKGBUILDDIR>>/test/ && python2.7 test_pyrit.py
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
make[1]: *** [debian/rules:25: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -B" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pyrit.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Python-apps-team mailing list