Created attachment 415564 [details] Build log for www-client/chromium-48.0.2541.0 Hello- FFMPEG 2.8 introduced some changes to the API that no longer allow it to compile/link against the current (a/o 2015-10-27 00:00Z) Chromium ebuild. The build error is below, and the full log is attached. Any suggestions as to how to resolve this (even "let upstream iron it out sometime later" is acceptable) would be greatly appreciated. Error: [8278/17912] g++ -MMD -MF obj/media/filters/media.gpu_video_decoder.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DDISABLE_NACL -DCHROMIUM_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DENABLE_HANGOUT_SERVICES_EXTENSION=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DMEDIA_IMPLEMENTATION -DUSE_NEON -DUSE_ALSA -DUSE_PULSEAUDIO -DDLOPEN_PULSEAUDIO -DU_USING_ICU_NAMESPACE=0 -DSK_SUPPORT_GPU=1 -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -D__STDC_CONSTANT_MACROS -DUSE_SYSTEM_FFMPEG -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen/shim_headers/libpng/target -Igen/shim_headers/harfbuzz-ng/target -Igen/shim_headers/zlib/target -Igen/shim_headers/icuuc/target -Igen/shim_headers/icui18n/target -Igen/shim_headers/libevent/target -Igen -I../.. -Igen/pulse -I../../third_party/khronos -I../../gpu -I../../skia/config -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -I../../third_party/libyuv/include -I../../third_party/libyuv -I../../third_party/opus/src/include -I../../third_party/libvpx_new/source/libvpx -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -m64 -march=x86-64 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -march=bdver3 -O2 -pipe -g -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -std=gnu++11 -Wno-narrowing -Wno-literal-suffix -c ../../media/filters/gpu_video_decoder.cc -o obj/media/filters/media.gpu_video_decoder.o FAILED: g++ -MMD -MF obj/media/filters/media.ffmpeg_demuxer.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DDISABLE_NACL -DCHROMIUM_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DENABLE_HANGOUT_SERVICES_EXTENSION=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DMEDIA_IMPLEMENTATION -DUSE_NEON -DUSE_ALSA -DUSE_PULSEAUDIO -DDLOPEN_PULSEAUDIO -DU_USING_ICU_NAMESPACE=0 -DSK_SUPPORT_GPU=1 -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -D__STDC_CONSTANT_MACROS -DUSE_SYSTEM_FFMPEG -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen/shim_headers/libpng/target -Igen/shim_headers/harfbuzz-ng/target -Igen/shim_headers/zlib/target -Igen/shim_headers/icuuc/target -Igen/shim_headers/icui18n/target -Igen/shim_headers/libevent/target -Igen -I../.. -Igen/pulse -I../../third_party/khronos -I../../gpu -I../../skia/config -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -I../../third_party/libyuv/include -I../../third_party/libyuv -I../../third_party/opus/src/include -I../../third_party/libvpx_new/source/libvpx -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -m64 -march=x86-64 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -march=bdver3 -O2 -pipe -g -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -std=gnu++11 -Wno-narrowing -Wno-literal-suffix -c ../../media/filters/ffmpeg_demuxer.cc -o obj/media/filters/media.ffmpeg_demuxer.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition ../../media/filters/ffmpeg_demuxer.cc: In member function ‘virtual void media::FFmpegDemuxer::Initialize(media::DemuxerHost*, const PipelineStatusCB&, bool)’: ../../media/filters/ffmpeg_demuxer.cc:817:19: error: ‘AVFormatContext {aka struct AVFormatContext}’ has no member named ‘max_analyze_duration2’ format_context->max_analyze_duration2 = 60 * AV_TIME_BASE; ^ <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition ninja: build stopped: subcommand failed. -Robin K.
Bug persists with www-client/chromium-48.0.2547.0
(In reply to Robin Kauffman from comment #1) > Bug persists with www-client/chromium-48.0.2547.0 Could you post emerge --info and exact version of ffmpeg and its USE flags?
Created attachment 415914 [details] Output of 'emerge --info'
Output of 'emerge --info' is attached above. media-video/ffmpeg-9999, commit 1ec8c1554ed81a31ac4f82621121405de067b21e from 2015-10-20 13:02:21Z, merged 2015-10-20 13:00:41Z, enabled USE flags are: 'X aac aacplus alsa amr amrenc bluray bs2b bzip2 cdio celt doc encode faac fdk flite frei0r fribidi gme gnutls gpl hardcoded-tables iconv ieee1394 jack jpeg2k libcaca libsoxr libv4l lzma mp3 network openal opengl opus postproc rubberband samba schroedinger sdl snappy speex ssh theora threads truetype twolame v4l vdpau vorbis vpx webp x264 x265 xvid zlib zvbi', enabled CPU_FLAGS_X86 are: 'avx fma3 fma4 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 xop', enabled FFTOOLS are: 'aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher'.
(In reply to Robin Kauffman from comment #4) > media-video/ffmpeg-9999, commit 1ec8c1554ed81a31ac4f82621121405de067b21e > from 2015-10-20 13:02:21Z, merged 2015-10-20 13:00:41Z Thanks. Sorry, it's a moving target. We can take another look when there's a versioned release of ffmpeg with the API changes.
OK, not reopening the bug, because I don't want to be a dick here, but I thought I would point this out: The breaking API change in FFMPEG occurs in version 2.8, which is most certainly a stable release, and carries through all of the successive stable releases since then, and of course all of the untagged commits in Git master. If you had flagged it as WONTFIX stating that you didn't want to work on it, or you wanted to wait until the versioned release of FFMPEG had been unkeyworded in Portage and seen widespread usage/testing, that's fine, but please, *please* say so, rather than demonstrating a lack of reading comprehension.
(In reply to Robin Kauffman from comment #6) > The breaking API change in FFMPEG occurs in version 2.8, which is most > certainly a stable release, and carries through all of the successive stable > releases since then, and of course all of the untagged commits in Git master. To clarify, build works for me against ffmpeg-2.8.1. Feel totally free to reopen now if there's a way to repro with non-9999 ffmpeg ebuild.
(In reply to Paweł Hajdan, Jr. from comment #7) > (In reply to Robin Kauffman from comment #6) > > The breaking API change in FFMPEG occurs in version 2.8, which is most > > certainly a stable release, and carries through all of the successive stable > > releases since then, and of course all of the untagged commits in Git master. > > To clarify, build works for me against ffmpeg-2.8.1. Feel totally free to > reopen now if > there's a way to repro with non-9999 ffmpeg ebuild. Got it, only checked the API docs, not an actual install of FFMPEG >=2.8. Installing ffmpeg-2.8.1, will leave bug closed until I can repro with FFMPEG <9999. Thank you for the clarification, sorry for the angry grumble.