Compiling ffmpeg.c into ffmpeg.o... ffmpeg.c: In function ‘ffmpeg_set_quality’: ffmpeg.c:541:41: error: ‘CODEC_FLAG_QSCALE’ undeclared (first use in this function); did you mean ‘AV_CODEC_FLAG_QSCALE’? ffmpeg->ctx_codec->flags |= CODEC_FLAG_QSCALE; ^~~~~~~~~~~~~~~~~ AV_CODEC_FLAG_QSCALE ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_ffmpeg4_20180425-210301 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python3.6 (fallback) [3] python2.7 (fallback) [4] pypy3 (fallback) [5] pypy (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * java-config: The following VMs are available for generation-2: emerge -qpv media-video/motion [ebuild N ] media-video/motion-4.1.1 USE="ffmpeg libav (-mmal) -mysql -postgres -sqlite -v4l -webp"
Created attachment 529066 [details] emerge-info.txt
Created attachment 529068 [details] emerge-history.txt
Created attachment 529070 [details] environment
Created attachment 529072 [details] etc.portage.tbz2
Created attachment 529074 [details] logs.tbz2
Created attachment 529076 [details] media-video:motion-4.1.1:20180430-103532.log
Created attachment 529078 [details] temp.tbz2
It looks like this is resolved upstream in commit 9b93a417e37e1f0fef58d1582a7e98e4c05d3b42: https://github.com/Motion-Project/motion/commit/9b93a417e37e1f0fef58d1582a7e98e4c05d3b42 I'll create a patch and update the Gentoo ebuild soon to fix this.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2543749bf52b23f6b1a875cd1ad337ae83c74609 commit 2543749bf52b23f6b1a875cd1ad337ae83c74609 Author: William Breathitt Gray <vilhelm.gray@gmail.com> AuthorDate: 2018-04-30 14:04:00 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2018-05-05 01:39:49 +0000 media-video/motion: Fix build errors with FFmpeg 4.0 Closes: https://bugs.gentoo.org/654416 Closes: https://github.com/gentoo/gentoo/pull/8220 .../4.1.1/Fix-build-errors-with-FFmpeg-4.0.patch | 54 +++++++++++++ media-video/motion/motion-4.1.1-r1.ebuild | 94 ++++++++++++++++++++++ 2 files changed, 148 insertions(+)