ff-save.c: In function ‘add_audio_stream’: ff-save.c:293:17: error: ‘CODEC_FLAG_GLOBAL_HEADER’ undeclared (first use in this function); did you mean ‘AV_CODEC_FLAG_GLOBAL_HEADER’? c->flags |= CODEC_FLAG_GLOBAL_HEADER; ^~~~~~~~~~~~~~~~~~~~~~~~ AV_CODEC_FLAG_GLOBAL_HEADER ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-ffmpeg4_20180425-205701 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) [3] pypy3 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) [2] ruby23 (with Rubygems) * java-config: The following VMs are available for generation-2: emerge -qpv media-libs/gegl [ebuild N ] media-libs/gegl-0.3.34 USE="cairo ffmpeg introspection lcms sdl svg tiff -debug -jpeg2k -lensfun -openexr -raw {-test} -umfpack -v4l -vala -webp" CPU_FLAGS_X86="mmx sse"
Created attachment 528648 [details] emerge-info.txt
Created attachment 528650 [details] emerge-history.txt
Created attachment 528652 [details] environment
Created attachment 528654 [details] etc.portage.tbz2
Created attachment 528656 [details] logs.tbz2
Created attachment 528658 [details] media-libs:gegl-0.3.34:20180427-062117.log
Created attachment 528660 [details] temp.tbz2
ffmpeg 4.0 does not have this macro any more: #define CODEC_FLAG_GLOBAL_HEADER AV_CODEC_FLAG_GLOBAL_HEADER
We could change Gegl's dependencies like this: --- >=media-video/ffmpeg-2.8:0= +++ <media-video/ffmpeg-4.0:0= Would that help? Other ideas?
could it be related to https://bugs.gentoo.org/654448 ? qtwebengine usually doesn't build when ffmpeg doesn't build, when i turn on/off -flto . But this time my qtwebengine bug is without flto.
Looks like they fixed it upstream a few days ago: https://bugzilla.gnome.org/show_bug.cgi?id=795625 https://git.gnome.org/browse/gegl/commit/?id=8f2545886ce3be8f1b1229bddcfa5af3216110d3 https://git.gnome.org/browse/gegl/commit/?id=2896800b5e7d0c656710c70fdea57098032f3ccc
(In reply to Louis Sautier (sbraz) from comment #11) > Looks like they fixed it upstream a few days ago: > https://bugzilla.gnome.org/show_bug.cgi?id=795625 > https://git.gnome.org/browse/gegl/commit/ > ?id=8f2545886ce3be8f1b1229bddcfa5af3216110d3 > https://git.gnome.org/browse/gegl/commit/ > ?id=2896800b5e7d0c656710c70fdea57098032f3ccc Nice, thanks for the notification!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ce460484a2841634b71f5df4335ba3eca4f709a commit 2ce460484a2841634b71f5df4335ba3eca4f709a Author: Sebastian Pipping <sping@gentoo.org> AuthorDate: 2018-05-13 17:28:19 +0000 Commit: Sebastian Pipping <sping@gentoo.org> CommitDate: 2018-05-13 17:30:24 +0000 media-libs/gegl: Support ffmpeg 4.0 Closes: https://bugs.gentoo.org/654172 Package-Manager: Portage-2.3.36, Repoman-2.3.9 .../files/gegl-0.4.0-ffmpeg-4-0-compat-1.patch | 63 ++++++++++++++++++++++ .../files/gegl-0.4.0-ffmpeg-4-0-compat-2.patch | 25 +++++++++ media-libs/gegl/gegl-0.3.34.ebuild | 2 + media-libs/gegl/gegl-0.4.0-r1.ebuild | 2 + 4 files changed, 92 insertions(+)
*** Bug 685486 has been marked as a duplicate of this bug. ***