Source: python-django-channels
Version: 3.0.4-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20211228 ftbfs-bookworm
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:237: python3.10 setup.py config
> running config
> I: pybuild base:237: python3.9 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:237: /usr/bin/python3.10 setup.py build
> running build
> running build_py
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/worker.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/middleware.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/db.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/staticfiles.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/http.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/exceptions.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/sessions.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/auth.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/consumer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/layers.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/hacks.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/routing.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/signals.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/generic
> copying channels/generic/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/generic
> copying channels/generic/http.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/generic
> copying channels/generic/websocket.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/generic
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/management
> copying channels/management/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/management
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/testing
> copying channels/testing/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/testing
> copying channels/testing/http.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/testing
> copying channels/testing/live.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/testing
> copying channels/testing/websocket.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/testing
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/security
> copying channels/security/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/security
> copying channels/security/websocket.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/security
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/management/commands
> copying channels/management/commands/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/management/commands
> copying channels/management/commands/runworker.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/management/commands
> copying channels/management/commands/runserver.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/management/commands
> running egg_info
> creating channels.egg-info
> writing channels.egg-info/PKG-INFO
> writing dependency_links to channels.egg-info/dependency_links.txt
> writing requirements to channels.egg-info/requires.txt
> writing top-level names to channels.egg-info/top_level.txt
> writing manifest file 'channels.egg-info/SOURCES.txt'
> reading manifest file 'channels.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '*' found under directory
> 'tests'
> adding license file 'LICENSE'
> writing manifest file 'channels.egg-info/SOURCES.txt'
> I: pybuild base:237: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> copying channels/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> copying channels/worker.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> copying channels/middleware.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> copying channels/db.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> copying channels/staticfiles.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> copying channels/http.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> copying channels/exceptions.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> copying channels/sessions.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> copying channels/auth.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> copying channels/consumer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> copying channels/layers.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> copying channels/hacks.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> copying channels/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> copying channels/routing.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> copying channels/signals.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> copying channels/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/generic
> copying channels/generic/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/generic
> copying channels/generic/http.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/generic
> copying channels/generic/websocket.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/generic
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/management
> copying channels/management/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/management
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/testing
> copying channels/testing/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/testing
> copying channels/testing/http.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/testing
> copying channels/testing/live.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/testing
> copying channels/testing/websocket.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/testing
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/security
> copying channels/security/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/security
> copying channels/security/websocket.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/security
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/management/commands
> copying channels/management/commands/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/management/commands
> copying channels/management/commands/runworker.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/management/commands
> copying channels/management/commands/runserver.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/management/commands
> running egg_info
> writing channels.egg-info/PKG-INFO
> writing dependency_links to channels.egg-info/dependency_links.txt
> writing requirements to channels.egg-info/requires.txt
> writing top-level names to channels.egg-info/top_level.txt
> reading manifest file 'channels.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '*' found under directory
> 'tests'
> adding license file 'LICENSE'
> writing manifest file 'channels.egg-info/SOURCES.txt'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:237: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build; python3.10 -m
> pytest tests
> INTERNALERROR> Traceback (most recent call last):
> INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line
> 265, in wrap_session
> INTERNALERROR> config._do_configure()
> INTERNALERROR> File
> "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 982, in
> _do_configure
> INTERNALERROR>
> self.hook.pytest_configure.call_historic(kwargs=dict(config=self))
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line
> 308, in call_historic
> INTERNALERROR> res = self._hookexec(self, self.get_hookimpls(), kwargs)
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/manager.py",
> line 92, in _hookexec
> INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/manager.py",
> line 83, in <lambda>
> INTERNALERROR> self._inner_hookexec = lambda hook, methods, kwargs:
> hook.multicall(
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/callers.py",
> line 208, in _multicall
> INTERNALERROR> return outcome.get_result()
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/callers.py",
> line 80, in get_result
> INTERNALERROR> raise ex[1].with_traceback(ex[2])
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/callers.py",
> line 187, in _multicall
> INTERNALERROR> res = hook_impl.function(*args)
> INTERNALERROR> File
> "/usr/lib/python3/dist-packages/pytest_django/plugin.py", line 347, in
> pytest_configure
> INTERNALERROR> _setup_django()
> INTERNALERROR> File
> "/usr/lib/python3/dist-packages/pytest_django/plugin.py", line 223, in
> _setup_django
> INTERNALERROR> django.setup()
> INTERNALERROR> File "/usr/lib/python3/dist-packages/django/__init__.py",
> line 24, in setup
> INTERNALERROR> apps.populate(settings.INSTALLED_APPS)
> INTERNALERROR> File
> "/usr/lib/python3/dist-packages/django/apps/registry.py", line 91, in populate
> INTERNALERROR> app_config = AppConfig.create(entry)
> INTERNALERROR> File "/usr/lib/python3/dist-packages/django/apps/config.py",
> line 124, in create
> INTERNALERROR> mod = import_module(mod_path)
> INTERNALERROR> File "/usr/lib/python3.10/importlib/__init__.py", line 126,
> in import_module
> INTERNALERROR> return _bootstrap._gcd_import(name[level:], package, level)
> INTERNALERROR> File "<frozen importlib._bootstrap>", line 1050, in
> _gcd_import
> INTERNALERROR> File "<frozen importlib._bootstrap>", line 1027, in
> _find_and_load
> INTERNALERROR> File "<frozen importlib._bootstrap>", line 1006, in
> _find_and_load_unlocked
> INTERNALERROR> File "<frozen importlib._bootstrap>", line 688, in
> _load_unlocked
> INTERNALERROR> File "<frozen importlib._bootstrap_external>", line 883, in
> exec_module
> INTERNALERROR> File "<frozen importlib._bootstrap>", line 241, in
> _call_with_frames_removed
> INTERNALERROR> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/apps.py",
> line 4, in <module>
> INTERNALERROR> import daphne.server
> INTERNALERROR> File "/usr/lib/python3/dist-packages/daphne/server.py", line
> 33, in <module>
> INTERNALERROR> from .ws_protocol import WebSocketFactory
> INTERNALERROR> File "/usr/lib/python3/dist-packages/daphne/ws_protocol.py",
> line 6, in <module>
> INTERNALERROR> from autobahn.twisted.websocket import (
> INTERNALERROR> ModuleNotFoundError: No module named 'autobahn'
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=3: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build; python3.10 -m
> pytest tests
> I: pybuild base:237: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build; python3.9 -m
> pytest tests
> INTERNALERROR> Traceback (most recent call last):
> INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line
> 265, in wrap_session
> INTERNALERROR> config._do_configure()
> INTERNALERROR> File
> "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 982, in
> _do_configure
> INTERNALERROR>
> self.hook.pytest_configure.call_historic(kwargs=dict(config=self))
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line
> 308, in call_historic
> INTERNALERROR> res = self._hookexec(self, self.get_hookimpls(), kwargs)
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/manager.py",
> line 92, in _hookexec
> INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/manager.py",
> line 83, in <lambda>
> INTERNALERROR> self._inner_hookexec = lambda hook, methods, kwargs:
> hook.multicall(
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/callers.py",
> line 208, in _multicall
> INTERNALERROR> return outcome.get_result()
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/callers.py",
> line 80, in get_result
> INTERNALERROR> raise ex[1].with_traceback(ex[2])
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/callers.py",
> line 187, in _multicall
> INTERNALERROR> res = hook_impl.function(*args)
> INTERNALERROR> File
> "/usr/lib/python3/dist-packages/pytest_django/plugin.py", line 347, in
> pytest_configure
> INTERNALERROR> _setup_django()
> INTERNALERROR> File
> "/usr/lib/python3/dist-packages/pytest_django/plugin.py", line 223, in
> _setup_django
> INTERNALERROR> django.setup()
> INTERNALERROR> File "/usr/lib/python3/dist-packages/django/__init__.py",
> line 24, in setup
> INTERNALERROR> apps.populate(settings.INSTALLED_APPS)
> INTERNALERROR> File
> "/usr/lib/python3/dist-packages/django/apps/registry.py", line 91, in populate
> INTERNALERROR> app_config = AppConfig.create(entry)
> INTERNALERROR> File "/usr/lib/python3/dist-packages/django/apps/config.py",
> line 124, in create
> INTERNALERROR> mod = import_module(mod_path)
> INTERNALERROR> File "/usr/lib/python3.9/importlib/__init__.py", line 127,
> in import_module
> INTERNALERROR> return _bootstrap._gcd_import(name[level:], package, level)
> INTERNALERROR> File "<frozen importlib._bootstrap>", line 1030, in
> _gcd_import
> INTERNALERROR> File "<frozen importlib._bootstrap>", line 1007, in
> _find_and_load
> INTERNALERROR> File "<frozen importlib._bootstrap>", line 986, in
> _find_and_load_unlocked
> INTERNALERROR> File "<frozen importlib._bootstrap>", line 680, in
> _load_unlocked
> INTERNALERROR> File "<frozen importlib._bootstrap_external>", line 850, in
> exec_module
> INTERNALERROR> File "<frozen importlib._bootstrap>", line 228, in
> _call_with_frames_removed
> INTERNALERROR> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build/channels/apps.py",
> line 4, in <module>
> INTERNALERROR> import daphne.server
> INTERNALERROR> File "/usr/lib/python3/dist-packages/daphne/server.py", line
> 33, in <module>
> INTERNALERROR> from .ws_protocol import WebSocketFactory
> INTERNALERROR> File "/usr/lib/python3/dist-packages/daphne/ws_protocol.py",
> line 6, in <module>
> INTERNALERROR> from autobahn.twisted.websocket import (
> INTERNALERROR> ModuleNotFoundError: No module named 'autobahn'
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=3: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-channels/build; python3.9 -m
> pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10
> 3.9" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2021/12/28/python-django-channels_3.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!
If you reassign this bug to another package, please marking 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.