Created attachment 903815 [details] build log emerge --info media-libs/openimageio Portage 3.0.65 (python 3.11.10-final-0, default/linux/amd64/23.0/split-usr, gcc-14, glibc-2.39-r6, 6.11.0-gentoo-std x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.11.0-gentoo-std-x86_64-Intel-R-_Core-TM-_i3-6100_CPU_@_3.70GHz-with-glibc2.39 KiB Mem: 3930288 total, 473848 free KiB Swap: 200772604 total, 200764708 free Timestamp of repository gnu-elpa: Tue, 24 Sep 2024 11:49:07 +0000 Head commit of repository gnu-elpa: 371e6b43d1212f53c9954643aba9fe7ae258d6bc Timestamp of repository guru: Wed, 25 Sep 2024 14:03:56 +0000 Head commit of repository guru: fccd5404a40e85238704952e44003007b64276c2 Timestamp of repository melpa: Tue, 24 Sep 2024 19:48:51 +0000 Head commit of repository melpa: b2fa04a91f310b36e333d997825585112ff72da0 Timestamp of repository mv: Wed, 25 Sep 2024 16:48:56 +0000 Head commit of repository mv: c40d3afbc5e4c93a298ae29ad63a957147fb854d Timestamp of repository gentoo: Thu, 26 Sep 2024 08:15:00 +0000 Head commit of repository gentoo: 1a5fab1981ce362fdb7a32c5ac16c28337094db6 Timestamp of repository without-systemd: Tue, 24 Sep 2024 12:19:30 +0000 Head commit of repository without-systemd: 43e3a4607c7c41e7136d1d44f3bf766388325506 sh bash 5.2_p32-r1 ld GNU ld (Gentoo 2.42 p3) 2.42.0 distcc 3.4 x86_64-pc-linux-gnu [disabled] app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p32-r1::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.30.2::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.5.1::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 2.7.18_p16-r2::gentoo, 3.10.15_p1::gentoo, 3.11.10_p1::gentoo, 3.12.6_p2::gentoo dev-lang/rust: 1.81.0::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/openrc: 0.54.2::gentoo sys-apps/sandbox: 2.39::gentoo sys-devel/binutils: 2.42-r1::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/clang: 15.0.7-r3::gentoo, 18.1.8::gentoo, 19.1.0::gentoo sys-devel/gcc: 13.3.1_p20240920::gentoo, 14.2.1_p20240921::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 18.1.8::gentoo, 19.1.0::gentoo sys-devel/llvm: 15.0.7-r7::gentoo, 17.0.6-r3::gentoo, 18.1.8-r4::gentoo, 19.1.0::gentoo sys-kernel/linux-headers: 6.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r6::gentoo Repositories: gnu-elpa location: /var/db/repos/gnu-elpa sync-type: git sync-uri: https://github.com/gentoo-mirror/gnu-elpa.git masters: gentoo priority: -10001 volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo priority: -10001 volatile: False melpa location: /var/db/repos/melpa sync-type: git sync-uri: https://github.com/gentoo-mirror/melpa.git masters: gnu-elpa gentoo priority: -10001 volatile: False mv location: /var/db/repos/mv sync-type: git sync-uri: https://github.com/gentoo-mirror/mv.git masters: gentoo priority: -10001 volatile: False gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 without-systemd location: /var/db/repos/without-systemd sync-type: git sync-uri: https://github.com/gentoo-mirror/without-systemd.git masters: gentoo volatile: False local location: /var/db/repos/local masters: gentoo priority: 10000 volatile: False ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries " DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--alert y --alphabetical --ask-enter-invalid --autounmask y --autounmask-only n --autounmask-unrestricted-atoms y --autounmask-write y --complete-graph y --misspell-suggestions n --noconfmem --nospinner --tree --with-bdeps y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries " FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries " GENTOO_MIRRORS="http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirrors.soeasyto.com/distfiles.gentoo.org/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.leaseweb.com/gentoo/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://mirror.bytemark.co.uk/gentoo/" LANG="fr_FR.utf8" LDFLAGS="-Wl,-O1 -Wl,-fuse-ld=mold " LEX="flex" LINGUAS="fr" MAKEOPTS="-j3 -l3" PKGDIR="/var/cache/binpkgs" PORTAGE_COMPRESS="lzma" PORTAGE_COMPRESS_FLAGS="-9" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" RUSTFLAGS="-Ctarget-cpu=native -Cllvm-args=-x86-branches-within-32B-boundaries " SHELL="/bin/bash" USE="amd64 asm custom-cflags emacs eselect-ldso fortran gentoo-vm gtk-doc minimal modules-compress modules-sign ocamlopt pgo split-usr test-rust verify-sig" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= media-libs/openimageio-2.5.9.0::gentoo was built with the following: USE="-X -dicom -doc -ffmpeg -fits -gif -gui -jpeg2k -opencv -openvdb -ptex -python -qt6 -raw -test -tools -truetype" ABI_X86="(64)" CPU_FLAGS_X86="aes avx avx2 -avx512f f16c sse2 sse3 sse4_1 sse4_2 ssse3" PYTHON_SINGLE_TARGET="-python3_10 -python3_11 -python3_12" -------------------------------------------------------------------------------- -- Found pugixml 1.14 -- PUGIXML_INCLUDES = /usr/include -- PUGIXML_LIBRARIES = pugixml::shared -- Not using Python -- disabled -- Python site packages dir lib64/python./site-packages/OpenImageIO -- Python to include 'lib' prefix: OFF -- Python to include SO version: OFF -- Found PNG: /usr/lib64/libpng.so (found version "1.6.43+apng") -- Found PNG 1.6.43+apng -- PNG_INCLUDE_DIR = /usr/include;/usr/include -- PNG_INCLUDE_DIRS = /usr/include;/usr/include -- PNG_LIBRARIES = /usr/lib64/libpng.so;/usr/lib64/libz.so -- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Found BZip2 1.0.8 -- BZIP2_INCLUDE_DIR = /usr/include -- BZIP2_INCLUDE_DIRS = /usr/include -- BZIP2_LIBRARIES = /usr/lib64/libbz2.so -- Not using Freetype -- disabled -- Found OpenColorIO: /usr/lib64/cmake/OpenColorIO/OpenColorIOConfig.cmake (found version "2.3.2") -- Found OpenColorIO 2.3.2 -- Not using OpenCV -- disabled -- Found TBB 2021.9.0 from CONFIG -- Not using DCMTK -- disabled -- Not using FFmpeg -- disabled -- Not using GIF -- disabled CMake Error at src/cmake/modules/FindLibheif.cmake:34 (string): string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to command. Call Stack (most recent call first): src/cmake/checked_find_package.cmake:132 (find_package) src/cmake/externalpackages.cmake:214 (checked_find_package) CMakeLists.txt:176 (include) -- Found Libheif: /usr/include -- Found Libheif CMake Error at src/cmake/checked_find_package.cmake:159 (if): if given arguments: "VERSION_LESS" "1.7" 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!
eix media-libs/libheif [I] media-libs/libheif Available versions: 1.15.2-r1(0/1.12)^t ~1.17.6(0/1.17)^t [m]~1.18.0(0/1.18)^t[1] 1.18.1(0/1.18)^t ~1.18.2(0/1.18)^t **9999(0/9999)*l^t {(+)aom +dav1d ffmpeg gdk-pixbuf go rav1e (+)svt-av1 test +threads (+)x265 ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"} Installed versions: 1.18.1(0/1.18)^t(18:11:23 25/09/2024)(-aom -gdk-pixbuf -go -rav1e -svt-av1 -test -threads -x265 ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32") Homepage: https://github.com/strukturag/libheif Description: ISO/IEC 23008-12:2017 HEIF file format decoder and encoder -------------------------------------------------------------------------------- Plz note both packages are stable
emerge -1puDUv world 2>/dev/null * IMPORTANT: 3 config files in '/etc/portage' need updating. * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS * sections of the emerge man page to learn how to update config files. These are the packages that would be merged, in reverse order: Calculating dependencies . .. . .. ... done! Dependency resolution took 84.62 s (backtrack: 1/20). [ebuild rR ] media-libs/openimageio-2.5.9.0:0/2.5::gentoo USE="-X -dicom -doc -ffmpeg -fits -gif -gui -jpeg2k -opencv -openvdb -ptex -python -qt6 -raw -test -tools -truetype" CPU_FLAGS_X86="aes avx avx2 -avx512f f16c sse2 sse3 sse4_1 sse4_2 ssse3" PYTHON_SINGLE_TARGET="-python3_10 -python3_11 -python3_12" 0 KiB [ebuild r U ] media-libs/libheif-1.18.1:0/1.18::gentoo [1.15.2-r1:0/1.12::gentoo] USE="-aom -gdk-pixbuf -go -rav1e -svt-av1% -test -threads -x265" ABI_X86="-32 (64) (-x32)" 0 KiB Total: 2 packages (1 upgrade, 1 reinstalls), Size of downloads: 222 295 KiB The following packages are causing rebuilds: (media-libs/libheif-1.18.1:0/1.18::gentoo, ebuild scheduled for merge) causes rebuilds for: (media-libs/openimageio-2.5.9.0:0/2.5::gentoo, ebuild scheduled for merge) -------------------------------------------------------------------------------- Maybe ebuild could be updated to prevent such an issue?
equery d media-libs/libheif 2>/dev/null * These packages depend on media-libs/libheif: media-gfx/gimp-2.10.38 (heif ? >=media-libs/libheif-1.9.1) (heif ? >=media-libs/libheif-1.9.1) media-gfx/graphicsmagick-1.3.43-r1 (heif ? media-libs/libheif) (heif ? media-libs/libheif) media-gfx/imagemagick-7.1.1.25 (heif ? media-libs/libheif[x265]) (heif ? media-libs/libheif[x265]) media-gfx/imv-4.5.0 (heif ? media-libs/libheif) (heif ? media-libs/libheif) media-libs/gd-2.3.3-r4 (heif ? media-libs/libheif[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]) (heif ? media-libs/libheif[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]) media-libs/imlib2-1.12.3 (heif ? media-libs/libheif[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]) (heif ? media-libs/libheif[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]) media-libs/openimageio-2.5.9.0 (>=media-libs/libheif-1.13.0) (>=media-libs/libheif-1.13.0) -------------------------------------------------------------------------------- Plz note how recent stable media-gfx/gimp brings strong pressure on current stable gentoo tree consistency.
Yup same issue: -- Found OpenCV 4.9.0 -- OpenCV_INCLUDES = /usr/include/opencv4 -- OpenCV_INCLUDE_DIR = /usr/include/opencv4 -- OpenCV_LIBRARIES = /usr/lib64/libopencv_core.so;/usr/lib64/libopencv_imgproc.so;/usr/lib64/libopencv_videoio.so -- Found TBB 2021.9.0 from CONFIG -- Not using DCMTK -- disabled -- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "2.2.0") -- Found FFmpeg: /usr/lib64/libavcodec.so -- Found FFmpeg 6.0 -- FFMPEG_INCLUDES = /usr/include -- FFMPEG_INCLUDE_DIR = /usr/include -- FFMPEG_LIBRARIES = /usr/lib64/libavcodec.so;/usr/lib64/libavformat.so;/usr/lib64/libavutil.so;/usr/lib64/libswscale.so -- Found GIF: /usr/lib64/libgif.so (found version "5.2.2") -- Found GIF 5.2.2 -- GIF_INCLUDE_DIR = /usr/include -- GIF_INCLUDE_DIRS = /usr/include -- GIF_LIBRARIES = /usr/lib64/libgif.so CMake Error at src/cmake/modules/FindLibheif.cmake:34 (string): string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to command. Call Stack (most recent call first): src/cmake/checked_find_package.cmake:132 (find_package) src/cmake/externalpackages.cmake:214 (checked_find_package) CMakeLists.txt:176 (include) -- Found Libheif: /usr/include -- Found Libheif CMake Error at src/cmake/checked_find_package.cmake:159 (if): if given arguments: "VERSION_LESS" "1.7" 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.9.0::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 3234: Called cmake_src_configure * environment, line 1495: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=media-libs/openimageio-2.5.9.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/openimageio-2.5.9.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-libs/openimageio-2.5.9.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/openimageio-2.5.9.0/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/openimageio-2.5.9.0/work/OpenImageIO-2.5.9.0_build' * S: '/var/tmp/portage/media-libs/openimageio-2.5.9.0/work/OpenImageIO-2.5.9.0' >>> Failed to emerge media-libs/openimageio-2.5.9.0, Log file: >>> '/var/tmp/portage/media-libs/openimageio-2.5.9.0/temp/build.log' * Messages for package net-wireless/wpa_supplicant-2.10-r5: * WARNING: You are building with TKIP support disabled, which is recommended since * this protocol is deprecated and insecure. If you still need to connect to * TKIP-enabled networks, you may turn this flag back on. With this flag off, * TKIP-enabled networks, including mixed mode TKIP/AES-CCMP will not even show up * as available. If your network is missing you may wish to USE=tkip * Messages for package media-libs/gegl-0.4.48: * Install additional packages for optional runtime features: * media-gfx/graphviz for 'Show Image Graph' under GIMP[debug] menu 'File - Debug' * Messages for package media-libs/openimageio-2.5.9.0: * ERROR: media-libs/openimageio-2.5.9.0::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 3234: Called cmake_src_configure * environment, line 1495: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=media-libs/openimageio-2.5.9.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/openimageio-2.5.9.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-libs/openimageio-2.5.9.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/openimageio-2.5.9.0/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/openimageio-2.5.9.0/work/OpenImageIO-2.5.9.0_build' * S: '/var/tmp/portage/media-libs/openimageio-2.5.9.0/work/OpenImageIO-2.5.9.0' * GNU info directory index is up-to-date.
Please don't paste huge amounts into the bug, use attachments.
*** This bug has been marked as a duplicate of bug 940247 ***
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(+)
I hade the same issue when upgrading my system today. I solved it by masking this version, upgrading everything else, then emerge this version after. No idea why it worked but it may work for others too.
Wishing all the best for Eli Schwartz's attempt to tackle a more robust way.