Bug 1823516 - qemu fails to build with Sphinx 3.0.0
Summary: qemu fails to build with Sphinx 3.0.0
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Virtualization Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: SPHINX3
TreeView+ depends on / blocked
 
Reported: 2020-04-13 20:55 UTC by Charalampos Stratakis
Modified: 2020-04-17 00:29 UTC (History)
11 users (show)

Fixed In Version: qemu-5.0.0-0.3.rc3.fc33
Clone Of:
Environment:
Last Closed: 2020-04-17 00:29:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Charalampos Stratakis 2020-04-13 20:55:48 UTC
qemu fails to build with Sphinx 3.0.0.

writing output... [ 11%] bitmaps


Warning, treated as error:
/builddir/build/BUILD/qemu-5.0.0-rc2/docs/../include/exec/memory.h:3:Type must be either just a name or a typedef-like declaration.
If just a name:
  Error in declarator or parameters
  Invalid C declaration: Expected identifier in nested name, got keyword: struct [error at 6]
    struct MemoryListener
    ------^
If typedef-like declaration:
  Error in declarator or parameters
  Invalid C declaration: Expected identifier in nested name. [error at 21]
    struct MemoryListener
    ---------------------^

make: *** [Makefile:1095: docs/devel/index.html] Error 2

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

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

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 Cole Robinson 2020-04-13 23:16:05 UTC
Thanks for the report. There's a series to fix it on qemu-devel; https://lists.gnu.org/archive/html/qemu-devel/2020-04/msg01772.html

I expect it will be in the 5.0.0 GA release

Comment 2 Charalampos Stratakis 2020-04-17 00:29:57 UTC
The issue is fixed with qemu-5.0.0-0.3.rc3.fc33

Thank you!


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