[Python-modules-team] Bug#955118: django-cas-server: FTBFS with Sphinx 2.4: AttributeError: 'Sphinx' object has no attribute 'add_description_unit'

Lucas Nussbaum lucas at debian.org
Fri Mar 27 14:49:03 GMT 2020


Source: django-cas-server
Version: 1.1.0-1
Severity: important
Tags: ftbfs
User: python-modules-team at lists.alioth.debian.org
Usertags: sphinx2.4

Hi,

django-cas-server fails to build with Sphinx 2.4, currently available in
experimental.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild base:217: /usr/bin/python3.7 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server
> copying cas_server/federate.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server
> copying cas_server/apps.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server
> copying cas_server/models.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server
> copying cas_server/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server
> copying cas_server/auth.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server
> copying cas_server/admin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server
> copying cas_server/cas.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server
> copying cas_server/forms.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server
> copying cas_server/default_settings.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server
> copying cas_server/views.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server
> copying cas_server/urls.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server
> copying cas_server/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/migrations
> copying cas_server/migrations/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/migrations
> copying cas_server/migrations/0001_squashed_0013_auto_20170329_1748.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/migrations
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/management
> copying cas_server/management/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/management
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/management/commands
> copying cas_server/management/commands/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/management/commands
> copying cas_server/management/commands/cas_clean_tickets.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/management/commands
> copying cas_server/management/commands/cas_clean_sessions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/management/commands
> copying cas_server/management/commands/cas_clean_federate.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/management/commands
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/tests
> copying cas_server/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/tests
> copying cas_server/tests/test_view.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/tests
> copying cas_server/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/tests
> copying cas_server/tests/test_models.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/tests
> copying cas_server/tests/auth.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/tests
> copying cas_server/tests/mixin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/tests
> copying cas_server/tests/test_templatetags.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/tests
> copying cas_server/tests/test_federate.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/tests
> copying cas_server/tests/settings.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/tests
> copying cas_server/tests/urls.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/tests
> copying cas_server/tests/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/templatetags
> copying cas_server/templatetags/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/templatetags
> copying cas_server/templatetags/cas_server.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/templatetags
> running egg_info
> writing django_cas_server.egg-info/PKG-INFO
> writing dependency_links to django_cas_server.egg-info/dependency_links.txt
> writing requirements to django_cas_server.egg-info/requires.txt
> writing top-level names to django_cas_server.egg-info/top_level.txt
> reading manifest file 'django_cas_server.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> no previously-included directories found matching '.tox'
> warning: no files found matching '*' under directory 'docs/_static'
> warning: no files found matching '*' under directory 'docs/_templates'
> writing manifest file 'django_cas_server.egg-info/SOURCES.txt'
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/locale
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/locale/fr
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/locale/fr/LC_MESSAGES
> copying cas_server/locale/fr/LC_MESSAGES/django.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/locale/fr/LC_MESSAGES
> copying cas_server/locale/fr/LC_MESSAGES/django.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/locale/fr/LC_MESSAGES
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/locale/nl
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/locale/nl/LC_MESSAGES
> copying cas_server/locale/nl/LC_MESSAGES/django.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/locale/nl/LC_MESSAGES
> copying cas_server/locale/nl/LC_MESSAGES/django.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/locale/nl/LC_MESSAGES
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/locale/pt_BR
> copying cas_server/locale/pt_BR/django.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/locale/pt_BR
> copying cas_server/locale/pt_BR/django.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/locale/pt_BR
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/static
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/static/cas_server
> copying cas_server/static/cas_server/cas.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/static/cas_server
> copying cas_server/static/cas_server/favicon.ico -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/static/cas_server
> copying cas_server/static/cas_server/functions.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/static/cas_server
> copying cas_server/static/cas_server/logo.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/static/cas_server
> copying cas_server/static/cas_server/logo.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/static/cas_server
> copying cas_server/static/cas_server/styles.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/static/cas_server
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/templates
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/base.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/form.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/logged.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/login.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/logout.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/proxy.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/samlValidate.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/samlValidateError.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/serviceValidate.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/serviceValidateError.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/warn.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_django-cas-server/build/cas_server/templates/cas_server
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server
> copying cas_server/federate.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server
> copying cas_server/apps.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server
> copying cas_server/models.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server
> copying cas_server/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server
> copying cas_server/auth.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server
> copying cas_server/admin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server
> copying cas_server/cas.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server
> copying cas_server/forms.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server
> copying cas_server/default_settings.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server
> copying cas_server/views.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server
> copying cas_server/urls.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server
> copying cas_server/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/migrations
> copying cas_server/migrations/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/migrations
> copying cas_server/migrations/0001_squashed_0013_auto_20170329_1748.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/migrations
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/management
> copying cas_server/management/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/management
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/management/commands
> copying cas_server/management/commands/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/management/commands
> copying cas_server/management/commands/cas_clean_tickets.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/management/commands
> copying cas_server/management/commands/cas_clean_sessions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/management/commands
> copying cas_server/management/commands/cas_clean_federate.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/management/commands
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/tests
> copying cas_server/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/tests
> copying cas_server/tests/test_view.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/tests
> copying cas_server/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/tests
> copying cas_server/tests/test_models.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/tests
> copying cas_server/tests/auth.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/tests
> copying cas_server/tests/mixin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/tests
> copying cas_server/tests/test_templatetags.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/tests
> copying cas_server/tests/test_federate.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/tests
> copying cas_server/tests/settings.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/tests
> copying cas_server/tests/urls.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/tests
> copying cas_server/tests/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/templatetags
> copying cas_server/templatetags/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/templatetags
> copying cas_server/templatetags/cas_server.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/templatetags
> running egg_info
> writing django_cas_server.egg-info/PKG-INFO
> writing dependency_links to django_cas_server.egg-info/dependency_links.txt
> writing requirements to django_cas_server.egg-info/requires.txt
> writing top-level names to django_cas_server.egg-info/top_level.txt
> reading manifest file 'django_cas_server.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> no previously-included directories found matching '.tox'
> warning: no files found matching '*' under directory 'docs/_static'
> warning: no files found matching '*' under directory 'docs/_templates'
> writing manifest file 'django_cas_server.egg-info/SOURCES.txt'
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/locale
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/locale/fr
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/locale/fr/LC_MESSAGES
> copying cas_server/locale/fr/LC_MESSAGES/django.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/locale/fr/LC_MESSAGES
> copying cas_server/locale/fr/LC_MESSAGES/django.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/locale/fr/LC_MESSAGES
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/locale/nl
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/locale/nl/LC_MESSAGES
> copying cas_server/locale/nl/LC_MESSAGES/django.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/locale/nl/LC_MESSAGES
> copying cas_server/locale/nl/LC_MESSAGES/django.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/locale/nl/LC_MESSAGES
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/locale/pt_BR
> copying cas_server/locale/pt_BR/django.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/locale/pt_BR
> copying cas_server/locale/pt_BR/django.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/locale/pt_BR
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/static
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/static/cas_server
> copying cas_server/static/cas_server/cas.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/static/cas_server
> copying cas_server/static/cas_server/favicon.ico -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/static/cas_server
> copying cas_server/static/cas_server/functions.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/static/cas_server
> copying cas_server/static/cas_server/logo.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/static/cas_server
> copying cas_server/static/cas_server/logo.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/static/cas_server
> copying cas_server/static/cas_server/styles.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/static/cas_server
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/templates
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/base.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/form.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/logged.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/login.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/logout.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/proxy.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/samlValidate.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/samlValidateError.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/serviceValidate.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/serviceValidateError.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/templates/cas_server
> copying cas_server/templates/cas_server/warn.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_django-cas-server/build/cas_server/templates/cas_server
> PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ -d debian/doctrees build/html # HTML generator
> Running Sphinx v2.4.3
> 
> Exception occurred:
>   File "/<<PKGBUILDDIR>>/docs/_ext/djangodocs.py", line 43, in setup
>     app.add_description_unit(
> AttributeError: 'Sphinx' object has no attribute 'add_description_unit'
> The full traceback has been saved in /tmp/sphinx-err-40zhhzel.log, if you want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error message can be provided next time.
> A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> make[1]: *** [debian/rules:20: override_dh_auto_build] Error 2

The full build log is available from:
   http://qa-logs.debian.net/2020/03/26/django-cas-server_1.1.0-1_unstable_sphinx243.log

Please see [1] for Sphinx changelog, which may give a hint of what changes in
Sphinx caused this error.

Also see [2] for the list of deprecated/removed APIs and possible alternatives
to them.

Sphinx 2.4 is going to be uploaded to unstable in a couple of weeks. When that
happens, the severity of this bug will be bumped to serious.

In case you have questions, please Cc sphinx at packages.debian.org on reply.

[1]: https://www.sphinx-doc.org/en/2.0/changes.html
[2]: https://www.sphinx-doc.org/en/2.0/extdev/deprecated.html#dev-deprecated-apis

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list