-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[libvirt] build fails randomly while generating docs #16090
Comments
This issue was brought to attention by @1480c1 @eli-schwartz helped with some meson related issues before. @elmarco also maintains and contributes to virtualization related repositories. They may provide some insights. |
The failing command is:
It fails without emitting any stdout or stderr. So really, this is just a duplicate of #11864 and related to the fact that python itself sometimes crashes for unknown reasons, non-reproducibly. But it was successfully worked around in CI with 6ff1a1f. |
That workaround doesn't fix this issue with libvirt. I can reproduce this issue in my PC and in CI. |
Don't know, don't care. :D The only thing I know is that this is the same issue because I've seen it and dealt with it before, as Meson is often hit by it. Fixing an issue in CPython isn't something I can help you with. All I can do is verify that yes, it's a duplicate bug report and you should redirect your attention to the canonical tracking ticket. The workaround used to work, but it is after all a workaround, workarounds don't fix anything, so it stopping to work isn't especially surprising. The other remediation strategy I know of is to just... restart the build, again and again, until it succeeds. It's a flaky issue, if you babysit it long enough it will eventually work. I think I once restarted the Meson CI 10 times until I finally got a passing run. Obviously that is not a solution either. |
Understood. Thank you. Duplicate of #11864 |
I workaround the issue with |
The workaround was removed in this abe8ecf commit and no longer required after python 3.11 update. |
Description / Steps to reproduce the issue
libvirt fails to build docs randomly. Just enable the docs option or remove
-Ddocs=disabled
option from meson command, if any. This issue was first reported here #13426Expected behavior
Docs should be build without any issue.
Actual behavior
The build fails with the errors like following:
Also the build fails with different file in each run. Sometimes, the issue can be workaround by running
meson compile
orninja
twice.Verification
Windows Version
MINGW64_NT-10.0-19045
MINGW environments affected
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: