After the merger of #23621 all versions of openimageio do not build due to a version conflict of openexr between it and opencolorio, meaning the package is fully broken at the moment.
This happens because openimageio has direct dependencies on both openexr and opencolorio, which in turn also depends on openexr. However, #23621 bumps the version of openexr on which opencolorio depends, but does not bump the version of openexr on which openimageio depends, causing a version conflict.
As the version of openexr was bumped due to security issues, I belive the easiest sollution would be to also bump the version of openexr on which openimagio depends so as to match the one on which opencolorio depends.
create a project that depends on any version of the openimageio and attempt to build it
conan install .
Logs
openimageio/2.5.6.0: Not found in local cache, looking in remotes...
openimageio/2.5.6.0: Checking remote: conancenter
openimageio/2.5.6.0: Downloaded recipe revision 3edeb15169b2a4ae5b9e561e037decb1
openexr/3.2.1: Not found in local cache, looking in remotes...
openexr/3.2.1: Checking remote: conancenter
openexr/3.2.1: Downloaded recipe revision e4a9892d54aad19942e973b63868f51e
Description
After the merger of #23621 all versions of
openimageio
do not build due to a version conflict ofopenexr
between it andopencolorio
, meaning the package is fully broken at the moment.This happens because
openimageio
has direct dependencies on bothopenexr
andopencolorio
, which in turn also depends onopenexr
. However, #23621 bumps the version ofopenexr
on whichopencolorio
depends, but does not bump the version ofopenexr
on whichopenimageio
depends, causing a version conflict.As the version of
openexr
was bumped due to security issues, I belive the easiest sollution would be to also bump the version ofopenexr
on whichopenimagio
depends so as to match the one on whichopencolorio
depends.Package and Environment Details
Conan profile
[settings] compiler=msvc compiler.cppstd=23 compiler.runtime=dynamic compiler.version=193 os=Windows arch=x86_64
Steps to reproduce
create a project that depends on any version of the openimageio and attempt to build it conan install .
Logs
openimageio/2.5.6.0: Not found in local cache, looking in remotes... openimageio/2.5.6.0: Checking remote: conancenter openimageio/2.5.6.0: Downloaded recipe revision 3edeb15169b2a4ae5b9e561e037decb1 openexr/3.2.1: Not found in local cache, looking in remotes... openexr/3.2.1: Checking remote: conancenter openexr/3.2.1: Downloaded recipe revision e4a9892d54aad19942e973b63868f51e
Graph root conanfile.txt: C:\conanfile.txt Requirements opencolorio/2.3.1#0f3cd8950a2ca0fee0b2b1e04d676f52 - Cache openexr/3.2.1#e4a9892d54aad19942e973b63868f51e - Downloaded (conancenter) openimageio/2.5.6.0#3edeb15169b2a4ae5b9e561e037decb1 - Downloaded (conancenter) Build requirements cmake/3.29.3#292a699b66d006bf4c6648608fa7c9e4 - Cache meson/1.2.2#04bdfb85d665c82b08a3510aee3ffd19 - Cache meson/1.3.2#d1125ba555ec1a94f165a3412fdf7f88 - Cache ninja/1.11.1#77587f8c8318662ac8e5a7867eb4be21 - Cache pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605 - Cache Resolved version ranges cmake/[>=3.18 <4]: cmake/3.29.3 cmake/[>=3.20 <4]: cmake/3.29.3
ERROR: Version conflict: Conflict between openexr/3.2.3 and openexr/3.2.1 in the graph. Conflict originates from opencolorio/2.3.1