Bug 509785

Summary: Libxml 2.15.0 becomes more strict and triggers build failures from code with extra spaces added by translated strings
Product: [Translations] i18n Reporter: Nate Graham <nate>
Component: slAssignee: Jure Repinc <jlp>
Status: RESOLVED FIXED    
Severity: normal CC: andrej.vernekar, andrejm, arojas, luigi.toscano
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=509757
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nate Graham 2025-09-22 14:40:59 UTC
An example is in partitionmanager. From https://invent.kde.org/kde-linux/kde-linux-packages/-/jobs/3388699/raw:

2025-09-22T05:36:59.607893Z 01O -- Build files have been written to: /builds/kde-linux/kde-linux-packages/pkgbuilds/kde-banana-partitionmanager-git/src/build
2025-09-22T05:36:59.746591Z 01O [1/86] Generating po/sl/docs/partitionmanager/index.cache.bz2
2025-09-22T05:36:59.746601Z 01O FAILED: po/sl/docs/partitionmanager/index.cache.bz2 /builds/kde-linux/kde-linux-packages/pkgbuilds/kde-banana-partitionmanager-git/src/build/po/sl/docs/partitionmanager/index.cache.bz2
2025-09-22T05:36:59.746603Z 01O cd /builds/kde-linux/kde-linux-packages/pkgbuilds/kde-banana-partitionmanager-git/src/partitionmanager && /usr/bin/meinproc6 --check --cache /builds/kde-linux/kde-linux-packages/pkgbuilds/kde-banana-partitionmanager-git/src/build/po/sl/docs/partitionmanager/index.cache.bz2 po/sl/docs/partitionmanager/index.docbook
2025-09-22T05:36:59.746605Z 01O introduction.docbook:9: validity error : standalone: normalization of attribute linkend on glossterm by external subset declaration
2025-09-22T05:36:59.746606Z 01O > in <glossterm linkend="glossary-filesystem "

This is caused by a change in Libxml 2.15.0, which became more strict: https://gitlab.gnome.org/GNOME/libxml2/-/commit/e4cbc295fa97f3c290cec8b243bd96ebdaa3dab2. Arch just rolled out Libxml 2.15.0, so Arch users are now seeing this issue. But we don't have an Arch-based CI, so it's not seen there.
Comment 1 Luigi Toscano 2025-09-22 23:45:03 UTC
It should be fixed in a few hours, fingers crossed. I've fixed master only for now, do you need the current stable branch too?
Comment 2 Nate Graham 2025-09-22 23:54:15 UTC
For KDE Linux, master only is fine. For the stable branch, it's probably fine if it's fixed before anyone on Arch needs to package it again, but I'm CCing Antonio who may be able to provide a better answer.
Comment 3 Antonio Rojas 2025-09-23 05:57:41 UTC
(In reply to Luigi Toscano from comment #1)
> It should be fixed in a few hours, fingers crossed. I've fixed master only
> for now, do you need the current stable branch too?

As long as it's merged before 25.08.2, it's fine (otherwise we'd need to patch it)
Comment 4 Nate Graham 2025-09-23 13:40:32 UTC
Can confirm the latest commit fixed it in master. Thanks!