In file included from avdecoder.h:27, from avdecoder.cpp:21: /usr/include/libavformat/avformat.h:2079:41: note: initializing argument 5 of int av_find_best_stream(AVFormatContext*, AVMediaType, int, int, const AVCodec**, int) 2079 | const AVCodec **decoder_ret, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ avdecoder.cpp:73:28: error: AVStream {aka struct AVStream} has no member named codec 73 | pCodecCtx = av_stream->codec; | ^~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_systemd_merged_usr-j5-20230308-130240 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 15.0.7 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.7 Python 3.10.10 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.67.1 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11] Available Java Virtual Machines: [1] openjdk-bin-11 system-vm php cli (if any): HEAD of ::gentoo commit f17c0b823ddb0f9d3472e20619c9dbfd5b194427 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Mar 12 19:16:58 2023 +0000 2023-03-12 19:16:58 UTC emerge -qpvO app-misc/qcma [ebuild R ] app-misc/qcma-0.4.2_pre20181227-r2 USE="ffmpeg"
Created attachment 857415 [details] emerge-info.txt
Created attachment 857417 [details] app-misc:qcma-0.4.2_pre20181227-r2:20230312-212446.log
Created attachment 857419 [details] emerge-history.txt.bz2
Created attachment 857421 [details] environment
Created attachment 857423 [details] etc.clang.tar.bz2
Created attachment 857425 [details] etc.portage.tar.bz2
Created attachment 857427 [details] temp.tar.bz2
Unfortunately, I can't install ffmpeg>=5 to reproduce that and write a patch. I'm asking timeout until ffmpeg will be at least in ~amd64 Or, I'd also be glad if someone will contribute the patch (and test it with ffmpeg>=5. and I'll check for compatibility with ffmpeg<5) NB: https://github.com/opencv/opencv/files/7883693/opencv-4.5.5-ffmpeg-5.0.patch.txt (ideas about how to patch it)
You can't unmask ffmpeg 5 in a chroot to try it? If everybody said that, then we'd never be able to unmask it, as no packages would be ready.
(In reply to Sam James from comment #9) > You can't unmask ffmpeg 5 in a chroot to try it? Unfortunately, I don't, at least, until next month or so. But, I'm doing all my best to do something with that as fast as possible. I'll try to buy VPS for that purpose next week, and I hope to make a patch in next holidays.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61b27f137820ecb9ebe2a75e7fa8ed62fa2b7097 commit 61b27f137820ecb9ebe2a75e7fa8ed62fa2b7097 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-05-29 20:51:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-29 20:51:30 +0000 app-misc/qcma: depend on <ffmpeg-5 Bug: https://bugs.gentoo.org/900947 Signed-off-by: Sam James <sam@gentoo.org> app-misc/qcma/qcma-0.4.1-r2.ebuild | 4 ++-- app-misc/qcma/qcma-0.4.2_pre20181227-r2.ebuild | 4 ++-- app-misc/qcma/qcma-9999.ebuild | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-)
I couldn't find any fix for this. I doubt there will be any as upstream is dead for years and only a few distributions are still providing it (and it's broken for them too when trying to enable ffmpeg support). I would simply unconditionally disable ffmpeg support then
It's also archived upstream now.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7292406f711cb4ea18fce442503688a8da18382 commit d7292406f711cb4ea18fce442503688a8da18382 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2025-01-28 19:46:32 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2025-01-28 19:54:15 +0000 profiles: Mask app-misc/qcma for removal Bug: https://bugs.gentoo.org/900947 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ac57292f0954bf3d807605524dbb6b87ac8a7e5 commit 5ac57292f0954bf3d807605524dbb6b87ac8a7e5 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2025-02-26 16:43:54 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2025-02-26 20:06:40 +0000 app-misc/qcma: treeclean Closes: https://bugs.gentoo.org/900947 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> app-misc/qcma/Manifest | 1 - app-misc/qcma/metadata.xml | 8 --- app-misc/qcma/qcma-0.4.2_pre20181227-r2.ebuild | 68 -------------------------- app-misc/qcma/qcma-9999.ebuild | 66 ------------------------- profiles/package.mask | 6 --- 5 files changed, 149 deletions(-)