Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666162 - media-libs/libextractor-1.6 : thumbnailffmpeg_extractor.c:358:40: error: CODEC_FLAG_QSCALE undeclared (first use in this function)
Summary: media-libs/libextractor-1.6 : thumbnailffmpeg_extractor.c:358:40: error: CODE...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Blocks: ffmpeg-4
  Show dependency tree
Reported: 2018-09-13 17:04 UTC by Toralf Förster
Modified: 2018-09-16 11:42 UTC (History)
0 users

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

emerge-info.txt (emerge-info.txt,17.61 KB, text/plain)
2018-09-13 17:04 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,270.70 KB, text/plain)
2018-09-13 17:04 UTC, Toralf Förster
environment (environment,20.62 KB, text/plain)
2018-09-13 17:04 UTC, Toralf Förster
etc.portage.tbz2 (etc.portage.tbz2,34.56 KB, application/x-bzip)
2018-09-13 17:04 UTC, Toralf Förster
logs.tbz2 (logs.tbz2,16.38 KB, application/x-bzip)
2018-09-13 17:04 UTC, Toralf Förster
media-libs:libextractor-1.6:20180913-062354.log (media-libs:libextractor-1.6:20180913-062354.log,67.38 KB, text/plain)
2018-09-13 17:04 UTC, Toralf Förster
temp.tbz2 (temp.tbz2,14.49 KB, application/x-bzip)
2018-09-13 17:05 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-09-13 17:04:41 UTC
 int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
thumbnailffmpeg_extractor.c:358:40: error: ‘CODEC_FLAG_QSCALE’ undeclared (first use in this function); did you mean ‘AV_CODEC_FLAG_QSCALE’?
    encoder_codec_ctx->flags          = CODEC_FLAG_QSCALE;


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-ffmpeg4_20180904-181027


gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
  [6]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv media-libs/libextractor
[ebuild  N    ] media-libs/libextractor-1.6  USE="archive bzip2 ffmpeg flac gif gtk jpeg magic mp4 mpeg tiff vorbis zlib -apparmor -gsf -gstreamer -midi -tidy" 

!!! The following installed packages are masked:
- dev-db/postgresql-11_beta3::gentoo (masked by: package.mask)
# Aaron W. Swenson <> (09 Sep 2018)
# PostgreSQL beta and release candidate releases are pre-release testing
# versions, not meant for production use. They are feature-frozen, and are
# released to the public for testing before final release
# NOTE: Successive beta or candidate releases may not be backwards compatible,
# so it is important that you review the release notes before upgrading.
# For more information about beta and release candidate versions, see:

- app-admin/vault-0.11.0::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-09-13 17:04:44 UTC
Created attachment 546820 [details]
Comment 2 Toralf Förster gentoo-dev 2018-09-13 17:04:48 UTC
Created attachment 546822 [details]
Comment 3 Toralf Förster gentoo-dev 2018-09-13 17:04:51 UTC
Created attachment 546824 [details]
Comment 4 Toralf Förster gentoo-dev 2018-09-13 17:04:54 UTC
Created attachment 546826 [details]
Comment 5 Toralf Förster gentoo-dev 2018-09-13 17:04:56 UTC
Created attachment 546828 [details]
Comment 6 Toralf Förster gentoo-dev 2018-09-13 17:04:59 UTC
Created attachment 546830 [details]
Comment 7 Toralf Förster gentoo-dev 2018-09-13 17:05:02 UTC
Created attachment 546832 [details]
Comment 8 Larry the Git Cow gentoo-dev 2018-09-16 11:42:38 UTC
The bug has been closed via the following commit(s):

commit f4bdd7b8461e2224d8e121341137cf3ba8bc65e7
Author:     Andreas Sturmlechner <>
AuthorDate: 2018-09-16 11:41:48 +0000
Commit:     Andreas Sturmlechner <>
CommitDate: 2018-09-16 11:42:14 +0000

    media-libs/libextractor: Fix build with ffmpeg-4
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 .../files/libextractor-1.6-ffmpeg-4.patch            | 20 ++++++++++++++++++++
 media-libs/libextractor/libextractor-1.6.ebuild      |  5 ++++-
 2 files changed, 24 insertions(+), 1 deletion(-)