Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509300 - media-libs/libquicktime-1.2.4 fails to build with media-video/libav-10
Summary: media-libs/libquicktime-1.2.4 fails to build with media-video/libav-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libav-10
  Show dependency tree
 
Reported: 2014-05-01 20:56 UTC by Nikoli
Modified: 2015-01-18 19:54 UTC (History)
1 user (show)

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


Attachments
build.log (libquicktime-1.2.4_build.log,137.81 KB, text/x-log)
2014-05-01 20:56 UTC, Nikoli
Details
libquicktime-1.2.4-libav10.patch (libquicktime-1.2.4-libav10.patch,20.84 KB, patch)
2014-07-09 21:53 UTC, Simone Scanzoni
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2014-05-01 20:56:24 UTC
Created attachment 376176 [details]
build.log

video.c: In function 'flush':
video.c:1616:7: warning: variable 'result' set but not used [-Wunused-but-set-variable]
video.c: In function 'quicktime_init_video_codec_ffmpeg':
video.c:1906:23: error: 'CODEC_ID_MPEG4' undeclared (first use in this function)
video.c:1912:28: error: 'CODEC_ID_MPEG2VIDEO' undeclared (first use in this function)
video.c:1917:28: error: 'CODEC_ID_DVVIDEO' undeclared (first use in this function)
video.c:1925:23: error: 'CODEC_ID_H264' undeclared (first use in this function)
video.c: In function 'lqt_ffmpeg_encode_video':
video.c:1435:14: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
make[3]: *** [lqt_ffmpeg.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [video.lo] Error 1
audio.c: In function 'decode_chunk':
audio.c:634:35: error: 'CODEC_ID_MP3' undeclared (first use in this function)
audio.c:634:35: note: each undeclared identifier is reported only once for each function it appears in
audio.c: In function 'init_compression_info':
audio.c:874:29: error: 'CODEC_ID_MP2' undeclared (first use in this function)
audio.c:875:29: error: 'CODEC_ID_MP3' undeclared (first use in this function)
audio.c:917:33: error: 'CODEC_ID_AC3' undeclared (first use in this function)
audio.c: In function 'lqt_ffmpeg_decode_audio':
audio.c:994:30: error: 'CODEC_ID_ALAC' undeclared (first use in this function)
audio.c:1003:30: error: 'CODEC_ID_QDM2' undeclared (first use in this function)
audio.c: In function 'lqt_ffmpeg_encode_audio':
audio.c:1269:5: warning: 'avcodec_get_frame_defaults' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3124) [-Wdeprecated-declarations]
audio.c: In function 'quicktime_init_audio_codec_ffmpeg':
audio.c:1503:22: error: 'CODEC_ID_MP3' undeclared (first use in this function)
audio.c:1503:55: error: 'CODEC_ID_MP2' undeclared (first use in this function)
audio.c:1505:26: error: 'CODEC_ID_AC3' undeclared (first use in this function)
params.c: In function 'lqt_ffmpeg_set_parameter':
params.c:197:7: warning: variable 'found' set but not used [-Wunused-but-set-variable]
make[3]: *** [audio.lo] Error 1
Comment 1 Simone Scanzoni 2014-07-09 21:53:18 UTC
Created attachment 380520 [details, diff]
libquicktime-1.2.4-libav10.patch

This fixed the build for me.
I took it from Debian and adapted it to Gentoo.
Comment 2 Nikoli 2014-07-12 14:31:12 UTC
Link to original debian patch:
http://sources.debian.net/src/libquicktime/2:1.2.4-6/debian/patches/libav10.patch

Is something blocking it? If not, please commit.
Comment 3 Vicente Olivert Riera (RETIRED) gentoo-dev 2014-10-27 19:05:24 UTC
Could you please try it with media-video/libav-11 as well?
Comment 4 Andreas Sturmlechner gentoo-dev 2014-11-08 21:28:51 UTC
Yes, also fixes build with libav-11
Comment 5 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2015-01-18 19:54:23 UTC
+  18 Jan 2015; Ian Whyman <thev00d00@gentoo.org> libquicktime-1.2.4-r1.ebuild:
+  Extend ffmpeg sed to a couple more files, fixes #509300