Bug 2105934 - liblognorm fails to build docs with Sphinx 5+
Summary: liblognorm fails to build docs with Sphinx 5+
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: liblognorm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Attila Lakatos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2082944
TreeView+ depends on / blocked
 
Reported: 2022-07-11 08:56 UTC by Karolina Surma
Modified: 2022-07-19 12:48 UTC (History)
4 users (show)

Fixed In Version: liblognorm-2.0.6-4.fc37
Clone Of:
Environment:
Last Closed: 2022-07-19 12:48:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github rsyslog liblognorm pull 362 0 None open Update language field inside sphinx config file to comply with v5.0.0 2022-07-19 12:21:47 UTC
Red Hat Issue Tracker SECENGSP-4688 0 None None None 2022-07-19 12:24:02 UTC

Description Karolina Surma 2022-07-11 08:56:32 UTC
Description of problem:
liblognorm fails to build documentation with Sphinx 5 in Fedora Rawhide as it sets language to None instead of a valid language string in its conf.py (eg. 'en'). 
Sphinx 5+ doesn't accept such setting.


Version-Release number of selected component (if applicable):
2.0.6-3

How reproducible:
Always

Steps to Reproduce:
$ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/sphinx-5/fedora-rawhide-x86_64/ --no-clean <your.src.rpm>
$ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/sphinx-5/fedora-rawhide-x86_64/ shell


Actual results:
sphinx-build -b html -d _build/doctrees -n -W -c . . _build/html
Running Sphinx v5.0.2

Warning, treated as error:
Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English).

Expected results:
Build succeeds

Comment 1 Attila Lakatos 2022-07-19 12:21:47 UTC
Added link to upstream PR.

Comment 2 Fedora Update System 2022-07-19 12:41:16 UTC
FEDORA-2022-53bc6a4f00 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-53bc6a4f00

Comment 3 Fedora Update System 2022-07-19 12:48:37 UTC
FEDORA-2022-53bc6a4f00 has been pushed to the Fedora 37 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.