Both ebuild from tree fails to build with libav-10: k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:171:9: error: '::av_close_input_file' has not been declared k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:216:10: error: 'CODEC_ID_WMAV1' was not declared in this scope k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:218:10: error: 'CODEC_ID_WMAV2' was not declared in this scope k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:223:10: error: 'CODEC_ID_MP3' was not declared in this scope k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:226:10: error: 'CODEC_ID_AAC' was not declared in this scope k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:331:19: error: '::avcodec_decode_audio3' has not been declared k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:422:29: error: 'CODEC_ID_WMAV1' was not declared in this scope k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:423:29: error: 'CODEC_ID_WMAV2' was not declared in this scope k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:424:29: error: 'CODEC_ID_AAC' was not declared in this scope k3b-2.0.2_p20140225/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:341:19: error: '::avcodec_decode_audio' has not been declared k3b-2.0.2_p20140225/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:426:29: error: 'CODEC_ID_WMAV1' was not declared in this scope k3b-2.0.2_p20140225/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:427:29: error: 'CODEC_ID_WMAV2' was not declared in this scope k3b-2.0.2_p20140225/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:428:29: error: 'CODEC_ID_AAC' was not declared in this scope
*** Bug 524814 has been marked as a duplicate of this bug. ***
app-cdr/k3b-2.0.2_p20140225 is unaffected (from the ffmpeg bug, at least). Oh, how I wish that the development team would cut a new release....
Unfortunately k3b upstream is pretty dead. We do try to add a a new snapshot from time to time (usually when bugs like this get fixed).
k3b-2.0.3 is in tree. Please test and report back if it fails.
(In reply to Manuel Rüger from comment #4) > k3b-2.0.3 is in tree. Please test and report back if it fails. k3b-2.0.3 works fine, thanks.
app-cdr/k3b-2.0.3-r1 still fails with libav-10.5: k3b-2.0.3/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:341:19: error: '::avcodec_decode_audio' has not been declared k3b-2.0.3/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:426:29: error: 'CODEC_ID_WMAV1' was not declared in this scope k3b-2.0.3/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:427:29: error: 'CODEC_ID_WMAV2' was not declared in this scope k3b-2.0.3/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:428:29: error: 'CODEC_ID_AAC' was not declared in this scope
(In reply to Paolo Pedroni from comment #5) > (In reply to Manuel Rüger from comment #4) > > k3b-2.0.3 is in tree. Please test and report back if it fails. > > k3b-2.0.3 works fine, thanks. Replying to myself, k3b-2.0.3-r1 works fine with ffmpeg-2.4.3
*** Bug 539870 has been marked as a duplicate of this bug. ***
2.0.3-r1 is ok with ffmpeg, adjusting summary
i've fixed the CODEC_ID_xxx errors. the code already had workarounds, but forgot to use them in part of the file. http://sources.gentoo.org/app-cdr/k3b/k3b-2.0.3-r1.ebuild?r1=1.3&r2=1.4 http://sources.gentoo.org/app-cdr/k3b/files/k3b-2.0.3-libav-10.patch?rev=1.1 the avcodec_decode_audio error remains. this is because it needs porting to avcodec_decode_audio4 already (see the myriad of bugs upstream about it).
for anyone who wants to fix things, see this page: https://wiki.libav.org/Migration/10 the "audio decoding API" section provides an overview of migrating from x3 to x4
I made a patch to make k3b compile with newer libav. https://git.reviewboard.kde.org/r/122569/ I have not tested the functionality (do not know how exactly), but I migrated the code according to the API example.
(In reply to Oldrich Jedlicka from comment #12) > I made a patch to make k3b compile with newer libav. > > https://git.reviewboard.kde.org/r/122569/ > > I have not tested the functionality (do not know how exactly), but I > migrated the code according to the API example. Good job! k3b with USE=ffmpeg built fine now in my case. Can you please made same modifications for next bugs: https://bugs.gentoo.org/show_bug.cgi?id=511778 https://bugs.gentoo.org/show_bug.cgi?id=539894 Thanks.
Added the Oldrich patch https://github.com/Sabayon/for-gentoo/commit/f905fd5c6a8d1a266396100eb6f3cedf03d421de on sabayon overlay, working also for libav 11.3
Thanks all. This is fixed in cvs now. + + 30 May 2015; Johannes Huber <johu@gentoo.org> +files/k3b-2.0.3-libav-11.patch, + +k3b-2.0.3-r2.ebuild: + Revision bump adds patch to fix build with libav-11, bug #509332. Thanks to + Oldrich Jedlicka <oldium.pro@seznam.cz>. + Arches please stabilize =app-cdr/k3b-2.0.3-r2 as soon as possible as libav11 is already stable. Target: amd64 x86
amd64 stable
x86 stable. Closing.