https://github.com/OSGeo/gdal/issues/5324 is a result of this and the upstream https://github.com/libexpat/libexpat/issues/501
** Bug watch added: github.com/OSGeo/gdal/issues #5324 https://github.com/OSGeo/gdal/issues/5324 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to expat in Ubuntu. https://bugs.launchpad.net/bugs/1956202 Title: `libexpat1-dev` CMake configuration error Status in Expat: Unknown Status in expat package in Ubuntu: Confirmed Bug description: Using the package provided by Ubuntu Impish results in the following CMake configuration error when trying to build OpenColorIO: ``` […] CMake Error in src/OpenColorIO/CMakeLists.txt: Imported target "expat::expat" includes non-existent path "/usr/lib/include" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. […] ``` This wasn't an issue in Ubuntu Hirsute as far as I can recall and is not an issue when using the ASWF-provided packages — CMake flag `-DOCIO_INSTALL_EXT_PACKAGES=ALL`. A patch is attached that allows OpenColorIO to build using system-provided packages. Further information in the related ticket in the OpenColorIO repository: https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/1415#issuecomment-1003826550 To manage notifications about this bug go to: https://bugs.launchpad.net/expat/+bug/1956202/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp