blender-2.57-r1 fails to build on my system due to a wrong #include directive in VideoFFmpeg.cpp which includes "libavutil/parseutils.h" instead of "libavcore/parseutils.h", see below: Compiling ==> 'VideoFFmpeg.cpp' In file included from source/gameengine/VideoTexture/VideoFFmpeg.cpp:41: source/gameengine/VideoTexture/VideoFFmpeg.h:37:34: error: libavutil/parseutils.h: No such file or directory Compiling ==> 'ImageRender.cpp' source/gameengine/VideoTexture/VideoFFmpeg.cpp: In member function ‘virtual void VideoFFmpeg::openCam(char*, short int)’: source/gameengine/VideoTexture/VideoFFmpeg.cpp:644: error: ‘av_parse_video_rate’ was not declared in this scope scons: *** [/var/tmp/portage/media-gfx/blender-2.57-r1/work/build/linux2/source/gameengine/VideoTexture/VideoFFmpeg.o] Error 1 scons: building terminated because of errors. After casting a fix into the patch attached (blender-2.57-libavinclude.patch.1), blender builds for me. (This is the file I put into my /etc/packages.patches dir). The affected include file is part of ffmpeg. I use the latest stable ffmpeg version with the use-flags below: media-gfx/blender-2.57: (dds elbeem ffmpeg game-engine iconv linguas_en openexr openmp sse zlib -apidoc -collada -contrib -debug -fftw -jack -jpeg2k -lcms -linguas_ar -linguas_bg -linguas_ca -linguas_cs -linguas_de -linguas_el -linguas_es -linguas_fi -linguas_fr -linguas_hr -linguas_it -linguas_ja -linguas_ko -linguas_nl -linguas_pl -linguas_pt_BR -linguas_ro -linguas_ru -linguas_sr -linguas_sv -linguas_uk -linguas_zh_CN -openal -player -redcode -sdl -sndfile -tweak-mode -verse) media-video/ffmpeg-0.6_p25767 (3dnow 3dnowext X alsa bzip2 doc encode hardcoded-tables mmx mmxext mp3 ssse3 theora vorbis x264 xvid zlib -altivec -amr -bindist -cpudetection -custom-cflags -debug -dirac -faac -frei0r -gsm -ieee1394 -jack -jpeg2k -network -oss -pic -qt-faststart -rtmp -schroedinger -sdl -speex -static-libs -test -threads -v4l -v4l2 -vaapi -vdpau -video_cards_nvidia -vpx) Reproducible: Always
Created attachment 273921 [details, diff] fixes the wrong #include directive
<libavutil/parseutils.h> is correct for newer versions of media-video/ffmpeg. Dependencies of media-gfx/blender might need to be updated.
I'd like to confirm that this bug exists when ffmpeg-0.6_p25767 is installed, but with ffmpeg-0.7_rc1 installed libavcore/parseutils.h is in the expected location and thus Blender compiles fine.
*** Bug 372141 has been marked as a duplicate of this bug. ***
Since ffmpeg-0.7_rc1 is stable, this bug report became obsolete.