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

Bug 948392

Summary: games-arcade/oshu-2.0.2 - [texlive] [ffmpeg] stream.cc: error: AVFrame {aka struct AVFrame} has no member named channels
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Haelwenn (lanodan) Monnier <contact>
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
games-arcade:oshu-2.0.2:20250118-220000.log
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

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

 * Build directory  (BUILD_DIR):     "/var/tmp/portage/games-arcade/oshu-2.0.2/work/oshu-2.0.2_build"
ninja -v -j4 -l0
[1/41] /usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/games-arcade/oshu-2.0.2/work/oshu-2.0.2_build -I/var/tmp/portage/games-arcade/oshu-2.0.2/work/oshu-2.0.2/include  -O2 -pipe -march=native -fno-diagnostics-color -std=gnu++14 -fno-diagnostics-color -I/usr/include/SDL2 -I/usr/include -D_REENT
FAILED: lib/CMakeFiles/liboshu.dir/audio/stream.cc.o 
/usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/games-arcade/oshu-2.0.2/work/oshu-2.0.2_build -I/var/tmp/portage/games-arcade/oshu-2.0.2/work/oshu-2.0.2/include  -O2 -pipe -march=native -fno-diagnostics-color -std=gnu++14 -fno-diagnostics-color -I/usr/include/SDL2 -I/usr/include -D_REENTRANT -I
/var/tmp/portage/games-arcade/oshu-2.0.2/work/oshu-2.0.2/lib/audio/stream.cc: In function int convert_frame(SwrContext*, AVFrame*, int, float*, int):
/var/tmp/portage/games-arcade/oshu-2.0.2/work/oshu-2.0.2/lib/audio/stream.cc:118:36: error: AVFrame {aka struct AVFrame} has no member named channels
  118 |         const uint8_t *data[frame->channels];
      |                                    ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome-20250115-060502

  UNMASKED:

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

    n/a
  >=app-text/dvisvgm-2024
  >=app-text/ps2pkm-1.8_p20240311
  >=app-text/texlive-2024
  >=app-text/texlive-core-2024
  >=dev-libs/kpathsea-6.4.0
  >=dev-libs/ptexenc-1.4.6
  dev-python/latexrestricted
  >=dev-tex/biber-2.20
  >=dev-tex/biblatex-3.20
  >=dev-tex/bibtexu-3.72_p20240311
  >=dev-tex/glossaries-4.55
  dev-tex/latex2pydata
  >=dev-tex/latexmk-4.85
  >=dev-tex/minted-3.4.0
  >=dev-tex/tex4ht-20240311
  >=dev-texlive/texlive-basic-2024
  >=dev-texlive/texlive-bibtexextra-2024
  >=dev-texlive/texlive-binextra-2024
  >=dev-texlive/texlive-context-2024
  >=dev-texlive/texlive-fontsextra-2024
  >=dev-texlive/texlive-fontsrecommended-2024
  >=dev-texlive/texlive-fontutils-2024
  >=dev-texlive/texlive-formatsextra-2024
  >=dev-texlive/texlive-games-2024
  >=dev-texlive/texlive-humanities-2024
  >=dev-texlive/texlive-langarabic-2024
  >=dev-texlive/texlive-langchinese-2024
  >=dev-texlive/texlive-langcjk-2024
  >=dev-texlive/texlive-langcyrillic-2024
  >=dev-texlive/texlive-langczechslovak-2024
  >=dev-texlive/texlive-langenglish-2024
  >=dev-texlive/texlive-langeuropean-2024
  >=dev-texlive/texlive-langfrench-2024
  >=dev-texlive/texlive-langgerman-2024
  >=dev-texlive/texlive-langgreek-2024
  >=dev-texlive/texlive-langitalian-2024
  >=dev-texlive/texlive-langjapanese-2024
  >=dev-texlive/texlive-langkorean-2024
  >=dev-texlive/texlive-langother-2024
  >=dev-texlive/texlive-langpolish-2024
  >=dev-texlive/texlive-langportuguese-2024
  >=dev-texlive/texlive-langspanish-2024
  >=dev-texlive/texlive-latex-2024
  >=dev-texlive/texlive-latexextra-2024
  >=dev-texlive/texlive-latexrecommended-2024
  >=dev-texlive/texlive-luatex-2024
  >=dev-texlive/texlive-mathscience-2024
  >=dev-texlive/texlive-metapost-2024
  >=dev-texlive/texlive-music-2024
  >=dev-texlive/texlive-pictures-2024
  >=dev-texlive/texlive-plaingeneric-2024
  >=dev-texlive/texlive-pstricks-2024
  >=dev-texlive/texlive-publishers-2024
  >=dev-texlive/texlive-xetex-2024

  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.77.1
  [2]   rust-bin-1.81.0
  [3]   rust-bin-1.84.0
  [4]   rust-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 334e60a50927c1dc907fd2e1ff4d48ced6d205ba
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jan 18 21:03:33 2025 +0000

    2025-01-18 21:03:32 UTC

emerge -qpvO =games-arcade/oshu-2.0.2
[ebuild  N    ] games-arcade/oshu-2.0.2  USE="-osu-skin"
Comment 1 Toralf Förster gentoo-dev 2025-01-19 10:14:31 UTC
Created attachment 917095 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-19 10:14:32 UTC
Created attachment 917096 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-01-19 10:14:33 UTC
Created attachment 917097 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-01-19 10:14:34 UTC
Created attachment 917098 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-01-19 10:14:35 UTC
Created attachment 917099 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-19 10:14:36 UTC
Created attachment 917100 [details]
games-arcade:oshu-2.0.2:20250118-220000.log
Comment 7 Toralf Förster gentoo-dev 2025-01-19 10:14:37 UTC
Created attachment 917101 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-01-19 10:14:38 UTC
Created attachment 917102 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-01-19 10:14:39 UTC
Created attachment 917103 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-03-12 10:14:41 UTC
The bug has been referenced in the following commit(s):

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

commit 0a1f027a75ee51fa3987c3bcc6e34e2259799859
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2025-03-12 09:16:20 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2025-03-12 10:11:44 +0000

    games-arcade/oshu: use ffmpeg-compat
    
    It is possible fixes already exist for ffmpeg-7 on this package,
    but not planning to look into that myself.
    
    Bug: https://bugs.gentoo.org/948392
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-arcade/oshu/oshu-2.0.2-r1.ebuild | 69 ++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)