Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480936 - www-client/chromium-30.0.1588.0 fails to build with system media-video/ffmpeg-{1.0.7,1.2.2} and media-video/libav-9.8
Summary: www-client/chromium-30.0.1588.0 fails to build with system media-video/ffmpeg...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-14 00:35 UTC by Mike Gilbert
Modified: 2013-09-05 03:46 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (www-client:chromium-30.0.1588.0:20130813-211259.log.xz,165.88 KB, application/x-xz)
2013-08-14 00:36 UTC, Mike Gilbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2013-08-14 00:35:09 UTC
../../media/filters/ffmpeg_audio_decoder.cc: In member function ‘int media::FFmpegAudioDecoder::GetAudioBuffer(AVCodecContext*, AVFrame*, int)’:
../../media/filters/ffmpeg_audio_decoder.cc:202:10: error: ‘AVFrame’ has no member named ‘buf’
   frame->buf[0] = av_buffer_create(
          ^
../../media/filters/ffmpeg_audio_decoder.cc:203:78: error: ‘av_buffer_create’ was not declared in this scope
       frame->data[0], buffer_size_in_bytes, ReleaseAudioBufferImpl, opaque, 0);
                                                                              ^
../../media/filters/ffmpeg_audio_decoder.cc: In member function ‘bool media::FFmpegAudioDecoder::ConfigureDecoder()’:
../../media/filters/ffmpeg_audio_decoder.cc:345:19: error: ‘struct AVCodecContext’ has no member named ‘get_buffer2’
   codec_context_->get_buffer2 = GetAudioBufferImpl;
                   ^
../../media/filters/ffmpeg_audio_decoder.cc: In member function ‘void media::FFmpegAudioDecoder::RunDecodeLoop(const scoped_refptr<media::DecoderBuffer>&, bool)’:
../../media/filters/ffmpeg_audio_decoder.cc:475:43: error: ‘struct AVFrame’ has no member named ‘buf’
           av_buffer_get_opaque(av_frame_->buf[0]));
                                           ^
../../media/filters/ffmpeg_audio_decoder.cc:475:49: error: ‘av_buffer_get_opaque’ was not declared in this scope
           av_buffer_get_opaque(av_frame_->buf[0]));
Comment 1 Mike Gilbert gentoo-dev 2013-08-14 00:36:50 UTC
Created attachment 355922 [details]
Build log
Comment 2 Denis M. (Phr33d0m) 2013-08-14 14:15:52 UTC
This happens with stable ffmpeg-1.0.7 as well with the exact same error.
Comment 3 Росен Александров 2013-08-14 14:20:26 UTC
chromium 30* ffmpeg-1.0.7

https://dpaste.de/SPAcq/
Comment 4 Vasco Gervasi 2013-08-14 17:11:27 UTC
Same here with

[ebuild   R    ] media-video/ffmpeg-1.2.2  USE="3dnow 3dnowext X alsa bzip2 encode hardcoded-tables iconv mmx mp3 opus pulseaudio ssse3 theora threads truetype vdpau vpx x264 xvid zlib -aac -aacplus (-altivec) -amr -avx -bindist -bluray -cdio (-celt) -cpudetection -debug -doc -examples -faac -fdk -flite -fontconfig -frei0r -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -libass -libcaca -libsoxr -libv4l -mmxext -modplug (-neon) -network -openal -openssl -oss -pic -rtmp -schroedinger -sdl -speex -static-libs {-test} -twolame -v4l -vaapi (-vis) -vorbis" FFTOOLS="aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher" 5,829 kB
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-08-17 01:50:27 UTC
Here's the error with libav (I think it's the same):

../../media/filters/ffmpeg_audio_decoder.cc: In member function ‘int media::FFmpegAudioDecoder::GetAudioBuffer(AVCodecContext*, AVFrame*, int)’:
../../media/filters/ffmpeg_audio_decoder.cc:202:10: error: ‘AVFrame’ has no member named ‘buf’
../../media/filters/ffmpeg_audio_decoder.cc:203:78: error: ‘av_buffer_create’ was not declared in this scope
../../media/filters/ffmpeg_audio_decoder.cc: In member function ‘bool media::FFmpegAudioDecoder::ConfigureDecoder()’:
../../media/filters/ffmpeg_audio_decoder.cc:345:19: error: ‘struct AVCodecContext’ has no member named ‘get_buffer2’
../../media/filters/ffmpeg_audio_decoder.cc: In member function ‘void media::FFmpegAudioDecoder::RunDecodeLoop(const scoped_refptr<media::DecoderBuffer>&, bool)’:
../../media/filters/ffmpeg_audio_decoder.cc:475:43: error: ‘struct AVFrame’ has no member named ‘buf’
../../media/filters/ffmpeg_audio_decoder.cc:475:49: error: ‘av_buffer_get_opaque’ was not declared in this scope

It works with media-video/ffmpeg-2.0.1 though - probably time to bump the dep (and remove libav), but this is likely to cause problems for ~arch users down the road.
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-09-05 03:46:27 UTC
  05 Sep 2013; Pawel Hajdan jr
  chromium-29.0.1547.57.ebuild, chromium-29.0.1547.65.ebuild,
  chromium-30.0.1599.22.ebuild, chromium-31.0.1612.0.ebuild,
  chromium-9999-r1.ebuild:
  Remove support for system ffmpeg. Directly fixes bug #483518 by fuzzyray. See
  also bug #480936 by floppym and bug #466010 by cmuelle8.