[Bug 1956202] [NEW] `libexpat1-dev` CMake configuration error
Sandi Vujaković
1956202 at bugs.launchpad.net
Mon Jan 3 03:54:58 UTC 2022
Public bug reported:
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.
Related ticket over on the OpenColorIO GitHub repository:
https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/1415
** Affects: expat (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "`libexpat1-dev` patch"
https://bugs.launchpad.net/bugs/1956202/+attachment/5550748/+files/libexpat1-dev.txt
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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.
Related ticket over on the OpenColorIO GitHub repository:
https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/1415
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/expat/+bug/1956202/+subscriptions
More information about the foundations-bugs
mailing list