Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 407943

Summary: media-gfx/blender-2.60a intern/ffmpeg/ffmpeg_compat.h:46:28: fatal error: libavcodec/opt.h: No such file or directory
Product: Gentoo Linux Reporter: Anton Kochkov <anton.kochkov>
Component: Current packagesAssignee: Luca Barbato <lu_zero>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: anthoine.bourgeois, anton.kochkov, bpshacklett, graphics+disabled, robink
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: full build log

Description Anton Kochkov 2012-03-12 15:37:25 UTC
Created attachment 305013 [details]
full build log

[94mCompiling[0m ==> '[92mAUD_FFMPEGFactory.cpp'[0m
[94mCompiling[0m ==> '[92mAUD_FFMPEGReader.cpp'[0m
[94mCompiling[0m ==> '[92mAUD_FFMPEGWriter.cpp'[0m
In file included from intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp:43:0:
intern/ffmpeg/ffmpeg_compat.h:46:28: fatal error: libavcodec/opt.h: No such file or directory
compilation terminated.
scons: *** [/var/tmp/portage/media-gfx/blender-2.60a/work/build/linux/intern/audaspace/ffmpeg/AUD_FFMPEGReader.o] Error 1
In file included from intern/audaspace/ffmpeg/AUD_FFMPEGWriter.cpp:45:0:
intern/ffmpeg/ffmpeg_compat.h:46:28: fatal error: libavcodec/opt.h: No such file or directory
compilation terminated.
scons: *** [/var/tmp/portage/media-gfx/blender-2.60a/work/build/linux/intern/audaspace/ffmpeg/AUD_FFMPEGWriter.o] Error 1
scons: building terminated because of errors.
 [31;01m*[0m ERROR: media-gfx/blender-2.60a failed (compile phase):
 [31;01m*[0m   escons failed.
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line   85:  Called src_compile
 [31;01m*[0m   environment, line 5066:  Called escons
 [31;01m*[0m   environment, line 1720:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       [[ ${ret} -ne 0 && ${EAPI} == 4 ]] && die "escons failed.";
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of 'emerge --info =media-gfx/blender-2.60a',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =media-gfx/blender-2.60a'.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/media-gfx/blender-2.60a/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-gfx/blender-2.60a/temp/environment'.
 [31;01m*[0m S: '/var/tmp/portage/media-gfx/blender-2.60a/work/blender-2.60a'

installed ffmpeg-9999

emerge --info output https://bugs.gentoo.org/attachment.cgi?id=304777
Comment 1 Brennan Shacklett 2012-07-08 01:12:32 UTC
This reproduces with ffmpeg 0.11.1, so it should block bug 417677.

I tested with blender svn and the build was successful (but it's still broken with blender 2.63).
If backporting the fixes to 2.60a would be helpful, let me know because I already have half a patch written.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-16 00:55:04 UTC
Please try again with 2.63a.
Comment 3 Brennan Shacklett 2012-07-16 21:49:10 UTC
(In reply to comment #2)
> Please try again with 2.63a.

I tested with 2.63a-r2 and it compiled and ran fine against both ffmpeg 0.11.1 and ffmpeg-9999.