Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 948390

Summary: media-video/simplescreenrecorder-0.4.4-r3 - [ffmpeg] AudioEncoder.cpp: error: AVCodecContext {aka struct AVCodecContext} has no member named channels
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/MaartenBaert/ssr/pull/1031
https://github.com/MaartenBaert/ssr/pull/1039
https://bugs.gentoo.org/show_bug.cgi?id=955653
https://github.com/gentoo/gentoo/pull/41266
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 928905    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
media-video:simplescreenrecorder-0.4.4-r3:20250118-234440.log
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2025-01-19 10:14:07 UTC
too long lines were shrinked:

[32/80] /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DSSR_SYSTEM_DIR=\"/usr/share/simplescreenrecorder\" -DSSR_USE_ALSA=1 -DSSR_USE_FFMPEG_VERSIONS=1 -DSSR_USE_JACK=0 -DSSR_USE_JACK_METADATA=0 -DSSR_USE_OPENGL_RECORDING=0 -DSSR_USE_PU
[33/80] /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DSSR_SYSTEM_DIR=\"/usr/share/simplescreenrecorder\" -DSSR_USE_ALSA=1 -DSSR_USE_FFMPEG_VERSIONS=1 -DSSR_USE_JACK=0 -DSSR_USE_JACK_METADATA=0 -DSSR_USE_OPENGL_RECORDING=0 -DSSR_USE_PU
[34/80] /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DSSR_SYSTEM_DIR=\"/usr/share/simplescreenrecorder\" -DSSR_USE_ALSA=1 -DSSR_USE_FFMPEG_VERSIONS=1 -DSSR_USE_JACK=0 -DSSR_USE_JACK_METADATA=0 -DSSR_USE_OPENGL_RECORDING=0 -DSSR_USE_PU
FAILED: src/CMakeFiles/simplescreenrecorder.dir/AV/Output/AudioEncoder.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DSSR_SYSTEM_DIR=\"/usr/share/simplescreenrecorder\" -DSSR_USE_ALSA=1 -DSSR_USE_FFMPEG_VERSIONS=1 -DSSR_USE_JACK=0 -DSSR_USE_JACK_METADATA=0 -DSSR_USE_OPENGL_RECORDING=0 -DSSR_USE_PULSEAUDIO
/var/tmp/portage/media-video/simplescreenrecorder-0.4.4-r3/work/ssr-0.4.4/src/AV/Output/AudioEncoder.cpp: In member function unsigned int AudioEncoder::GetChannels():
/var/tmp/portage/media-video/simplescreenrecorder-0.4.4-r3/work/ssr-0.4.4/src/AV/Output/AudioEncoder.cpp:72:35: error: AVCodecContext {aka struct AVCodecContext} has no member named channels
   72 |         return GetCodecContext()->channels;
      |                                   ^~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd_test-20250114-213502

  UNMASKED:

    n/a
  >=media-video/ffmpeg-7.0

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.7
llvm-config: 19.1.7
Python 3.12.8
go version go1.23.5 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.84.0
  [3]   rust-1.84.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit fffdbb8fde460820030766b243a7688a3e6ebe31
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jan 18 23:03:24 2025 +0000

    2025-01-18 23:03:23 UTC

emerge -qpvO =media-video/simplescreenrecorder-0.4.4-r3
[ebuild  N    ] media-video/simplescreenrecorder-0.4.4-r3  USE="asm -jack -mp3 -opengl -pulseaudio -theora -v4l -vorbis -vpx -x264"
Comment 1 Toralf Förster gentoo-dev 2025-01-19 10:14:08 UTC
Created attachment 917080 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-19 10:14:09 UTC
Created attachment 917081 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-01-19 10:14:10 UTC
Created attachment 917082 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-01-19 10:14:11 UTC
Created attachment 917083 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-01-19 10:14:12 UTC
Created attachment 917084 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-19 10:14:13 UTC
Created attachment 917085 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-01-19 10:14:14 UTC
Created attachment 917086 [details]
media-video:simplescreenrecorder-0.4.4-r3:20250118-234440.log
Comment 8 Toralf Förster gentoo-dev 2025-01-19 10:14:15 UTC
Created attachment 917087 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-01-19 10:14:16 UTC
Created attachment 917088 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-03-12 10:14:42 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f42d5beb93b8874624ba0b0d3a6dfcf16e4306

commit 10f42d5beb93b8874624ba0b0d3a6dfcf16e4306
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2025-03-12 04:13:27 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2025-03-12 10:11:43 +0000

    media-video/simplescreenrecorder: use ffmpeg-compat
    
    Apparently there are upstream fixes (not in a release), but not
    planning to do a snapshot or backport + test this myself.
    
    Given no code changes, plans are to sync keywords back with stable
    when ready.
    
    Bug: https://bugs.gentoo.org/948390
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../simplescreenrecorder-0.4.4-r5.ebuild           | 107 +++++++++++++++++++++
 1 file changed, 107 insertions(+)
Comment 11 Larry the Git Cow gentoo-dev 2025-05-22 20:11:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c02d2842a44c9bb534dd407de73aa808f4e64871

commit c02d2842a44c9bb534dd407de73aa808f4e64871
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-05-22 18:14:16 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-05-22 20:09:48 +0000

    media-video/simplescreenrecorder: drop 0.4.4-r5
    
    Closes: https://bugs.gentoo.org/948390
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-video/simplescreenrecorder/Manifest          |   1 -
 .../files/simplescreenrecorder-0.4.4-ffmpeg5.patch |  54 -----------
 media-video/simplescreenrecorder/metadata.xml      |   3 -
 .../simplescreenrecorder-0.4.4-r5.ebuild           | 107 ---------------------
 profiles/package.mask                              |   6 ++
 5 files changed, 6 insertions(+), 165 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fcc77235fdaf6e67448aba0ae0f7be445604576

commit 6fcc77235fdaf6e67448aba0ae0f7be445604576
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-05-22 18:08:50 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-05-22 20:09:06 +0000

    media-video/simplescreenrecorder: Fix build w/ cmake-4
    
    See also:
    https://github.com/MaartenBaert/ssr/issues/1060
    
    Bug: https://bugs.gentoo.org/948390
    Closes: https://bugs.gentoo.org/955653
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-video/simplescreenrecorder/Manifest          |   1 +
 ...mplescreenrecorder-0.4.4_p20250125-cmake4.patch |  11 +++
 .../simplescreenrecorder-0.4.4_p20250125.ebuild    | 100 +++++++++++++++++++++
 .../simplescreenrecorder-9999.ebuild               |   8 +-
 4 files changed, 116 insertions(+), 4 deletions(-)