starting blender cause: ~ $ blender OpenColorIO Error: Error: Loading the OCIO profile '/usr/share/blender/2.71/datafiles/colormanagement/config.ocio' failed. yaml-cpp: error at line 0, column 0: bad conversion Color management: using fallback mode for management libpng warning: iCCP: known incorrect sRGB profile Reproducible: Always Portage 2.2.10 (default/linux/amd64/13.0/desktop, gcc-4.8.3, glibc-2.19-r1, 3.15.2-gentoo x86_64) ================================================================= System uname: Linux-3.15.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2 KiB Mem: 24627364 total, 21240964 free KiB Swap: 25598972 total, 25598972 free Timestamp of tree: Sat, 28 Jun 2014 14:30:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.2_p47 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.6-r1, 3.3.5, 3.4.0 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.15 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo bitcoin steam-overlay bumblebee printer-drivers lokal ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /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 -O2 -pipe" DISTDIR="/mnt/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/mnt/portage/packages" 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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/mnt/portage"
Did you build blender with opencolorio?
there is no USE opencolorio: [I] media-gfx/blender Available versions: (~)2.66-r1 (~)2.67b-r1 (~)2.68 (~)2.68a (~)2.69 (~)2.69-r1 (~)2.70 (~)2.70-r1 (~)2.70a-r3 (~)2.71 {+boost +bullet collada colorio cycles +dds debug doc +elbeem ffmpeg fftw +game-engine jack jpeg2k ndof nls openal +openexr openimageio openmp +opennl player redcode sdl sndfile sse sse2 tiff PYTHON_SINGLE_TARGET="python3_3 python3_4" PYTHON_TARGETS="python3_3 python3_4"} Installed versions: 2.71(17:32:31 28.06.2014)(boost bullet collada colorio cycles dds elbeem ffmpeg fftw game-engine jack jpeg2k nls openal openexr openimageio openmp opennl player sdl sndfile sse sse2 tiff -debug -doc -ndof -redcode PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4") Homepage: http://www.blender.org Description: 3D Creation/Animation/Publishing System
seems to be there is soemthing broken. http://wiki.blender.org/index.php/Dev:Source/Image/OpenColorIO OpenColorIO is a must have for compiling blender. and its also installed on system: [I] media-libs/opencolorio Available versions: 1.0.8^t (~)1.0.9^t (~)1.0.9-r1^t {doc opengl pdf python sse2 test PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7"} Installed versions: 1.0.9-r1^t(17:26:59 28.06.2014)(opengl python sse2 -doc -pdf -test PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7") Homepage: http://opencolorio.org/ Description: A color management framework for visual effects and animation but i still get this error: $ blender OpenColorIO Error: Error: Loading the OCIO profile '/usr/share/blender/2.71/datafiles/colormanagement/config.ocio' failed. yaml-cpp: error at line 0, column 0: bad conversion Color management: using fallback mode for management Read new prefs: /home/test/.config/blender/2.71/config/userpref.blend
ok i notice # quse -D openimageio local:openimageio:media-gfx/blender: Enable OpenImageIO Support t its anyways must be broken, else it would find the emerged openimagio packe.
you are mixing something up: colorio? ( media-libs/opencolorio )
TuX ~ $ quse -D colorio local:colorio:media-gfx/blender: Enable OpenColorIO color management. local:colorio:media-libs/openimageio: Use media-gfx/opencolorio TuX ~ $ quse -D openimageio local:openimageio:media-gfx/blender: Enable OpenImageIO Support both use OpenImageIO.
(In reply to tman from comment #6) > TuX ~ $ quse -D colorio > > local:colorio:media-gfx/blender: Enable OpenColorIO color management. > local:colorio:media-libs/openimageio: Use media-gfx/opencolorio > > TuX ~ $ quse -D openimageio > local:openimageio:media-gfx/blender: Enable OpenImageIO Support > > > both use OpenImageIO. I was referring to: > there is no USE opencolorio:
we need to test: * does blender work with opencolorio[-opengl] * does blender work with openimageio[-colorio] * does blender work with openimageio[-opengl]
(In reply to Julian Ospald (hasufell) from comment #8) > we need to test: > * does blender work with opencolorio[-opengl] > * does blender work with openimageio[-colorio] > * does blender work with openimageio[-opengl] i tried all and got same error: OpenColorIO Error: Error: Loading the OCIO profile '/usr/share/blender/2.71/datafiles/colormanagement/config.ocio' failed. yaml-cpp: error at line 0, column 0: bad conversion Color management: using fallback mode for management Read new prefs: /home/cornix/.config/blender/2.71/config/userpref.blend
(In reply to tman from comment #9) > (In reply to Julian Ospald (hasufell) from comment #8) > > we need to test: > > * does blender work with opencolorio[-opengl] > > * does blender work with openimageio[-colorio] > > * does blender work with openimageio[-opengl] > > i tried all and got same error: > > OpenColorIO Error: Error: Loading the OCIO profile > '/usr/share/blender/2.71/datafiles/colormanagement/config.ocio' failed. > yaml-cpp: error at line 0, column 0: bad conversion > Color management: using fallback mode for management > Read new prefs: /home/cornix/.config/blender/2.71/config/userpref.blend That probably means we need * opencolorio[opengl] * openimageio[colorio,opengl] Can you confirm that?
# eix opencolorio [I] media-libs/opencolorio Available versions: 1.0.8^t (~)1.0.9^t (~)1.0.9-r1^t {doc opengl pdf python sse2 test PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7"} Installed versions: 1.0.9-r1^t(02:23:18 30.06.2014)(opengl python sse2 -doc -pdf -test PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7") Homepage: http://opencolorio.org/ Description: A color management framework for visual effects and animation [I] media-libs/openimageio Available versions: 1.1.1^t (~)1.1.7^t (~)1.3.5^t {colorio gif jpeg2k opencv opengl python qt4 ssl tbb +truetype PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7"} Installed versions: 1.3.5^t(17:20:01 28.06.2014)(gif jpeg2k opengl python qt4 ssl truetype -colorio -opencv -tbb PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7") Homepage: http://sites.google.com/site/openimageio/ http://github.com/OpenImageIO Description: A library for reading and writing images That probably means we need * opencolorio[opengl] * openimageio[colorio,opengl] cause same error.
Created attachment 380716 [details] /usr/share/blender/2.71/datafiles/colormanagement/config.ocio very streange, because the lins a comment
testing the official pre compiled blender it dont cause this error: ./blender connect failed: No such file or directory Read new prefs: /home/test/.config/blender/2.71/config/userpref.blend found bundled python: /home/test/Downloads/blender-2.71-linux-glibc211-x86_64/blender-2.71-linux-glibc211-x86_64/2.71/python so it must be something wrong in the ebuild, which cause this error. please fixe it.
the USE"colorio" is definitvely the cuprit. with this USE i cause the error.
workaround: downgrading dev-cpp/yaml-cpp to version 3. https://developer.blender.org/T41070
(In reply to tman from comment #15) > workaround: downgrading dev-cpp/yaml-cpp to version 3. > > https://developer.blender.org/T41070 Are you sure that's the solution? If so, I will set =dev-cpp/yaml-cpp-3.0.0 in the ebuild
i got this advice from blender bugzilla. so i am 99% sure.
i tried to mask the version =>0.5.1, but it seems to be more depencies there. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U #] dev-cpp/yaml-cpp-0.5.1 [0.3.0] 0 kB [ebuild N ] media-libs/opencolorio-1.0.9-r1 USE="opengl python sse2 -doc (-pdf) {-test}" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 kB Total: 2 packages (1 upgrade, 1 new), Size of downloads: 0 kB The following mask changes are necessary to proceed: (see "package.unmask" in the portage(5) man page for more details) # required by media-libs/opencolorio-1.0.9-r1 # required by media-libs/opencolorio (argument) # /etc/portage/package.mask: =dev-cpp/yaml-cpp-0.5.1 so i have also open a new ticket on blender and hope the upstream of blender solve the problem in the future: https://developer.blender.org/T41083
here are some links to same problematic which show that its really yaml the problem: https://developer.blender.org/T38370
so we obviously need <=media-libs/opencolorio-1.0.9
+*blender-2.71-r1 (16 Jul 2014) + + 16 Jul 2014; Julian Ospald <hasufell@gentoo.org> +blender-2.71-r1.ebuild, + +files/08-blender-2.71-gflags.patch: + fix opencolorio dep wrt #515606, fix building with gflags-2.1.1 and adjust + dep wrt #517134, add epatch_user
In opencolorio master it fixed. I've just checked it with opencolorio-9999 ebuild.
(In reply to Oleg from comment #22) > In opencolorio master it fixed. I've just checked it with opencolorio-9999 > ebuild. I don't care about master, but about the versions which are in the tree.
*** Bug 523992 has been marked as a duplicate of this bug. ***