Created attachment 426972 [details] build.log.gz In file included from /var/tmp/portage/dev-qt/qtwebengine-5.6.0_rc/work/qtwebengine-opensource-src-5.6.0-rc/src/3rdparty/chromium/media/base/audio_video_metadata_extractor.cc:11: /var/tmp/portage/dev-qt/qtwebengine-5.6.0_rc/work/qtwebengine-opensource-src-5.6.0-rc/src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.h:126:5: error: unknown type name 'PixelFormat'; did you mean ' AVPixelFormat'? PixelFormat pixel_format); ^~~~~~~~~~~ AVPixelFormat /usr/include/libavutil/pixfmt.h:61:6: note: 'AVPixelFormat' declared here enum AVPixelFormat { ^ In file included from /var/tmp/portage/dev-qt/qtwebengine-5.6.0_rc/work/qtwebengine-opensource-src-5.6.0-rc/src/3rdparty/chromium/media/base/audio_video_metadata_extractor.cc:11: /var/tmp/portage/dev-qt/qtwebengine-5.6.0_rc/work/qtwebengine-opensource-src-5.6.0-rc/src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.h:129:1: error: unknown type name 'PixelFormat'; did you mean ' AVPixelFormat'? PixelFormat VideoFormatToPixelFormat(VideoFrame::Format video_format); ^~~~~~~~~~~ AVPixelFormat /usr/include/libavutil/pixfmt.h:61:6: note: 'AVPixelFormat' declared here enum AVPixelFormat { ^
I'm assuming 5.6.0 final has the same issue?
I don't know about 5.6.0 unfortunately, but I just tried 5.6.9999 today, which to my understanding is ahead of 5.6.0, and indeed, building with ffmpeg-3.0.1 was very much not successful.
After today's patch I get this error: In file included from /var/tmp/portage/dev-qt/qtwebengine-5.6.0/work/qtwebengine-opensource-src-5.6.0/src/3rdparty/chromium/media/base/audio_video_metadata_extractor.cc:11:0: /var/tmp/portage/dev-qt/qtwebengine-5.6.0/work/qtwebengine-opensource-src-5.6.0/src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.h: At global scope: /var/tmp/portage/dev-qt/qtwebengine-5.6.0/work/qtwebengine-opensource-src-5.6.0/src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.h:126:5: error: ‘PixelFormat’ was not declared in this scope PixelFormat pixel_format); ^ /var/tmp/portage/dev-qt/qtwebengine-5.6.0/work/qtwebengine-opensource-src-5.6.0/src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.h:129:1: error: ‘PixelFormat’ does not name a type PixelFormat VideoFormatToPixelFormat(VideoFrame::Format video_format); ^ [4999/10705] CXX obj/src/3rdparty/chromium/media/base/media.cdm_callback_promise.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition [4999/10705] CXX obj/src/3rdparty/chromium/media/base/media.cdm_initialized_promise.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition [4999/10705] CXX obj/src/3rdparty/chromium/media/base/media.cdm_factory.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition [4999/10705] CXX obj/src/3rdparty/chromium/media/base/media.cdm_promise.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition [4999/10705] CXX obj/src/3rdparty/chromium/media/base/media.channel_mixing_matrix.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition [4999/10705] CXX obj/src/3rdparty/chromium/media/base/media.cdm_promise_adapter.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition [4999/10705] CXX obj/src/3rdparty/chromium/media/capture/media.thread_safe_capture_oracle.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition [4999/10705] CXX obj/src/3rdparty/chromium/media/base/media.container_names.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition [4999/10705] CXX obj/src/3rdparty/chromium/media/capture/media.screen_capture_device_core.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition ninja: build stopped: subcommand failed. Makefile.gyp_run:443: set di istruzioni per l'obiettivo "invoke_ninja" non riuscito make[3]: *** [invoke_ninja] Errore 1 make[3]: uscita dalla directory "/var/tmp/portage/dev-qt/qtwebengine-5.6.0/work/qtwebengine-opensource-src-5.6.0/src/core" Makefile:116: set di istruzioni per l'obiettivo "sub-gyp_run-pro-make_first" non riuscito make[2]: *** [sub-gyp_run-pro-make_first] Errore 2 make[2]: uscita dalla directory "/var/tmp/portage/dev-qt/qtwebengine-5.6.0/work/qtwebengine-opensource-src-5.6.0/src/core" Makefile:48: set di istruzioni per l'obiettivo "sub-core-make_first" non riuscito make[1]: *** [sub-core-make_first] Errore 2 make[1]: uscita dalla directory "/var/tmp/portage/dev-qt/qtwebengine-5.6.0/work/qtwebengine-opensource-src-5.6.0/src" Makefile:44: set di istruzioni per l'obiettivo "sub-src-make_first" non riuscito make: *** [sub-src-make_first] Errore 2 Thanks
Is this a new bug or releated?
5.6.0 and 5.6.9999 now explicitly depend on =ffmpeg-2*, until upstream provides a fix (not sure if it'll ever happen for 5.6.x). Let me know if the restriction needs to be applied to 5.7 and 5.9999 https://gitweb.gentoo.org/proj/qt.git/commit/?id=0e4fb2888ef5040c2df29b765215d3affd1bbdd2