Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833933 - media-libs/opencolorio-2.1.1-r7 does not build with media-libs/openexr-3.1.4-r1
Summary: media-libs/opencolorio-2.1.1-r7 does not build with media-libs/openexr-3.1.4-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 833158
  Show dependency tree
 
Reported: 2022-02-23 07:34 UTC by Alexander Weber
Modified: 2022-02-26 23:06 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,6.90 KB, text/plain)
2022-02-23 07:35 UTC, Alexander Weber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Weber 2022-02-23 07:34:07 UTC
The issue is related to https://bugs.gentoo.org/821247

I unmasked the packages from https://bugs.gentoo.org/833158 and try to update the system. The package media-libs/opencolorio-2.1.1-r7 does not build

Reproducible: Always

Steps to Reproduce:
1. Unmask packages from https://bugs.gentoo.org/833158 on gentoo stable
2. Upgrade media-libs/openexr from 3 to unslotted version
3. Try to install media-libs/opencolorio-2.1.1-r7
Actual Results:  
build.log attached


!!! existing preserved libs:
>>> package: dev-cpp/tbb-2021.5.0-r1
 *  - /usr/lib64/libtbb.so.2
 *      used by /usr/bin/blender-2.93 (media-gfx/blender-2.93.6)
>>> package: media-gfx/openvdb-9.0.0-r4
 *  - /usr/lib64/libopenvdb.so.7.1
 *  - /usr/lib64/libopenvdb.so.7.1.0
 *      used by /usr/bin/blender-2.93 (media-gfx/blender-2.93.6)
>>> package: media-libs/ilmbase-2.5.7-r1
 *  - /usr/lib64/libIexMath-2_5.so.25
 *  - /usr/lib64/libIexMath-2_5.so.25.0.6
 *      used by /usr/lib64/libIL.so.1.1.0 (media-libs/devil-1.7.8-r2)
 *  - /usr/lib64/libImath-2_5.so.25
 *  - /usr/lib64/libImath-2_5.so.25.0.6
 *      used by /usr/bin/oiiotool (media-libs/openimageio-2.2.18.0-r1)
 *      used by /usr/bin/osltoy (media-libs/osl-1.11.16.0-r2)
 *      used by /usr/bin/testrender (media-libs/osl-1.11.16.0-r2)
 *      used by /usr/bin/testshade (media-libs/osl-1.11.16.0-r2)
 *      used by /usr/lib64/libIL.so.1.1.0 (media-libs/devil-1.7.8-r2)
 *      used by /usr/lib64/libOpenImageIO.so.2.2.18 (media-libs/openimageio-2.2.18.0-r1)
 *      used by /usr/lib64/liboslexec.so.1.11.16 (media-libs/osl-1.11.16.0-r2)
 *      used by /usr/lib64/libtestshade.so.1.11.16 (media-libs/osl-1.11.16.0-r2)
 *  - /usr/lib64/libIlmThread-2_5.so.25
 *  - /usr/lib64/libIlmThread-2_5.so.25.0.6
 *      used by /usr/lib64/libIL.so.1.1.0 (media-libs/devil-1.7.8-r2)
 *  - /usr/lib64/libIex-2_5.so.25
 *  - /usr/lib64/libIex-2_5.so.25.0.6
 *      used by /usr/bin/blender-2.93 (media-gfx/blender-2.93.6)
 *      used by /usr/lib64/libIL.so.1.1.0 (media-libs/devil-1.7.8-r2)
 *      used by /usr/lib64/libOpenImageIO.so.2.2.18 (media-libs/openimageio-2.2.18.0-r1)
 *  - /usr/lib64/libHalf-2_5.so.25
 *  - /usr/lib64/libHalf-2_5.so.25.0.6
 *      used by /usr/bin/blender-2.93 (media-gfx/blender-2.93.6)
 *      used by /usr/bin/oiiotool (media-libs/openimageio-2.2.18.0-r1)
 *      used by /usr/lib/python3.9/site-packages/OpenImageIO.cpython-310-x86_64-linux-gnu.so (media-libs/openimageio-2.2.18.0-r1)
 *      used by /usr/lib64/libIL.so.1.1.0 (media-libs/devil-1.7.8-r2)
 *      used by /usr/lib64/libOpenColorIO.so.2.0.1 (media-libs/opencolorio-2.0.1-r2)
 *      used by /usr/lib64/libOpenImageIO.so.2.2.18 (media-libs/openimageio-2.2.18.0-r1)
 *      used by /usr/lib64/libOpenImageIO_Util.so.2.2.18 (media-libs/openimageio-2.2.18.0-r1)
>>> package: media-libs/openexr-3.1.4-r1
 *  - /usr/lib64/libIlmImf-2_5.so.25
 *  - /usr/lib64/libIlmImf-2_5.so.25.0.6
 *      used by /usr/bin/blender-2.93 (media-gfx/blender-2.93.6)
 *      used by /usr/bin/oiiotool (media-libs/openimageio-2.2.18.0-r1)
 *      used by /usr/lib64/libIL.so.1.1.0 (media-libs/devil-1.7.8-r2)
 *      used by /usr/lib64/libOpenImageIO.so.2.2.18 (media-libs/openimageio-2.2.18.0-r1)

# emerge --info
Portage 3.0.30 (python 3.9.9-final-0, default/linux/amd64/17.1/desktop, gcc-11.2.0, glibc-2.33-r7, 5.15.23-gentoo-dist x86_64)
=================================================================
System uname: Linux-5.15.23-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-10210U_CPU_@_1.60GHz-with-glibc2.33
KiB Mem:    32553680 total,  26393488 free
KiB Swap:    8387580 total,   8387580 free
Timestamp of repository gentoo: Wed, 23 Feb 2022 06:00:01 +0000
Head commit of repository gentoo: fec543877040876df8e522afc7fe83207b0e72fe
Timestamp of repository 2xsaiko: Tue, 22 Feb 2022 23:06:48 +0000
Head commit of repository 2xsaiko: 5bf672551396544b1531802ec33a77a04724ce37

Timestamp of repository ace: Fri, 18 Feb 2022 20:36:43 +0000
Head commit of repository ace: f21374176a2053fb468d9e1dcceb68a1d2f678bf

Timestamp of repository guru: Wed, 23 Feb 2022 00:51:49 +0000
Head commit of repository guru: 3cd126fa81279d7c07accfd51e762e7022cf6264

Timestamp of repository haarp: Sun, 20 Feb 2022 09:52:20 +0000
Head commit of repository haarp: 59d12b3ab183fed2226169edfbc024e063c3c4d1

Timestamp of repository tatsh-overlay: Tue, 22 Feb 2022 21:21:58 +0000
Head commit of repository tatsh-overlay: 25bc70f5c1303f9e83758d4c29ad88c4b89fb938

Head commit of repository tlp: 4ba9fce0927a4bc87a4df54eb352a163a439810e

Head commit of repository bell07: 984df6d8494482cafafb836fb4497700bd54cbbb

sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           2.7.18_p13::gentoo, 3.9.9-r1::gentoo, 3.10.0_p1-r1::gentoo
dev-lang/rust:             1.58.1::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.25::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.13.4-r2::gentoo, 1.16.4::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           12.0.1::gentoo, 13.0.0::gentoo
sys-devel/gcc:             11.2.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.0::gentoo
sys-devel/llvm:            12.0.1::gentoo, 13.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.33-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

2xsaiko
    location: /var/db/repos/2xsaiko
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/2xsaiko.git
    masters: gentoo

ace
    location: /var/db/repos/ace
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ace.git
    masters: gentoo

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

haarp
    location: /var/db/repos/haarp
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/haarp.git
    masters: gentoo

tatsh-overlay
    location: /var/db/repos/tatsh-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/tatsh-overlay.git
    masters: gentoo

tlp
    location: /var/db/repos/tlp
    sync-type: git
    sync-uri: https://github.com/dywisor/tlp-portage
    masters: gentoo

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: 10

bell07
    location: /var/db/repos/bell07
    sync-type: git
    sync-uri: https://github.com/bell07/gentoo-bell07_overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -march=native -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=native -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j10"
PKGDIR="/var/cache/binpkgs"
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"
SHELL="/bin/bash"
USE="X a52 aac aacs acl acpi alsa amd64 avahi bdplus bluetooth bluray branding bzip2 cacert cairo cdda cddb cdr cli cover crypt css cups dbus dist-kernel dri dts dvd dvdr elogind encode exif fat ffmpeg flac fortran gamepad gdbm gif gimp git gstreamer gtk gtk3 gui hddtemp heif hfs iconv icu ipv6 java jpeg jpeg2k lcms libglvnd libnotify libtirpc lm-sensors logrotate lua luajit mad mdnsresponder-compat mms mng mp3 mp4 mpeg mtp multilib ncurses nls nptl ntfs oauth ocr ogg openexr opengl openmp opus pam pango pcre pdf png policykit postscript ppds printsupport pulseaudio python qt5 readline rtmp samba scanner sdl seccomp snmp spamassassin spell split-usr sqlite ssl startup-notification svg threads thunar tiff truetype udev udf udisks unicode upower usb v4l vaapi vdpau vorbis vulkan webp widevine wiimote wmf wxwidgets x264 x265 xattr xcb xfce xinerama xml xpmopenexr xrandr xv xvid xvmc zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en de ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AArch64" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby26 ruby27" SANE_BACKENDS="hp net" USERLAND="GNU" VIDEO_CARDS="intel i965 vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
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, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Alexander Weber 2022-02-23 07:35:01 UTC
Created attachment 765695 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-23 07:48:55 UTC
Ew! https://github.com/AcademySoftwareFoundation/OpenColorIO/blob/RB-2.1/tests/CMakeLists.txt#L25

There's an automagic (test?) dependency on OSL. We'll just use disable find package on it.

If you're able, rebuilding OSL against imath will fix it for now if you're in a hurry, or I can fix this in a few hours.
Comment 3 Alexander Weber 2022-02-23 08:05:24 UTC
No hurt on my site. preserved libs keeps system stable. I try it tomorrow with regular system update
Comment 4 Alexander Weber 2022-02-23 20:17:26 UTC
I cannot rebuild osl because of https://bugs.gentoo.org/829604

Currently installed is media-libs/osl-1.11.16.0-r2
If I try to update to 1.11.17.0-r3 as requested in https://bugs.gentoo.org/833158 I get circular dependency. 
Using workaround USE="-opengl" portage try to rebuild media-libs/opencolorio at the first that fails because of this bug
Comment 5 Alexander Weber 2022-02-23 20:27:45 UTC
Ok

emerge -C media-libs/osl

solved the issue.

If the osl package is removed, the media-libs/opencolorio-2.1.1-r7 builds fine.
Comment 6 Larry the Git Cow gentoo-dev 2022-02-26 23:06:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=949005d1a1d77647a097371ba116be2f740c4b8c

commit 949005d1a1d77647a097371ba116be2f740c4b8c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-02-26 23:03:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-26 23:05:40 +0000

    media-libs/opencolorio: avoid automagic OSL test dependency
    
    If OSL has not yet been rebuilt against new OpenEXR and so on,
    it might lead to a build failure. Let's just avoid the test dep
    entirely.
    
    Closes: https://bugs.gentoo.org/833933
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/opencolorio/opencolorio-2.1.1-r7.ebuild | 4 ++++
 1 file changed, 4 insertions(+)