Source: forked-daapd
Version: 0.19gcd-2.1
Severity: serious
Tags: jessie sid
Justification: FTBFS but built successfully in the past
Control: block 706798 by -1

forked-daapd FTBFS against libav 9:
| clang -DHAVE_CONFIG_H -I. -I..  -D_GNU_SOURCE 
-DDATADIR="\"/usr/share/forked-daapd\"" -DCONFDIR="\"/etc\"" 
-DSTATEDIR="\"/var\"" -DPKGLIBDIR="\"/usr/lib/forked-daapd\""  
-D_FORTIFY_SOURCE=2 -DFLAC -DMUSEPACK -DITUNES -fblocks -D_REENTRANT 
-I/usr/include/taglib   -D_THREAD_SAFE -D_REENTRANT   -I/usr/include/libxml2 
-I/usr/include/alsa   -D_FORTIFY_SOURCE=2   -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wall 
-D_LARGEFILE_SOURCE -MT forked_daapd-artwork.o -MD -MP -MF 
.deps/forked_daapd-artwork.Tpo -c -o forked_daapd-artwork.o `test -f 
'artwork.c' || echo './'`artwork.c
| transcode.c:168:11: warning: 'avcodec_decode_audio3' is deprecated 
[-Wdeprecated-declarations]
|           used = avcodec_decode_audio3(ctx->acodec,
|                  ^
| /usr/include/libavcodec/avcodec.h:3608:26: note: 'avcodec_decode_audio3' 
declared here
| attribute_deprecated int avcodec_decode_audio3(AVCodecContext *avctx, int16_t 
*samples,
|                          ^
| transcode.c:193:17: warning: 'audio_resample' is deprecated 
[-Wdeprecated-declarations]
|               buflen = audio_resample(ctx->resample_ctx, ctx->re_abuffer, 
ctx->abuffer, buflen / ctx->input_size);
|                        ^
| /usr/include/libavcodec/avcodec.h:4117:5: note: 'audio_resample' declared here
| int audio_resample(ReSampleContext *s, short *output, short *input, int 
nb_samples);
|     ^
| transcode.c:266:16: warning: implicit declaration of function 'av_rescale_q' 
is invalid in C99 [-Wimplicit-function-declaration]
|   target_pts = av_rescale_q(target_pts, AV_TIME_BASE_Q, 
ctx->fmtctx->streams[ctx->astream]->time_base);
|                ^
| transcode.c:369:9: warning: implicit declaration of function 
'av_find_stream_info' is invalid in C99 [-Wimplicit-function-declaration]
|   ret = av_find_stream_info(ctx->fmtctx);
|         ^
| transcode.c:412:9: warning: implicit declaration of function 'avcodec_open' 
is invalid in C99 [-Wimplicit-function-declaration]
|   ret = avcodec_open(ctx->acodec, ctx->adecoder);
|         ^
| transcode.c:428:35: error: use of undeclared identifier 'SAMPLE_FMT_S16'; did 
you mean 'AV_SAMPLE_FMT_S16'?
|   if ((ctx->acodec->sample_fmt != SAMPLE_FMT_S16)
|                                   ^~~~~~~~~~~~~~
|                                   AV_SAMPLE_FMT_S16
| /usr/include/libavutil/samplefmt.h:52:5: note: 'AV_SAMPLE_FMT_S16' declared 
here
|     AV_SAMPLE_FMT_S16,         ///< signed 16 bits
|     ^
| transcode.c:434:27: warning: 'av_audio_resample_init' is deprecated 
[-Wdeprecated-declarations]
|       ctx->resample_ctx = av_audio_resample_init(2,              
ctx->acodec->channels,
|                           ^
| /usr/include/libavcodec/avcodec.h:4109:18: note: 'av_audio_resample_init' 
declared here
| ReSampleContext *av_audio_resample_init(int output_channels, int 
input_channels,
|                  ^
| transcode.c:436:8: error: use of undeclared identifier 'SAMPLE_FMT_S16'; did 
you mean 'AV_SAMPLE_FMT_S16'?
|                                                  SAMPLE_FMT_S16, 
ctx->acodec->sample_fmt,
|                                                  ^~~~~~~~~~~~~~
|                                                  AV_SAMPLE_FMT_S16
| /usr/include/libavutil/samplefmt.h:52:5: note: 'AV_SAMPLE_FMT_S16' declared 
here
|     AV_SAMPLE_FMT_S16,         ///< signed 16 bits
|     ^
| transcode.c:451:4: warning: 'audio_resample_close' is deprecated 
[-Wdeprecated-declarations]
|           audio_resample_close(ctx->resample_ctx);
|           ^
| /usr/include/libavcodec/avcodec.h:4126:6: note: 'audio_resample_close' 
declared here
| void audio_resample_close(ReSampleContext *s);
|      ^
| transcode.c:478:3: warning: 'av_close_input_file' is deprecated 
[-Wdeprecated-declarations]
|   av_close_input_file(ctx->fmtctx);
|   ^
| /usr/include/libavformat/avformat.h:1397:6: note: 'av_close_input_file' 
declared here
| void av_close_input_file(AVFormatContext *s);
|      ^
| transcode.c:491:3: warning: 'av_close_input_file' is deprecated 
[-Wdeprecated-declarations]
|   av_close_input_file(ctx->fmtctx);
|   ^
| /usr/include/libavformat/avformat.h:1397:6: note: 'av_close_input_file' 
declared here
| void av_close_input_file(AVFormatContext *s);
|      ^
| transcode.c:497:7: warning: 'audio_resample_close' is deprecated 
[-Wdeprecated-declarations]
|       audio_resample_close(ctx->resample_ctx);
|       ^
| /usr/include/libavcodec/avcodec.h:4126:6: note: 'audio_resample_close' 
declared here
| void audio_resample_close(ReSampleContext *s);
|      ^
| 10 warnings and 2 errors generated.
| make[4]: *** [forked_daapd-transcode.o] Error 1

The full build log is available from
http://people.debian.org/~sramacher/logs/forked-daapd_0.19gcd-2.1_amd64-20130825-1527.log

Regards
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: Digital signature

Reply via email to