/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) share/cmake/modules/Findyaml-cpp.cmake:122 (find_package_handle_standard_args) share/cmake/modules/FindExtPackages.cmake:44 (find_package) CMakeLists.txt:270 (include) -- Configuring incomplete, errors occurred! * ERROR: media-libs/opencolorio-2.2.1::gentoo failed (configure phase): * cmake failed ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop_systemd-20230924-064505 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 17.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.1 Python 3.11.5 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-1.72.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm php cli (if any): go version go1.21.1 linux/amd64 HEAD of ::gentoo commit 819cc6180da48fb8d21b403a9f08a8bd25756409 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Sep 25 17:46:55 2023 +0000 2023-09-25 17:46:54 UTC emerge -qpvO media-libs/opencolorio [ebuild R ] media-libs/opencolorio-2.2.1 USE="opengl -apps (-doc) -python -static-libs -test" CPU_FLAGS_X86="sse2" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Created attachment 871443 [details] emerge-info.txt
Created attachment 871444 [details] emerge-history.txt
Created attachment 871445 [details] environment
Created attachment 871446 [details] etc.clang.tar.xz
Created attachment 871447 [details] etc.portage.tar.xz
Created attachment 871448 [details] media-libs:opencolorio-2.2.1:20230925-183729.log
Created attachment 871449 [details] temp.tar.xz
this happens after update to yaml-cpp-0.8.0
The target is now called yaml-cpp::yaml-cpp I see an upstream commit which apparently fixes this: https://github.com/AcademySoftwareFoundation/OpenColorIO/commit/8854e13604d207c141fce65ff6e6c2685fba1b91
The first patch doesn't seem to match anything in the 2.2.1 release. I couldn't work out where to put it.
(In reply to Luke A. Guest from comment #10) > The first patch doesn't seem to match anything in the 2.2.1 release. I > couldn't work out where to put it. That patch applies to a later version of opencolorio than 2.2.1 - in 2.3.0 it is already included. However, pulling 2.3.0, I get exactly this error, suggesting that there is still something missing with that patch: https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/1858 If I add the attached patch on top of 2.3.0 it works.
Created attachment 871483 [details, diff] Patch to fix compilation of 2.3.0 against yaml-cpp-0.8
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6301c1fc5eac9e41164de7fd5c4db0c581979ad commit f6301c1fc5eac9e41164de7fd5c4db0c581979ad Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2023-09-26 17:24:38 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-09-26 20:45:40 +0000 media-libs/opencolorio: add 2.3.0 Closes: https://bugs.gentoo.org/914716 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> media-libs/opencolorio/Manifest | 1 + .../opencolorio-2.3.0-support-yaml-cpp-0.8.0.patch | 21 ++++ media-libs/opencolorio/opencolorio-2.3.0.ebuild | 131 +++++++++++++++++++++ 3 files changed, 153 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66d131cee54e702b3791ff50974277eab589628b commit 66d131cee54e702b3791ff50974277eab589628b Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2023-09-26 17:23:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-09-26 20:45:38 +0000 media-libs/opencolorio: 2.1.3, 2.2.1 require <dev-cpp/yaml-cpp-0.8.0 yaml-cpp-0.8.0 uses cmake targets, this breaks <ocio-2.3.0 Bug: https://bugs.gentoo.org/914716 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> media-libs/opencolorio/opencolorio-2.1.3.ebuild | 2 +- media-libs/opencolorio/opencolorio-2.2.1.ebuild | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-)