Created attachment 464218 [details] Output of emerge --info As part of a world update, ffmpeg was upgraded from version 2 to 3. Blender failed to build afterwards. To confirm, I reverted back to ffmpeg 2.8 and blender built past the point where the error occured. → make blender 2.72b-r4 depend on <ffmpeg-3 I didn't test libav. As a workaround for me, disabling ffmpeg for this version of blender also worked.
If I recall correctly, this is fixed in a later version - time to stabilise?
later version depends on python-3.5 which is not stabilized. So this is like a corner case, which can be fixed in various ways: pin 2.72 blender to ffmpeg-2 stabilize 2.78 and python-3.5 disable ffmpeg USE for 2.72
I have a PR going with various fixes for Blender. I could make changes now before it's committed. I could just remove ffmpeg from it; not ideal. I need to check if ffmpeg is a bundled package, if so I could enable that; not ideal. Blender 2.78 depends on OpenEXR, IlmBase, CUDA, Python 3.5, and several other non stable packages. Some of which may not be stable for a long while. Version 2.78a depends on CUDA 8 which definitely won't be stable for a while. The 2.78b will have even more unstable depends as we are finally able to put OSL in the tree. Which is why I haven't removed 2.78 when 2.78a went into portage and won't remove either of them when 2.78b goes in. Let me know what should be done so I can update the PR.
*** Bug 611540 has been marked as a duplicate of this bug. ***
that's good but this particular report is about ffmpeg-3 compatibility of older (and stable by meaning of gentoo's keywords) version.
(In reply to Oleg from comment #5) > that's good but this particular report is about ffmpeg-3 compatibility of > older (and stable by meaning of gentoo's keywords) version. I know. I was kinda replying to two different comments. The first paragraph is on topic with this report about what I should do to the 2.72b ebuild: just put <media-video/ffmpeg-3.0.0 in the depends or completely remove ffmpeg. The second paragraph was to Michael about why 2.78 can't be stabilizes yet. Hope this clears it up.
What about patching blender to work with ffmpeg3? Here's the upstream change https://developer.blender.org/rB0b03785eb5d46dfc053d7f8ef4924219fe7759c5
Created attachment 477990 [details, diff] blender-2.72b-ffmpeg3.patch I backported the patch for blender 2.72b
I confirm that applying the patch from comment #8 solves this problem and blender builds and runs successfully. Could this be officialized please?
I'll add this patch to the PR I have. I'm hoping to have newer versions of Blender stabilized soon.
This version is old and will be removed as 2.79 is stabilized in 30 days.