Source: nordlicht Version: 0.4.5-2 Severity: important X-Debbugs-Cc: sramac...@debian.org Tags: sid bookworm ftbfs Usertags: ffmpeg5.0
nordlicht FTBFS with ffmpeg 5.0 (available in experimental): | /usr/lib/ccache/cc -DNORDLICHT_BUILD_SHARED -Dlibnordlicht_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -MD -MT CMakeFiles/libnordlicht.dir/src/source.c.o -MF CMakeFiles/libnordlicht.dir/src/source.c.o.d -o CMakeFiles/libnordlicht.dir/src/source.c.o -c /<<PKGBUILDDIR>>/src/source.c | /<<PKGBUILDDIR>>/src/source.c: In function ‘grab_next_frame’: | /<<PKGBUILDDIR>>/src/source.c:94:25: warning: implicit declaration of function ‘avcodec_decode_video2’; did you mean ‘avcodec_decode_subtitle2’? [-Wimplicit-function-declaration] | 94 | avcodec_decode_video2(st->codec, st->frame, &got_frame, &s->packet); | | ^~~~~~~~~~~~~~~~~~~~~ | | avcodec_decode_subtitle2 | /<<PKGBUILDDIR>>/src/source.c:97:25: warning: implicit declaration of function ‘avcodec_decode_audio4’; did you mean ‘avcodec_decode_subtitle2’? [-Wimplicit-function-declaration] | 97 | avcodec_decode_audio4(st->codec, st->frame, &got_frame, &s->packet); | | ^~~~~~~~~~~~~~~~~~~~~ | | avcodec_decode_subtitle2 | /<<PKGBUILDDIR>>/src/source.c: In function ‘stream_init’: | /<<PKGBUILDDIR>>/src/source.c:225:47: error: ‘AVStream’ has no member named ‘codec’ | 225 | st->codec = s->format->streams[st->stream]->codec; | | ^~ | /<<PKGBUILDDIR>>/src/source.c:227:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 227 | codec = avcodec_find_decoder(st->codec->codec_id); | | ^ | /<<PKGBUILDDIR>>/src/source.c: In function ‘source_init’: | /<<PKGBUILDDIR>>/src/source.c:270:5: warning: implicit declaration of function ‘av_register_all’ [-Wimplicit-function-declaration] | 270 | av_register_all(); | | ^~~~~~~~~~~~~~~ | make[3]: *** [CMakeFiles/libnordlicht.dir/build.make:121: CMakeFiles/libnordlicht.dir/src/source.c.o] Error 1 | make[3]: *** Waiting for unfinished jobs.... | /<<PKGBUILDDIR>>/src/image.c: In function ‘image_write_png’: | /<<PKGBUILDDIR>>/src/image.c:263:24: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 263 | AVCodec *encoder = avcodec_find_encoder_by_name("png"); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | /<<PKGBUILDDIR>>/src/image.c:277:5: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations] | 277 | av_init_packet(&packet); | | ^~~~~~~~~~~~~~ | In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45, | from /<<PKGBUILDDIR>>/src/image.h:4, | from /<<PKGBUILDDIR>>/src/image.c:1: | /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here | 506 | void av_init_packet(AVPacket *pkt); | | ^~~~~~~~~~~~~~ | /<<PKGBUILDDIR>>/src/image.c:287:5: warning: implicit declaration of function ‘avcodec_encode_video2’; did you mean ‘avcodec_encode_subtitle’? [-Wimplicit-function-declaration] | 287 | avcodec_encode_video2(encoder_context, &packet, i->frame, &got_packet); | | ^~~~~~~~~~~~~~~~~~~~~ | | avcodec_encode_subtitle | make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' Cheers -- Sebastian Ramacher
signature.asc
Description: PGP signature