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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956202

Title:
  `libexpat1-dev` CMake configuration error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/expat/+bug/1956202/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to