Source: websploit
Version: 4.0.4-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package websploit
> dpkg-buildpackage: info: source version 4.0.4-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by SZ Lin (林上智) <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:217: python3.9 setup.py clean 
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build' (and 
> everything under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.9' does not exist -- can't clean it
> I: pybuild base:217: python3.8 setup.py clean 
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build' (and 
> everything under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.8' does not exist -- can't clean it
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building websploit using existing 
> ./websploit_4.0.4.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building websploit in websploit_4.0.4-1.debian.tar.xz
> dpkg-source: info: building websploit in websploit_4.0.4-1.dsc
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:217: python3.9 setup.py config 
> running config
> I: pybuild base:217: python3.8 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3.9 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit
> copying websploit/websploit.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit
> copying websploit/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/ezcolor
> copying websploit/ezcolor/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/ezcolor
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/modules
> copying websploit/modules/wifi_fap.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/modules
> copying websploit/modules/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/modules
> copying websploit/modules/wifi_fap_spam.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/modules
> copying websploit/modules/http_sniffer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/modules
> copying websploit/modules/scan_network.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/modules
> copying websploit/modules/wifi_deauth.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/modules
> copying websploit/modules/scan_wifi.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/modules
> copying websploit/modules/arp_spoof.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/modules
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core
> copying websploit/core/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/base
> copying websploit/core/base/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/base
> copying websploit/core/base/Base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/base
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils
> copying websploit/core/utils/output.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils
> copying websploit/core/utils/about.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils
> copying websploit/core/utils/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils
> copying websploit/core/utils/version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils
> copying websploit/core/utils/tui.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils
> copying websploit/core/utils/update.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils
> copying websploit/core/utils/startup.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils
> copying websploit/core/utils/tools.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils
> copying websploit/core/utils/fake_mac -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils
> copying websploit/core/utils/fake_names -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit
> copying websploit/websploit.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit
> copying websploit/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/ezcolor
> copying websploit/ezcolor/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/ezcolor
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/modules
> copying websploit/modules/wifi_fap.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/modules
> copying websploit/modules/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/modules
> copying websploit/modules/wifi_fap_spam.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/modules
> copying websploit/modules/http_sniffer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/modules
> copying websploit/modules/scan_network.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/modules
> copying websploit/modules/wifi_deauth.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/modules
> copying websploit/modules/scan_wifi.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/modules
> copying websploit/modules/arp_spoof.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/modules
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/core
> copying websploit/core/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/core
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/core/base
> copying websploit/core/base/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/core/base
> copying websploit/core/base/Base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/core/base
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/core/utils
> copying websploit/core/utils/output.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/core/utils
> copying websploit/core/utils/about.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/core/utils
> copying websploit/core/utils/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/core/utils
> copying websploit/core/utils/version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/core/utils
> copying websploit/core/utils/tui.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/core/utils
> copying websploit/core/utils/update.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/core/utils
> copying websploit/core/utils/startup.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/core/utils
> copying websploit/core/utils/tools.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/core/utils
> copying websploit/core/utils/fake_mac -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/core/utils
> copying websploit/core/utils/fake_names -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_websploit/build/websploit/core/utils
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build; python3.9 -m unittest 
> discover -v 
> websploit.core.base (unittest.loader._FailedTest) ... ERROR
> websploit.core.utils (unittest.loader._FailedTest) ... ERROR
> websploit.modules (unittest.loader._FailedTest) ... ERROR
> 
> ======================================================================
> ERROR: websploit.core.base (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: websploit.core.base
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/unittest/loader.py", line 470, in _find_test_path
>     package = self._get_module_from_name(name)
>   File "/usr/lib/python3.9/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/base/__init__.py",
>  line 1, in <module>
>     from .Base import Module
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/base/Base.py",
>  line 3, in <module>
>     from websploit.modules import all_modules, module_list
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/modules/__init__.py",
>  line 3, in <module>
>     from websploit.core.utils import CPrint
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils/__init__.py",
>  line 1, in <module>
>     from .tools import *
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils/tools.py",
>  line 1, in <module>
>     from scapy.all import *
>   File "/usr/lib/python3/dist-packages/scapy/all.py", line 16, in <module>
>     from scapy.arch import *
>   File "/usr/lib/python3/dist-packages/scapy/arch/__init__.py", line 27, in 
> <module>
>     from scapy.arch.bpf.core import get_if_raw_addr
>   File "/usr/lib/python3/dist-packages/scapy/arch/bpf/core.py", line 30, in 
> <module>
>     LIBC = cdll.LoadLibrary(find_library("libc"))
>   File "/usr/lib/python3.9/ctypes/util.py", line 341, in find_library
>     _get_soname(_findLib_gcc(name)) or _get_soname(_findLib_ld(name))
>   File "/usr/lib/python3.9/ctypes/util.py", line 147, in _findLib_gcc
>     if not _is_elf(file):
>   File "/usr/lib/python3.9/ctypes/util.py", line 99, in _is_elf
>     with open(filename, 'br') as thefile:
> FileNotFoundError: [Errno 2] No such file or directory: b'liblibc.a'
> 
> 
> ======================================================================
> ERROR: websploit.core.utils (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: websploit.core.utils
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/unittest/loader.py", line 470, in _find_test_path
>     package = self._get_module_from_name(name)
>   File "/usr/lib/python3.9/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils/__init__.py",
>  line 1, in <module>
>     from .tools import *
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils/tools.py",
>  line 1, in <module>
>     from scapy.all import *
>   File "/usr/lib/python3/dist-packages/scapy/all.py", line 16, in <module>
>     from scapy.arch import *
>   File "/usr/lib/python3/dist-packages/scapy/arch/__init__.py", line 27, in 
> <module>
>     from scapy.arch.bpf.core import get_if_raw_addr
>   File "/usr/lib/python3/dist-packages/scapy/arch/bpf/core.py", line 30, in 
> <module>
>     LIBC = cdll.LoadLibrary(find_library("libc"))
>   File "/usr/lib/python3.9/ctypes/util.py", line 341, in find_library
>     _get_soname(_findLib_gcc(name)) or _get_soname(_findLib_ld(name))
>   File "/usr/lib/python3.9/ctypes/util.py", line 147, in _findLib_gcc
>     if not _is_elf(file):
>   File "/usr/lib/python3.9/ctypes/util.py", line 99, in _is_elf
>     with open(filename, 'br') as thefile:
> FileNotFoundError: [Errno 2] No such file or directory: b'liblibc.a'
> 
> 
> ======================================================================
> ERROR: websploit.modules (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: websploit.modules
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/unittest/loader.py", line 470, in _find_test_path
>     package = self._get_module_from_name(name)
>   File "/usr/lib/python3.9/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/modules/__init__.py",
>  line 3, in <module>
>     from websploit.core.utils import CPrint
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils/__init__.py",
>  line 1, in <module>
>     from .tools import *
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build/websploit/core/utils/tools.py",
>  line 1, in <module>
>     from scapy.all import *
>   File "/usr/lib/python3/dist-packages/scapy/all.py", line 16, in <module>
>     from scapy.arch import *
>   File "/usr/lib/python3/dist-packages/scapy/arch/__init__.py", line 27, in 
> <module>
>     from scapy.arch.bpf.core import get_if_raw_addr
>   File "/usr/lib/python3/dist-packages/scapy/arch/bpf/core.py", line 30, in 
> <module>
>     LIBC = cdll.LoadLibrary(find_library("libc"))
>   File "/usr/lib/python3.9/ctypes/util.py", line 341, in find_library
>     _get_soname(_findLib_gcc(name)) or _get_soname(_findLib_ld(name))
>   File "/usr/lib/python3.9/ctypes/util.py", line 147, in _findLib_gcc
>     if not _is_elf(file):
>   File "/usr/lib/python3.9/ctypes/util.py", line 99, in _is_elf
>     with open(filename, 'br') as thefile:
> FileNotFoundError: [Errno 2] No such file or directory: b'liblibc.a'
> 
> 
> ----------------------------------------------------------------------
> Ran 3 tests in 0.000s
> 
> FAILED (errors=3)
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_websploit/build; python3.9 -m unittest 
> discover -v 
> dh_auto_test: error: pybuild --test -i python{version} -p "3.9 3.8" returned 
> exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/10/27/websploit_4.0.4-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to