Source: kino Version: 1.3.4+dfsg0-1.1 Severity: important Tags: ftbfs sid bookworm X-Debbugs-Cc: sramac...@debian.org Usertags: ffmpeg5.0
kino FTBFS with ffmpeg 5.0 (in experimental): | g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/lqt -I/usr/include/libxml2 -pthread -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -D_FILE_OFFSET_BITS=64 -DKINO_PLUGINDIR=\""/usr/lib/kino-gtk2"\" -DDATADIR=\""/usr/share"\" -D_REENTRANT -D__STDC_CONSTANT_MACROS -g -O2 -MT frame.o -MD -MP -MF .deps/frame.Tpo -c -o frame.o frame.cc | frame.cc: In constructor ‘Frame::Frame()’: | frame.cc:103:9: error: ‘av_register_all’ was not declared in this scope | 103 | av_register_all(); | | ^~~~~~~~~~~~~~~ | frame.cc: In member function ‘void Frame::GetUpperField(void*, int)’: | frame.cc:898:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] | 898 | register int width = GetWidth( ) * bpp; | | ^~~~~ | frame.cc:899:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] | 899 | register int height = GetHeight( ); | | ^~~~~~ | frame.cc:900:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] | 900 | for ( register int i = 0; i < height; i += 2 ) | | ^ | frame.cc: In member function ‘void Frame::GetLowerField(void*, int)’: | frame.cc:907:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] | 907 | register int width = GetWidth( ) * bpp; | | ^~~~~ | frame.cc:908:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] | 908 | register int height = GetHeight( ); | | ^~~~~~ | frame.cc:909:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] | 909 | for ( register int i = 0; i < height; i += 2 ) | | ^ | frame.cc: In member function ‘void Frame::Deinterlace(uint8_t*, uint8_t*, int, int)’: | frame.cc:932:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] | 932 | register int x, y; | | ^ | frame.cc:932:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] | 932 | register int x, y; | | ^ | frame.cc:933:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] | 933 | register uint8_t *l0, *l1, *l2, *l3; | | ^~ | frame.cc:933:32: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] | 933 | register uint8_t *l0, *l1, *l2, *l3; | | ^~ | frame.cc:933:37: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] | 933 | register uint8_t *l0, *l1, *l2, *l3; | | ^~ | frame.cc:933:42: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] | 933 | register uint8_t *l0, *l1, *l2, *l3; | | ^~ | frame.cc: In member function ‘int Frame::ExtractRGB(void*)’: | frame.cc:1063:9: error: ‘AVPicture’ was not declared in this scope; did you mean ‘AVPictureType’? | 1063 | AVPicture dest; | | ^~~~~~~~~ | | AVPictureType | frame.cc:1067:23: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] | 1067 | av_init_packet(&pkt); | | ~~~~~~~~~~~~~~^~~~~~ | In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45, | from frame.h:51, | from frame.cc:56: | /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here | 506 | void av_init_packet(AVPacket *pkt); | | ^~~~~~~~~~~~~~ | frame.cc:1071:9: error: ‘avcodec_decode_video2’ was not declared in this scope; did you mean ‘avcodec_decode_subtitle2’? | 1071 | avcodec_decode_video2( libavcodec, frame, &got_picture, &pkt ); | | ^~~~~~~~~~~~~~~~~~~~~ | | avcodec_decode_subtitle2 | frame.cc:1074:34: error: ‘dest’ was not declared in this scope | 1074 | avpicture_fill( &dest, static_cast<uint8_t*>( rgb ), AV_PIX_FMT_RGB24, GetWidth(), GetHeight() ); | | ^~~~ | frame.cc:1074:17: error: ‘avpicture_fill’ was not declared in this scope | 1074 | avpicture_fill( &dest, static_cast<uint8_t*>( rgb ), AV_PIX_FMT_RGB24, GetWidth(), GetHeight() ); | | ^~~~~~~~~~~~~~ | frame.cc: In member function ‘int Frame::ExtractYUV(void*)’: | frame.cc:1128:9: error: ‘AVPicture’ was not declared in this scope; did you mean ‘AVPictureType’? | 1128 | AVPicture output; | | ^~~~~~~~~ | | AVPictureType | frame.cc:1132:23: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] | 1132 | av_init_packet(&pkt); | | ~~~~~~~~~~~~~~^~~~~~ | In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45, | from frame.h:51, | from frame.cc:56: | /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here | 506 | void av_init_packet(AVPacket *pkt); | | ^~~~~~~~~~~~~~ | frame.cc:1136:9: error: ‘avcodec_decode_video2’ was not declared in this scope; did you mean ‘avcodec_decode_subtitle2’? | 1136 | avcodec_decode_video2( libavcodec, frame, &got_picture, &pkt ); | | ^~~~~~~~~~~~~~~~~~~~~ | | avcodec_decode_subtitle2 | frame.cc:1139:34: error: ‘output’ was not declared in this scope | 1139 | avpicture_fill( &output, static_cast<uint8_t*>( yuv ), AV_PIX_FMT_YUV422, GetWidth(), GetHeight() ); | | ^~~~~~ | frame.cc:1139:17: error: ‘avpicture_fill’ was not declared in this scope | 1139 | avpicture_fill( &output, static_cast<uint8_t*>( yuv ), AV_PIX_FMT_YUV422, GetWidth(), GetHeight() ); | | ^~~~~~~~~~~~~~ | frame.cc: In member function ‘int Frame::ExtractYUV420(uint8_t*, uint8_t**)’: | frame.cc:1170:23: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] | 1170 | av_init_packet(&pkt); | | ~~~~~~~~~~~~~~^~~~~~ | In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45, | from frame.h:51, | from frame.cc:56: | /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here | 506 | void av_init_packet(AVPacket *pkt); | | ^~~~~~~~~~~~~~ | frame.cc:1174:9: error: ‘avcodec_decode_video2’ was not declared in this scope; did you mean ‘avcodec_decode_subtitle2’? | 1174 | avcodec_decode_video2( libavcodec, frame, &got_picture, &pkt ); | | ^~~~~~~~~~~~~~~~~~~~~ | | avcodec_decode_subtitle2 | frame.cc: In member function ‘bool Frame::CreateEncoder(bool, bool)’: | frame.cc:1342:30: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ | 1342 | vst->codec->codec_type = AVMEDIA_TYPE_VIDEO; | | ^~~~~ | frame.cc:1343:30: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ | 1343 | vst->codec->codec_id = AV_CODEC_ID_DVVIDEO; | | ^~~~~ | frame.cc:1344:30: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ | 1344 | vst->codec->bit_rate = 25000000; | | ^~~~~ | frame.cc:1346:63: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ | 1346 | AVCodecContext *avcodecEncoder = vst->codec; | | ^~~~~ | frame.cc:1372:33: error: ‘avpicture_get_size’ was not declared in this scope | 1372 | avpicture_get_size( avcodecEncoder->pix_fmt, avcodecEncoder->width, avcodecEncoder->height ) ); | | ^~~~~~~~~~~~~~~~~~ | frame.cc: In member function ‘void Frame::EncodeRGB(uint8_t*)’: | frame.cc:1458:87: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ | 1458 | AVCodecContext *avcodecEncoder = avformatEncoder->streams[0]->codec; | | ^~~~~ | frame.cc:1465:43: error: ‘AVPicture’ was not declared in this scope; did you mean ‘AVPictureType’? | 1465 | avpicture_fill( ( AVPicture* )output, tempImage, avcodecEncoder->pix_fmt, width, height ); | | ^~~~~~~~~ | | AVPictureType | frame.cc:1465:54: error: expected primary-expression before ‘)’ token | 1465 | avpicture_fill( ( AVPicture* )output, tempImage, avcodecEncoder->pix_fmt, width, height ); | | ^ | frame.cc:1465:25: error: ‘avpicture_fill’ was not declared in this scope | 1465 | avpicture_fill( ( AVPicture* )output, tempImage, avcodecEncoder->pix_fmt, width, height ); | | ^~~~~~~~~~~~~~ | frame.cc:1466:54: error: expected primary-expression before ‘)’ token | 1466 | avpicture_fill( ( AVPicture* )input, rgb, AV_PIX_FMT_RGB24, width, height ); | | ^ | frame.cc:1475:31: error: ‘avcodec_encode_video2’ was not declared in this scope; did you mean ‘avcodec_encode_subtitle’? | 1475 | ret = avcodec_encode_video2( avcodecEncoder, &avpacketEncoder, output, &got_output); | | ^~~~~~~~~~~~~~~~~~~~~ | | avcodec_encode_subtitle | frame.cc:1461:32: warning: unused variable ‘size’ [-Wunused-variable] | 1461 | size_t size = height > 480 ? 144000 : 120000; | | ^~~~ | frame.cc:1481:54: warning: ignoring return value of ‘int avformat_write_header(AVFormatContext*, AVDictionary**)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] | 1481 | avformat_write_header(avformatEncoder, NULL); | | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | make[4]: *** [Makefile:786: frame.o] Error 1 Cheers -- Sebastian Ramacher
signature.asc
Description: PGP signature