Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900947 - app-misc/qcma-0.4.2_pre20181227-r2 - avdecoder.cpp: error: AVStream {aka struct AVStream} has no member named codec
Summary: app-misc/qcma-0.4.2_pre20181227-r2 - avdecoder.cpp: error: AVStream {aka stru...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vadim A. Misbakh-Soloviov (mva)
URL:
Whiteboard: Workaround dep applied; could disable...
Keywords:
Depends on:
Blocks: ffmpeg-5.0
  Show dependency tree
 
Reported: 2023-03-12 21:37 UTC by Toralf Förster
Modified: 2023-05-29 20:51 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.64 KB, text/plain)
2023-03-12 21:37 UTC, Toralf Förster
Details
app-misc:qcma-0.4.2_pre20181227-r2:20230312-212446.log (app-misc:qcma-0.4.2_pre20181227-r2:20230312-212446.log,40.98 KB, text/plain)
2023-03-12 21:37 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,63.13 KB, application/x-bzip)
2023-03-12 21:37 UTC, Toralf Förster
Details
environment (environment,66.38 KB, text/plain)
2023-03-12 21:38 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,700 bytes, application/x-bzip)
2023-03-12 21:38 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,47.73 KB, application/x-bzip)
2023-03-12 21:38 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.11 KB, application/x-bzip)
2023-03-12 21:38 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 2023-03-12 21:37:55 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2023-03-12 21:37:56 UTC
Created attachment 857415 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-03-12 21:37:58 UTC
Created attachment 857417 [details]
app-misc:qcma-0.4.2_pre20181227-r2:20230312-212446.log
Comment 3 Toralf Förster gentoo-dev 2023-03-12 21:37:59 UTC
Created attachment 857419 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2023-03-12 21:38:00 UTC
Created attachment 857421 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-03-12 21:38:01 UTC
Created attachment 857423 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-03-12 21:38:02 UTC
Created attachment 857425 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-03-12 21:38:03 UTC
Created attachment 857427 [details]
temp.tar.bz2
Comment 8 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2023-04-13 23:12:56 UTC
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)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-13 23:14:16 UTC
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.
Comment 10 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2023-04-16 01:59:27 UTC
(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.
Comment 11 Larry the Git Cow gentoo-dev 2023-05-29 20:51:47 UTC
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(-)