Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1977303 - ansible fails to build with Sphinx 4.0.2
Summary: ansible fails to build with Sphinx 4.0.2
Alias: None
Product: Fedora
Classification: Fedora
Component: ansible
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 1973718
TreeView+ depends on / blocked
Reported: 2021-06-29 12:38 UTC by Karolina Surma
Modified: 2021-07-10 20:17 UTC (History)
4 users (show)

Fixed In Version: ansible-2.9.23-2.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-07-10 20:17:34 UTC
Type: Bug

Attachments (Terms of Use)

Description Karolina Surma 2021-06-29 12:38:43 UTC
ansible fails to build with Sphinx 4.0.2 in Fedora 35 (currently Rawhide).

Sphinx parallel build error:
TypeError: 'AnsibleOutputLexer' object is not callable
make[2]: *** [Makefile.sphinx:24: html] Error 2
make[2]: Leaving directory '/builddir/build/BUILD/ansible-2.9.23/docs/docsite'
make[1]: *** [Makefile:44: htmldocs] Error 2
make[1]: Leaving directory '/builddir/build/BUILD/ansible-2.9.23/docs/docsite'
make: *** [Makefile:386: webdocs] Error 2

For the full logs from testing build attempts, see:

You can test you package using Koji scratch build
koji build --scratch <srpm>

For details regarding the Sphinx change, see
Let us know here if you have any questions. Thank you!

Comment 1 Fedora Update System 2021-07-10 20:15:16 UTC
FEDORA-2021-7e77304f5c has been submitted as an update to Fedora 35.

Comment 2 Fedora Update System 2021-07-10 20:17:34 UTC
FEDORA-2021-7e77304f5c has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.