media-gfx/blender-2.49a fails to emerge: Install file: "release/freedesktop/icons/32x32/blender.png" as "/tmp/portage/media-gfx/blender-2.49a/work/install/linux2/icons/32x32/blender.png" Install file: "release/freedesktop/icons/32x32/blender.svg" as "/tmp/portage/media-gfx/blender-2.49a/work/install/linux2/icons/32x32/blender.svg" Install file: "release/freedesktop/icons/scalable/blender.svg" as "/tmp/portage/media-gfx/blender-2.49a/work/install/linux2/icons/scalable/blender.svg" Linking library ==> 'libbf_yafray.a' Linking program ==> 'blender' /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ltheoraenc collect2: ld returned 1 exit status scons: *** [/tmp/portage/media-gfx/blender-2.49a/work/build/linux2/bin/blender] Error 1 scons: building terminated because of errors. * * ERROR: media-gfx/blender-2.49a failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2538: Called die * The specific snippet of code: * scons ${MAKEOPTS/-l[0-9]} || die '!!! Please add "${S}/scons.config" when filing bugs reports \ * to bugs.gentoo.org'; * The die message: * !!! Please add "${S}/scons.config" when filing bugs reports \ * to bugs.gentoo.org * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/tmp/portage/media-gfx/blender-2.49a/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/media-gfx/blender-2.49a/temp/environment'. * >>> Failed to emerge media-gfx/blender-2.49a, Log file: >>> '/tmp/portage/media-gfx/blender-2.49a/temp/build.log'
Created attachment 196467 [details] emerge --info
Blender assumes that libtheora is installed when the ffmpeg USE flag is set, but ffmpeg can be build without libtheora. I've updated the 2.49a ebuild to put libtheora as a dependency for the ffmpeg USE flag.
Created attachment 196582 [details] Updated blender 2.49a ebuild Feel free to test this ebuild.
Please attach unified diffs (diff -u) when you did changes to an ebuild. That would be much more handy for our devs.
maekke, actually you need media-libs/libtheora[encode] to get libtheoraenc.so
(In reply to comment #5) > maekke, actually you need media-libs/libtheora[encode] to get libtheoraenc.so > actually, you prolly need ffmpeg[theora] instead of separate libtheora dep, which then again pulls in the libtheora with [encode] iirc (didn't double check)
thanks for the report and patch, fixed in cvs.