Bug#831246: bs1770gain: FTBFS: ffsox_audiostream.c:50:5: error: 'codec' is deprecated [-Werror=deprecated-declarations]

Lucas Nussbaum lucas at debian.org
Thu Jul 14 10:00:23 UTC 2016


Source: bs1770gain
Version: 0.4.9-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160714 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../libpbutil -I../lib1770-2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Werror -Wall -Wformat -Wpointer-arith -Wcast-align -Wcast-qual -Wreturn-type -Wextra -Wstrict-prototypes -c ffsox_audiostream.c
> ffsox_audiostream.c: In function 'ffsox_audiostream':
> ffsox_audiostream.c:50:5: error: 'codec' is deprecated [-Werror=deprecated-declarations]
>      cc=fc->streams[i]->codec;
>      ^
> In file included from ./ffsox_dynload.h:25:0,
>                  from ./ffsox.h:23,
>                  from ffsox_audiostream.c:20:
> /usr/include/x86_64-linux-gnu/libavformat/avformat.h:880:21: note: declared here
>      AVCodecContext *codec;
>                      ^
> cc1: all warnings being treated as errors
> make[3]: *** [ffsox_audiostream.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/14/bs1770gain_0.4.9-1_unstable_gcc5.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