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

Bug 948076

Summary: media-libs/xine-lib-1.2.13-r2 - [ffmpeg] ff_audio_decoder.c: error: AVCodecContext has no member named channels
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: CONFIRMED ---    
Severity: normal    
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-libs:xine-lib-1.2.13-r2:20250114-012208.log.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2025-01-14 07:37:48 UTC
      |             ^~~~~~~~~~~~~
In file included from ff_audio_decoder.c:43:
/usr/include/libavcodec/avcodec.h:2417:5: note: declared here
 2417 | int avcodec_close(AVCodecContext *avctx);
      |     ^~~~~~~~~~~~~
ff_audio_decoder.c: In function ff_audio_init_codec:
ff_audio_decoder.c:306:16: error: AVCodecContext has no member named channels
  306 |   this->context->channels    = this->ff_channels;
      |                ^~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd-20250112-003502

  UNMASKED:
    Requested by sam
  >=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.6
llvm-config: 19.1.6
Python 3.12.8
go version go1.23.4 linux/amd64
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.77.1
  [2]   rust-bin-1.84.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 7e1e5862259b8022c3f8dd15fffff0e50307cdbf
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jan 13 23:23:18 2025 +0000

    2025-01-13 23:23:18 UTC

emerge -qpvO =media-libs/xine-lib-1.2.13-r2
[ebuild  N    ] media-libs/xine-lib-1.2.13-r2  USE="X aac alsa css jack mmap mng modplug nls opengl samba speex xv -a52 -aalib -bluray -dav1d -dts -dvb -dxr3 -fbcon -flac -gtk -imagemagick -jpeg -libcaca -mad -musepack -nfs -oss -pulseaudio -sdl -sftp -theora -truetype -v4l -vaapi -vcd -vdpau -vdr (-vidix) (-vis) -vorbis -vpx -wavpack -wayland -xinerama -xvmc"
Comment 1 Toralf Förster gentoo-dev 2025-01-14 07:37:49 UTC
Created attachment 916478 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-14 07:37:50 UTC
Created attachment 916479 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-01-14 07:37:52 UTC
Created attachment 916480 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-01-14 07:37:53 UTC
Created attachment 916481 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-01-14 07:37:54 UTC
Created attachment 916482 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-14 07:37:55 UTC
Created attachment 916483 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-01-14 07:37:56 UTC
Created attachment 916484 [details]
media-libs:xine-lib-1.2.13-r2:20250114-012208.log.xz
Comment 8 Toralf Förster gentoo-dev 2025-01-14 07:37:57 UTC
Created attachment 916485 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-01-14 07:37:58 UTC
Created attachment 916486 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-03-12 10:14:37 UTC
The bug has been referenced in the following commit(s):

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

commit ac47ea76067a7cae784582b07944899581df434d
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2025-03-12 02:35:33 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2025-03-12 10:11:42 +0000

    media-libs/xine-lib: 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/948076
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 media-libs/xine-lib/xine-lib-1.2.13-r3.ebuild | 244 ++++++++++++++++++++++++++
 1 file changed, 244 insertions(+)