Comment 0 for bug 2045574

Revision history for this message
Ryan Friedman (ryanf55) wrote :

As reported in the following question, Ubuntu 22.04 is currently missing the CMake installation files from tinyxml version 9.0.0.
https://answers.launchpad.net/ubuntu/+source/tinyxml2/+question/708581

These were added in the following source PR as part of the 9.0.0 release: https://github.com/leethomason/tinyxml2/pull/861

A developer noticed that the packaged version on Ubuntu was missing the installation of the new CMake files, and added them in this patch:
https://git.launchpad.net/ubuntu/+source/tinyxml2/patch/debian/libtinyxml2-dev.install?id=8ec400cc2fe03ce9760c01fdde017b75b2aeed59

This patch has not made it to Ubuntu 22.

Users of TinyXML2 on Ubuntu 22 are still facing the issue as reported here:
https://github.com/leethomason/tinyxml2/issues/930#issue-1527973704

The effect is an inability to use find_package(tinyxml2 CONFIG REQUIRED).

As I tested out, installing 9.0.0+dfsg-3.1 in Jammy solves the issue.

The next step was to create this bug report so that it could be backported.