Source: isbg
Version: 2.3.1-3
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 --with python3,sphinxdoc --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_isbg/build/isbg
> copying isbg/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isbg/build/isbg
> copying isbg/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isbg/build/isbg
> copying isbg/imaputils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isbg/build/isbg
> copying isbg/secrets.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isbg/build/isbg
> copying isbg/__main__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isbg/build/isbg
> copying isbg/isbg.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isbg/build/isbg
> copying isbg/spamproc.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isbg/build/isbg
> copying isbg/sa_unwrap.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isbg/build/isbg
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_isbg/build/isbg
> copying isbg/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_isbg/build/isbg
> copying isbg/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_isbg/build/isbg
> copying isbg/imaputils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_isbg/build/isbg
> copying isbg/secrets.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_isbg/build/isbg
> copying isbg/__main__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_isbg/build/isbg
> copying isbg/isbg.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_isbg/build/isbg
> copying isbg/spamproc.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_isbg/build/isbg
> copying isbg/sa_unwrap.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_isbg/build/isbg
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isbg/build; 
> python3.12 -m pytest -m "not spamassassin"
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 0 items / 7 errors
> 
> ==================================== ERRORS 
> ====================================
> __ ERROR collecting .pybuild/cpython3_3.12_isbg/build/tests/test___main__.py 
> ___
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in 
> _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1387: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1360: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:935: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in 
> exec_module
>     exec(co, module.__dict__)
> tests/test___main__.py:39: in <module>
>     from isbg import __main__, isbg  # noqa: E402
> isbg/__init__.py:10: in <module>
>     from .isbg import ISBG, ISBGError, __version__, __exitcodes__, __license__
> isbg/isbg.py:23: in <module>
>     from isbg import imaputils
> isbg/imaputils.py:40: in <module>
>     Email = TypeVar(email.message.Message)
> E   TypeError: typevar() argument 'name' must be str, not type
> __ ERROR collecting .pybuild/cpython3_3.12_isbg/build/tests/test_imaputils.py 
> __
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in 
> _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1387: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1360: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:935: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in 
> exec_module
>     exec(co, module.__dict__)
> tests/test_imaputils.py:40: in <module>
>     from isbg import imaputils  # noqa: E402
> isbg/__init__.py:10: in <module>
>     from .isbg import ISBG, ISBGError, __version__, __exitcodes__, __license__
> isbg/isbg.py:23: in <module>
>     from isbg import imaputils
> isbg/imaputils.py:40: in <module>
>     Email = TypeVar(email.message.Message)
> E   TypeError: typevar() argument 'name' must be str, not type
> ____ ERROR collecting .pybuild/cpython3_3.12_isbg/build/tests/test_isbg.py 
> _____
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in 
> _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1387: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1360: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:935: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in 
> exec_module
>     exec(co, module.__dict__)
> tests/test_isbg.py:39: in <module>
>     from isbg import isbg  # noqa: E402
> isbg/__init__.py:10: in <module>
>     from .isbg import ISBG, ISBGError, __version__, __exitcodes__, __license__
> isbg/isbg.py:23: in <module>
>     from isbg import imaputils
> isbg/imaputils.py:40: in <module>
>     Email = TypeVar(email.message.Message)
> E   TypeError: typevar() argument 'name' must be str, not type
> __ ERROR collecting .pybuild/cpython3_3.12_isbg/build/tests/test_sa_unwrap.py 
> __
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in 
> _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1387: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1360: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:935: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in 
> exec_module
>     exec(co, module.__dict__)
> tests/test_sa_unwrap.py:33: in <module>
>     from isbg import sa_unwrap  # noqa: E402
> isbg/__init__.py:10: in <module>
>     from .isbg import ISBG, ISBGError, __version__, __exitcodes__, __license__
> isbg/isbg.py:23: in <module>
>     from isbg import imaputils
> isbg/imaputils.py:40: in <module>
>     Email = TypeVar(email.message.Message)
> E   TypeError: typevar() argument 'name' must be str, not type
> ___ ERROR collecting .pybuild/cpython3_3.12_isbg/build/tests/test_secrets.py 
> ___
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in 
> _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1387: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1360: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:935: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in 
> exec_module
>     exec(co, module.__dict__)
> tests/test_secrets.py:38: in <module>
>     from isbg import secrets      # noqa: E402
> isbg/__init__.py:10: in <module>
>     from .isbg import ISBG, ISBGError, __version__, __exitcodes__, __license__
> isbg/isbg.py:23: in <module>
>     from isbg import imaputils
> isbg/imaputils.py:40: in <module>
>     Email = TypeVar(email.message.Message)
> E   TypeError: typevar() argument 'name' must be str, not type
> __ ERROR collecting .pybuild/cpython3_3.12_isbg/build/tests/test_spamproc.py 
> ___
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in 
> _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1387: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1360: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:935: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in 
> exec_module
>     exec(co, module.__dict__)
> tests/test_spamproc.py:38: in <module>
>     from isbg import spamproc   # noqa: E402
> isbg/__init__.py:10: in <module>
>     from .isbg import ISBG, ISBGError, __version__, __exitcodes__, __license__
> isbg/isbg.py:23: in <module>
>     from isbg import imaputils
> isbg/imaputils.py:40: in <module>
>     Email = TypeVar(email.message.Message)
> E   TypeError: typevar() argument 'name' must be str, not type
> ____ ERROR collecting .pybuild/cpython3_3.12_isbg/build/tests/test_utils.py 
> ____
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in 
> _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1387: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1360: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:935: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in 
> exec_module
>     exec(co, module.__dict__)
> tests/test_utils.py:37: in <module>
>     from isbg import utils  # noqa: E402
> isbg/__init__.py:10: in <module>
>     from .isbg import ISBG, ISBGError, __version__, __exitcodes__, __license__
> isbg/isbg.py:23: in <module>
>     from isbg import imaputils
> isbg/imaputils.py:40: in <module>
>     Email = TypeVar(email.message.Message)
> E   TypeError: typevar() argument 'name' must be str, not type
> =========================== short test summary info 
> ============================
> ERROR tests/test___main__.py - TypeError: typevar() argument 'name' must be 
> s...
> ERROR tests/test_imaputils.py - TypeError: typevar() argument 'name' must be 
> ...
> ERROR tests/test_isbg.py - TypeError: typevar() argument 'name' must be str, 
> ...
> ERROR tests/test_sa_unwrap.py - TypeError: typevar() argument 'name' must be 
> ...
> ERROR tests/test_secrets.py - TypeError: typevar() argument 'name' must be 
> st...
> ERROR tests/test_spamproc.py - TypeError: typevar() argument 'name' must be 
> s...
> ERROR tests/test_utils.py - TypeError: typevar() argument 'name' must be 
> str,...
> !!!!!!!!!!!!!!!!!!! Interrupted: 7 errors during collection 
> !!!!!!!!!!!!!!!!!!!!
> ============================== 7 errors in 0.98s 
> ===============================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=2: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isbg/build; python3.12 -m pytest -m 
> "not spamassassin"
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_isbg/build; 
> python3.11 -m pytest -m "not spamassassin"
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 36 items / 2 deselected / 34 selected
> 
> tests/test___main__.py ..                                                [  
> 5%]
> tests/test_imaputils.py ......                                           [ 
> 23%]
> tests/test_isbg.py ....                                                  [ 
> 35%]
> tests/test_sa_unwrap.py ....                                             [ 
> 47%]
> tests/test_secrets.py .                                                  [ 
> 50%]
> tests/test_spamproc.py ...........                                       [ 
> 82%]
> tests/test_utils.py ......                                               
> [100%]
> 
> =============================== warnings summary 
> ===============================
> tests/test_spamproc.py:43
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_isbg/build/tests/test_spamproc.py:43: 
> PytestUnknownMarkWarning: Unknown pytest.mark.spamassassin - is this a typo?  
> You can register custom marks to avoid this warning - for details, see 
> https://docs.pytest.org/en/stable/how-to/mark.html
>     @pytest.mark.spamassassin
> 
> tests/test_spamproc.py:64
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_isbg/build/tests/test_spamproc.py:64: 
> PytestUnknownMarkWarning: Unknown pytest.mark.spamassassin - is this a typo?  
> You can register custom marks to avoid this warning - for details, see 
> https://docs.pytest.org/en/stable/how-to/mark.html
>     @pytest.mark.spamassassin
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ================= 34 passed, 2 deselected, 2 warnings in 5.71s 
> =================
> dh_auto_test: error: pybuild --test --test-pytest -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/isbg_2.3.1-3_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