Bug#720801: idjc: FTBFS with lobav9: avcodecdecode.c:295:22: error: 'AV_METADATA_DONT_STRDUP_KEY' undeclared (first use in this function)
David Suárez
david.sephirot at gmail.com
Sun Aug 25 13:09:24 UTC 2013
Source: idjc
Version: 0.8.7-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130825 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Related to current libav9 transition (see #706798).
Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -I.. -Wall -std=gnu99 -O2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -c -o idjcmixer-avcodecdecode.o `test -f 'avcodecdecode.c' || echo './'`avcodecdecode.c
> avcodecdecode.c: In function 'once_init':
> avcodecdecode.c:43:4: warning: implicit declaration of function 'avcodec_init' [-Wimplicit-function-declaration]
> avcodec_init();
> ^
> avcodecdecode.c: In function 'avcodecdecode_eject':
> avcodecdecode.c:64:4: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1397) [-Wdeprecated-declarations]
> av_close_input_file(self->ic);
> ^
> avcodecdecode.c: In function 'avcodecdecode_play':
> avcodecdecode.c:161:7: warning: 'avcodec_decode_audio3' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3608) [-Wdeprecated-declarations]
> len = avcodec_decode_audio3(self->c, (short *)self->outbuf, &out_size, &pktcopy);
> ^
> avcodecdecode.c: In function 'avcodecdecode_reg':
> avcodecdecode.c:243:7: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1397) [-Wdeprecated-declarations]
> av_close_input_file(self->ic);
> ^
> avcodecdecode.c:248:4: warning: implicit declaration of function 'av_find_stream_info' [-Wimplicit-function-declaration]
> av_find_stream_info(self->ic);
> ^
> avcodecdecode.c:256:7: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1397) [-Wdeprecated-declarations]
> av_close_input_file(self->ic);
> ^
> avcodecdecode.c:262:4: warning: implicit declaration of function 'avcodec_open' [-Wimplicit-function-declaration]
> if (avcodec_open(self->c, self->codec) < 0)
> ^
> avcodecdecode.c:266:7: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1397) [-Wdeprecated-declarations]
> av_close_input_file(self->ic);
> ^
> avcodecdecode.c: In function 'avformatinfo':
> avcodecdecode.c:295:22: error: 'AV_METADATA_DONT_STRDUP_KEY' undeclared (first use in this function)
> const int flags = AV_METADATA_DONT_STRDUP_KEY | AV_METADATA_DONT_STRDUP_VAL;
> ^
> avcodecdecode.c:295:22: note: each undeclared identifier is reported only once for each function it appears in
> avcodecdecode.c:295:52: error: 'AV_METADATA_DONT_STRDUP_VAL' undeclared (first use in this function)
> const int flags = AV_METADATA_DONT_STRDUP_KEY | AV_METADATA_DONT_STRDUP_VAL;
> ^
> avcodecdecode.c:311:7: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1397) [-Wdeprecated-declarations]
> av_close_input_file(ic);
> ^
> make[4]: *** [idjcmixer-avcodecdecode.o] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2013/08/25/idjc_0.8.7-2_unstable.log
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!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the pkg-multimedia-maintainers
mailing list