Source: gegl Version: 1:0.4.34-1 Severity: important X-Debbugs-Cc: sramac...@debian.org Tags: sid bookworm ftbfs Usertags: ffmpeg5.0
gegl FTBFS with ffmpeg 5.0 in experimental: ccache cc -Ioperations/external/ff-load.so.p -Ioperations/external -I../operations/external -I. -I.. -Igegl -I../gegl -Igegl/buffer -I../gegl/buffer -Igegl/graph -I../gegl/graph -Igegl/module -I../gegl/module -Igegl/opencl -I../gegl/opencl -Igegl/operation -I../gegl/operation -Igegl/process -I../gegl/process -Igegl/property-types -I../gegl/property-types -I/usr/include/babl-0.1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -DHAVE_CONFIG_H -Winit-self -Wmissing-declarations -Wpointer-arith -Wno-deprecated-declarations -Wmissing-prototypes -Wold-style-definition -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ operations/external/ff-load.so.p/ff-load.c.o -MF operations/external/ff-load.so.p/ff-load.c.o.d -o operations/external/ff-load.so.p/ff-load.c.o -c ../operations/external/ff-load.c ../operations/external/ff-load.c: In function ‘ff_cleanup’: ../operations/external/ff-load.c:143:45: error: ‘AVStream’ has no member named ‘codec’ 143 | if (p->video_stream && p->video_stream->codec) | ^~ ../operations/external/ff-load.c:144:9: warning: implicit declaration of function ‘avcodec_close’; did you mean ‘avio_close’? [-Wimplicit-function-declaration] 144 | avcodec_close (p->video_stream->codec); | ^~~~~~~~~~~~~ | avio_close ../operations/external/ff-load.c:144:39: error: ‘AVStream’ has no member named ‘codec’ 144 | avcodec_close (p->video_stream->codec); | ^~ ../operations/external/ff-load.c:145:45: error: ‘AVStream’ has no member named ‘codec’ 145 | if (p->audio_stream && p->audio_stream->codec) | ^~ ../operations/external/ff-load.c:146:39: error: ‘AVStream’ has no member named ‘codec’ 146 | avcodec_close (p->audio_stream->codec); | ^~ ../operations/external/ff-load.c: In function ‘decode_audio’: ../operations/external/ff-load.c:205:7: warning: implicit declaration of function ‘avcodec_flush_buffers’ [-Wimplicit-function-declaration] 205 | avcodec_flush_buffers (p->audio_stream->codec); | ^~~~~~~~~~~~~~~~~~~~~ ../operations/external/ff-load.c:205:45: error: ‘AVStream’ has no member named ‘codec’ 205 | avcodec_flush_buffers (p->audio_stream->codec); | ^~ ../operations/external/ff-load.c:224:27: warning: implicit declaration of function ‘avcodec_decode_audio4’ [-Wimplicit-function-declaration] 224 | decoded_bytes = avcodec_decode_audio4(p->audio_stream->codec, | ^~~~~~~~~~~~~~~~~~~~~ ../operations/external/ff-load.c:224:64: error: ‘AVStream’ has no member named ‘codec’ 224 | decoded_bytes = avcodec_decode_audio4(p->audio_stream->codec, | ^~ ../operations/external/ff-load.c:242:27: error: ‘AV_CH_LAYOUT_STEREO’ undeclared (first use in this function); did you mean ‘GEGL_CH_LAYOUT_STEREO’? 242 | AV_CH_LAYOUT_STEREO, samples_left); | ^~~~~~~~~~~~~~~~~~~ | GEGL_CH_LAYOUT_STEREO ../operations/external/ff-load.c:242:27: note: each undeclared identifier is reported only once for each function it appears in ../operations/external/ff-load.c:244:39: error: ‘AVStream’ has no member named ‘codec’ 244 | switch (p->audio_stream->codec->sample_fmt) | ^~ ../operations/external/ff-load.c: In function ‘decode_frame’: ../operations/external/ff-load.c:328:64: error: ‘AVStream’ has no member named ‘codec’ 328 | , AV_TIME_BASE_Q, p->video_stream->time_base) / p->video_stream->codec->ticks_per_frame; | ^~ ../operations/external/ff-load.c:333:45: error: ‘AVStream’ has no member named ‘codec’ 333 | avcodec_flush_buffers (p->video_stream->codec); | ^~ ../operations/external/ff-load.c:357:27: warning: implicit declaration of function ‘avcodec_decode_video2’ [-Wimplicit-function-declaration] 357 | decoded_bytes = avcodec_decode_video2 ( | ^~~~~~~~~~~~~~~~~~~~~ ../operations/external/ff-load.c:358:33: error: ‘AVStream’ has no member named ‘codec’ 358 | p->video_stream->codec, p->lavc_frame, | ^~ ../operations/external/ff-load.c:371:53: error: ‘AVStream’ has no member named ‘cur_dts’ 371 | p->lavc_frame->pts = (p->video_stream->cur_dts - | ^~ ../operations/external/ff-load.c:372:53: error: ‘AVStream’ has no member named ‘first_dts’ 372 | p->video_stream->first_dts); | ^~ ../operations/external/ff-load.c: In function ‘prepare’: ../operations/external/ff-load.c:468:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 468 | p->video_codec = avcodec_find_decoder (p->video_stream->codecpar->codec_id); | ^ ../operations/external/ff-load.c:471:26: error: ‘AVStream’ has no member named ‘codec’ 471 | p->video_stream->codec->err_recognition = AV_EF_IGNORE_ERR | | ^~ ../operations/external/ff-load.c:471:53: error: ‘AV_EF_IGNORE_ERR’ undeclared (first use in this function) 471 | p->video_stream->codec->err_recognition = AV_EF_IGNORE_ERR | | ^~~~~~~~~~~~~~~~ ../operations/external/ff-load.c:472:53: error: ‘AV_EF_BITSTREAM’ undeclared (first use in this function) 472 | AV_EF_BITSTREAM | | ^~~~~~~~~~~~~~~ ../operations/external/ff-load.c:473:53: error: ‘AV_EF_BUFFER’ undeclared (first use in this function) 473 | AV_EF_BUFFER; | ^~~~~~~~~~~~ ../operations/external/ff-load.c:474:26: error: ‘AVStream’ has no member named ‘codec’ 474 | p->video_stream->codec->workaround_bugs = FF_BUG_AUTODETECT; | ^~ ../operations/external/ff-load.c:474:53: error: ‘FF_BUG_AUTODETECT’ undeclared (first use in this function) 474 | p->video_stream->codec->workaround_bugs = FF_BUG_AUTODETECT; | ^~~~~~~~~~~~~~~~~ ../operations/external/ff-load.c:477:15: warning: implicit declaration of function ‘avcodec_open2’; did you mean ‘avio_open2’? [-Wimplicit-function-declaration] 477 | if (avcodec_open2 (p->video_stream->codec, p->video_codec, NULL) < 0) | ^~~~~~~~~~~~~ | avio_open2 ../operations/external/ff-load.c:477:45: error: ‘AVStream’ has no member named ‘codec’ 477 | if (avcodec_open2 (p->video_stream->codec, p->video_codec, NULL) < 0) | ^~ In file included from /usr/include/glib-2.0/glib.h:62, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../operations/external/ff-load.c:20: ../operations/external/ff-load.c:479:65: error: ‘AVStream’ has no member named ‘codec’ 479 | g_warning ("error opening codec %s", p->video_stream->codec->codec->name); | ^~ /usr/include/glib-2.0/glib/gmessages.h:348:32: note: in definition of macro ‘g_warning’ 348 | __VA_ARGS__) | ^~~~~~~~~~~ ../operations/external/ff-load.c:486:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 486 | p->audio_codec = avcodec_find_decoder (p->audio_stream->codecpar->codec_id); | ^ ../operations/external/ff-load.c:489:50: error: ‘AVStream’ has no member named ‘codec’ 489 | else if (avcodec_open2 (p->audio_stream->codec, p->audio_codec, NULL) < 0) | ^~ In file included from /usr/include/glib-2.0/glib.h:62, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../operations/external/ff-load.c:20: ../operations/external/ff-load.c:491:67: error: ‘AVStream’ has no member named ‘codec’ 491 | g_warning ("error opening codec %s", p->audio_stream->codec->codec->name); | ^~ /usr/include/glib-2.0/glib/gmessages.h:348:32: note: in definition of macro ‘g_warning’ 348 | __VA_ARGS__) | ^~~~~~~~~~~ ../operations/external/ff-load.c:547:43: error: ‘AVStream’ has no member named ‘codec’ 547 | p->codec_delay = p->video_stream->codec->delay; | ^~ ../operations/external/ff-load.c: In function ‘process’: ../operations/external/ff-load.c:739:28: error: ‘AVStream’ has no member named ‘codec’ 739 | if (p->video_stream->codec->pix_fmt == AV_PIX_FMT_RGB24) | ^~ ../operations/external/ff-load.c:749:80: error: ‘AVStream’ has no member named ‘codec’ 749 | img_convert_ctx = sws_getContext(p->width, p->height, p->video_stream->codec->pix_fmt, | ^~ [469/812] ccache cc -Ioperations/external/v4l.so.p -Ioperations/external -I../operations/external -I. -I.. -Igegl -I../gegl -Igegl/buffer -I../gegl/buffer -Igegl/graph -I../gegl/graph -Igegl/module -I../gegl/module -Igegl/opencl -I../gegl/opencl -Igegl/operation -I../gegl/operation -Igegl/process -I../gegl/process -Igegl/property-types -I../gegl/property-types -I/usr/include/babl-0.1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -DHAVE_CONFIG_H -Winit-self -Wmissing-declarations -Wpointer-arith -Wno-deprecated-declarations -Wmissing-prototypes -Wold-style-definition -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ operations/external/v4l.so.p/v4l.c.o -MF operations/external/v4l.so.p/v4l.c.o.d -o operations/external/v4l.so.p/v4l.c.o -c ../operations/external/v4l.c [470/812] ccache cc -Ioperations/external/ff-save.so.p -Ioperations/external -I../operations/external -I. -I.. -Igegl -I../gegl -Igegl/buffer -I../gegl/buffer -Igegl/graph -I../gegl/graph -Igegl/module -I../gegl/module -Igegl/opencl -I../gegl/opencl -Igegl/operation -I../gegl/operation -Igegl/process -I../gegl/process -Igegl/property-types -I../gegl/property-types -I/usr/include/babl-0.1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -DHAVE_CONFIG_H -Winit-self -Wmissing-declarations -Wpointer-arith -Wno-deprecated-declarations -Wmissing-prototypes -Wold-style-definition -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ operations/external/ff-save.so.p/ff-save.c.o -MF operations/external/ff-save.so.p/ff-save.c.o.d -o operations/external/ff-save.so.p/ff-save.c.o -c ../operations/external/ff-save.c FAILED: operations/external/ff-save.so.p/ff-save.c.o ccache cc -Ioperations/external/ff-save.so.p -Ioperations/external -I../operations/external -I. -I.. -Igegl -I../gegl -Igegl/buffer -I../gegl/buffer -Igegl/graph -I../gegl/graph -Igegl/module -I../gegl/module -Igegl/opencl -I../gegl/opencl -Igegl/operation -I../gegl/operation -Igegl/process -I../gegl/process -Igegl/property-types -I../gegl/property-types -I/usr/include/babl-0.1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -DHAVE_CONFIG_H -Winit-self -Wmissing-declarations -Wpointer-arith -Wno-deprecated-declarations -Wmissing-prototypes -Wold-style-definition -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ operations/external/ff-save.so.p/ff-save.c.o -MF operations/external/ff-save.so.p/ff-save.c.o.d -o operations/external/ff-save.so.p/ff-save.c.o -c ../operations/external/ff-save.c ../operations/external/ff-save.c: In function ‘init’: ../operations/external/ff-save.c:250:7: warning: implicit declaration of function ‘av_register_all’ [-Wimplicit-function-declaration] 250 | av_register_all (); | ^~~~~~~~~~~~~~~ ../operations/external/ff-save.c:251:7: warning: implicit declaration of function ‘avcodec_register_all’ [-Wimplicit-function-declaration] 251 | avcodec_register_all (); | ^~~~~~~~~~~~~~~~~~~~ ../operations/external/ff-save.c: In function ‘add_audio_stream’: ../operations/external/ff-save.c:295:9: error: ‘AVStream’ has no member named ‘codec’ 295 | c = st->codec; | ^~ ../operations/external/ff-save.c: In function ‘open_audio’: ../operations/external/ff-save.c:313:9: error: ‘AVStream’ has no member named ‘codec’ 313 | c = st->codec; | ^~ ../operations/external/ff-save.c:316:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 316 | codec = avcodec_find_encoder (c->codec_id); | ^ ../operations/external/ff-save.c:337:23: error: ‘AV_CH_LAYOUT_STEREO’ undeclared (first use in this function); did you mean ‘GEGL_CH_LAYOUT_STEREO’? 337 | c->channel_layout = AV_CH_LAYOUT_STEREO; | ^~~~~~~~~~~~~~~~~~~ | GEGL_CH_LAYOUT_STEREO ../operations/external/ff-save.c:337:23: note: each undeclared identifier is reported only once for each function it appears in ../operations/external/ff-save.c: In function ‘encode_audio_fragments’: ../operations/external/ff-save.c:396:27: error: ‘AVStream’ has no member named ‘codec’ 396 | AVCodecContext *c = st->codec; | ^~ ../operations/external/ff-save.c:473:11: warning: implicit declaration of function ‘avcodec_encode_audio2’; did you mean ‘avcodec_encode_subtitle’? [-Wimplicit-function-declaration] 473 | ret = avcodec_encode_audio2 (c, &pkt, frame, &got_packet); | ^~~~~~~~~~~~~~~~~~~~~ | avcodec_encode_subtitle ../operations/external/ff-save.c:480:37: error: ‘AVStream’ has no member named ‘codec’ 480 | av_packet_rescale_ts (&pkt, st->codec->time_base, st->time_base); | ^~ ../operations/external/ff-save.c: In function ‘write_audio_frame’: ../operations/external/ff-save.c:495:25: error: ‘AVStream’ has no member named ‘codec’ 495 | AVCodecContext *c = st->codec; | ^~ ../operations/external/ff-save.c: In function ‘close_audio’: ../operations/external/ff-save.c:552:20: error: ‘AVStream’ has no member named ‘codec’ 552 | avcodec_close (st->codec); | ^~ ../operations/external/ff-save.c: In function ‘add_video_stream’: ../operations/external/ff-save.c:572:9: error: ‘AVStream’ has no member named ‘codec’ 572 | c = st->codec; | ^~ ../operations/external/ff-save.c: In function ‘alloc_picture’: ../operations/external/ff-save.c:659:10: warning: implicit declaration of function ‘avpicture_get_size’ [-Wimplicit-function-declaration] 659 | size = avpicture_get_size (pix_fmt, width + 1, height + 1); | ^~~~~~~~~~~~~~~~~~ ../operations/external/ff-save.c:666:3: warning: implicit declaration of function ‘avpicture_fill’ [-Wimplicit-function-declaration] 666 | avpicture_fill ((AVPicture *) picture, picture_buf, pix_fmt, width, height); | ^~~~~~~~~~~~~~ ../operations/external/ff-save.c:666:20: error: ‘AVPicture’ undeclared (first use in this function); did you mean ‘picture’? 666 | avpicture_fill ((AVPicture *) picture, picture_buf, pix_fmt, width, height); | ^~~~~~~~~ | picture ../operations/external/ff-save.c:666:31: error: expected expression before ‘)’ token 666 | avpicture_fill ((AVPicture *) picture, picture_buf, pix_fmt, width, height); | ^ ../operations/external/ff-save.c: In function ‘open_video’: ../operations/external/ff-save.c:679:9: error: ‘AVStream’ has no member named ‘codec’ 679 | c = st->codec; | ^~ ../operations/external/ff-save.c:682:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 682 | codec = avcodec_find_encoder (c->codec_id); | ^ ../operations/external/ff-save.c: In function ‘close_video’: ../operations/external/ff-save.c:749:20: error: ‘AVStream’ has no member named ‘codec’ 749 | avcodec_close (st->codec); | ^~ ../operations/external/ff-save.c: In function ‘write_video_frame’: ../operations/external/ff-save.c:781:9: error: ‘AVStream’ has no member named ‘codec’ 781 | c = st->codec; | ^~ ../operations/external/ff-save.c:848:18: warning: implicit declaration of function ‘avcodec_encode_video2’; did you mean ‘avcodec_encode_subtitle’? [-Wimplicit-function-declaration] 848 | out_size = avcodec_encode_video2(c, &pkt2, picture_ptr, &got_packet); | ^~~~~~~~~~~~~~~~~~~~~ | avcodec_encode_subtitle ../operations/external/ff-save.c:850:39: error: ‘AVCodecContext’ has no member named ‘coded_frame’ 850 | if (!out_size && got_packet && c->coded_frame) | ^~ ../operations/external/ff-save.c:852:12: error: ‘AVCodecContext’ has no member named ‘coded_frame’ 852 | c->coded_frame->pts = pkt2.pts; | ^~ ../operations/external/ff-save.c:853:12: error: ‘AVCodecContext’ has no member named ‘coded_frame’ 853 | c->coded_frame->key_frame = !!(pkt2.flags & AV_PKT_FLAG_KEY); | ^~ ../operations/external/ff-save.c:855:16: error: ‘AVCodecContext’ has no member named ‘coded_frame’ 855 | c->coded_frame->pict_type = AV_PICTURE_TYPE_I; | ^~ ../operations/external/ff-save.c:875:16: error: ‘AVCodecContext’ has no member named ‘coded_frame’ 875 | if (c->coded_frame->key_frame) | ^~ ../operations/external/ff-save.c: In function ‘tfile’: ../operations/external/ff-save.c:905:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 905 | p->fmt = av_guess_format (o->container_format, o->path, NULL); | ^ ../operations/external/ff-save.c:907:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 907 | p->fmt = av_guess_format (NULL, o->path, NULL); | ^ ../operations/external/ff-save.c:914:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 914 | p->fmt = av_guess_format ("mpeg", NULL, NULL); | ^ ../operations/external/ff-save.c:925:18: error: ‘AVFormatContext’ has no member named ‘filename’ 925 | snprintf (p->oc->filename, sizeof (p->oc->filename), "%s", o->path); | ^~ ../operations/external/ff-save.c:925:43: error: ‘AVFormatContext’ has no member named ‘filename’ 925 | snprintf (p->oc->filename, sizeof (p->oc->filename), "%s", o->path); | ^~ ../operations/external/ff-save.c:932:22: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 932 | AVCodec *codec = avcodec_find_encoder_by_name (o->video_codec); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../operations/external/ff-save.c:939:25: warning: implicit declaration of function ‘av_codec_next’; did you mean ‘av_opt_next’? [-Wimplicit-function-declaration] 939 | while ((codec = av_codec_next (codec))) | ^~~~~~~~~~~~~ | av_opt_next ../operations/external/ff-save.c:939:23: warning: assignment to ‘AVCodec *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 939 | while ((codec = av_codec_next (codec))) | ^ ../operations/external/ff-save.c:948:22: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 948 | AVCodec *codec = avcodec_find_encoder_by_name (o->audio_codec); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../operations/external/ff-save.c:955:23: warning: assignment to ‘AVCodec *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 955 | while ((codec = av_codec_next (codec))) | ^ ../operations/external/ff-save.c: In function ‘flush_audio’: ../operations/external/ff-save.c:1008:43: error: ‘AVStream’ has no member named ‘codec’ 1008 | ret = avcodec_encode_audio2 (p->audio_st->codec, &pkt, NULL, &got_packet); | ^~ ../operations/external/ff-save.c:1016:46: error: ‘AVStream’ has no member named ‘codec’ 1016 | av_packet_rescale_ts (&pkt, p->audio_st->codec->time_base, p->audio_st->time_base); | ^~ ../operations/external/ff-save.c: In function ‘flush_video’: ../operations/external/ff-save.c:1072:45: error: ‘AVStream’ has no member named ‘codec’ 1072 | ret = avcodec_encode_video2 (p->video_st->codec, &pkt, NULL, &got_packet); | ^~ ../operations/external/ff-save.c:1081:47: error: ‘AVStream’ has no member named ‘codec’ 1081 | av_packet_rescale_ts (&pkt, p->video_st->codec->time_base, p->video_st->time_base); | ^~ Cheers -- Sebastian Ramacher
signature.asc
Description: PGP signature