Source: gpac Version: 1.0.1+dfsg1-5 Severity: important X-Debbugs-Cc: sramac...@debian.org Tags: sid bookworm ftbfs Usertags: ffmpeg5.0
gpac FTBFS with ffmpeg 5.0 (in experimental): | gcc -I"/<<PKGBUILDDIR>>/include" -O2 -Wall -fPIC -DPIC -I/usr/include/mozjs -DXP_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -msse2 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/<<PKGBUILDDIR>>" -fvisibility="hidden" -g -I/usr/include -c -o filters/ff_dmx.o filters/ff_dmx.c | filters/ff_dec.c: In function ‘ffdec_process_video’: | filters/ff_dec.c:127:9: error: unknown type name ‘AVPicture’ | 127 | AVPicture pict; | | ^~~~~~~~~ | filters/ff_dec.c:189:15: warning: implicit declaration of function ‘avcodec_decode_video2’; did you mean ‘avcodec_decode_subtitle2’? [-Wimplicit-function-declaration] | 189 | res = avcodec_decode_video2(ctx->decoder, frame, &gotpic, &pkt); | | ^~~~~~~~~~~~~~~~~~~~~ | | avcodec_decode_subtitle2 | filters/ff_dec.c:257:62: error: ‘AVFrame’ has no member named ‘pkt_pts’; did you mean ‘pkt_dts’? | 257 | if (gf_filter_pck_get_cts(pck_src) == frame->pkt_pts) break; | | ^~~~~~~ | | pkt_dts | filters/ff_dec.c:289:21: error: request for member ‘data’ in something not a structure or union | 289 | pict.data[0] = (uint8_t *)out_buffer; | | ^ | filters/ff_dec.c:290:21: error: request for member ‘linesize’ in something not a structure or union | 290 | pict.linesize[0] = 3*ctx->width; | | ^ | filters/ff_dec.c:294:21: error: request for member ‘data’ in something not a structure or union | 294 | pict.data[0] = (uint8_t *)out_buffer; | | ^ | filters/ff_dec.c:295:21: error: request for member ‘linesize’ in something not a structure or union | 295 | pict.linesize[0] = 4*ctx->width; | | ^ | filters/ff_dec.c:300:21: error: request for member ‘data’ in something not a structure or union | 300 | pict.data[0] = (uint8_t *)out_buffer; | | ^ | filters/ff_dec.c:301:21: error: request for member ‘data’ in something not a structure or union | 301 | pict.data[1] = (uint8_t *)out_buffer + ctx->stride * ctx->height; | | ^ | filters/ff_dec.c:302:21: error: request for member ‘data’ in something not a structure or union | 302 | pict.data[2] = (uint8_t *)pict.data[1] + ctx->stride_uv * uv_height; | | ^ | filters/ff_dec.c:302:48: error: request for member ‘data’ in something not a structure or union | 302 | pict.data[2] = (uint8_t *)pict.data[1] + ctx->stride_uv * uv_height; | | ^ | filters/ff_dec.c:303:21: error: request for member ‘linesize’ in something not a structure or union | 303 | pict.linesize[0] = ctx->stride; | | ^ | filters/ff_dec.c:304:21: error: request for member ‘linesize’ in something not a structure or union | 304 | pict.linesize[1] = pict.linesize[2] = ctx->stride_uv; | | ^ | filters/ff_dec.c:304:40: error: request for member ‘linesize’ in something not a structure or union | 304 | pict.linesize[1] = pict.linesize[2] = ctx->stride_uv; | | ^ | filters/ff_dec.c:313:21: error: request for member ‘data’ in something not a structure or union | 313 | pict.data[0] = (uint8_t *)out_buffer; | | ^ | filters/ff_dec.c:314:21: error: request for member ‘data’ in something not a structure or union | 314 | pict.data[1] = (uint8_t *)out_buffer + ctx->stride * ctx->height; | | ^ | filters/ff_dec.c:315:21: error: request for member ‘data’ in something not a structure or union | 315 | pict.data[2] = (uint8_t *)pict.data[1] + ctx->stride_uv * ctx->height; | | ^ | filters/ff_dec.c:315:48: error: request for member ‘data’ in something not a structure or union | 315 | pict.data[2] = (uint8_t *)pict.data[1] + ctx->stride_uv * ctx->height; | | ^ | filters/ff_dec.c:316:21: error: request for member ‘linesize’ in something not a structure or union | 316 | pict.linesize[0] = ctx->stride; | | ^ | filters/ff_dec.c:317:21: error: request for member ‘linesize’ in something not a structure or union | 317 | pict.linesize[1] = pict.linesize[2] = ctx->stride_uv; | | ^ | filters/ff_dec.c:317:40: error: request for member ‘linesize’ in something not a structure or union | 317 | pict.linesize[1] = pict.linesize[2] = ctx->stride_uv; | | ^ | filters/ff_dec.c:326:21: error: request for member ‘data’ in something not a structure or union | 326 | pict.data[0] = (uint8_t *)out_buffer; | | ^ | filters/ff_dec.c:327:21: error: request for member ‘data’ in something not a structure or union | 327 | pict.data[1] = (uint8_t *)out_buffer + ctx->stride * ctx->height; | | ^ | filters/ff_dec.c:328:21: error: request for member ‘data’ in something not a structure or union | 328 | pict.data[2] = (uint8_t *)out_buffer + 2*ctx->stride * ctx->height; | | ^ | filters/ff_dec.c:329:21: error: request for member ‘linesize’ in something not a structure or union | 329 | pict.linesize[0] = pict.linesize[1] = pict.linesize[2] = ctx->stride; | | ^ | filters/ff_dec.c:329:40: error: request for member ‘linesize’ in something not a structure or union | 329 | pict.linesize[0] = pict.linesize[1] = pict.linesize[2] = ctx->stride; | | ^ | filters/ff_dec.c:329:59: error: request for member ‘linesize’ in something not a structure or union | 329 | pict.linesize[0] = pict.linesize[1] = pict.linesize[2] = ctx->stride; | | ^ | filters/ff_dec.c:348:115: error: request for member ‘data’ in something not a structure or union | 348 | sws_scale(ctx->sws_ctx, (const uint8_t * const*)frame->data, frame->linesize, 0, ctx->height, pict.data, pict.linesize); | | ^ | filters/ff_dec.c:348:126: error: request for member ‘linesize’ in something not a structure or union | 348 | sws_scale(ctx->sws_ctx, (const uint8_t * const*)frame->data, frame->linesize, 0, ctx->height, pict.data, pict.linesize); | | ^ | filters/ff_dec.c: In function ‘ffdec_process_audio’: | filters/ff_dec.c:412:15: warning: implicit declaration of function ‘avcodec_decode_audio4’; did you mean ‘avcodec_decode_subtitle2’? [-Wimplicit-function-declaration] | 412 | len = avcodec_decode_audio4(ctx->decoder, frame, &gotpic, &pkt); | | ^~~~~~~~~~~~~~~~~~~~~ | | avcodec_decode_subtitle2 | filters/ff_dec.c:480:20: error: ‘AVFrame’ has no member named ‘pkt_pts’; did you mean ‘pkt_dts’? | 480 | if (frame->pkt_pts != AV_NOPTS_VALUE) { | | ^~~~~~~ | | pkt_dts | filters/ff_dec.c:481:34: error: ‘AVFrame’ has no member named ‘pkt_pts’; did you mean ‘pkt_dts’? | 481 | u64 pts = frame->pkt_pts; | | ^~~~~~~ | | pkt_dts | In file included from /<<PKGBUILDDIR>>/include/gpac/filters.h:33, | from filters/ff_common.h:27, | from filters/ff_dec.c:30: | filters/ff_dec.c:508:128: error: ‘AVFrame’ has no member named ‘pkt_pts’; did you mean ‘pkt_dts’? | 508 | GF_LOG(GF_LOG_ERROR, GF_LOG_CODEC, ("[FFDec] Code not yet tested - frame PTS was "LLU" - nb samples dec %d\n", frame->pkt_pts, frame->nb_samples)); | | ^~~~~~~ | /<<PKGBUILDDIR>>/include/gpac/tools.h:717:143: note: in definition of macro ‘GF_LOG’ | 717 | #define GF_LOG(_log_level, _log_tools, __args) if (gf_log_tool_level_on(_log_tools, _log_level) ) { gf_log_lt(_log_level, _log_tools); gf_log __args ;} | | ^~~~~~ | filters/ff_dec.c: In function ‘ffdec_configure_pid’: | filters/ff_dec.c:650:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 650 | codec = avcodec_find_decoder(ctx->decoder->codec_id); | | ^ | filters/ff_dec.c:693:37: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 693 | if (codec_id) codec = avcodec_find_decoder(codec_id); | | ^ | make[2]: *** [../config.mak:151: filters/ff_dec.o] Error 1 | make[2]: *** Waiting for unfinished jobs.... | filters/ff_dmx.c: In function ‘ffdmx_shared_pck_release’: | filters/ff_dmx.c:108:17: warning: implicit declaration of function ‘av_free_packet’; did you mean ‘av_get_packet’? [-Wimplicit-function-declaration] | 108 | av_free_packet(&ctx->pkt); | | ^~~~~~~~~~~~~~ | | av_get_packet | filters/ff_dmx.c: In function ‘ffdmx_init_common’: | filters/ff_dmx.c:299:47: error: ‘AVStream’ has no member named ‘codec’ | 299 | AVCodecContext *codec = stream->codec; | | ^~ | In file included from filters/ff_common.h:27, | from filters/ff_dmx.c:30: | filters/ff_dmx.c:503:91: error: ‘AVFormatContext’ has no member named ‘filename’ | 503 | gf_filter_pid_set_property(pid, GF_PROP_PID_URL, &PROP_STRING(ctx->demuxer->filename)); | | ^~ | /<<PKGBUILDDIR>>/include/gpac/filters.h:1176:93: note: in definition of macro ‘PROP_STRING’ | 1176 | #define PROP_STRING(_val) (GF_PropertyValue){.type=GF_PROP_STRING, .value.string = (char *) _val} | | ^~~~ | filters/ff_dmx.c: In function ‘ffdmx_initialize’: | filters/ff_dmx.c:554:51: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 554 | if (!stricmp(ext+1, "cmp")) av_in = av_find_input_format("m4v"); | | ^ | filters/ff_dmx.c: In function ‘ffdmx_probe_data’: | filters/ff_dmx.c:683:9: warning: implicit declaration of function ‘av_register_all’; did you mean ‘avdevice_register_all’? [-Wimplicit-function-declaration] | 683 | av_register_all(); | | ^~~~~~~~~~~~~~~ | | avdevice_register_all | filters/ff_dmx.c:693:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 693 | probe_fmt = av_probe_input_format3(&pb, GF_FALSE, &ffscore); | | ^ | filters/ff_dmx.c:698:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 698 | probe_fmt = av_probe_input_format3(&pb, GF_FALSE, &ffscore); | | ^ | filters/ff_dmx.c: In function ‘ffavin_initialize’: | filters/ff_dmx.c:786:25: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 786 | dev_fmt = av_find_input_format(default_fmt); | | ^ | filters/ff_dmx.c:898:48: error: ‘AVStream’ has no member named ‘codec’ | 898 | switch(ctx->demuxer->streams[i]->codec->codec_type) { | | ^~ | make[2]: *** [../config.mak:151: filters/ff_dmx.o] Error 1 | filters/ff_common.c:188:10: error: ‘AV_CH_FRONT_LEFT’ undeclared here (not in a function); did you mean ‘GF_AUDIO_CH_FRONT_LEFT’? | 188 | {AV_CH_FRONT_LEFT, GF_AUDIO_CH_FRONT_LEFT}, | | ^~~~~~~~~~~~~~~~ | | GF_AUDIO_CH_FRONT_LEFT | filters/ff_common.c:189:10: error: ‘AV_CH_FRONT_RIGHT’ undeclared here (not in a function); did you mean ‘GF_AUDIO_CH_FRONT_RIGHT’? | 189 | {AV_CH_FRONT_RIGHT, GF_AUDIO_CH_FRONT_RIGHT}, | | ^~~~~~~~~~~~~~~~~ | | GF_AUDIO_CH_FRONT_RIGHT | filters/ff_common.c:190:10: error: ‘AV_CH_FRONT_CENTER’ undeclared here (not in a function); did you mean ‘GF_AUDIO_CH_FRONT_CENTER’? | 190 | {AV_CH_FRONT_CENTER, GF_AUDIO_CH_FRONT_CENTER}, | | ^~~~~~~~~~~~~~~~~~ | | GF_AUDIO_CH_FRONT_CENTER | filters/ff_common.c:191:10: error: ‘AV_CH_LOW_FREQUENCY’ undeclared here (not in a function) | 191 | {AV_CH_LOW_FREQUENCY, GF_AUDIO_CH_LFE}, | | ^~~~~~~~~~~~~~~~~~~ | filters/ff_common.c:192:10: error: ‘AV_CH_BACK_LEFT’ undeclared here (not in a function) | 192 | {AV_CH_BACK_LEFT, GF_AUDIO_CH_SURROUND_LEFT}, | | ^~~~~~~~~~~~~~~ | filters/ff_common.c:193:10: error: ‘AV_CH_BACK_RIGHT’ undeclared here (not in a function) | 193 | {AV_CH_BACK_RIGHT, GF_AUDIO_CH_SURROUND_RIGHT}, | | ^~~~~~~~~~~~~~~~ | filters/ff_common.c:194:10: error: ‘AV_CH_FRONT_LEFT_OF_CENTER’ undeclared here (not in a function) | 194 | {AV_CH_FRONT_LEFT_OF_CENTER, GF_AUDIO_CH_FRONT_CENTER_LEFT}, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | filters/ff_common.c:195:10: error: ‘AV_CH_FRONT_RIGHT_OF_CENTER’ undeclared here (not in a function) | 195 | {AV_CH_FRONT_RIGHT_OF_CENTER, GF_AUDIO_CH_FRONT_CENTER_RIGHT}, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | filters/ff_common.c:196:10: error: ‘AV_CH_BACK_CENTER’ undeclared here (not in a function) | 196 | {AV_CH_BACK_CENTER, GF_AUDIO_CH_REAR_CENTER}, | | ^~~~~~~~~~~~~~~~~ | filters/ff_common.c:197:10: error: ‘AV_CH_SIDE_LEFT’ undeclared here (not in a function) | 197 | {AV_CH_SIDE_LEFT, GF_AUDIO_CH_REAR_SURROUND_LEFT}, | | ^~~~~~~~~~~~~~~ | filters/ff_common.c:198:10: error: ‘AV_CH_SIDE_RIGHT’ undeclared here (not in a function) | 198 | {AV_CH_SIDE_RIGHT, GF_AUDIO_CH_REAR_SURROUND_RIGHT}, | | ^~~~~~~~~~~~~~~~ | filters/ff_common.c:199:10: error: ‘AV_CH_TOP_CENTER’ undeclared here (not in a function); did you mean ‘AVCHROMA_LOC_CENTER’? | 199 | {AV_CH_TOP_CENTER, GF_AUDIO_CH_CENTER_SURROUND_TOP}, | | ^~~~~~~~~~~~~~~~ | | AVCHROMA_LOC_CENTER | filters/ff_common.c:200:10: error: ‘AV_CH_TOP_FRONT_LEFT’ undeclared here (not in a function) | 200 | {AV_CH_TOP_FRONT_LEFT, GF_AUDIO_CH_FRONT_TOP_LEFT}, | | ^~~~~~~~~~~~~~~~~~~~ | filters/ff_common.c:201:10: error: ‘AV_CH_TOP_FRONT_CENTER’ undeclared here (not in a function) | 201 | {AV_CH_TOP_FRONT_CENTER, GF_AUDIO_CH_FRONT_TOP_CENTER}, | | ^~~~~~~~~~~~~~~~~~~~~~ | filters/ff_common.c:202:10: error: ‘AV_CH_TOP_FRONT_RIGHT’ undeclared here (not in a function) | 202 | {AV_CH_TOP_FRONT_RIGHT, GF_AUDIO_CH_FRONT_TOP_RIGHT}, | | ^~~~~~~~~~~~~~~~~~~~~ | filters/ff_common.c:203:10: error: ‘AV_CH_TOP_BACK_LEFT’ undeclared here (not in a function) | 203 | {AV_CH_TOP_BACK_LEFT, GF_AUDIO_CH_SURROUND_TOP_LEFT}, | | ^~~~~~~~~~~~~~~~~~~ | filters/ff_common.c:204:10: error: ‘AV_CH_TOP_BACK_CENTER’ undeclared here (not in a function) | 204 | {AV_CH_TOP_BACK_CENTER, GF_AUDIO_CH_REAR_CENTER_TOP}, | | ^~~~~~~~~~~~~~~~~~~~~ | filters/ff_common.c:205:10: error: ‘AV_CH_TOP_BACK_RIGHT’ undeclared here (not in a function) | 205 | {AV_CH_TOP_BACK_RIGHT, GF_AUDIO_CH_SURROUND_TOP_RIGHT}, | | ^~~~~~~~~~~~~~~~~~~~ | filters/ff_common.c:206:10: error: ‘AV_CH_WIDE_LEFT’ undeclared here (not in a function) | 206 | {AV_CH_WIDE_LEFT, GF_AUDIO_CH_WIDE_FRONT_LEFT}, | | ^~~~~~~~~~~~~~~ | filters/ff_common.c:207:10: error: ‘AV_CH_WIDE_RIGHT’ undeclared here (not in a function) | 207 | {AV_CH_WIDE_RIGHT, GF_AUDIO_CH_WIDE_FRONT_RIGHT}, | | ^~~~~~~~~~~~~~~~ | filters/ff_common.c:208:10: error: ‘AV_CH_SURROUND_DIRECT_LEFT’ undeclared here (not in a function); did you mean ‘GF_AUDIO_CH_SURROUND_DIRECT_LEFT’? | 208 | {AV_CH_SURROUND_DIRECT_LEFT, GF_AUDIO_CH_SURROUND_DIRECT_LEFT}, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | GF_AUDIO_CH_SURROUND_DIRECT_LEFT | filters/ff_common.c:209:10: error: ‘AV_CH_SURROUND_DIRECT_RIGHT’ undeclared here (not in a function); did you mean ‘GF_AUDIO_CH_SURROUND_DIRECT_RIGHT’? | 209 | {AV_CH_SURROUND_DIRECT_RIGHT, GF_AUDIO_CH_SURROUND_DIRECT_RIGHT}, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | GF_AUDIO_CH_SURROUND_DIRECT_RIGHT | filters/ff_common.c:210:10: error: ‘AV_CH_LOW_FREQUENCY_2’ undeclared here (not in a function) | 210 | {AV_CH_LOW_FREQUENCY_2, GF_AUDIO_CH_LFE2}, | | ^~~~~~~~~~~~~~~~~~~~~ | filters/ff_common.c: In function ‘ffmpeg_initialize’: | filters/ff_common.c:432:9: warning: implicit declaration of function ‘av_register_all’; did you mean ‘avdevice_register_all’? [-Wimplicit-function-declaration] | 432 | av_register_all(); | | ^~~~~~~~~~~~~~~ | | avdevice_register_all | filters/ff_common.c: In function ‘ffmpeg_expand_register’: | filters/ff_common.c:691:39: warning: implicit declaration of function ‘av_iformat_next’; did you mean ‘av_opt_next’? [-Wimplicit-function-declaration] | 691 | fmt = av_iformat_next(fmt); | | ^~~~~~~~~~~~~~~ | | av_opt_next | filters/ff_common.c:691:37: warning: assignment to ‘AVInputFormat *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] | 691 | fmt = av_iformat_next(fmt); | | ^ | filters/ff_common.c:700:33: warning: implicit declaration of function ‘av_codec_next’; did you mean ‘av_opt_next’? [-Wimplicit-function-declaration] | 700 | codec = av_codec_next(codec); | | ^~~~~~~~~~~~~ | | av_opt_next | filters/ff_common.c:700:31: warning: assignment to ‘AVCodec *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] | 700 | codec = av_codec_next(codec); | | ^ | filters/ff_common.c:718:29: warning: assignment to ‘AVInputFormat *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] | 718 | fmt = av_iformat_next(fmt); | | ^ | filters/ff_common.c:747:31: warning: assignment to ‘AVCodec *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] | 747 | codec = av_codec_next(codec); | | ^ | make[2]: *** [../config.mak:151: filters/ff_common.o] Error 1 | filters/ff_avf.c: In function ‘ffavf_configure_pid’: | filters/ff_avf.c:804:45: warning: implicit declaration of function ‘av_get_default_channel_layout’; did you mean ‘av_opt_get_channel_layout’? [-Wimplicit-function-declaration] | 804 | if (!ch_layout) ch_layout = av_get_default_channel_layout(p->value.uint); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | av_opt_get_channel_layout | make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' | make[1]: *** [Makefile:13: all] Error 2 Cheers -- Sebastian Ramacher
signature.asc
Description: PGP signature