Thank you for the fixes. Not sure if the following is worth a new ticket, so I thought I'd mention it here: The 0.22.1 tarball includes a backup file (that also gets installed): docutils/.__init__.py.swp
Just to confirm, with the code changes between 0.22 and r10233 applied to 0.22, qemu still builds.
I applied all changes since the 0.22 release to my copy (except the version bump in init.py) There are no CRITICAL errors, the section of the build looks like this: [6203/6204] Generating docs/QEMU manual with a custom command Possible precedence problem between ! and pattern match (m//) at /scratch/emulators/qemu/work/qemu-10.0.3/docs/../scripts/kernel-doc line 1597. Possible precedence problem between ! and pattern match (m//) at /scratch/emulators/qemu/work/qemu-10.0.3/docs/../scripts/kernel-doc...
The precedence errors are there with docutils 0.21 as well: Possible precedence problem between ! and pattern match (m//) at /scratch/emulators/qemu/work/qemu-10.0.3/docs/../scripts/kernel-doc line 1597. Possible precedence problem between ! and pattern match (m//) at /scratch/emulators/qemu/work/qemu-10.0.3/docs/../scripts/kernel-doc line 1597. Possible precedence problem between ! and pattern match (m//) at /scratch/emulators/qemu/work/qemu-10.0.3/docs/../scripts/kernel-doc line 1597. Possible...
The precedence errors are there with docutils 0.21 as well: Possible precedence problem between ! and pattern match (m//) at /scratch/emulators/qemu/work/qemu-10.0.3/docs/../scripts/kernel-doc line 1597. Possible precedence problem between ! and pattern match (m//) at /scratch/emulators/qemu/work/qemu-10.0.3/docs/../scripts/kernel-doc line 1597. Possible precedence problem between ! and pattern match (m//) at /scratch/emulators/qemu/work/qemu-10.0.3/docs/../scripts/kernel-doc line 1597. Possible...
I've now reported this to the qemu project at https://gitlab.com/qemu-project/qemu/-/issues/3077
I added the second patch (r10200) as well, and qemu still builds fine. The warnings are now: [6203/6204] Generating docs/QEMU manual with a custom command 23:12:53 [659/1913] Possible precedence problem between ! and pattern match (m//) at /scratch/emulators/qemu/work/qemu-10.0.3/docs/../scripts/kernel-doc line 1597. Possible precedence problem between ! and pattern match (m//) at /scratch/emulators/qemu/work/qemu-10.0.3/docs/../scripts/kernel-doc line 1597. Possible precedence problem between !...
build breaks with cmake 4