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

Bug 948852

Summary: media-video/subtitlecomposer-0.8.1 - [ffmpeg] streamprocessor.cpp: error: AVCodecContext {aka struct AVCodecContext} has no member named channel_layout
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: CONFIRMED ---    
Severity: normal CC: kde
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
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:subtitlecomposer-0.8.1:20250126-085937.log.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2025-01-26 10:32:09 UTC
too long lines were shrinked:

[114/156] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/media-video/subtitlecomposer-0.8.1/work/subtitlecom
[115/156] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/media-video/subtitlecomposer-0.8.1/work/subtitlecom
[116/156] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/media-video/subtitlecomposer-0.8.1/work/subtitlecom
FAILED: src/CMakeFiles/subtitlecomposer-lib.dir/streamprocessor/streamprocessor.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/media-video/subtitlecomposer-0.8.1/work/subtitlecomposer-0.8.
/var/tmp/portage/media-video/subtitlecomposer-0.8.1/work/subtitlecomposer-0.8.1/src/streamprocessor/streamprocessor.cpp: In member function bool SubtitleComposer::StreamProcessor::initAudio(int, const WaveFormat&):
/var/tmp/portage/media-video/subtitlecomposer-0.8.1/work/subtitlecomposer-0.8.1/src/streamprocessor/streamprocessor.cpp:277:25: error: AVCodecContext {aka struct AVCodecContext} has no member named channel_layout; did you mean ch_layout?
  277 |         if(!m_codecCtx->channel_layout)
      |                         ^~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome_systemd-20250122-054506

  UNMASKED:

    Requested by sam
  #~media-video/ffmpeg-7.0.2
  =media-video/ffmpeg-7*

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] 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 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	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-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit f655f31355b4baba291e2e52887ab63c94782c8f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jan 26 08:18:45 2025 +0000

    2025-01-26 08:18:45 UTC

emerge -qpvO =media-video/subtitlecomposer-0.8.1
[ebuild  N    ] media-video/subtitlecomposer-0.8.1  USE="unicode -debug -test"
Comment 1 Toralf Förster gentoo-dev 2025-01-26 10:32:10 UTC
Created attachment 917516 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-26 10:32:12 UTC
Created attachment 917517 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-01-26 10:32:13 UTC
Created attachment 917518 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-01-26 10:32:14 UTC
Created attachment 917519 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-01-26 10:32:15 UTC
Created attachment 917520 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-26 10:32:16 UTC
Created attachment 917521 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-01-26 10:32:17 UTC
Created attachment 917522 [details]
media-video:subtitlecomposer-0.8.1:20250126-085937.log.xz
Comment 8 Toralf Förster gentoo-dev 2025-01-26 10:32:18 UTC
Created attachment 917523 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-01-26 10:32:19 UTC
Created attachment 917524 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-03-12 10:14:40 UTC
The bug has been referenced in the following commit(s):

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

commit f7c56f93021e3b1c4c357377779742787144a4cd
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2025-03-12 06:03:26 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2025-03-12 10:11:43 +0000

    media-video/subtitlecomposer: use ffmpeg-compat
    
    It is possible fixes already exist for ffmpeg-7 on this package,
    but not planning to look into that myself.
    
    Given no code changes, plans are to sync keywords back with stable
    when ready.
    
    Bug: https://bugs.gentoo.org/948852
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../subtitlecomposer-0.8.1-r1.ebuild               | 65 ++++++++++++++++++++++
 1 file changed, 65 insertions(+)