Bug#1017133: xine-lib-1.2: FTBFS: input_avio.c:128:45: error: ‘AV_TIME_BASE’ undeclared (first use in this function); did you mean ‘LC_TIME_MASK’?
Source: xine-lib-1.2
Version: 1.2.12-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I../../../lib -DNDEBUG -D_REENTRANT -DXINE_COMPILE -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fexpensive-optimizations -ffast-math -fvisibility=hidden -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -pipe -Wall -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wpointer-arith -g -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -fexpensive-optimizations -ffast-math -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wformat-security -Wstrict-aliasing=2 -Werror=implicit-function-declaration -c -o xineplug_decode_ff_la-demux_avformat.lo `test -f 'demux_avformat.c' || echo './'`demux_avformat.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I../../../lib -DNDEBUG -D_REENTRANT -DXINE_COMPILE -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fexpensive-optimizations -ffast-math -fvisibility=hidden -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -pipe -Wall -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wpointer-arith -g -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -fexpensive-optimizations -ffast-math -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wformat-security -Wstrict-aliasing=2 -Werror=implicit-function-declaration -c demux_avformat.c -fPIC -DPIC -o .libs/xineplug_decode_ff_la-demux_avformat.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I../../../lib -DNDEBUG -D_REENTRANT -DXINE_COMPILE -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fexpensive-optimizations -ffast-math -fvisibility=hidden -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -pipe -Wall -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wpointer-arith -g -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -fexpensive-optimizations -ffast-math -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wformat-security -Wstrict-aliasing=2 -Werror=implicit-function-declaration -c input_avio.c -fPIC -DPIC -o .libs/xineplug_decode_ff_la-input_avio.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I../../../lib -DNDEBUG -D_REENTRANT -DXINE_COMPILE -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fexpensive-optimizations -ffast-math -fvisibility=hidden -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -pipe -Wall -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wpointer-arith -g -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -fexpensive-optimizations -ffast-math -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wformat-security -Wstrict-aliasing=2 -Werror=implicit-function-declaration -c ffmpeg_decoder.c -fPIC -DPIC -o .libs/xineplug_decode_ff_la-ffmpeg_decoder.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I../../../lib -DNDEBUG -D_REENTRANT -DXINE_COMPILE -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fexpensive-optimizations -ffast-math -fvisibility=hidden -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -pipe -Wall -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wpointer-arith -g -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -fexpensive-optimizations -ffast-math -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wformat-security -Wstrict-aliasing=2 -Werror=implicit-function-declaration -c ff_video_decoder.c -fPIC -DPIC -o .libs/xineplug_decode_ff_la-ff_video_decoder.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I../../../lib -DNDEBUG -D_REENTRANT -DXINE_COMPILE -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fexpensive-optimizations -ffast-math -fvisibility=hidden -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -pipe -Wall -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wpointer-arith -g -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -fexpensive-optimizations -ffast-math -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wformat-security -Wstrict-aliasing=2 -Werror=implicit-function-declaration -c ff_audio_decoder.c -fPIC -DPIC -o .libs/xineplug_decode_ff_la-ff_audio_decoder.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I../../../lib -DNDEBUG -D_REENTRANT -DXINE_COMPILE -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fexpensive-optimizations -ffast-math -fvisibility=hidden -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -pipe -Wall -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wpointer-arith -g -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -fexpensive-optimizations -ffast-math -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wformat-security -Wstrict-aliasing=2 -Werror=implicit-function-declaration -c ff_mpeg_parser.c -fPIC -DPIC -o .libs/xineplug_decode_ff_la-ff_mpeg_parser.o
> ff_video_decoder.c:72:4: warning: #warning rumms [-Wcpp]
> 72 | # warning rumms
> | ^~~~~~~
> ff_audio_decoder.c: In function ‘ff_audio_init_codec’:
> ff_audio_decoder.c:291:3: warning: ‘channels’ is deprecated [-Wdeprecated-declarations]
> 291 | this->context->channels = this->ff_channels;
> | ^~~~
> In file included from ff_audio_decoder.c:37:
> /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:1006:9: note: declared here
> 1006 | int channels;
> | ^~~~~~~~
> ff_audio_decoder.c: In function ‘ff_map_channels’:
> ff_audio_decoder.c:519:3: warning: ‘channel_layout’ is deprecated [-Wdeprecated-declarations]
> 519 | ff_map = this->context->channel_layout;
> | ^~~~~~
> /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:1060:14: note: declared here
> 1060 | uint64_t channel_layout;
> | ^~~~~~~~~~~~~~
> ff_audio_decoder.c:522:5: warning: ‘channels’ is deprecated [-Wdeprecated-declarations]
> 522 | ff_map = ((uint64_t)1 << this->context->channels) - 1;
> | ^~~~~~
> /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:1006:9: note: declared here
> 1006 | int channels;
> | ^~~~~~~~
> ff_audio_decoder.c:548:5: warning: ‘channels’ is deprecated [-Wdeprecated-declarations]
> 548 | this->ff_channels = this->context->channels;
> | ^~~~
> /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:1006:9: note: declared here
> 1006 | int channels;
> | ^~~~~~~~
> ff_video_decoder.c: In function ‘init_video_codec’:
> ff_video_decoder.c:1078:5: warning: #warning h.264 still needs this set, or falls back to indirect rendering. please ignore the next warning. [-Wcpp]
> 1078 | # warning h.264 still needs this set, or falls back to indirect rendering. please ignore the next warning.
> | ^~~~~~~
> ff_video_decoder.c:1081:5: warning: ‘thread_safe_callbacks’ is deprecated [-Wdeprecated-declarations]
> 1081 | this->context->thread_safe_callbacks = 1;
> | ^~~~
> In file included from ff_video_decoder.c:38:
> /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:1502:9: note: declared here
> 1502 | int thread_safe_callbacks;
> | ^~~~~~~~~~~~~~~~~~~~~
> input_avio.c: In function ‘input_avio_seek_time’:
> input_avio.c:128:45: error: ‘AV_TIME_BASE’ undeclared (first use in this function); did you mean ‘LC_TIME_MASK’?
> 128 | int64_t ts = (int64_t)time_offset * AV_TIME_BASE / 1000;
> | ^~~~~~~~~~~~
> | LC_TIME_MASK
> input_avio.c:128:45: note: each undeclared identifier is reported only once for each function it appears in
> In file included from demux_avformat.c:48:
> ffmpeg_compat.h:32:6: error: #error ffmpeg headers must be included first !
> 32 | # error ffmpeg headers must be included first !
> | ^~~~~
> make[5]: *** [Makefile:822: xineplug_decode_ff_la-input_avio.lo] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/08/13/xine-lib-1.2_1.2.12-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
Reply to: