Source: handbrake Version: 1.5.1+ds1-1 Severity: important X-Debbugs-Cc: sramac...@debian.org Tags: sid bookworm ftbfs Usertags: ffmpeg5.0
handbrake FTBFS with ffmpeg 5.0 in experimental: /usr/lib/ccache/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -Wno-format-truncation -g2 -O3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -mfpmath=sse -msse2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_STRERROR_R -DARCH_X86_64 -I./libhb/ -I./contrib/include -I/usr/include/libxml2 -c ../libhb/decomb.c -o libhb/decomb.o ../libhb/decavcodec.c: In function ‘decavcodecaInit’: ../libhb/decavcodec.c:185:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 185 | codec = avcodec_find_decoder(w->codec_param); | ^ ../libhb/decavcodec.c: In function ‘parse_adts_extradata’: ../libhb/decavcodec.c:580:11: error: unknown type name ‘AVBitStreamFilter’ 580 | const AVBitStreamFilter * bsf; | ^~~~~~~~~~~~~~~~~ ../libhb/decavcodec.c:581:5: error: unknown type name ‘AVBSFContext’; did you mean ‘AVIOContext’? 581 | AVBSFContext * ctx = NULL; | ^~~~~~~~~~~~ | AVIOContext ../libhb/decavcodec.c:584:11: warning: implicit declaration of function ‘av_bsf_get_by_name’; did you mean ‘avfilter_get_by_name’? [-Wimplicit-function-declaration] 584 | bsf = av_bsf_get_by_name("aac_adtstoasc"); | ^~~~~~~~~~~~~~~~~~ | avfilter_get_by_name ../libhb/decavcodec.c:584:9: warning: assignment to ‘const int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 584 | bsf = av_bsf_get_by_name("aac_adtstoasc"); | ^ ../libhb/decavcodec.c:585:11: warning: implicit declaration of function ‘av_bsf_alloc’; did you mean ‘av_max_alloc’? [-Wimplicit-function-declaration] 585 | ret = av_bsf_alloc(bsf, &ctx); | ^~~~~~~~~~~~ | av_max_alloc ../libhb/decavcodec.c:591:8: error: request for member ‘time_base_in’ in something not a structure or union 591 | ctx->time_base_in.num = 1; | ^~ ../libhb/decavcodec.c:592:8: error: request for member ‘time_base_in’ in something not a structure or union 592 | ctx->time_base_in.den = audio->config.out.samplerate; | ^~ ../libhb/decavcodec.c:593:40: error: request for member ‘par_in’ in something not a structure or union 593 | avcodec_parameters_from_context(ctx->par_in, context); | ^~ ../libhb/decavcodec.c:594:11: warning: implicit declaration of function ‘av_bsf_init’ [-Wimplicit-function-declaration] 594 | ret = av_bsf_init(ctx); | ^~~~~~~~~~~ ../libhb/decavcodec.c:598:9: warning: implicit declaration of function ‘av_bsf_free’; did you mean ‘av_opt_free’? [-Wimplicit-function-declaration] 598 | av_bsf_free(&ctx); | ^~~~~~~~~~~ | av_opt_free ../libhb/decavcodec.c:602:11: warning: implicit declaration of function ‘av_bsf_send_packet’; did you mean ‘av_append_packet’? [-Wimplicit-function-declaration] 602 | ret = av_bsf_send_packet(ctx, pkt); | ^~~~~~~~~~~~~~~~~~ | av_append_packet ../libhb/decavcodec.c:610:11: warning: implicit declaration of function ‘av_bsf_receive_packet’; did you mean ‘avcodec_receive_packet’? [-Wimplicit-function-declaration] 610 | ret = av_bsf_receive_packet(ctx, pkt); | ^~~~~~~~~~~~~~~~~~~~~ | avcodec_receive_packet ../libhb/decavcodec.c:631:45: warning: passing argument 3 of ‘av_packet_get_side_data’ from incompatible pointer type [-Wincompatible-pointer-types] 631 | &size); | ^~~~~ | | | int * In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45, from ../libhb/handbrake/hbffmpeg.h:13, from ../libhb/decavcodec.c:42: /usr/include/x86_64-linux-gnu/libavcodec/packet.h:598:42: note: expected ‘size_t *’ {aka ‘long unsigned int *’} but argument is of type ‘int *’ 598 | size_t *size); | ~~~~~~~~^~~~ ../libhb/decavcodec.c: In function ‘decavcodecaBSInfo’: ../libhb/decavcodec.c:658:22: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 658 | AVCodec *codec = avcodec_find_decoder( w->codec_param ); | ^~~~~~~~~~~~~~~~~~~~ ../libhb/decavcodec.c: In function ‘decavcodecvInit’: ../libhb/decavcodec.c:1507:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1507 | pv->codec = avcodec_find_decoder(w->codec_param); | ^ ../libhb/decavcodec.c: In function ‘decavcodecvWork’: ../libhb/decavcodec.c:1854:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1854 | pv->codec = avcodec_find_decoder(pv->context->codec_id); | ^ make[1]: *** [../libhb/module.rules:12: libhb/decavcodec.o] Error 1 make[1]: *** Waiting for unfinished jobs.... ../libhb/decavsub.c: In function ‘decavsubInit’: ../libhb/decavsub.c:55:32: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | AVCodec * codec = avcodec_find_decoder(ctx->subtitle->codec_param); | ^~~~~~~~~~~~~~~~~~~~ Cheers -- Sebastian Ramacher
signature.asc
Description: PGP signature