Skip to content

ADCore uses deprecated/dropped libxml2 call xmlGetGlobalState() #601

Description

@ralphlange

xmlGetGlobalState() is formally deprecated in GNOME libxml2 [1] and has been dropped in a recent release.
It is an internal, non-thread-safe function designed to manage thread-local global variables. Modern versions of the library completely eliminate the need for this pattern.

This leads to ADCore builds failing on systems that package a recent version of libxml2, which currently includes Ubuntu 26.04 and Fedora 44.

Note:
Fixing this will probably need to include updating the XML2 sources in ADSupport.

[1] https://gnome.pages.gitlab.gnome.org/libxml2/html/deprecated.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions