Source: silan Version: 0.4.0-2 Severity: important X-Debbugs-Cc: sramac...@debian.org Tags: sid bookworm ftbfs Usertags: ffmpeg5.0
silan FTBFS with ffmpeg 5.0 (available in experimental): | gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O2 -I.. -I/usr/include/opus -I/usr/include/x86_64-linux-gnu -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -pipe -fmessage-length=139 -fdiagnostics-show-location=every-line -c -o ad_soundfile.o ad_soundfile.c | ad_ffmpeg.c: In function ‘ad_open_ffmpeg’: | ad_ffmpeg.c:117:40: error: ‘AVStream’ has no member named ‘codec’ | 117 | if (priv->formatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO) { | | ^~ | ad_ffmpeg.c:128:71: error: ‘AVStream’ has no member named ‘codec’ | 128 | priv->codecContext = priv->formatContext->streams[priv->audioStream]->codec; | | ^~ | ad_ffmpeg.c:129:22: warning: assignment discards ‘const’ qualifier from pointer target | ad_ffmpeg.c:129:22: warning: type [-Wdiscarded-qualifiers] | 129 | priv->codec = avcodec_find_decoder(priv->codecContext->codec_id); | | ^ | ad_ffmpeg.c: In function ‘ad_read_ffmpeg’: | ad_ffmpeg.c:205:32: warning: implicit declaration of function ‘av_free_packet’; did you | ad_ffmpeg.c:205:32: warning: mean ‘av_get_packet’? [ | ad_ffmpeg.c:205:32: warning: -Wimplicit-function-declaration] | 205 | if (priv->packet.data) av_free_packet(&priv->packet); | | ^~~~~~~~~~~~~~ | | av_get_packet | ad_ffmpeg.c:225:13: warning: implicit declaration of function ‘avcodec_decode_audio4’; | ad_ffmpeg.c:225:13: warning: did you mean ‘avcodec_decode_subtitle2’? [ | ad_ffmpeg.c:225:13: warning: -Wimplicit-function-declaration] | 225 | ret = avcodec_decode_audio4(priv->codecContext, &avf, &got_frame, &priv->packet); | | ^~~~~~~~~~~~~~~~~~~~~ | | avcodec_decode_subtitle2 | ad_ffmpeg.c: In function ‘adp_get_ffmpeg’: | ad_ffmpeg.c:380:5: warning: implicit declaration of function ‘av_register_all’ [ | ad_ffmpeg.c:380:5: warning: -Wimplicit-function-declaration] | 380 | av_register_all(); | | ^~~~~~~~~~~~~~~ | ad_ffmpeg.c:381:5: warning: implicit declaration of function ‘avcodec_register_all’ [ | ad_ffmpeg.c:381:5: warning: -Wimplicit-function-declaration] | 381 | avcodec_register_all(); | | ^~~~~~~~~~~~~~~~~~~~ | make[3]: *** [Makefile:388: ad_ffmpeg.o] Error 1 Cheers -- Sebastian Ramacher
signature.asc
Description: PGP signature