Package: src:python-django-waffle
Version: 4.2.0-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-waffle, 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
   dh_auto_build -O--buildsystem=pybuild

[... snipped ...]


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-waffle/build/waffle/tests/test_views.py",
 line 13, in test_wafflejs
    response = self.client.get(reverse('wafflejs'))
  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 179 tests in 3.098s

FAILED (errors=4, skipped=3)
Destroying test database for alias 'default'...
Destroying test database for alias 'readonly'...
E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-waffle/build; python3.14 -m 
django test  --pythonpath . --settings test_settings waffle
I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/test_settings.py 
/<<PKGBUILDDIR>>/test_app 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-waffle/build
I: pybuild base:317: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-waffle/build; python3.13 -m 
django test  --pythonpath . --settings test_settings waffle
Creating test database for alias 'default'...
Found 179 test(s).
Creating test database for alias 'readonly'...
System check identified no issues (0 silenced).
..............................................................Deleted 1 Flags
.Deleted 1 Flags
Deleted 1 Switches
Deleted 1 Samples
.Deleted 1 Samples
.Deleted 1 Flags
.Deleted 1 Switches
.Creating flag: test
Setting name: test
Setting everyone: None
Setting percent: 20
Setting superusers: True
Setting staff: True
Setting authenticated: True
Setting group(s): ['waffle_group']
Setting user(s): set()
Setting rollout: True
Setting testing: True
.Setting name: test
Setting everyone: None
Setting percent: None
Setting superusers: False
Setting staff: False
Setting authenticated: False
Setting group(s): ['append_group']
Setting user(s): set()
Setting rollout: False
Setting testing: False
...Setting name: test
Setting everyone: None
Setting percent: 30
Setting superusers: False
Setting staff: True
Setting authenticated: True
Setting group(s): []
Setting user(s): set()
Setting rollout: True
Setting testing: False
.Setting name: test
Setting everyone: True
Setting percent: 30
Setting superusers: False
Setting staff: True
Setting authenticated: True
Setting group(s): []
Setting user(s): set()
Setting rollout: True
Setting testing: False
.Setting name: test
Setting everyone: False
Setting percent: 30
Setting superusers: False
Setting staff: True
Setting authenticated: True
Setting group(s): []
Setting user(s): set()
Setting rollout: True
Setting testing: False
.Setting name: test
Setting everyone: None
Setting percent: None
Setting superusers: False
Setting staff: False
Setting authenticated: False
Setting group(s): []
Setting user(s): {<User: add_user>}
Setting rollout: False
Setting testing: False
.Setting name: test
Setting everyone: None
Setting percent: None
Setting superusers: False
Setting staff: False
Setting authenticated: False
Setting group(s): []
Setting user(s): {<User: append_user>}
Setting rollout: False
Setting testing: False
Setting name: test
Setting everyone: None
Setting percent: None
Setting superusers: False
Setting staff: False
Setting authenticated: False
Setting group(s): []
Setting user(s): {<User: append_user_email>}
Setting rollout: False
Setting testing: False
.Creating sample: test
....Creating switch: test
Creating switch: test
...........................................s............s.............s............................
----------------------------------------------------------------------
Ran 179 tests in 2.500s

OK (skipped=3)
Destroying test database for alias 'default'...
Destroying test database for alias 'readonly'...
I: pybuild pybuild:334: rm -rf 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-waffle/build/test_settings.py 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-waffle/build/test_app
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  
--pythonpath . --settings test_settings waffle" returned exit code 13
make[1]: *** [debian/rules:20: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to