Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 802363 - media-libs/opencolorio-1.1.1 fails to build: OCIOYaml.cpp:1408:45: error: no match for ‘operator==’
Summary: media-libs/opencolorio-1.1.1 fails to build: OCIOYaml.cpp:1408:45: error: no ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All 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:
 
Reported: 2021-07-16 00:17 UTC by Russell Dwiggins
Modified: 2021-12-28 22:31 UTC (History)
3 users (show)

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


Attachments
media-libs/opencolorio-1.1.1 build.log (build.log,52.47 KB, text/x-log)
2021-07-16 00:17 UTC, Russell Dwiggins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Russell Dwiggins 2021-07-16 00:17:39 UTC
Created attachment 724084 [details]
media-libs/opencolorio-1.1.1 build.log

emerge --info:
Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.1.0, glibc-2.33-r2, 5.13.0-gentoo x86_64)
=================================================================
System uname: Linux-5.13.0-gentoo-x86_64-AMD_FX-tm-8320_Eight-Core_Processor-with-glibc2.33
KiB Mem:    24574492 total,  11886932 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 15 Jul 2021 20:00:01 +0000
Head commit of repository gentoo: bd799b34b609db7cdaf8902f4ebd1975fb934061
Head commit of repository steam-overlay: c93a9167c9251ceceb6e7ee35cdf636cb59be6f4

sh bash 5.1_p8
ld GNU ld (Gentoo 2.36.1 p3) 2.36.1
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          2.7.18_p11::gentoo, 3.6.14::gentoo, 3.7.11::gentoo, 3.8.11::gentoo, 3.9.6::gentoo, 3.10.0_beta4::gentoo
dev-lang/rust:            1.53.0::gentoo
dev-util/cmake:           3.21.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r3::gentoo
sys-apps/openrc:          0.43.3::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.36.1-r1::gentoo
sys-devel/gcc:            8.5.0-r1::gentoo, 9.3.0-r2::gentoo, 10.3.0-r2::gentoo, 11.1.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r2::gentoo
Repositories:

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

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

Installed sets: @steam
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance 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 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu"
LINGUAS="en en_US"
MAKEOPTS="-j7"
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"
USE="X a52 aac aacs accessibility acl acpi activities alsa amd64 arts aspell avahi bdplus bitmap-fonts bluetooth bluray branding browserplugin bzip2 cairo cdda cdr cdrgphoto2 cleartype cli corefonts crypt cuda cups dbus declarative divx divx4linux djvu dri dts dvd dvdr dvdread elogind emboss emerald encode exif extras fbcon fbcondecor firefox flac foomaticdb fortran freetts gcj gdbm gif gimpprint gmedia gnome-online-accounts gpm gui hdaps iconv icu introspection ipod ipv6 irda java joystick jpeg kipi kwallet lcms ldap libglvnd libnotify libtirpc mad mmx mng mp3 mp4 mpeg mplayer mtp multilib mysql ncurses netmeeting networkmanager nls nptl nptlonly nsplugin ogg ooo-kde opengl openmp opie pam pango pcre pda pdf phonon pic plasma png policykit postscript ppds pulseaudio qml qt5 quicktime readline real realmedia reports samba scanner sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification suid svg tcpd theora threads tiff truetype truetype-fonts type1 type1-fonts udev udisks unicode upower usb v4l v4l2 vdpau vorbis vulkan wayland widgets win32codecs wmp wxwidgets x264 xattr xcb xcomposite xml xscreensaver xv xvid xvmc yahoo zeroconf zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 f16c avx fma3 fma4 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" CURL_SSL="gnutls" 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 mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="arm" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby26" SANE_BACKENDS="brother2 net canon canon_dr genesys fujitsu" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nv v4l fbdev" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 Marco Scardovi (scardracs) 2021-07-16 16:31:14 UTC
Have you tried to build the version 2+
Comment 2 Russell Dwiggins 2021-07-16 17:29:43 UTC
Yes, but it appears Krita is restricted to 1.x?

https://bugs.gentoo.org/795786
Comment 3 Russell Dwiggins 2021-07-16 17:39:20 UTC
OK. Applying the patch on comment 9 from https://bugs.gentoo.org/795786, allows both OpenColorIO-2.2.0 and Krita-4.4.5 to build. That patch had not been synced to my tree as of 7/15/2021.
Comment 4 Marco Scardovi (scardracs) 2021-07-16 17:48:38 UTC
Nevermind for v2, https://bugs.gentoo.org/795786
Comment 5 Russell Dwiggins 2021-07-16 20:25:17 UTC
Scratch what I said. Krita-4.4.5 fails to build as in https://bugs.gentoo.org/795786. OpenColorIO-2.0.0 does build.
Comment 6 Russell Dwiggins 2021-07-29 18:45:55 UTC
I was able to successfully build opencolorio-1.1.1 against dev-cpp/yaml-cpp-0.6.3-r4. This required a downgrade from dev-cpp/yaml-cpp-0.7.0.

I'll be masking the newer version as a workaround for now.
Comment 7 Larry the Git Cow gentoo-dev 2021-10-31 05:49:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=720e33b1be10795720db98a44cf14de9b40425d4

commit 720e33b1be10795720db98a44cf14de9b40425d4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-31 05:49:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-31 05:49:37 +0000

    media-libs/opencolorio: add 2.1.0
    
    Closes: https://bugs.gentoo.org/802363
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/opencolorio/Manifest                 |  1 +
 media-libs/opencolorio/opencolorio-2.1.0.ebuild | 96 +++++++++++++++++++++++++
 2 files changed, 97 insertions(+)
Comment 8 Larry the Git Cow gentoo-dev 2021-12-28 22:31:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70ac4002b9f229c9c4a5711824c609d1a6151855

commit 70ac4002b9f229c9c4a5711824c609d1a6151855
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-28 22:31:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-28 22:31:44 +0000

    media-libs/opencolorio: lift yaml-cpp bound in 2.1.1
    
    Closes: https://bugs.gentoo.org/802363
    Closes: https://bugs.gentoo.org/830193
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{opencolorio-2.1.1.ebuild => opencolorio-2.1.1-r1.ebuild}         | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)