Source: python-django-otp
Version: 1.0.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp
> copying src/django_otp/tests.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp
> copying src/django_otp/models.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp
> copying src/django_otp/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp
> copying src/django_otp/decorators.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp
> copying src/django_otp/conf.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp
> copying src/django_otp/middleware.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp
> copying src/django_otp/admin.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp
> copying src/django_otp/util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp
> copying src/django_otp/oath.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp
> copying src/django_otp/forms.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp
> copying src/django_otp/views.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins
> copying src/django_otp/plugins/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_hotp
> copying src/django_otp/plugins/otp_hotp/tests.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_hotp
> copying src/django_otp/plugins/otp_hotp/models.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_hotp
> copying src/django_otp/plugins/otp_hotp/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_hotp
> copying src/django_otp/plugins/otp_hotp/admin.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_hotp
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_totp
> copying src/django_otp/plugins/otp_totp/tests.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_totp
> copying src/django_otp/plugins/otp_totp/models.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_totp
> copying src/django_otp/plugins/otp_totp/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_totp
> copying src/django_otp/plugins/otp_totp/admin.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_totp
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_email
> copying src/django_otp/plugins/otp_email/tests.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_email
> copying src/django_otp/plugins/otp_email/models.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_email
> copying src/django_otp/plugins/otp_email/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_email
> copying src/django_otp/plugins/otp_email/conf.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_email
> copying src/django_otp/plugins/otp_email/admin.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_email
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_static
> copying src/django_otp/plugins/otp_static/tests.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_static
> copying src/django_otp/plugins/otp_static/lib.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_static
> copying src/django_otp/plugins/otp_static/models.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_static
> copying src/django_otp/plugins/otp_static/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_static
> copying src/django_otp/plugins/otp_static/admin.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_static
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_hotp/migrations
> copying src/django_otp/plugins/otp_hotp/migrations/0002_auto_20190420_0723.py 
> -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_hotp/migrations
> copying src/django_otp/plugins/otp_hotp/migrations/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_hotp/migrations
> copying src/django_otp/plugins/otp_hotp/migrations/0001_initial.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_hotp/migrations
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_totp/migrations
> copying src/django_otp/plugins/otp_totp/migrations/0002_auto_20190420_0723.py 
> -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_totp/migrations
> copying src/django_otp/plugins/otp_totp/migrations/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_totp/migrations
> copying src/django_otp/plugins/otp_totp/migrations/0001_initial.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_totp/migrations
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_email/migrations
> copying src/django_otp/plugins/otp_email/migrations/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_email/migrations
> copying src/django_otp/plugins/otp_email/migrations/0001_initial.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_email/migrations
> copying 
> src/django_otp/plugins/otp_email/migrations/0002_sidechanneldevice_email.py 
> -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_email/migrations
> copying src/django_otp/plugins/otp_email/migrations/0004_throttling.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_email/migrations
> copying src/django_otp/plugins/otp_email/migrations/0003_emaildevice_email.py 
> -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_email/migrations
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_static/migrations
> copying src/django_otp/plugins/otp_static/migrations/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_static/migrations
> copying src/django_otp/plugins/otp_static/migrations/0002_throttling.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_static/migrations
> copying src/django_otp/plugins/otp_static/migrations/0001_initial.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_static/migrations
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_static/management
> copying src/django_otp/plugins/otp_static/management/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_static/management
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_static/management/commands
> copying src/django_otp/plugins/otp_static/management/commands/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_static/management/commands
> copying 
> src/django_otp/plugins/otp_static/management/commands/addstatictoken.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_static/management/commands
> running egg_info
> creating src/django_otp.egg-info
> writing src/django_otp.egg-info/PKG-INFO
> writing dependency_links to src/django_otp.egg-info/dependency_links.txt
> writing requirements to src/django_otp.egg-info/requires.txt
> writing top-level names to src/django_otp.egg-info/top_level.txt
> writing manifest file 'src/django_otp.egg-info/SOURCES.txt'
> reading manifest file 'src/django_otp.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> no previously-included directories found matching 'docs/build'
> adding license file 'LICENSE'
> writing manifest file 'src/django_otp.egg-info/SOURCES.txt'
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/locale
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/locale/fr
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/locale/fr/LC_MESSAGES
> copying src/django_otp/locale/fr/LC_MESSAGES/django.mo -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/locale/fr/LC_MESSAGES
> copying src/django_otp/locale/fr/LC_MESSAGES/django.po -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/locale/fr/LC_MESSAGES
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/templates
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/templates/otp
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/templates/otp/admin111
> copying src/django_otp/templates/otp/admin111/login.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/templates/otp/admin111
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_hotp/templates
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_hotp/templates/otp_hotp
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_hotp/templates/otp_hotp/admin
> copying src/django_otp/plugins/otp_hotp/templates/otp_hotp/admin/config.html 
> -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_hotp/templates/otp_hotp/admin
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_totp/templates
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_totp/templates/otp_totp
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_totp/templates/otp_totp/admin
> copying src/django_otp/plugins/otp_totp/templates/otp_totp/admin/config.html 
> -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_totp/templates/otp_totp/admin
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_email/templates
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_email/templates/otp
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_email/templates/otp/email
> copying src/django_otp/plugins/otp_email/templates/otp/email/token.txt -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-otp/build/django_otp/plugins/otp_email/templates/otp/email
> PYTHONPATH=src:docs/ext python3 -m sphinx -b html -d docs/.build/.doctrees -N 
> docs/source docs/.build/html
> Running Sphinx v4.2.0
> 
> Configuration error:
> There is a programmable error in your configuration file:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/sphinx/config.py", line 328, in 
> eval_config_file
>     exec(code, namespace)
>   File "/<<PKGBUILDDIR>>/docs/source/conf.py", line 61, in <module>
>     django.setup()
>   File "/usr/lib/python3/dist-packages/django/__init__.py", line 24, in setup
>     apps.populate(settings.INSTALLED_APPS)
>   File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 122, in 
> populate
>     app_config.ready()
>   File "/usr/lib/python3/dist-packages/django/contrib/admin/apps.py", line 
> 27, in ready
>     self.module.autodiscover()
>   File "/usr/lib/python3/dist-packages/django/contrib/admin/__init__.py", 
> line 24, in autodiscover
>     autodiscover_modules('admin', register_to=site)
>   File "/usr/lib/python3/dist-packages/django/utils/module_loading.py", line 
> 47, in autodiscover_modules
>     import_module('%s.%s' % (app_config.name, module_to_search))
>   File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
>   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
>   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
>   File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
>   File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
>   File "<frozen importlib._bootstrap_external>", line 850, in exec_module
>   File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
>   File "/usr/lib/python3/dist-packages/django/contrib/auth/admin.py", line 6, 
> in <module>
>     from django.contrib.auth.forms import (
>   File "/usr/lib/python3/dist-packages/django/contrib/auth/forms.py", line 
> 11, in <module>
>     from django.contrib.auth.tokens import default_token_generator
>   File "/usr/lib/python3/dist-packages/django/contrib/auth/tokens.py", line 
> 117, in <module>
>     default_token_generator = PasswordResetTokenGenerator()
>   File "/usr/lib/python3/dist-packages/django/contrib/auth/tokens.py", line 
> 18, in __init__
>     self.secret = self.secret or settings.SECRET_KEY
>   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 90, in 
> __getattr__
>     raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
> django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not 
> be empty.
> 
> make[1]: *** [debian/rules:13: override_dh_auto_build] Error 2


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/python-django-otp_1.0.2-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.

Reply via email to