x86_64-pc-linux-gnu-gcc -c -o src/libpiano/response.o -O2 -march=znver3 -pipe -g -ggdb3 -std=c99 -I src/libpiano -I/usr/include/json-c -MMD -MF src/libpiano/response.d -MP src/libpiano/response.c In file included from src/main.h:30, from src/ui_readline.c:31: src/player.h:71:9: error: unknown type name ‘AVCodecContext’ 71 | AVCodecContext *cctx; | ^~~~~~~~~~~~~~ In file included from src/ui.h:31, from src/ui.c:42: src/player.h:71:9: error: unknown type name ‘AVCodecContext’ 71 | AVCodecContext *cctx; | ^~~~~~~~~~~~~~ In file included from src/ui.h:31, from src/settings.c:42: src/player.h:71:9: error: unknown type name ‘AVCodecContext’ 71 | AVCodecContext *cctx; | ^~~~~~~~~~~~~~ make: *** [Makefile:107: src/ui_readline.o] Error 1 make: *** Waiting for unfinished jobs.... src/player.c: In function ‘openStream’: src/player.c:236:35: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 236 | AVCodec * const decoder = avcodec_find_decoder (cp->codec_id); | ^~~~~~~~~~~~~~~~~~~~ In file included from src/main.h:30, from src/ui_dispatch.h:35, from src/ui_dispatch.c:26: src/player.h:71:9: error: unknown type name ‘AVCodecContext’ 71 | AVCodecContext *cctx; | ^~~~~~~~~~~~~~ src/player.c: In function ‘play’: src/player.c:405:9: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations] 405 | av_init_packet (&pkt); | ^~~~~~~~~~~~~~ In file included from /usr/include/libavcodec/avcodec.h:45, from src/player.c:47: /usr/include/libavcodec/packet.h:506:6: note: declared here 506 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ make: *** [Makefile:107: src/settings.o] Error 1 make: *** [Makefile:107: src/ui_dispatch.o] Error 1 In file included from src/ui.h:31, from src/ui_act.c:34: src/player.h:71:9: error: unknown type name ‘AVCodecContext’ 71 | AVCodecContext *cctx; | ^~~~~~~~~~~~~~ In file included from src/main.h:30, from src/main.c:53: src/player.h:71:9: error: unknown type name ‘AVCodecContext’ 71 | AVCodecContext *cctx; | ^~~~~~~~~~~~~~ src/main.c: In function ‘BarMainGetLoginCredentials’: src/main.c:141:33: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 141 | read (pipeFd[0], passBuf, sizeof (passBuf)-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:107: src/main.o] Error 1 make: *** [Makefile:107: src/ui.o] Error 1 make: *** [Makefile:107: src/ui_act.o] Error 1 * ERROR: media-sound/pianobar-2020.04.05::gentoo failed (compile phase): Reproducible: Always
Created attachment 766049 [details] build.log.gz
Created attachment 766050 [details] emerge-info.txt
Compiles fine with ffmpeg-4.4.1
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=360e013ce0af17d027bbf36b2c23308b6d34c8fd commit 360e013ce0af17d027bbf36b2c23308b6d34c8fd Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-26 06:34:01 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-26 06:43:47 +0000 media-sound/pianobar: add 2022.04.01 Closes: https://bugs.gentoo.org/834394 Signed-off-by: Sam James <sam@gentoo.org> media-sound/pianobar/Manifest | 1 + media-sound/pianobar/pianobar-2022.04.01.ebuild | 47 +++++++++++++++++++++++++ media-sound/pianobar/pianobar-9999.ebuild | 13 ++++--- 3 files changed, 54 insertions(+), 7 deletions(-)