Package: src:python-django-otp Version: 1.6.1-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-django-otp, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3,sphinxdoc --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild debian/rules override_dh_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -rf docs/.build dh_clean make[1]: Leaving directory '/<<PKGBUILDDIR>>' 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 debian/rules execute_before_dh_auto_build [... snipped ...] ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py", line 177, in send (receiver, receiver(signal=self, sender=sender, **named)) ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 267, in store_rendered_templates store["context"].append(copy(context)) ~~~~^^^^^^^^^ File "/usr/lib/python3.14/copy.py", line 82, in copy return copier(x) File "/usr/lib/python3/dist-packages/django/template/context.py", line 158, in __copy__ duplicate = super().__copy__() File "/usr/lib/python3/dist-packages/django/template/context.py", line 39, in __copy__ duplicate.dicts = self.dicts[:] ^^^^^^^^^^^^^^^ AttributeError: 'super' object has no attribute 'dicts' and no __dict__ for setting new attributes During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 134, in __call__ response = response or self.get_response(request) ~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 57, in inner response = response_for_exception(request, exc) File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 144, in response_for_exception log_response( ~~~~~~~~~~~~^ "%s: %s", ^^^^^^^^^ ...<4 lines>... exception=exc, ^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3/dist-packages/django/utils/log.py", line 246, in log_response getattr(logger, level)( ~~~~~~~~~~~~~~~~~~~~~~^ message, ^^^^^^^^ ...<5 lines>... exc_info=exception, ^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3.14/logging/__init__.py", line 1549, in error self._log(ERROR, msg, args, **kwargs) ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/logging/__init__.py", line 1665, in _log self.handle(record) ~~~~~~~~~~~^^^^^^^^ File "/usr/lib/python3.14/logging/__init__.py", line 1681, in handle self.callHandlers(record) ~~~~~~~~~~~~~~~~~^^^^^^^^ File "/usr/lib/python3.14/logging/__init__.py", line 1737, in callHandlers hdlr.handle(record) ~~~~~~~~~~~^^^^^^^^ File "/usr/lib/python3.14/logging/__init__.py", line 1027, in handle self.emit(record) ~~~~~~~~~^^^^^^^^ File "/usr/lib/python3/dist-packages/django/utils/log.py", line 125, in emit reporter.get_traceback_text(), ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/django/views/debug.py", line 418, in get_traceback_text return t.render(c) ~~~~~~~~^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 175, in render return self._render(context) ~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/test/utils.py", line 111, in instrumented_test_render template_rendered.send(sender=self, template=self, context=context) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py", line 177, in send (receiver, receiver(signal=self, sender=sender, **named)) ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 267, in store_rendered_templates store["context"].append(copy(context)) ~~~~^^^^^^^^^ File "/usr/lib/python3.14/copy.py", line 82, in copy return copier(x) File "/usr/lib/python3/dist-packages/django/template/context.py", line 158, in __copy__ duplicate = super().__copy__() File "/usr/lib/python3/dist-packages/django/template/context.py", line 39, in __copy__ duplicate.dicts = self.dicts[:] ^^^^^^^^^^^^^^^ AttributeError: 'super' object has no attribute 'dicts' and no __dict__ for setting new attributes During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 134, in __call__ response = response or self.get_response(request) ~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 57, in inner response = response_for_exception(request, exc) File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 144, in response_for_exception log_response( ~~~~~~~~~~~~^ "%s: %s", ^^^^^^^^^ ...<4 lines>... exception=exc, ^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3/dist-packages/django/utils/log.py", line 246, in log_response getattr(logger, level)( ~~~~~~~~~~~~~~~~~~~~~~^ message, ^^^^^^^^ ...<5 lines>... exc_info=exception, ^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3.14/logging/__init__.py", line 1549, in error self._log(ERROR, msg, args, **kwargs) ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/logging/__init__.py", line 1665, in _log self.handle(record) ~~~~~~~~~~~^^^^^^^^ File "/usr/lib/python3.14/logging/__init__.py", line 1681, in handle self.callHandlers(record) ~~~~~~~~~~~~~~~~~^^^^^^^^ File "/usr/lib/python3.14/logging/__init__.py", line 1737, in callHandlers hdlr.handle(record) ~~~~~~~~~~~^^^^^^^^ File "/usr/lib/python3.14/logging/__init__.py", line 1027, in handle self.emit(record) ~~~~~~~~~^^^^^^^^ File "/usr/lib/python3/dist-packages/django/utils/log.py", line 125, in emit reporter.get_traceback_text(), ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/django/views/debug.py", line 418, in get_traceback_text return t.render(c) ~~~~~~~~^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 175, in render return self._render(context) ~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/test/utils.py", line 111, in instrumented_test_render template_rendered.send(sender=self, template=self, context=context) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py", line 177, in send (receiver, receiver(signal=self, sender=sender, **named)) ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 267, in store_rendered_templates store["context"].append(copy(context)) ~~~~^^^^^^^^^ File "/usr/lib/python3.14/copy.py", line 82, in copy return copier(x) File "/usr/lib/python3/dist-packages/django/template/context.py", line 158, in __copy__ duplicate = super().__copy__() File "/usr/lib/python3/dist-packages/django/template/context.py", line 39, in __copy__ duplicate.dicts = self.dicts[:] ^^^^^^^^^^^^^^^ AttributeError: 'super' object has no attribute 'dicts' and no __dict__ for setting new attributes During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-otp/build/django_otp/tests.py", line 602, in test_verify self.assertRedirects(response, '/') ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/test/testcases.py", line 548, in assertRedirects redirect_response = response.client.get( path, ...<3 lines>... **extra, ) File "/usr/lib/python3/dist-packages/django/test/client.py", line 927, in get response = super().get(path, data=data, secure=secure, headers=headers, **extra) File "/usr/lib/python3/dist-packages/django/test/client.py", line 457, in get return self.generic( ~~~~~~~~~~~~^ "GET", ^^^^^^ ...<6 lines>... }, ^^ ) ^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 609, in generic return self.request(**r) ~~~~~~~~~~~~^^^^^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 886, in request response = self.handler(environ) File "/usr/lib/python3/dist-packages/django/test/client.py", line 176, in __call__ response = self.get_response(request) File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 140, in get_response response = self._middleware_chain(request) File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 57, in inner response = response_for_exception(request, exc) File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 144, in response_for_exception log_response( ~~~~~~~~~~~~^ "%s: %s", ^^^^^^^^^ ...<4 lines>... exception=exc, ^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3/dist-packages/django/utils/log.py", line 246, in log_response getattr(logger, level)( ~~~~~~~~~~~~~~~~~~~~~~^ message, ^^^^^^^^ ...<5 lines>... exc_info=exception, ^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3.14/logging/__init__.py", line 1549, in error self._log(ERROR, msg, args, **kwargs) ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/logging/__init__.py", line 1665, in _log self.handle(record) ~~~~~~~~~~~^^^^^^^^ File "/usr/lib/python3.14/logging/__init__.py", line 1681, in handle self.callHandlers(record) ~~~~~~~~~~~~~~~~~^^^^^^^^ File "/usr/lib/python3.14/logging/__init__.py", line 1737, in callHandlers hdlr.handle(record) ~~~~~~~~~~~^^^^^^^^ File "/usr/lib/python3.14/logging/__init__.py", line 1027, in handle self.emit(record) ~~~~~~~~~^^^^^^^^ File "/usr/lib/python3/dist-packages/django/utils/log.py", line 125, in emit reporter.get_traceback_text(), ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/django/views/debug.py", line 418, in get_traceback_text return t.render(c) ~~~~~~~~^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 175, in render return self._render(context) ~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/test/utils.py", line 111, in instrumented_test_render template_rendered.send(sender=self, template=self, context=context) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py", line 177, in send (receiver, receiver(signal=self, sender=sender, **named)) ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 267, in store_rendered_templates store["context"].append(copy(context)) ~~~~^^^^^^^^^ File "/usr/lib/python3.14/copy.py", line 82, in copy return copier(x) File "/usr/lib/python3/dist-packages/django/template/context.py", line 158, in __copy__ duplicate = super().__copy__() File "/usr/lib/python3/dist-packages/django/template/context.py", line 39, in __copy__ duplicate.dicts = self.dicts[:] ^^^^^^^^^^^^^^^ AttributeError: 'super' object has no attribute 'dicts' and no __dict__ for setting new attributes ---------------------------------------------------------------------- Ran 154 tests in 18.399s FAILED (errors=11, skipped=4) Destroying test database for alias 'default'... E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-otp/build; python3.14 -m django test --settings=test_project.settings django_otp I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-otp/build; python3.13 -m django test --settings=test_project.settings django_otp Creating test database for alias 'default'... Found 154 test(s). System check identified no issues (0 silenced). ..................................................................................................................................................ssss.... ---------------------------------------------------------------------- Ran 154 tests in 15.557s OK (skipped=4) Destroying test database for alias 'default'... dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" --system=custom --test-args="cd {build_dir}; {interpreter} -m django test --settings=test_project.settings django_otp" returned exit code 13 make[1]: *** [debian/rules:23: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:9: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

