Source: pygopherd
Version: 3.0.0~git20221126.02c65d60-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
>  debian/rules binary
> dh binary --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py config 
> running config
> I: pybuild base:310: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd
> copying pygopherd/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd
> copying pygopherd/logger.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd
> copying pygopherd/gopherentry.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd
> copying pygopherd/sighandlers.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd
> copying pygopherd/fileext.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd
> copying pygopherd/initialization.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd
> copying pygopherd/GopherExceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd
> copying pygopherd/testutil.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd
> copying pygopherd/server.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/mbox.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/tal.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/dir.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/gophermap.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/HandlerMultiplexer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/scriptexec.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/html.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/pyg.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/virtual.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/ZIP.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/url.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/file.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/UMN.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/handlers
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/spartan.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/wap.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/enhanced.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/rfc1436.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/gopherp.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/ProtocolMultiplexer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/gemini.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/http.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pygopherd/build/pygopherd/protocols
> running build_scripts
> creating build
> creating build/scripts-3.12
> copying and adjusting bin/pygopherd -> build/scripts-3.12
> changing mode of build/scripts-3.12/pygopherd from 644 to 755
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd
> copying pygopherd/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd
> copying pygopherd/logger.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd
> copying pygopherd/gopherentry.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd
> copying pygopherd/sighandlers.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd
> copying pygopherd/fileext.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd
> copying pygopherd/initialization.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd
> copying pygopherd/GopherExceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd
> copying pygopherd/testutil.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd
> copying pygopherd/server.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/mbox.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/tal.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/dir.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/gophermap.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/HandlerMultiplexer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/scriptexec.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/html.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/pyg.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/virtual.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/ZIP.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/url.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/file.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/handlers
> copying pygopherd/handlers/UMN.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/handlers
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/spartan.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/wap.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/enhanced.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/rfc1436.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/gopherp.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/ProtocolMultiplexer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/gemini.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/protocols
> copying pygopherd/protocols/http.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygopherd/build/pygopherd/protocols
> running build_scripts
> creating build/scripts-3.11
> copying and adjusting bin/pygopherd -> build/scripts-3.11
> changing mode of build/scripts-3.11/pygopherd from 644 to 755
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> creating pygopherd.egg-info
> writing pygopherd.egg-info/PKG-INFO
> writing dependency_links to pygopherd.egg-info/dependency_links.txt
> writing top-level names to pygopherd.egg-info/top_level.txt
> writing manifest file 'pygopherd.egg-info/SOURCES.txt'
> reading manifest file 'pygopherd.egg-info/SOURCES.txt'
> adding license file 'COPYING'
> writing manifest file 'pygopherd.egg-info/SOURCES.txt'
> running build_ext
> /<<PKGBUILDDIR>>/simpletal/simpleTAL.py:111: SyntaxWarning: invalid escape 
> sequence '\s'
>   SINGLETON_XML_REGEX = re.compile ('^<[^\s/>]+(?:\s*[^=>]+="[^">]+")*\s*/>')
> /<<PKGBUILDDIR>>/simpletal/simpleTAL.py:112: SyntaxWarning: invalid escape 
> sequence '\s'
>   SINGLETON_BYTES_XML_REGEX = re.compile 
> (b'^<[^\s/>]+(?:\s*[^=>]+="[^">]+")*\s*/>')
> HandlerMultiplexer (unittest.loader._FailedTest.HandlerMultiplexer) ... ERROR
> pyg (unittest.loader._FailedTest.pyg) ... ERROR
> spartan (unittest.loader._FailedTest.spartan) ... ERROR
> wap (unittest.loader._FailedTest.wap) ... ERROR
> enhanced (unittest.loader._FailedTest.enhanced) ... ERROR
> rfc1436 (unittest.loader._FailedTest.rfc1436) ... ERROR
> base (unittest.loader._FailedTest.base) ... ERROR
> gopherp (unittest.loader._FailedTest.gopherp) ... ERROR
> ProtocolMultiplexer (unittest.loader._FailedTest.ProtocolMultiplexer) ... 
> ERROR
> gemini (unittest.loader._FailedTest.gemini) ... ERROR
> http (unittest.loader._FailedTest.http) ... ERROR
> initialization (unittest.loader._FailedTest.initialization) ... ERROR
> testutil (unittest.loader._FailedTest.testutil) ... ERROR
> server (unittest.loader._FailedTest.server) ... ERROR
> 
> ======================================================================
> ERROR: HandlerMultiplexer (unittest.loader._FailedTest.HandlerMultiplexer)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: HandlerMultiplexer
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/HandlerMultiplexer.py", line 10, 
> in <module>
>     from pygopherd.handlers import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/pyg.py", line 1, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ======================================================================
> ERROR: pyg (unittest.loader._FailedTest.pyg)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: pyg
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/pyg.py", line 1, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ======================================================================
> ERROR: spartan (unittest.loader._FailedTest.spartan)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: spartan
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/spartan.py", line 8, in <module>
>     from pygopherd.protocols.base import BaseGopherProtocol
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/base.py", line 9, in <module>
>     from pygopherd.handlers import HandlerMultiplexer
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/HandlerMultiplexer.py", line 10, 
> in <module>
>     from pygopherd.handlers import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/pyg.py", line 1, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ======================================================================
> ERROR: wap (unittest.loader._FailedTest.wap)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: wap
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/wap.py", line 8, in <module>
>     from pygopherd.protocols.http import HTTPProtocol
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/http.py", line 10, in <module>
>     from pygopherd.protocols.base import BaseGopherProtocol
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/base.py", line 9, in <module>
>     from pygopherd.handlers import HandlerMultiplexer
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/HandlerMultiplexer.py", line 10, 
> in <module>
>     from pygopherd.handlers import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/pyg.py", line 1, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ======================================================================
> ERROR: enhanced (unittest.loader._FailedTest.enhanced)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: enhanced
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/enhanced.py", line 1, in <module>
>     from pygopherd.protocols import rfc1436
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/rfc1436.py", line 1, in <module>
>     from pygopherd.protocols.base import BaseGopherProtocol
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/base.py", line 9, in <module>
>     from pygopherd.handlers import HandlerMultiplexer
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/HandlerMultiplexer.py", line 10, 
> in <module>
>     from pygopherd.handlers import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/pyg.py", line 1, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ======================================================================
> ERROR: rfc1436 (unittest.loader._FailedTest.rfc1436)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: rfc1436
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/rfc1436.py", line 1, in <module>
>     from pygopherd.protocols.base import BaseGopherProtocol
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/base.py", line 9, in <module>
>     from pygopherd.handlers import HandlerMultiplexer
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/HandlerMultiplexer.py", line 10, 
> in <module>
>     from pygopherd.handlers import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/pyg.py", line 1, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ======================================================================
> ERROR: base (unittest.loader._FailedTest.base)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: base
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/base.py", line 9, in <module>
>     from pygopherd.handlers import HandlerMultiplexer
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/HandlerMultiplexer.py", line 10, 
> in <module>
>     from pygopherd.handlers import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/pyg.py", line 1, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ======================================================================
> ERROR: gopherp (unittest.loader._FailedTest.gopherp)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: gopherp
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/gopherp.py", line 5, in <module>
>     from pygopherd.protocols.rfc1436 import GopherProtocol
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/rfc1436.py", line 1, in <module>
>     from pygopherd.protocols.base import BaseGopherProtocol
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/base.py", line 9, in <module>
>     from pygopherd.handlers import HandlerMultiplexer
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/HandlerMultiplexer.py", line 10, 
> in <module>
>     from pygopherd.handlers import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/pyg.py", line 1, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ======================================================================
> ERROR: ProtocolMultiplexer (unittest.loader._FailedTest.ProtocolMultiplexer)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: ProtocolMultiplexer
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/ProtocolMultiplexer.py", line 3, 
> in <module>
>     from pygopherd.protocols import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/base.py", line 9, in <module>
>     from pygopherd.handlers import HandlerMultiplexer
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/HandlerMultiplexer.py", line 10, 
> in <module>
>     from pygopherd.handlers import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/pyg.py", line 1, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ======================================================================
> ERROR: gemini (unittest.loader._FailedTest.gemini)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: gemini
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/gemini.py", line 8, in <module>
>     from pygopherd.protocols.base import BaseGopherProtocol
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/base.py", line 9, in <module>
>     from pygopherd.handlers import HandlerMultiplexer
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/HandlerMultiplexer.py", line 10, 
> in <module>
>     from pygopherd.handlers import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/pyg.py", line 1, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ======================================================================
> ERROR: http (unittest.loader._FailedTest.http)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: http
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/http.py", line 10, in <module>
>     from pygopherd.protocols.base import BaseGopherProtocol
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/base.py", line 9, in <module>
>     from pygopherd.handlers import HandlerMultiplexer
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/HandlerMultiplexer.py", line 10, 
> in <module>
>     from pygopherd.handlers import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/pyg.py", line 1, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ======================================================================
> ERROR: initialization (unittest.loader._FailedTest.initialization)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: initialization
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/initialization.py", line 12, in <module>
>     import pygopherd.server
>   File "/<<PKGBUILDDIR>>/pygopherd/server.py", line 13, in <module>
>     from pygopherd.protocols import ProtocolMultiplexer
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/ProtocolMultiplexer.py", line 3, 
> in <module>
>     from pygopherd.protocols import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/base.py", line 9, in <module>
>     from pygopherd.handlers import HandlerMultiplexer
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/HandlerMultiplexer.py", line 10, 
> in <module>
>     from pygopherd.handlers import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/pyg.py", line 1, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ======================================================================
> ERROR: testutil (unittest.loader._FailedTest.testutil)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: testutil
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/testutil.py", line 8, in <module>
>     from pygopherd import initialization, logger
>   File "/<<PKGBUILDDIR>>/pygopherd/initialization.py", line 12, in <module>
>     import pygopherd.server
>   File "/<<PKGBUILDDIR>>/pygopherd/server.py", line 13, in <module>
>     from pygopherd.protocols import ProtocolMultiplexer
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/ProtocolMultiplexer.py", line 3, 
> in <module>
>     from pygopherd.protocols import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/base.py", line 9, in <module>
>     from pygopherd.handlers import HandlerMultiplexer
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/HandlerMultiplexer.py", line 10, 
> in <module>
>     from pygopherd.handlers import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/pyg.py", line 1, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ======================================================================
> ERROR: server (unittest.loader._FailedTest.server)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: server
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/server.py", line 13, in <module>
>     from pygopherd.protocols import ProtocolMultiplexer
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/ProtocolMultiplexer.py", line 3, 
> in <module>
>     from pygopherd.protocols import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/protocols/base.py", line 9, in <module>
>     from pygopherd.handlers import HandlerMultiplexer
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/HandlerMultiplexer.py", line 10, 
> in <module>
>     from pygopherd.handlers import *  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/pygopherd/handlers/pyg.py", line 1, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ----------------------------------------------------------------------
> Ran 14 tests in 0.001s
> 
> FAILED (errors=14)
> Test failed: <unittest.runner.TextTestResult run=14 errors=14 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=14 errors=14 
> failures=0>
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: 
> python3.12 setup.py test 
> I: pybuild base:310: python3.11 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> writing pygopherd.egg-info/PKG-INFO
> writing dependency_links to pygopherd.egg-info/dependency_links.txt
> writing top-level names to pygopherd.egg-info/top_level.txt
> reading manifest file 'pygopherd.egg-info/SOURCES.txt'
> adding license file 'COPYING'
> writing manifest file 'pygopherd.egg-info/SOURCES.txt'
> running build_ext
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
> 
> OK
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/pygopherd_3.0.0~git20221126.02c65d60-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to