Bug 1977303

Summary: ansible fails to build with Sphinx 4.0.2
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: ansibleAssignee: Kevin Fenzi <kevin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: a.badger, kevin, maxim, patrick
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ansible-2.9.23-2.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-10 20:17:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1973718    

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:
https://copr.fedorainfracloud.org/coprs/ksurma/pygments-2.9.0/package/ansible/

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


For details regarding the Sphinx change, see https://fedoraproject.org/wiki/Changes/Sphinx4
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. https://bodhi.fedoraproject.org/updates/FEDORA-2021-7e77304f5c

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.