Unknown arguments specified Call Stack (most recent call first): src/cmake/externalpackages.cmake:214 (checked_find_package) CMakeLists.txt:176 (include) -- Configuring incomplete, errors occurred! * ERROR: media-libs/openimageio-2.5.12.0::gentoo failed (configure phase): * cmake failed ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_no_multilib-20240716-072502 UNMASKED: Requested by sam ~dev-libs/icu-75.1 ~dev-libs/icu-layoutex-75.1 Requested by dilfridge and sam ~dev-lang/perl-5.40.0 ~virtual/perl-Archive-Tar-3.20.10_rc ~virtual/perl-CPAN-Meta-Requirements-2.143.0 ~virtual/perl-Compress-Raw-Bzip2-2.212.0 ~virtual/perl-DB_File-1.859.0 ~virtual/perl-Data-Dumper-2.189.0 ~virtual/perl-Devel-PPPort-3.720.0 ~virtual/perl-Exporter-5.780.0 ~virtual/perl-ExtUtils-CBuilder-0.280.240 ~virtual/perl-ExtUtils-Manifest-1.750.0 ~virtual/perl-File-Spec-3.900.0 ~virtual/perl-HTTP-Tiny-0.88.0 ~virtual/perl-IO-1.550.0 ~virtual/perl-IO-Compress-2.212.0 ~virtual/perl-IO-Socket-IP-0.420.0 ~virtual/perl-IO-Zlib-1.150.0 ~virtual/perl-Math-BigInt-2.3.2 ~virtual/perl-Math-BigInt-FastCalc-0.501.800 ~virtual/perl-Math-BigRat-2.3.2 ~virtual/perl-Module-CoreList-5.202.406.90 ~virtual/perl-Module-Metadata-1.0.38 ~virtual/perl-Pod-Simple-3.450.0 ~virtual/perl-Safe-2.460.0 ~virtual/perl-Socket-2.38.0 ~virtual/perl-Test-Harness-3.480.0 ~virtual/perl-Test-Simple-1.302.199 ~virtual/perl-Text-Tabs+Wrap-2024.1.0 ~virtual/perl-Time-HiRes-1.977.700 ~virtual/perl-Time-Local-1.350.0 ~virtual/perl-autodie-2.370.0 ~virtual/perl-bignum-0.670.0 ~virtual/perl-podlators-5.10.200_rc ~virtual/perl-threads-2.400.0 ~virtual/perl-threads-shared-1.690.0 ~virtual/perl-version-0.993.0 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 18.1.8 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/18 18.1.8 Python 3.12.4 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby32 (with Rubygems) [3] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.79.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17] 2) Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21] *) Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-17 [3] openjdk-bin-21 The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): [1] php8.3 * go version go1.22.5 linux/amd64 HEAD of ::gentoo commit 9cbf7f0c0d5d6d2a084e181a220cc2906bf2643e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Jul 21 19:49:00 2024 +0000 2024-07-21 19:49:00 UTC emerge -qpvO media-libs/openimageio
Created attachment 898079 [details] emerge-info.txt
Created attachment 898080 [details] emerge-history.txt.xz
Created attachment 898081 [details] environment
Created attachment 898082 [details] etc.clang.tar.xz
Created attachment 898083 [details] etc.portage.tar.xz
Created attachment 898084 [details] media-libs:openimageio-2.5.12.0:20240721-205401.log
Created attachment 898085 [details] qlist-info.txt.xz
Created attachment 898086 [details] temp.tar.xz
Looks like libheif-1.17.6 doesn't provide something that allows cmake to find it. Downgrading to libheif-1.15.2-r1 fixes the issue for me.
Created attachment 898299 [details, diff] openimageio-libheif-cmake-detection.patch libheif/heif_version.h is just a wrapper for x86_64-pc-linux-gnu/libheif/heif_version.h, so the cmake module fails to grep for a version string. Unfortunately this patch is only intended for x86_64... This is not the first library behaving like this.
(In reply to Attila Tóth from comment #10) > Created attachment 898299 [details, diff] [details, diff] > openimageio-libheif-cmake-detection.patch > > libheif/heif_version.h is just a wrapper for > x86_64-pc-linux-gnu/libheif/heif_version.h, so the cmake module fails to > grep for a version string. Unfortunately this patch is only intended for > x86_64... > This is not the first library behaving like this. I think I found a better way to support different architectures and compilers, as well as changes to this header file, please see https://github.com/gentoo/gentoo/pull/37669
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fb7986ffcfcd5520c57744c621e045ca715a850 commit 7fb7986ffcfcd5520c57744c621e045ca715a850 Author: Huang Rui <vowstar@gmail.com> AuthorDate: 2024-07-22 09:52:19 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2024-08-03 07:39:02 +0000 media-libs/openimageio: fix FindLibheif configuring errors - media-libs/libheif-1.17.6 with heif_version.h multilib wrapper caused FindLibheif can't fetch version, use compiler preprosser to get correct version info. Closes: https://bugs.gentoo.org/936472 Signed-off-by: Huang Rui <vowstar@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37669 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> media-libs/openimageio/openimageio-2.5.12.0.ebuild | 1 + 1 file changed, 1 insertion(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=138de8ce8edc1c1f1eca993e7552d36724f5d152 commit 138de8ce8edc1c1f1eca993e7552d36724f5d152 Author: Eli Schwartz <eschwartz@gentoo.org> AuthorDate: 2024-09-26 17:21:36 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-09-26 17:24:22 +0000 media-libs/openimageio: implement an important configure fix for all versions It's quite confusing why in commit 7fb7986ffcfcd5520c57744c621e045ca715a850 a fix for newer libheif was only added to the version of openimageio added in the same commit batch. This then meant that stabling libheif arbitrarily meant stabling openimageio as well. We should simply implement basic capability to run src_configure, for stable versions as well. Bug: https://bugs.gentoo.org/936472 Bug: https://bugs.gentoo.org/940247 Bug: https://bugs.gentoo.org/940258 Fixes: 7fb7986ffcfcd5520c57744c621e045ca715a850 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> media-libs/openimageio/openimageio-2.5.9.0.ebuild | 1 + 1 file changed, 1 insertion(+)