[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1004579: mplayer: FTBFS with ffmpeg 5.0



Source: mplayer
Version: 2:1.4+ds1-3
Severity: important
X-Debbugs-Cc: sramacher@debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

mplayer FTBFS with ffmpeg 5.0 (available in experimental):
| cc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g  -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -fpie -DPIC -D_REENTRANT -I/usr/include/p11-kit-1 -I/usr/include/samba-4.0 -I/usr/include/   -D_REENTRANT  -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -I/usr/include/bs2b -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16  -c -o libvo/vo_gl.o libvo/vo_gl.c
| libvo/vo_fbdev2.c:103:15: warning: missing initializer for field 'transp' of 'struct fb_cmap' [-Wmissing-field-initializers]
|   103 | static struct fb_cmap fb_oldcmap = { 0, 256, fb_ored, fb_ogreen, fb_oblue };
|       |               ^~~~~~~
| In file included from libvo/vo_fbdev2.c:31:
| /usr/include/linux/fb.h:286:16: note: 'transp' declared here
|   286 |         __u16 *transp;                  /* transparency, can be NULL */
|       |                ^~~~~~
| libvo/vo_fbdev2.c: In function 'config':
| libvo/vo_fbdev2.c:224:27: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare]
|   224 |         if (fb_vinfo.xres < in_width || fb_vinfo.yres < in_height) {
|       |                           ^
| libvo/vo_fbdev2.c:224:55: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare]
|   224 |         if (fb_vinfo.xres < in_width || fb_vinfo.yres < in_height) {
|       |                                                       ^
| libvo/vo_fbdev2.c:211:58: warning: unused parameter 'title' [-Wunused-parameter]
|   211 |                 uint32_t d_height, uint32_t flags, char *title,
|       |                                                    ~~~~~~^~~~~
| libvo/vo_fbdev2.c: In function 'set_bpp':
| libvo/vo_fbdev2.c:61:42: warning: this statement may fall through [-Wimplicit-fallthrough=]
|    61 |                         p->transp.length = 8;
|       |                         ~~~~~~~~~~~~~~~~~^~~
| libvo/vo_fbdev2.c:63:17: note: here
|    63 |                 case 24:
|       |                 ^~~~
| In file included from ./mp_core.h:27,
|                  from libvo/vo_png.c:35:
| ./libmpdemux/demuxer.h: In function 'new_demux_packet':
| ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value]
|    98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
|       |                             ^~
| ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE'
|   289 |   dp->pts=MP_NOPTS_VALUE;
|       |           ^~~~~~~~~~~~~~
| ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value]
|    98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
|       |                             ^~
| ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE'
|   290 |   dp->endpts=MP_NOPTS_VALUE;
|       |              ^~~~~~~~~~~~~~
| ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value]
|    98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
|       |                             ^~
| ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE'
|   291 |   dp->stream_pts = MP_NOPTS_VALUE;
|       |                    ^~~~~~~~~~~~~~
| libvo/vo_png.c: In function 'config':
| libvo/vo_png.c:113:50: warning: unused parameter 'd_width' [-Wunused-parameter]
|   113 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format)
|       |                                         ~~~~~~~~~^~~~~~~
| libvo/vo_png.c:113:68: warning: unused parameter 'd_height' [-Wunused-parameter]
|   113 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format)
|       |                                                           ~~~~~~~~~^~~~~~~~
| libvo/vo_png.c:113:87: warning: unused parameter 'flags' [-Wunused-parameter]
|   113 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format)
|       |                                                                              ~~~~~~~~~^~~~~
| libvo/vo_png.c:113:100: warning: unused parameter 'title' [-Wunused-parameter]
|   113 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format)
|       |                                                                                              ~~~~~~^~~~~
| libvo/vo_png.c: In function 'draw_image':
| libvo/vo_png.c:183:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
|   183 |     av_init_packet(&pkt);
|       |     ^~~~~~~~~~~~~~
| In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
|                  from libvo/vo_png.c:43:
| /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
|   506 | void av_init_packet(AVPacket *pkt);
|       |      ^~~~~~~~~~~~~~
| libvo/vo_png.c:186:11: error: implicit declaration of function 'avcodec_encode_video2'; did you mean 'avcodec_encode_subtitle'? [-Werror=implicit-function-declaration]
|   186 |     res = avcodec_encode_video2(avctx, &pkt, pic, &got_pkt);
|       |           ^~~~~~~~~~~~~~~~~~~~~
|       |           avcodec_encode_subtitle
| libvo/vo_png.c:196:5: error: implicit declaration of function 'av_free_packet'; did you mean 'av_grow_packet'? [-Werror=implicit-function-declaration]
|   196 |     av_free_packet(&pkt);
|       |     ^~~~~~~~~~~~~~
|       |     av_grow_packet
| libvo/vo_png.c: In function 'preinit':
| libvo/vo_png.c:254:5: error: implicit declaration of function 'avcodec_register_all' [-Werror=implicit-function-declaration]
|   254 |     avcodec_register_all();
|       |     ^~~~~~~~~~~~~~~~~~~~
| cc1: some warnings being treated as errors

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature


Reply to: