Source: renpy Version: 6.16.5-1 Severity: serious Justification: fails to build from source (but built successfully in the past) Tags: sid jessie User: j...@debian.org Usertags: libav10
renpy fails to build against libav 10: | x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/include -I/usr/include/SDL -I/usr/include/freetype2 -I/usr/include/python2.7 -c ffdecode.c -o build/temp.linux-x86_64-2.7/ffdecode.o -Wno-unused-function | ffdecode.c:104:25: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared here (not in a function) | uint8_t audio_buf1[(AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2] __attribute__ ((aligned (16))) ; | ^ | ffdecode.c:119:5: error: unknown type name 'ReSampleContext' | ReSampleContext *reformat_ctx; | ^ | ffdecode.c: In function 'get_time': | ffdecode.c:268:2: warning: implicit declaration of function 'av_gettime' [-Wimplicit-function-declaration] | return av_gettime() * 1e-6; | ^ | ffdecode.c: In function 'video_thread': | ffdecode.c:751:9: warning: 'avcodec_alloc_frame' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3114) [-Wdeprecated-declarations] | frame = avcodec_alloc_frame(); | ^ | ffdecode.c: In function 'audio_decode_frame': | ffdecode.c:982:13: warning: implicit declaration of function 'avcodec_decode_audio3' [-Wimplicit-function-declaration] | len1 = avcodec_decode_audio3(dec, | ^ | ffdecode.c:1001:17: warning: implicit declaration of function 'av_audio_resample_init' [-Wimplicit-function-declaration] | is->reformat_ctx = av_audio_resample_init( | ^ | ffdecode.c:1001:34: warning: assignment makes pointer from integer without a cast [enabled by default] | is->reformat_ctx = av_audio_resample_init( | ^ | ffdecode.c:1025:17: warning: implicit declaration of function 'audio_resample' [-Wimplicit-function-declaration] | len = audio_resample(is->reformat_ctx, (short *) is->audio_buf2, (short *) is->audio_buf1, len); | ^ | ffdecode.c: In function 'stream_component_open': | ffdecode.c:1226:13: warning: 'request_channels' is deprecated (declared at /usr/include/libavcodec/avcodec.h:1832) [-Wdeprecated-declarations] | enc->request_channels = FFMIN(2, enc->channels); | ^ | ffdecode.c:1228:13: warning: 'request_channels' is deprecated (declared at /usr/include/libavcodec/avcodec.h:1832) [-Wdeprecated-declarations] | enc->request_channels = 2; | ^ | ffdecode.c:1233:5: warning: 'debug_mv' is deprecated (declared at /usr/include/libavcodec/avcodec.h:2379) [-Wdeprecated-declarations] | enc->debug_mv = debug_mv; | ^ | ffdecode.c: In function 'stream_component_close': | ffdecode.c:1314:13: warning: implicit declaration of function 'audio_resample_close' [-Wimplicit-function-declaration] | audio_resample_close(is->reformat_ctx); | ^ | In file included from ffdecode.c:22:0: | ffdecode.c: At top level: | /usr/include/python2.7/pygame/pygame.h:678:14: warning: 'PyGAME_C_API' defined but not used [-Wunused-variable] | static void* PyGAME_C_API[PYGAMEAPI_TOTALSLOTS] = { NULL }; | ^ | error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 | make: *** [build-python2.7] Error 1 For a full build log see http://people.debian.org/~sramacher/logs/libav10/renpy_6.16.5-1_amd64-20140512-1347.log Cheers -- Sebastian Ramacher
signature.asc
Description: Digital signature