Bug#739428: FTBFS with libav10

Moritz Muehlenhoff jmm at debian.org
Tue Feb 18 18:04:35 UTC 2014


Source: transcode
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


make[3]: Entering directory `/home/jmm/av10/transcode-1.1.7/export'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src  -I/usr/include -D_FORTIFY_SOURCE=2  -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o export_divx5_la-aud_aux.lo `test -f 'aud_aux.c' || echo './'`aud_aux.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c aud_aux.c  -fPIC -DPIC -o .libs/export_divx5_la-aud_aux.o
aud_aux.c: In function 'tc_audio_init_ffmpeg':
aud_aux.c:329:18: error: 'CODEC_ID_MP2' undeclared (first use in this function)
         codeid = CODEC_ID_MP2;
                  ^
aud_aux.c:329:18: note: each undeclared identifier is reported only once for each function it appears in
aud_aux.c:332:18: error: 'CODEC_ID_AC3' undeclared (first use in this function)
         codeid = CODEC_ID_AC3;
                  ^
aud_aux.c: In function 'tc_audio_encode_mp3':
aud_aux.c:758:17: warning: pointer targets in passing argument 5 of 'lame_encode_buffer' differ in signedness [-Wpointer-sign]
                 OUTPUT_SIZE - output_len);
                 ^
In file included from aud_aux.c:41:0:
/usr/include/lame/lame.h:715:11: note: expected 'unsigned char *' but argument is of type 'char *'
 int CDECL lame_encode_buffer (
           ^
aud_aux.c:765:17: warning: pointer targets in passing argument 4 of 'lame_encode_buffer_interleaved' differ in signedness [-Wpointer-sign]
                 OUTPUT_SIZE - output_len);
                 ^
In file included from aud_aux.c:41:0:
/usr/include/lame/lame.h:730:11: note: expected 'unsigned char *' but argument is of type 'char *'
 int CDECL lame_encode_buffer_interleaved(
           ^
aud_aux.c:814:9: warning: pointer targets in passing argument 1 of 'tc_get_mp3_header' differ in signedness [-Wpointer-sign]
         while((size=tc_get_mp3_header(output+offset, NULL, NULL)) > 0)
         ^
aud_aux.c:140:12: note: expected 'unsigned char *' but argument is of type 'char *'
 static int tc_get_mp3_header(unsigned char* hbuf, int* chans, int* srate);
            ^
aud_aux.c: In function 'tc_audio_encode_ffmpeg':
aud_aux.c:870:5: warning: implicit declaration of function 'avcodec_encode_audio' [-Wimplicit-function-declaration]
     out_size = avcodec_encode_audio(&mpa_ctx, (unsigned char *)output,
     ^
aud_aux.c: In function 'tc_audio_close':
aud_aux.c:1038:13: warning: pointer targets in passing argument 2 of 'lame_encode_flush' differ in signedness [-Wpointer-sign]
             outsize = lame_encode_flush(lgf, output, 0);
             ^
In file included from aud_aux.c:41:0:
/usr/include/lame/lame.h:856:11: note: expected 'unsigned char *' but argument is of type 'char *'
 int CDECL lame_encode_flush(
           ^
make[3]: *** [export_divx5_la-aud_aux.lo] Error 1
make[3]: Leaving directory `/home/jmm/av10/transcode-1.1.7/export'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jmm/av10/transcode-1.1.7'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jmm/av10/transcode-1.1.7'
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