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

Bug#1057579: marked as done (mplayer: FTBFS: error: 'INT_MAX' undeclared (first use in this function))



Your message dated Tue, 12 Dec 2023 00:35:01 +0000
with message-id <E1rCqjl-001LsA-N3@fasolo.debian.org>
and subject line Bug#1057579: fixed in mplayer 2:1.5+svn38446-1
has caused the Debian Bug report #1057579,
regarding mplayer: FTBFS: error: 'INT_MAX' undeclared (first use in this function)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1057579: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057579
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:mplayer
Version: 2:1.5+svn38423-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./configure --prefix=/usr --confdir=/etc/mplayer --enable-debug --enable-xvmc --enable-menu --disable-arts --language=all --disable-libmpeg2-internal --disable-ffmpeg_a --disable-esd --extra-cflags="-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" --extra-ldflags="-Wl,-z,relro -Wl,-z,now"  --enable-runtime-cpudetection --enable-joystick --enable-radio --enable-radio-capture --enable-gui --enable-nls
Checking for ffmpeg/libavcodec/allcodecs.c ... not found
Checking for ffmpeg/libavcodec/hwaccels.h ... not found
Checking for ffmpeg/libavformat/allformats.c ... not found
Checking for ffmpeg/libavcodec/bitsteram_filters.c ... not found
Checking for ffmpeg/libavcodec/cbs_internal.h ... not found
Checking for ffmpeg/libavformat/protocols.c ... not found
Checking for ffmpeg/libavfilter/allfilters.c ... not found

[... snipped ...]

  766 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:845:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1'
  845 |             REORDER_SELF_SWAP_5_STEP_1(src_32,tmp,samples,8,s0,s1,s2,s3,s4);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  766 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:848:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1'
  848 |             REORDER_SELF_SWAP_5_STEP_1(src_32,tmp,samples,5,s0,s1,s2,s3,s4);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  766 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:857:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1'
  857 |             REORDER_SELF_SWAP_5_STEP_1(src_64,tmp,samples,6,s0,s1,s2,s3,s4);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  766 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:860:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1'
  860 |             REORDER_SELF_SWAP_5_STEP_1(src_64,tmp,samples,8,s0,s1,s2,s3,s4);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  766 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:863:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1'
  863 |             REORDER_SELF_SWAP_5_STEP_1(src_64,tmp,samples,5,s0,s1,s2,s3,s4);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c: In function 'reorder_self_2_3':
libaf/reorder_ch.c:877:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  877 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:897:9: note: in expansion of macro 'REORDER_SELF_SWAP_2_3'
  897 |         REORDER_SELF_SWAP_2_3(src_8,tmp,samples,6,s0,s1,s2,s3,s4);
      |         ^~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:877:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  877 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:904:9: note: in expansion of macro 'REORDER_SELF_SWAP_2_3'
  904 |         REORDER_SELF_SWAP_2_3(src_16,tmp,samples,6,s0,s1,s2,s3,s4);
      |         ^~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:911:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  911 |         for (i = 0; i < samples * 3; i += 18) {
      |                       ^
libaf/reorder_ch.c:877:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  877 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:940:9: note: in expansion of macro 'REORDER_SELF_SWAP_2_3'
  940 |         REORDER_SELF_SWAP_2_3(src_32,tmp,samples,6,s0,s1,s2,s3,s4);
      |         ^~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:877:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  877 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:947:9: note: in expansion of macro 'REORDER_SELF_SWAP_2_3'
  947 |         REORDER_SELF_SWAP_2_3(src_64,tmp,samples,6,s0,s1,s2,s3,s4);
      |         ^~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c: In function 'reorder_self_3_3':
libaf/reorder_ch.c:960:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  960 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:981:9: note: in expansion of macro 'REORDER_SELF_SWAP_3_3'
  981 |         REORDER_SELF_SWAP_3_3(src_8,tmp,samples,6,s0,s1,s2,s3,s4,s5);
      |         ^~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:960:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  960 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:988:9: note: in expansion of macro 'REORDER_SELF_SWAP_3_3'
  988 |         REORDER_SELF_SWAP_3_3(src_16,tmp,samples,6,s0,s1,s2,s3,s4,s5);
      |         ^~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:995:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  995 |         for (i = 0; i < samples * 3; i += 18) {
      |                       ^
libaf/reorder_ch.c:960:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  960 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:1027:9: note: in expansion of macro 'REORDER_SELF_SWAP_3_3'
 1027 |         REORDER_SELF_SWAP_3_3(src_32,tmp,samples,6,s0,s1,s2,s3,s4,s5);
      |         ^~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:960:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  960 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:1034:9: note: in expansion of macro 'REORDER_SELF_SWAP_3_3'
 1034 |         REORDER_SELF_SWAP_3_3(src_64,tmp,samples,6,s0,s1,s2,s3,s4,s5);
      |         ^~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c: In function 'reorder_self_2_4':
libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:1069:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4'
 1069 |             REORDER_SELF_SWAP_2_4(src_8,tmp,samples,6,s0,s1,s2,s3,s4,s5);
      |             ^~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:1071:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4'
 1071 |             REORDER_SELF_SWAP_2_4(src_8,tmp,samples,8,s0,s1,s2,s3,s4,s5);
      |             ^~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:1080:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4'
 1080 |             REORDER_SELF_SWAP_2_4(src_16,tmp,samples,6,s0,s1,s2,s3,s4,s5);
      |             ^~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:1082:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4'
 1082 |             REORDER_SELF_SWAP_2_4(src_16,tmp,samples,8,s0,s1,s2,s3,s4,s5);
      |             ^~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:1090:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1090 |         for (i = 0; i < samples * 3; i += chnum * 3) {
      |                       ^
libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:1123:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4'
 1123 |             REORDER_SELF_SWAP_2_4(src_32,tmp,samples,6,s0,s1,s2,s3,s4,s5);
      |             ^~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:1125:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4'
 1125 |             REORDER_SELF_SWAP_2_4(src_32,tmp,samples,8,s0,s1,s2,s3,s4,s5);
      |             ^~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:1134:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4'
 1134 |             REORDER_SELF_SWAP_2_4(src_64,tmp,samples,6,s0,s1,s2,s3,s4,s5);
      |             ^~~~~~~~~~~~~~~~~~~~~
libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\
      |               ^
libaf/reorder_ch.c:1136:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4'
 1136 |             REORDER_SELF_SWAP_2_4(src_64,tmp,samples,8,s0,s1,s2,s3,s4,s5);
      |             ^~~~~~~~~~~~~~~~~~~~~
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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -pthread -c -o libmpcodecs/ad.o libmpcodecs/ad.c
In file included from libmpcodecs/ad.c:28:
./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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE'
  292 |   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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE'
  293 |   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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE'
  294 |   dp->stream_pts = MP_NOPTS_VALUE;
      |                    ^~~~~~~~~~~~~~
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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -pthread -c -o libmpcodecs/ad_alaw.o libmpcodecs/ad_alaw.c
In file included from libmpcodecs/ad_internal.h:26,
                 from libmpcodecs/ad_alaw.c:24:
./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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE'
  292 |   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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE'
  293 |   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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE'
  294 |   dp->stream_pts = MP_NOPTS_VALUE;
      |                    ^~~~~~~~~~~~~~
libmpcodecs/ad_alaw.c: In function 'uninit':
libmpcodecs/ad_alaw.c:58:32: warning: unused parameter 'sh' [-Wunused-parameter]
   58 | static void uninit(sh_audio_t *sh)
      |                    ~~~~~~~~~~~~^~
libmpcodecs/ad_alaw.c: In function 'control':
libmpcodecs/ad_alaw.c:62:49: warning: unused parameter 'arg' [-Wunused-parameter]
   62 | static int control(sh_audio_t *sh,int cmd,void* arg, ...)
      |                                           ~~~~~~^~~
libmpcodecs/ad_alaw.c: In function 'decode_audio':
libmpcodecs/ad_alaw.c:78:80: warning: unused parameter 'maxlen' [-Wunused-parameter]
   78 | static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen)
      |                                                                            ~~~~^~~~~~
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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -pthread -c -o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_dvdpcm.c
In file included from libmpcodecs/ad_internal.h:26,
                 from libmpcodecs/ad_dvdpcm.c:26:
./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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE'
  292 |   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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE'
  293 |   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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE'
  294 |   dp->stream_pts = MP_NOPTS_VALUE;
      |                    ^~~~~~~~~~~~~~
libmpcodecs/ad_dvdpcm.c: In function 'uninit':
libmpcodecs/ad_dvdpcm.c:86:32: warning: unused parameter 'sh' [-Wunused-parameter]
   86 | static void uninit(sh_audio_t *sh)
      |                    ~~~~~~~~~~~~^~
libmpcodecs/ad_dvdpcm.c: In function 'control':
libmpcodecs/ad_dvdpcm.c:90:49: warning: unused parameter 'arg' [-Wunused-parameter]
   90 | static int control(sh_audio_t *sh,int cmd,void* arg, ...)
      |                                           ~~~~~~^~~
libmpcodecs/ad_dvdpcm.c: In function 'decode_audio':
libmpcodecs/ad_dvdpcm.c:104:80: warning: unused parameter 'maxlen' [-Wunused-parameter]
  104 | static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen)
      |                                                                            ~~~~^~~~~~
libmpcodecs/ad_dvdpcm.c: In function 'init':
libmpcodecs/ad_dvdpcm.c:61:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
   61 |             sh->i_bps = sh->channels * sh->samplerate * 5 / 2;
      |             ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmpcodecs/ad_dvdpcm.c:63:11: note: here
   63 |           case 2:
      |           ^~~~
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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -pthread -c -o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwac3.c
In file included from libmpcodecs/ad_internal.h:26,
                 from libmpcodecs/ad_hwac3.c:34:
./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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE'
  292 |   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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE'
  293 |   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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE'
  294 |   dp->stream_pts = MP_NOPTS_VALUE;
      |                    ^~~~~~~~~~~~~~
libmpcodecs/ad_hwac3.c: In function 'uninit':
libmpcodecs/ad_hwac3.c:185:32: warning: unused parameter 'sh' [-Wunused-parameter]
  185 | static void uninit(sh_audio_t *sh)
      |                    ~~~~~~~~~~~~^~
libmpcodecs/ad_hwac3.c: In function 'control':
libmpcodecs/ad_hwac3.c:189:49: warning: unused parameter 'arg' [-Wunused-parameter]
  189 | static int control(sh_audio_t *sh,int cmd,void* arg, ...)
      |                                           ~~~~~~^~~
libmpcodecs/ad_hwac3.c: In function 'decode_audio':
libmpcodecs/ad_hwac3.c:202:69: warning: unused parameter 'minlen' [-Wunused-parameter]
  202 | static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen)
      |                                                                 ~~~~^~~~~~
libmpcodecs/ad_hwac3.c: In function 'dts_syncinfo':
libmpcodecs/ad_hwac3.c:439:51: warning: unused parameter 'flags' [-Wunused-parameter]
  439 | static int dts_syncinfo(uint8_t *indata_ptr, int *flags, int *sample_rate, int *bit_rate)
      |                                              ~~~~~^~~~~
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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -pthread -c -o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_hwmpa.c
In file included from libmpcodecs/ad_internal.h:26,
                 from libmpcodecs/ad_hwmpa.c:30:
./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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE'
  292 |   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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE'
  293 |   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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE'
  294 |   dp->stream_pts = MP_NOPTS_VALUE;
      |                    ^~~~~~~~~~~~~~
libmpcodecs/ad_hwmpa.c: In function 'decode_audio':
libmpcodecs/ad_hwmpa.c:100:63: warning: unused parameter 'minlen' [-Wunused-parameter]
  100 | static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen)
      |                                                           ~~~~^~~~~~
libmpcodecs/ad_hwmpa.c: In function 'control':
libmpcodecs/ad_hwmpa.c:142:49: warning: unused parameter 'arg' [-Wunused-parameter]
  142 | static int control(sh_audio_t *sh,int cmd,void* arg, ...)
      |                                           ~~~~~~^~~
libmpcodecs/ad_hwmpa.c: In function 'uninit':
libmpcodecs/ad_hwmpa.c:166:32: warning: unused parameter 'sh' [-Wunused-parameter]
  166 | static void uninit(sh_audio_t *sh)
      |                    ~~~~~~~~~~~~^~
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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -pthread -c -o libmpcodecs/ad_pcm.o libmpcodecs/ad_pcm.c
In file included from libmpcodecs/ad_internal.h:26,
                 from libmpcodecs/ad_pcm.c:24:
./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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE'
  292 |   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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE'
  293 |   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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE'
  294 |   dp->stream_pts = MP_NOPTS_VALUE;
      |                    ^~~~~~~~~~~~~~
libmpcodecs/ad_pcm.c: In function 'uninit':
libmpcodecs/ad_pcm.c:128:32: warning: unused parameter 'sh' [-Wunused-parameter]
  128 | static void uninit(sh_audio_t *sh)
      |                    ~~~~~~~~~~~~^~
libmpcodecs/ad_pcm.c: In function 'control':
libmpcodecs/ad_pcm.c:132:51: warning: unused parameter 'arg' [-Wunused-parameter]
  132 | static int control(sh_audio_t *sh, int cmd, void *arg, ...)
      |                                             ~~~~~~^~~
libmpcodecs/ad_pcm.c: In function 'decode_audio':
libmpcodecs/ad_pcm.c:150:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  150 |     if (len > maxlen)
      |             ^
libmpcodecs/ad_pcm.c: In function 'init':
libmpcodecs/ad_pcm.c:73:33: warning: this statement may fall through [-Wimplicit-fallthrough=]
   73 |         sh_audio->sample_format = AF_FORMAT_S16_BE;
libmpcodecs/ad_pcm.c:75:5: note: here
   75 |     case 0x74776F73: // 'sowt'
      |     ^~~~
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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -pthread -c -o libmpcodecs/dec_audio.o libmpcodecs/dec_audio.c
In file included from libmpcodecs/dec_audio.c:29:
./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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE'
  292 |   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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE'
  293 |   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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE'
  294 |   dp->stream_pts = MP_NOPTS_VALUE;
      |                    ^~~~~~~~~~~~~~
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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -pthread -c -o libmpcodecs/dec_teletext.o libmpcodecs/dec_teletext.c
libmpcodecs/dec_teletext.c: In function 'decode_pkt30':
libmpcodecs/dec_teletext.c:1187:66: warning: unused parameter 'magAddr' [-Wunused-parameter]
 1187 | static int decode_pkt30(priv_vbi_t* priv,unsigned char* data,int magAddr)
      |                                                              ~~~~^~~~~~~
libmpcodecs/dec_teletext.c: In function 'vbi_decode_dvb':
libmpcodecs/dec_teletext.c:1575:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
 1575 |     for (i = 0; i < sizeof(data); i++)
      |                   ^
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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -pthread -c -o libmpcodecs/dec_video.o libmpcodecs/dec_video.c
In file included from ./mpcommon.h:25,
                 from libmpcodecs/dec_video.c:27:
./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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE'
  292 |   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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE'
  293 |   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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE'
  294 |   dp->stream_pts = MP_NOPTS_VALUE;
      |                    ^~~~~~~~~~~~~~
libmpcodecs/dec_video.c: In function 'set_video_colors':
libmpcodecs/dec_video.c:109:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  109 |                             (int *) value) == CONTROL_OK)
      |                             ^
libmpcodecs/dec_video.c:108:61: warning: passing argument 3 of 'mpvdec->control' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  108 |         if (mpvdec->control(sh_video, VDCTRL_SET_EQUALIZER, item,
      |                                                             ^~~~
libmpcodecs/dec_video.c:108:61: note: expected 'void *' but argument is of type 'const char *'
libmpcodecs/dec_video.c: In function 'get_video_colors':
libmpcodecs/dec_video.c:134:64: warning: passing argument 3 of 'mpvdec->control' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  134 |         return mpvdec->control(sh_video, VDCTRL_GET_EQUALIZER, item, value);
      |                                                                ^~~~
libmpcodecs/dec_video.c:134:64: note: expected 'void *' but argument is of type 'const char *'
In file included from libmpcodecs/vf.h:118,
                 from libmpcodecs/dec_video.c:42:
libmpcodecs/dec_video.c: In function 'resync_video_stream':
./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value]
   27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
      |                             ^~
libmpcodecs/dec_video.c:157:34: note: in expansion of macro 'MP_NOPTS_VALUE'
  157 |     sh_video->last_pts         = MP_NOPTS_VALUE;
      |                                  ^~~~~~~~~~~~~~
libmpcodecs/dec_video.c: In function 'init_video':
libmpcodecs/dec_video.c:229:66: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member]
  229 |                                sh_video->bih ? ((unsigned int *) &sh_video->bih->biCompression) : NULL,
      |                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmpcodecs/dec_video.c: In function 'decode_video':
./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value]
   27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
      |                             ^~
libmpcodecs/dec_video.c:418:31: note: in expansion of macro 'MP_NOPTS_VALUE'
  418 |     if (correct_pts && pts != MP_NOPTS_VALUE
      |                               ^~~~~~~~~~~~~~
./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value]
   27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
      |                             ^~
libmpcodecs/dec_video.c:471:29: note: in expansion of macro 'MP_NOPTS_VALUE'
  471 |             sh_video->pts = MP_NOPTS_VALUE;
      |                             ^~~~~~~~~~~~~~
./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value]
   27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
      |                             ^~
libmpcodecs/dec_video.c:472:32: note: in expansion of macro 'MP_NOPTS_VALUE'
  472 |             sh_video->endpts = MP_NOPTS_VALUE;
      |                                ^~~~~~~~~~~~~~
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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -pthread -c -o libmpcodecs/img_format.o libmpcodecs/img_format.c
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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -pthread -c -o libmpcodecs/mp_image.o libmpcodecs/mp_image.c
libmpcodecs/mp_image.c: In function 'mp_image_alloc_planes':
libmpcodecs/mp_image.c:39:39: error: 'INT_MAX' undeclared (first use in this function)
   39 |   if ((unsigned int)mpi->height + 2 > INT_MAX ||
      |                                       ^~~~~~~
libmpcodecs/mp_image.c:34:1: note: 'INT_MAX' is defined in header '<limits.h>'; did you forget to '#include <limits.h>'?
   33 | #include "mp_msg.h"
  +++ |+#include <limits.h>
   34 |
libmpcodecs/mp_image.c:39:39: note: each undeclared identifier is reported only once for each function it appears in
   39 |   if ((unsigned int)mpi->height + 2 > INT_MAX ||
      |                                       ^~~~~~~
libmpcodecs/mp_image.c: In function 'mp_image_setfmt':
libmpcodecs/mp_image.c:229:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
  229 |         mpi->bpp=16;
      |         ~~~~~~~~^~~
libmpcodecs/mp_image.c:230:5: note: here
  230 |     case IMGFMT_Y800:
      |     ^~~~
libmpcodecs/mp_image.c:240:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  240 |         mpi->flags|=MP_IMGFLAG_SWAPPED;
libmpcodecs/mp_image.c:241:5: note: here
  241 |     case IMGFMT_YUY2:
      |     ^~~~
libmpcodecs/mp_image.c:247:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  247 |         mpi->flags|=MP_IMGFLAG_SWAPPED;
libmpcodecs/mp_image.c:248:5: note: here
  248 |     case IMGFMT_NV21:
      |     ^~~~
make[2]: *** [Makefile:730: libmpcodecs/mp_image.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 mplayer returned exit code 2
make[1]: *** [debian/rules:97: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:94: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202312/

About the archive rebuild: The build was made using virtual machines
from AWS, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: mplayer
Source-Version: 2:1.5+svn38446-1
Done: Bastian Germann <bage@debian.org>

We believe that the bug you reported is fixed in the latest version of
mplayer, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1057579@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated mplayer package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 10 Dec 2023 12:38:09 +0100
Source: mplayer
Architecture: source
Version: 2:1.5+svn38446-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 1039457 1057579
Changes:
 mplayer (2:1.5+svn38446-1) unstable; urgency=medium
 .
   * Team upload
   * d/watch: Scan SVN repo
 .
   [ Lorenzo Puliti ]
   * New upstream version 1.5+svn38446
      - fix FTBFS (Closes: #1057579)
      - d/control: B-D: switch to nasm
      - avoid crahes when -wid specifies an
        invalid Window ID, see #1034867
      - fix ID_VID_0_ROTATE, relevant for #1040168
 .
   [ Vagrant Cascadian ]
   * debian/rules: Use printf instead of echo (Closes: #1039457)
 .
   [ Paul Wise ]
   * improve printf line in d/rules
Checksums-Sha1:
 62e42992ec92a137e4a5d5e60b05132e8ee8eb54 3105 mplayer_1.5+svn38446-1.dsc
 a74342ad077272fa85a73a709daebb3a9970fc49 5228072 mplayer_1.5+svn38446.orig.tar.xz
 e77a0fcd1dc68e19695602f69051928bcc89fd1f 35012 mplayer_1.5+svn38446-1.debian.tar.xz
 dd36a2cf5884400c81cdf23b234912a6ea6d7b3b 8192 mplayer_1.5+svn38446-1_source.buildinfo
Checksums-Sha256:
 a8958293002bc28c14dd51dc1d14bee0b38a8be12ec15e7fd514707a14ce4050 3105 mplayer_1.5+svn38446-1.dsc
 beaf565d3c46fde5f55929785551f36ddc59a10cc9b7b3e9e90560d90c6b7756 5228072 mplayer_1.5+svn38446.orig.tar.xz
 2a7093978d7e733f352219b38d5581f2aeeb832de386ac27378a0b0679e1b3c5 35012 mplayer_1.5+svn38446-1.debian.tar.xz
 7e9655944a728e02f6c89d80a5ab6fc9d528c50cc467df0975e0f0c73bb6ed0f 8192 mplayer_1.5+svn38446-1_source.buildinfo
Files:
 155b00d811e9e7e34b7bc0f029d01115 3105 video optional mplayer_1.5+svn38446-1.dsc
 6749a57bc7f340b7dfb887006ea14b0b 5228072 video optional mplayer_1.5+svn38446.orig.tar.xz
 7a48fa28639edb2664628a0397f34cc5 35012 video optional mplayer_1.5+svn38446-1.debian.tar.xz
 b0eec1c75b3c8dda9a24d2039a027096 8192 video optional mplayer_1.5+svn38446-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmV3peYQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFFOlC/9ilZRAlBgxV0I3Mm3vZ1zkcLuhe4cdgVkh
6FBXzz5kZKI3aUZqEfPDQu4YqPz8Dwv5HETm0Mpkx37iq8GSS3E+WAsl4eiCF2Xl
gP3lNNyVuwJdheQnwOg/5y33bdR3Q9tBBBkaXUIHpozeUHu5684ZNKb0sNFlv4Jf
OzXfHu9tLvNZauoQJoApD9b8ERhuCoXKwe/gMykR9nKoi0M8dtu1QvEfFqIabBmf
PAeGgod5UnEYdsSarxN8KgXZA+QC3IAblXvqQD5GEDTlDAxPFO1LSm7kv8TwHwnL
fG8eVENdd/bFZP/J/kmV+iMvHenKbGnd2qtJ2tGcOMrzyi3XXa0+0a7sYdvxagwa
OZkYpsyN8j8vOlcc4Gp955Ds39Zydlk3EtHwSAnRpaVwKxroGoxbuPuVD9ebcSMY
UT6XPAQv7vfDwGFAsmcmphkf952PDrxnACV/A7qEfXoBXeKkEXSbMS7hiBLBVxAY
eoKFlUK6J8xssJnGziVa7IDJBi6JM2U=
=HVYV
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: