Summary: | media-libs/qtav-1.12.0 : /.../SubtitleProcessorFFmpeg.cpp:252:67: error: FF_INPUT_BUFFER_PADDING_SIZE was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Johannes Huber (RETIRED) <johu> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fcoiffie, jbowler, krinpaus, rose, zeekec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 653678 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 media-libs:qtav-1.12.0:20181109-154016.log temp.tbz2 qtav-1.12.0-ffmpeg-4.patch |
Description
Toralf Förster
2018-11-09 15:49:49 UTC
Created attachment 554643 [details]
emerge-info.txt
Created attachment 554645 [details]
emerge-history.txt
Created attachment 554647 [details]
environment
Created attachment 554649 [details]
etc.portage.tbz2
Created attachment 554651 [details]
logs.tbz2
Created attachment 554653 [details]
media-libs:qtav-1.12.0:20181109-154016.log
Created attachment 554655 [details]
temp.tbz2
https://github.com/FFmpeg/FFmpeg/commit/29d147c But it seems to have happened a very long time ago, perhaps the obsolete macro has only just been removed. A number of deprecated things were removed and even if stuff is done to deal with these qtav builds still report use of deprecated functions. This doesn't cause the build to fail buy I had to add -fpermissive to allow assignment of a (now?) const function pointer result to a non-const. In then end changing CPPFLAGS as follows is sufficient: QTAV_FIX="-DFF_INPUT_BUFFER_PADDING_SIZE=AV_INPUT_BUFFER_PADDING_SIZE -DFF_MIN_BUFFER_SIZE=AV_INPUT_BUFFER_MIN_SIZE -DCODEC_FLAG_GLOBAL_HEADER=AV_CODEC_FLAG_GLOBAL_HEADER -fpermissive" CXXFLAGS="${CXXFLAGS} ${QTAV_FIX}" That is from an 'env' file referened for qtav by package.env The actual patch required will be somewhat more extensive but that at least gets it to recompile. This issue has a thread on the Gentoo Forums at https://forums.gentoo.org/viewtopic-p-8285620.html Could someone point out on that thread that Comment 9 *is* a fix; a patch isn't really required. (I can't post to forums because my "e-mail address is already registered to a user", (duh!) Created attachment 556458 [details, diff]
qtav-1.12.0-ffmpeg-4.patch
Upstream patch for solve problem with ffmpeg-4
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c55e93a8acc7eb98dbbc618b2f81f112d260cdf1 commit c55e93a8acc7eb98dbbc618b2f81f112d260cdf1 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-11-29 21:14:31 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-11-29 21:19:53 +0000 media-libs/qtav: Fix build with ffmpeg-4 Thanks-to: Marco Genasci <fedeliallalinea@gmail.com> Closes: https://bugs.gentoo.org/670765 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ...-ffmpeg-4.patch => qtav-1.12.0-ffmpeg4-1.patch} | 0 media-libs/qtav/files/qtav-1.12.0-ffmpeg4-2.patch | 119 +++++++++++++++++++++ media-libs/qtav/qtav-1.12.0.ebuild | 6 +- 3 files changed, 122 insertions(+), 3 deletions(-) |