This seems to be an upstream issue: https://github.com/libexpat/libexpat/issues/501
With that said, it doesn't seem like an upstream fix is likely any time soon, as is suggested by this comment by one of the members of the `libexpat` GitHub team on this NixOS pull request addressing this issue: https://github.com/NixOS/nixpkgs/pull/128997#issuecomment-873137856 NixOS seems to have a custom packaging setup, so the fix above is most likely not applicable. ** Bug watch added: github.com/libexpat/libexpat/issues #501 https://github.com/libexpat/libexpat/issues/501 ** Description changed: 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 + Imported target "expat::expat" includes non-existent path - "/usr/lib/include" + "/usr/lib/include" - in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: + in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: - * The path was deleted, renamed, or moved to another location. + * The path was deleted, renamed, or moved to another location. - * An install or uninstall procedure did not complete successfully. + * An install or uninstall procedure did not complete successfully. - * The installation package was faulty and references files it does not - provide. + * 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. - Related ticket over on the OpenColorIO GitHub repository: - https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/1415 + Further information in the related ticket in the OpenColorIO repository: + https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/1415#issuecomment-1003826550 -- 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 package in Ubuntu: New 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/ubuntu/+source/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