registry: Add DTD error logging for libxml2 < 2.14#1017
Merged
wismill merged 3 commits intoxkbcommon:masterfrom Apr 17, 2026
Merged
registry: Add DTD error logging for libxml2 < 2.14#1017wismill merged 3 commits intoxkbcommon:masterfrom
wismill merged 3 commits intoxkbcommon:masterfrom
Conversation
|
I have the problem you’re referring to with libxml2 2.15.2-1 (Arch Linux). |
Member
Author
|
@ariasuni Have you recompiled libxkbcommon with the libxml2-2.15 headers? Fix requires recompilation to take effect. |
eff0337 to
21af9f0
Compare
The libxml2 header probing did not specify the libxml2 dependency, resulting in failure or success depending of the system. The system include path is `/usr/include/libxml2/libxml`. Some systems like openSUSE Tumbleweed have a symlink `/usr/include/libxml` → `/usr/include/libxml2/libxml`, but some other do not (e.g. ArchLinux). Fixed by specifying the libxml2 dependency in the header probing.
Fixed missing logging of libxml2 errors when validating the DTD for libxml2 < 2.14. Relates-to: https://bugs.kde.org/show_bug.cgi?id=518963
Meson 1.11.0 has a bug that prevents the build. Relates-to: mesonbuild/meson#15702 Fixed-by: mesonbuild/meson#15706
21af9f0 to
d7fecfa
Compare
Member
Author
|
@ariasuni OK I found the issue that triggers on your system and not mine: it is about include paths in the header probing. The Fixed by specifying dependency properly in the header probing in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed missing logging of libxml2 errors when validating the DTD for libxml2 < 2.14.
Relates-to: https://bugs.kde.org/show_bug.cgi?id=518963
@ariasuni