Bug 1823534

Summary: knot-resolver fails to build with Sphinx 3.0.0
Product: [Fedora] Fedora Reporter: Charalampos Stratakis <cstratak>
Component: knot-resolverAssignee: Nicki Křížek <nicki>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, jv+fedora, mhroncok, nicki, pspacek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: knot-resolver-5.1.0-1.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-29 14:31:46 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: 1783776    

Description Charalampos Stratakis 2020-04-13 21:12:55 UTC
knot-resolver fails to build with Sphinx 3.0.0.

Warning, treated as error:
/builddir/build/BUILD/knot-resolver-5.0.1/doc/config-answer-reordering.rst:8:Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
  Invalid C declaration: Expected identifier in nested name. [error at 10]
    reorder_RR([true | false])
    ----------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
  Error in declarator or parameters
  Invalid C declaration: Expected identifier in nested name. [error at 11]
    reorder_RR([true | false])
    -----------^

FAILED: meson-doc 

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/cstratak/sphinx_3.0.0/fedora-rawhide-x86_64/01335449-knot-resolver/

For all our attempts to build knot-resolver with Sphinx 3.0.0, see:
https://copr.fedorainfracloud.org/coprs/cstratak/sphinx_3.0.0/package/knot-resolver/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Sphinx 3:
https://copr.fedorainfracloud.org/coprs/cstratak/sphinx_3.0.0/

Let us know here if you have any questions.

Sphinx 3 will be included in Fedora 33. To make that update smoother, we're building the dependent packages in Copr.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Nicki Křížek 2020-04-15 09:29:20 UTC
Fixed upstream https://gitlab.labs.nic.cz/knot/knot-resolver/-/merge_requests/978