Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471366 - media-libs/opencolorio with >=dev-cpp/yaml-cpp-0.5.1 - .../work/opencolorio-1.0.7/src/core/OCIOYaml.cpp:50:20: error: 'const class YAML::Node' has no member named 'GetMark'
Summary: media-libs/opencolorio with >=dev-cpp/yaml-cpp-0.5.1 - .../work/opencolorio-1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Popov
URL: https://github.com/imageworks/OpenCol...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: 478212
  Show dependency tree
 
Reported: 2013-05-26 21:49 UTC by stephen.j.parker
Modified: 2014-07-07 12:15 UTC (History)
4 users (show)

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


Attachments
build log (media-libs:opencolorio-1.0.7:20130527-195519.log,62.39 KB, text/plain)
2013-05-27 19:56 UTC, stephen.j.parker
Details
opencolorio-1.0.9_p20140130.ebuild (opencolorio-1.0.9_p20140130.ebuild,2.47 KB, text/plain)
2014-03-26 07:50 UTC, Miroslav Šulc
Details
0001-fix-build-when-using-libc.patch (0001-fix-build-when-using-libc.patch,967 bytes, patch)
2014-03-26 07:51 UTC, Miroslav Šulc
Details | Diff
0002-added-support-form-yaml-cpp-5.0.1.patch (0002-added-support-form-yaml-cpp-5.0.1.patch,140.23 KB, patch)
2014-03-26 07:52 UTC, Miroslav Šulc
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description stephen.j.parker 2013-05-26 21:49:17 UTC
It appears opencolorio can only be built against dev-cpp/yaml-0.3.x due to some ABI incompatibilities introduced in yaml-0.5.x. This needs to be slotted.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-27 19:43:12 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 stephen.j.parker 2013-05-27 19:47:58 UTC
Portage 2.1.11.62 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo x86_64)
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    32843672 total,  29072168 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of tree: Mon, 27 May 2013 06:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.3.6-r1, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo parker
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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=corei7-avx -O2 -pipe"
DISTDIR="/net/gentoo/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/net/gentoo/packages/x86_64-pc-linux-gnu"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avx bash-completion berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cscope ctags cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv icu ipv6 java jpeg jpeg2k kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nvidia ogg openexr opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds python qt3support qt4 readline sdl semantic-desktop session spell sse sse2 sse3 ssl ssse3 ssse4 startup-notification svg symlink tcpd tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 stephen.j.parker 2013-05-27 19:56:26 UTC
Created attachment 349388 [details]
build log
Comment 4 Sergey Popov gentoo-dev 2013-06-08 11:27:47 UTC
+  08 Jun 2013; Sergey Popov <pinkbyte@gentoo.org> opencolorio-1.0.7.ebuild,
+  opencolorio-1.0.8.ebuild:
+  Make yaml-cpp dependency stricter, wrt bug #471366

I have set yaml-cpp dependency to =dev-cpp/yaml-cpp-0.3* for both opencolorio versions, included in portage.

Bug is reported upstream, see URL
Comment 5 Bernd Buschinski 2013-06-23 18:10:15 UTC
opencolorio-1.0.8 also needs =dev-cpp/yaml-cpp-0.3*
Comment 6 ewomer 2013-09-23 20:32:32 UTC
Will be fixed in opencolorio-1.0.9.
Comment 7 Sergey Popov gentoo-dev 2013-09-24 11:08:25 UTC
(In reply to salamanderrake from comment #6)
> Will be fixed in opencolorio-1.0.9.

It is not fixed in 1.0.9, just bumped it in tree. Dependency on yaml-cpp unchanged - it still needs 0.3 explicitly
Comment 8 ewomer 2013-09-30 03:47:45 UTC
Yah I messed up when I was testing the source compile on my system, never noticed the -DUSE_EXTERNAL_YAML=ON in the ebuild until it was too late, every  time I built opencolorio head from git it would work until I added that line and then it failed.
Comment 9 Miroslav Šulc gentoo-dev 2014-03-26 07:49:54 UTC
i have created patched version of openimageio that does not block yaml-cpp from update. it may need some cleanup and testing.
Comment 10 Miroslav Šulc gentoo-dev 2014-03-26 07:50:55 UTC
Created attachment 373558 [details]
opencolorio-1.0.9_p20140130.ebuild
Comment 11 Miroslav Šulc gentoo-dev 2014-03-26 07:51:36 UTC
Created attachment 373560 [details, diff]
0001-fix-build-when-using-libc.patch
Comment 12 Miroslav Šulc gentoo-dev 2014-03-26 07:52:11 UTC
Created attachment 373564 [details, diff]
0002-added-support-form-yaml-cpp-5.0.1.patch
Comment 13 Sergey Popov gentoo-dev 2014-04-23 08:39:50 UTC
+*opencolorio-1.0.9-r1 (23 Apr 2014)
+
+  23 Apr 2014; Sergey Popov <pinkbyte@gentoo.org> +opencolorio-1.0.9-r1.ebuild,
+  +files/opencolorio-1.0.9-yaml-0.5-compat.patch:
+  Revision bump: add compatibility with recent yaml-cpp, wrt bug #471366

Please test and report