Bug#739209: FTBFS against libav10

Moritz Muehlenhoff jmm at debian.org
Sun Feb 16 18:18:58 UTC 2014


Package: alsa-plugins
Severity: important

Hi,
your package fails to build from source against libav 10 (currently
packaged in experimental). This bug will become release-critical
at some point when the libav10 transition starts.

Migration documentation can be found at
https://wiki.libav.org/Migration/10

Cheers,
        Moritz

basound_module_rate_samplerate.la" )
make[3]: Leaving directory `/home/jmm/av10/alsa-plugins-1.0.27/rate'
Making all in a52
make[3]: Entering directory `/home/jmm/av10/alsa-plugins-1.0.27/a52'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -Wall -g -I/usr/include/alsa
-DAVCODEC_HEADER="<libavcodec/avcodec.h>" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o pcm_a52.lo pcm_a52.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -Wall -g -I/usr/include/alsa "-DAVCODEC_HEADER=<libavcodec/avcodec.h>" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c pcm_a52.c  -fPIC -DPIC -o .libs/pcm_a52.o
pcm_a52.c: In function 'do_encode':
pcm_a52.c:102:45: error: 'struct a52_ctx' has no member named 'frame'
  avcodec_encode_audio2(rec->avctx, &pkt, rec->frame, &got_frame);
                                             ^
pcm_a52.c: In function 'set_channel_layout':
pcm_a52.c:533:32: error: 'AV_CH_LAYOUT_STEREO' undeclared (first use in this function)
   rec->avctx->channel_layout = AV_CH_LAYOUT_STEREO;
                                ^
pcm_a52.c:533:32: note: each undeclared identifier is reported only once for each function it appears in
pcm_a52.c:536:32: error: 'AV_CH_LAYOUT_QUAD' undeclared (first use in this function)
   rec->avctx->channel_layout = AV_CH_LAYOUT_QUAD;
                                ^
pcm_a52.c:539:32: error: 'AV_CH_LAYOUT_5POINT1' undeclared (first use in this function)
   rec->avctx->channel_layout = AV_CH_LAYOUT_5POINT1;
                                ^
pcm_a52.c: In function 'a52_prepare':
pcm_a52.c:580:2: warning: implicit declaration of function 'avcodec_alloc_context' [-Wimplicit-function-declaration]
  rec->avctx = avcodec_alloc_context();
  ^
pcm_a52.c:580:13: warning: assignment makes pointer from integer without a cast [enabled by default]
  rec->avctx = avcodec_alloc_context();
pcm_a52.c:596:2: warning: implicit declaration of function 'avcodec_open' [-Wimplicit-function-declaration]
  err = avcodec_open(rec->avctx, rec->codec);
  ^
pcm_a52.c: In function '_snd_pcm_a52_open':
pcm_a52.c:859:2: warning: implicit declaration of function 'avcodec_init' [-Wimplicit-function-declaration]
  avcodec_init();
  ^
pcm_a52.c:867:37: error: 'CODEC_ID_AC3' undeclared (first use in this function)
   rec->codec = avcodec_find_encoder(CODEC_ID_AC3);
                                     ^
make[3]: *** [pcm_a52.lo] Error 1
make[3]: Leaving directory `/home/jmm/av10/alsa-plugins-1.0.27/a52'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jmm/av10/alsa-plugins-1.0.27'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jmm/av10/alsa-plugins-1.0.27'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the pkg-multimedia-maintainers mailing list