Source: kylin-video Version: 3.1.3-2 Severity: serious Tags: ftbfs https://buildd.debian.org/status/logs.php?pkg=kylin-video&ver=3.1.3-2%2Bb1
... ffutil.cpp: In constructor ‘FFUtil::FFUtil(QObject*)’: ffutil.cpp:47:5: error: ‘av_register_all’ was not declared in this scope 47 | av_register_all(); | ^~~~~~~~~~~~~~~ ffutil.cpp: In member function ‘int FFUtil::open(QString)’: ffutil.cpp:99:42: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive] 99 | pCodec = avcodec_find_decoder_by_name(avcodec_get_name(pFormatCtx->streams[videoStream]->codecpar->codec_id)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const AVCodec* ffutil.cpp:101:38: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive] 101 | pCodec = avcodec_find_decoder(pFormatCtx->streams[videoStream]->codecpar->codec_id); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const AVCodec* ffutil.cpp: In member function ‘void FFUtil::saveIFrame(QString)’: ffutil.cpp:163:12: warning: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations] 163 | p.start(QString("ffmpegthumbnailer -i %1 -o %2").arg("\"" + m_fileName + "\"").arg(_savePath)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QProcess:1, from ffutil.cpp:26: /usr/include/x86_64-linux-gnu/qt5/QtCore/qprocess.h:168:10: note: declared here 168 | void start(const QString &command, OpenMode mode = ReadWrite); | ^~~~~ ffutil.cpp:184:19: error: ‘avpicture_get_size’ was not declared in this scope 184 | numBytes = avpicture_get_size(AV_PIX_FMT_RGB32, pCodecCtx->width,pCodecCtx->height); | ^~~~~~~~~~~~~~~~~~ ffutil.cpp:187:21: error: ‘AVPicture’ was not declared in this scope; did you mean ‘QPicture’? 187 | avpicture_fill((AVPicture *) pFrameRGB, outBuffer, AV_PIX_FMT_RGB32, pCodecCtx->width, pCodecCtx->height); | ^~~~~~~~~ | QPicture ffutil.cpp:187:32: error: expected primary-expression before ‘)’ token 187 | avpicture_fill((AVPicture *) pFrameRGB, outBuffer, AV_PIX_FMT_RGB32, pCodecCtx->width, pCodecCtx->height); | ^ ffutil.cpp:187:5: error: ‘avpicture_fill’ was not declared in this scope 187 | avpicture_fill((AVPicture *) pFrameRGB, outBuffer, AV_PIX_FMT_RGB32, pCodecCtx->width, pCodecCtx->height); | ^~~~~~~~~~~~~~ ffutil.cpp:190:19: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] 190 | av_init_packet(packet); | ~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:316, from ffutil.cpp:34: /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here 506 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ make[3]: *** [Makefile:1389: ffutil.o] Error 1