Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949272 - media-sound/pianobar-2022.04.01 - [gcc-15] [ffmpeg] src/player.c: error: AVCodecParameters has no member named channel_layout
Summary: media-sound/pianobar-2022.04.01 - [gcc-15] [ffmpeg] src/player.c: error: AVCo...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-7.0
  Show dependency tree
 
Reported: 2025-02-04 10:12 UTC by Toralf Förster
Modified: 2025-03-12 10:14 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.29 KB, text/plain)
2025-02-04 10:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,189.43 KB, text/plain)
2025-02-04 10:12 UTC, Toralf Förster
Details
environment (environment,68.83 KB, text/plain)
2025-02-04 10:12 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-02-04 10:12 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,30.23 KB, application/x-xz)
2025-02-04 10:12 UTC, Toralf Förster
Details
media-sound:pianobar-2022.04.01:20250204-080749.log (media-sound:pianobar-2022.04.01:20250204-080749.log,4.98 KB, text/plain)
2025-02-04 10:12 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,51.91 KB, application/x-xz)
2025-02-04 10:12 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,16.01 KB, application/x-xz)
2025-02-04 10:12 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 2025-02-04 10:12:09 UTC
x86_64-pc-linux-gnu-gcc -c -o src/player.o -O2 -pipe -march=native -fno-diagnostics-color -std=c99 -I src/libpiano    -I/usr/include/json-c  -MMD -MF src/player.d -MP src/player.c
src/player.c: In function openStream:
src/player.c:238:35: warning: initialization discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
  238 |         AVCodec * const decoder = avcodec_find_decoder (cp->codec_id);
      |                                   ^~~~~~~~~~~~~~~~~~~~
src/player.c: In function openFilter:
src/player.c:289:29: error: AVCodecParameters has no member named channel_layout; did you mean ch_layout?
  289 |                         cp->channel_layout);
      |                             ^~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_abi32+64-20250131-153502

  UNMASKED:

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

    
  <sys-devel/gcc-15.0.9999:15

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
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.14_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.442_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 cca66c1909a15a026f933c7199272ab4a825f4cd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Feb 4 04:33:42 2025 +0000

    2025-02-04 04:33:41 UTC

emerge -qpvO =media-sound/pianobar-2022.04.01
[ebuild  N    ] media-sound/pianobar-2022.04.01
Comment 1 Toralf Förster gentoo-dev 2025-02-04 10:12:10 UTC
Created attachment 918153 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-02-04 10:12:12 UTC
Created attachment 918154 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-02-04 10:12:13 UTC
Created attachment 918155 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-02-04 10:12:14 UTC
Created attachment 918156 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-02-04 10:12:15 UTC
Created attachment 918157 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-02-04 10:12:15 UTC
Created attachment 918158 [details]
media-sound:pianobar-2022.04.01:20250204-080749.log
Comment 7 Toralf Förster gentoo-dev 2025-02-04 10:12:16 UTC
Created attachment 918159 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2025-02-04 10:12:17 UTC
Created attachment 918160 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2025-03-12 10:14:44 UTC
The bug has been referenced in the following commit(s):

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

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

    media-sound/pianobar: 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/949272
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 media-sound/pianobar/pianobar-2022.04.01-r1.ebuild | 50 ++++++++++++++++++++++
 1 file changed, 50 insertions(+)