@Boyuan: Well, it does scream loudly in the sense that the build fails.
I wouldn't blame the build system in this case. It has worked in a sensible and robust way for many years. The segfault issue only happens with python3-libxml2, not with python-libxml2. And I have the impression (not yet confirmed) that the segfault only happens for XML syntax errors in Chinese translations; for similar errors in non-Chinese translations it only prints a warning and moves on (which is the desired behavior).
Thanks Sebastien!
Or https:/ /gitlab. gnome.org/ GNOME/libxml2/ issues/ 64 (which is not yet closed).
@Boyuan: Well, it does scream loudly in the sense that the build fails.
I wouldn't blame the build system in this case. It has worked in a sensible and robust way for many years. The segfault issue only happens with python3-libxml2, not with python-libxml2. And I have the impression (not yet confirmed) that the segfault only happens for XML syntax errors in Chinese translations; for similar errors in non-Chinese translations it only prints a warning and moves on (which is the desired behavior).