Source: pianobar
Version: 2020.11.28-1
Severity: important
X-Debbugs-Cc: sramac...@debian.org

pianobar FTBFS with ffmpeg 5.0 (available in experimental):
| c99 -c -o src/ui_dispatch.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -I src/libpiano -I/usr/include/x86_64-linux-gnu 
-I/usr/include/x86_64-linux-gnu  -I/usr/include/json-c  -MMD -MF 
src/ui_dispatch.d -MP src/ui_dispatch.c
| 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;
|       |         ^~~~~~~~~~~~~~
| make[2]: *** [Makefile:109: src/ui_act.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| 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[2]: *** [Makefile:109: src/settings.o] Error 1
| 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:142:33: warning: ignoring return value of ‘read’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
|   142 |                                 read (pipeFd[0], passBuf, sizeof 
(passBuf)-1);
|       |                                 
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| make[2]: *** [Makefile:109: src/main.o] Error 1
| 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;
|       |         ^~~~~~~~~~~~~~
| make[2]: *** [Makefile:109: src/ui_dispatch.o] Error 1
| 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;
|       |         ^~~~~~~~~~~~~~
| make[2]: *** [Makefile:109: src/ui_readline.o] Error 1
| 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;
|       |         ^~~~~~~~~~~~~~
| make[2]: *** [Makefile:109: src/ui.o] Error 1
| 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 ‘play’:
| src/player.c:407:9: warning: ‘av_init_packet’ is deprecated 
[-Wdeprecated-declarations]
|   407 |         av_init_packet (&pkt);
|       |         ^~~~~~~~~~~~~~
| In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
|                  from src/player.c:48:
| /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
|   506 | void av_init_packet(AVPacket *pkt);
|       |      ^~~~~~~~~~~~~~
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to