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...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
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: ---


Attachments
emerge-info.txt (emerge-info.txt,17.61 KB, text/plain)
2018-09-13 17:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,270.70 KB, text/plain)
2018-09-13 17:04 UTC, Toralf Förster
Details
environment (environment,20.62 KB, text/plain)
2018-09-13 17:04 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,34.56 KB, application/x-bzip)
2018-09-13 17:04 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,16.38 KB, application/x-bzip)
2018-09-13 17:04 UTC, Toralf Förster
Details
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
Details
temp.tbz2 (temp.tbz2,14.49 KB, application/x-bzip)
2018-09-13 17:05 UTC, Toralf Förster
Details

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;
                                        ^~~~~~~~~~~~~~~~~
                                        AV_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) *
java-config:
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)
/usr/portage/profiles/package.mask:
# Aaron W. Swenson <titanofold@gentoo.org> (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:
#     https://www.postgresql.org/developer/beta/

- 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]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-09-13 17:04:48 UTC
Created attachment 546822 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-09-13 17:04:51 UTC
Created attachment 546824 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-09-13 17:04:54 UTC
Created attachment 546826 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-09-13 17:04:56 UTC
Created attachment 546828 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-09-13 17:04:59 UTC
Created attachment 546830 [details]
media-libs:libextractor-1.6:20180913-062354.log
Comment 7 Toralf Förster gentoo-dev 2018-09-13 17:05:02 UTC
Created attachment 546832 [details]
temp.tbz2
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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4bdd7b8461e2224d8e121341137cf3ba8bc65e7

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

    media-libs/libextractor: Fix build with ffmpeg-4
    
    Closes: https://bugs.gentoo.org/666162
    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(-)