[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1004620: marked as done (olive-editor: FTBFS with ffmpeg 5.0)



Your message dated Mon, 15 Aug 2022 11:06:49 +0000
with message-id <E1oNXvl-00FjRH-Cs@fasolo.debian.org>
and subject line Bug#1004620: fixed in olive-editor 20220815+ds-1
has caused the Debian Bug report #1004620,
regarding olive-editor: FTBFS with ffmpeg 5.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1004620: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004620
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: olive-editor
Version: 20200620-2
Severity: important
X-Debbugs-Cc: sramacher@debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

olive-editor with ffmpeg 5.0 (in experimental):
| [  9%] Building CXX object app/CMakeFiles/olive-editor.dir/codec/oiio/oiiodecoder.cpp.o
| cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/app && /usr/lib/ccache/c++ -DAPPVERSION=\"0.2.0\" -DGITHASH=\"\" -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/app -I/<<PKGBUILDDIR>>/app -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/app/olive-editor_autogen/include -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -Wuninitialized -pedantic-errors -Wall -Wextra -Wno-unused-parameter -Wshadow -fPIC -std=c++11 -MD -MT app/CMakeFiles/olive-editor.dir/codec/oiio/oiiodecoder.cpp.o -MF CMakeFiles/olive-editor.dir/codec/oiio/oiiodecoder.cpp.o.d -o CMakeFiles/olive-editor.dir/codec/oiio/oiiodecoder.cpp.o -c /<<PKGBUILDDIR>>/app/codec/oiio/oiiodecoder.cpp
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegcommon.cpp: In static member function ‘static AVPixelFormat olive::FFmpegCommon::GetCompatiblePixelFormat(const AVPixelFormat&)’:
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegcommon.cpp:35:10: error: ‘avcodec_find_best_pix_fmt_of_list’ was not declared in this scope
|    35 |   return avcodec_find_best_pix_fmt_of_list(possible_pix_fmts,
|       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| make[3]: *** [app/CMakeFiles/olive-editor.dir/build.make:710: app/CMakeFiles/olive-editor.dir/codec/ffmpeg/ffmpegcommon.cpp.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp: In member function ‘virtual bool olive::FFmpegEncoder::Open()’:
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:80:53: error: invalid use of incomplete type ‘struct AVCodecContext’
|    80 |     AVPixelFormat encoder_pix_fmt = video_codec_ctx_->pix_fmt;
|       |                                                     ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp: In member function ‘virtual bool olive::FFmpegEncoder::WriteFrame(olive::FramePtr, olive::rational)’:
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:135:43: error: invalid use of incomplete type ‘struct AVCodecContext’
|   135 |   encoded_frame->format = video_codec_ctx_->pix_fmt;
|       |                                           ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:163:74: error: invalid use of incomplete type ‘struct AVCodecContext’
|   163 |   encoded_frame->pts = qRound64(time.toDouble() / av_q2d(video_codec_ctx_->time_base));
|       |                                                                          ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp: In member function ‘virtual void olive::FFmpegEncoder::WriteAudio(olive::AudioParams, const QString&)’:
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:180:49: error: invalid use of incomplete type ‘struct AVCodecContext’
|   180 |     int maximum_frame_samples = audio_codec_ctx_->frame_size;
|       |                                                 ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:193:83: error: invalid use of incomplete type ‘struct AVCodecContext’
|   193 |                                              static_cast<int64_t>(audio_codec_ctx_->channel_layout),
|       |                                                                                   ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:194:62: error: invalid use of incomplete type ‘struct AVCodecContext’
|   194 |                                              audio_codec_ctx_->sample_fmt,
|       |                                                              ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:195:62: error: invalid use of incomplete type ‘struct AVCodecContext’
|   195 |                                              audio_codec_ctx_->sample_rate,
|       |                                                              ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:208:45: error: invalid use of incomplete type ‘struct AVCodecContext’
|   208 |     frame->channel_layout = audio_codec_ctx_->channel_layout;
|       |                                             ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:210:37: error: invalid use of incomplete type ‘struct AVCodecContext’
|   210 |     frame->format = audio_codec_ctx_->sample_fmt;
|       |                                     ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:219:63: error: invalid use of incomplete type ‘struct AVCodecContext’
|   219 |                                               audio_codec_ctx_->sample_rate,
|       |                                                               ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp: In member function ‘virtual void olive::FFmpegEncoder::Close()’:
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:293:5: error: ‘avcodec_free_context’ was not declared in this scope; did you mean ‘avformat_free_context’?
|   293 |     avcodec_free_context(&video_codec_ctx_);
|       |     ^~~~~~~~~~~~~~~~~~~~
|       |     avformat_free_context
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:298:5: error: ‘avcodec_free_context’ was not declared in this scope; did you mean ‘avformat_free_context’?
|   298 |     avcodec_free_context(&audio_codec_ctx_);
|       |     ^~~~~~~~~~~~~~~~~~~~
|       |     avformat_free_context
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp: In member function ‘bool olive::FFmpegEncoder::WriteAVFrame(AVFrame*, AVCodecContext*, AVStream*)’:
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:323:20: error: ‘avcodec_send_frame’ was not declared in this scope; did you mean ‘avcodec_get_name’?
|   323 |   int error_code = avcodec_send_frame(codec_ctx, frame);
|       |                    ^~~~~~~~~~~~~~~~~~
|       |                    avcodec_get_name
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:335:18: error: ‘avcodec_receive_packet’ was not declared in this scope
|   335 |     error_code = avcodec_receive_packet(codec_ctx, pkt);
|       |                  ^~~~~~~~~~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:348:40: error: invalid use of incomplete type ‘struct AVCodecContext’
|   348 |     av_packet_rescale_ts(pkt, codec_ctx->time_base, stream->time_base);
|       |                                        ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp: In member function ‘bool olive::FFmpegEncoder::InitializeStream(AVMediaType, AVStream**, AVCodecContext**, const olive::ExportCodec::Codec&)’:
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:419:42: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|   419 |   AVCodec* encoder = avcodec_find_encoder(codec_id);
|       |                      ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
|       |                                          |
|       |                                          const AVCodec*
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:440:14: error: invalid use of incomplete type ‘struct AVCodecContext’
|   440 |     codec_ctx->width = params().video_params().width();
|       |              ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:441:14: error: invalid use of incomplete type ‘struct AVCodecContext’
|   441 |     codec_ctx->height = params().video_params().height();
|       |              ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:442:14: error: invalid use of incomplete type ‘struct AVCodecContext’
|   442 |     codec_ctx->sample_aspect_ratio = {1, 1};
|       |              ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:443:14: error: invalid use of incomplete type ‘struct AVCodecContext’
|   443 |     codec_ctx->time_base = params().video_params().time_base().toAVRational();
|       |              ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:446:14: error: invalid use of incomplete type ‘struct AVCodecContext’
|   446 |     codec_ctx->pix_fmt = encoder->pix_fmts[0];
|       |              ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:453:36: error: invalid use of incomplete type ‘struct AVCodecContext’
|   453 |         av_opt_set(video_codec_ctx_->priv_data, i.key().toUtf8(), i.value().toUtf8(), AV_OPT_SEARCH_CHILDREN);
|       |                                    ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:457:25: error: invalid use of incomplete type ‘struct AVCodecContext’
|   457 |         video_codec_ctx_->bit_rate = params().video_bit_rate();
|       |                         ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:461:25: error: invalid use of incomplete type ‘struct AVCodecContext’
|   461 |         video_codec_ctx_->rc_max_rate = params().video_max_bit_rate();
|       |                         ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:465:25: error: invalid use of incomplete type ‘struct AVCodecContext’
|   465 |         video_codec_ctx_->rc_buffer_size = static_cast<int>(params().video_buffer_size());
|       |                         ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:470:14: error: invalid use of incomplete type ‘struct AVCodecContext’
|   470 |     codec_ctx->sample_rate = params().audio_params().sample_rate();
|       |              ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:471:14: error: invalid use of incomplete type ‘struct AVCodecContext’
|   471 |     codec_ctx->channel_layout = params().audio_params().channel_layout();
|       |              ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:472:14: error: invalid use of incomplete type ‘struct AVCodecContext’
|   472 |     codec_ctx->channels = av_get_channel_layout_nb_channels(codec_ctx->channel_layout);
|       |              ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:472:70: error: invalid use of incomplete type ‘struct AVCodecContext’
|   472 |     codec_ctx->channels = av_get_channel_layout_nb_channels(codec_ctx->channel_layout);
|       |                                                                      ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:473:14: error: invalid use of incomplete type ‘struct AVCodecContext’
|   473 |     codec_ctx->sample_fmt = encoder->sample_fmts[0];
|       |              ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:474:14: error: invalid use of incomplete type ‘struct AVCodecContext’
|   474 |     codec_ctx->time_base = {1, codec_ctx->sample_rate};
|       |              ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:474:41: error: invalid use of incomplete type ‘struct AVCodecContext’
|   474 |     codec_ctx->time_base = {1, codec_ctx->sample_rate};
|       |                                         ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp: In member function ‘bool olive::FFmpegEncoder::InitializeCodecContext(AVStream**, AVCodecContext**, AVCodec*)’:
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:493:16: error: ‘avcodec_alloc_context3’ was not declared in this scope; did you mean ‘avio_alloc_context’?
|   493 |   *codec_ctx = avcodec_alloc_context3(codec);
|       |                ^~~~~~~~~~~~~~~~~~~~~~
|       |                avio_alloc_context
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp: In member function ‘bool olive::FFmpegEncoder::SetupCodecContext(AVStream*, AVCodecContext*, AVCodec*)’:
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:507:14: error: invalid use of incomplete type ‘struct AVCodecContext’
|   507 |     codec_ctx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
|       |              ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:507:25: error: ‘AV_CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope
|   507 |     codec_ctx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
|       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:521:16: error: ‘avcodec_open2’ was not declared in this scope; did you mean ‘avio_open2’?
|   521 |   error_code = avcodec_open2(codec_ctx, codec, &codec_opts);
|       |                ^~~~~~~~~~~~~
|       |                avio_open2
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:528:16: error: ‘avcodec_parameters_from_context’ was not declared in this scope; did you mean ‘avcodec_parameters_free’?
|   528 |   error_code = avcodec_parameters_from_context(stream->codecpar, codec_ctx);
|       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                avcodec_parameters_free
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp: In member function ‘void olive::FFmpegEncoder::FlushCodecCtx(AVCodecContext*, AVStream*)’:
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:550:3: error: ‘avcodec_send_frame’ was not declared in this scope; did you mean ‘avcodec_get_name’?
|   550 |   avcodec_send_frame(codec_ctx, nullptr);
|       |   ^~~~~~~~~~~~~~~~~~
|       |   avcodec_get_name
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:555:18: error: ‘avcodec_receive_packet’ was not declared in this scope
|   555 |     error_code = avcodec_receive_packet(codec_ctx, pkt);
|       |                  ^~~~~~~~~~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:562:40: error: invalid use of incomplete type ‘struct AVCodecContext’
|   562 |     av_packet_rescale_ts(pkt, codec_ctx->time_base, stream->time_base);
|       |                                        ^~
| In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.h:25,
|                  from /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegencoder.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| make[3]: *** [app/CMakeFiles/olive-editor.dir/build.make:738: app/CMakeFiles/olive-editor.dir/codec/ffmpeg/ffmpegencoder.cpp.o] Error 1
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegdecoder.cpp: In constructor ‘olive::FFmpegDecoderInstance::FFmpegDecoderInstance(const char*, int)’:
| /<<PKGBUILDDIR>>/app/codec/ffmpeg/ffmpegdecoder.cpp:1308:40: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|  1308 |   AVCodec* codec = avcodec_find_decoder(avstream_->codecpar->codec_id);
|       |                    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                        |
|       |                                        const AVCodec*
| make[3]: *** [app/CMakeFiles/olive-editor.dir/build.make:724: app/CMakeFiles/olive-editor.dir/codec/ffmpeg/ffmpegdecoder.cpp.o] Error 1

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: olive-editor
Source-Version: 20220815+ds-1
Done: Gürkan Myczko <tar@debian.org>

We believe that the bug you reported is fixed in the latest version of
olive-editor, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1004620@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gürkan Myczko <tar@debian.org> (supplier of updated olive-editor package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 15 Aug 2022 11:00:19 +0200
Source: olive-editor
Architecture: source
Version: 20220815+ds-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Gürkan Myczko <tar@debian.org>
Closes: 1004620
Changes:
 olive-editor (20220815+ds-1) experimental; urgency=medium
 .
   * New upstream version. (Closes: #1004620)
   * Bump standards version to 4.6.1.
   * Update maintainer address.
   * d/control: wrap build depends, and version libopencolorio-dev.
Checksums-Sha1:
 312a26760d01d54fe84dbd25f056c75084fceab4 2420 olive-editor_20220815+ds-1.dsc
 2133cd604eedd54c6f4d0f6c5e6814919e71c554 5103648 olive-editor_20220815+ds.orig.tar.xz
 70d7781d4461d5eea4aefffb8a7e594ddac9e17b 4648 olive-editor_20220815+ds-1.debian.tar.xz
 521d4a02454c7c6819179b0c303ef823cafa9812 19783 olive-editor_20220815+ds-1_source.buildinfo
Checksums-Sha256:
 919a655b5601b92df8ac85f38af54e6aa18623d491227c3acd780318e3852474 2420 olive-editor_20220815+ds-1.dsc
 a8c962013386ae251c643419b2606bdff64a856d766267982a4cd7a733f12429 5103648 olive-editor_20220815+ds.orig.tar.xz
 4273d6d268356e9c38bbee30b4475863e8da168863b14d16ce9a11d45daafda0 4648 olive-editor_20220815+ds-1.debian.tar.xz
 c69f004846e522d033ab5a58bd8e80a59bc189764cd44e17e45005cb41b345b6 19783 olive-editor_20220815+ds-1_source.buildinfo
Files:
 f6a535b9470b032a60823cd925dd4faf 2420 video optional olive-editor_20220815+ds-1.dsc
 0dc2c0df924dc3431f979cb219a5ebcc 5103648 video optional olive-editor_20220815+ds.orig.tar.xz
 753351d108fcf399d802fd3395487866 4648 video optional olive-editor_20220815+ds-1.debian.tar.xz
 a6dabeab5272009e3a87ebbe9ddfcbe8 19783 video optional olive-editor_20220815+ds-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEtgob82PcExn/Co6JEWhSvN91FcAFAmL6EXwACgkQEWhSvN91
FcB5mg//Sx98oz2dG4/wLQjCz3GUIBdcvqVjQwbxbhBzLFl7JDsQiYyIrs3LHxkK
MFUrbIQAYW2gGOn/0c2wadJUFk+rtBhV70oQMflnlKaa6xkDUiK9Yhvinc4SJ26v
07om7WIxywpngD7LA2wN/AyHEwAzD1aH/Q0p2CeMImu3J+zelFT+9pASGChnmkKv
DOKAQvhbInvpPTW7D/m9rgt2HaFZhoaPohh+T4uL4ukOg+/QuLIF5dgqIRDOSs15
XXiWXgHcAG/WFU+NcVvEegoh8kmvwJOmcb2LvS0HphVThjnjFPxvwAZIo7bASHVs
Q5zTGayRceOizxCDeoXRCXOGUlMjwyowpts3AXmhsR45v66GELYUdYYF69rTZ7yS
pIGJUGFYbEzfCn4LgjcCreg/QuRrzMIK0p2rzgTRGmV0uAoQ8moxcfzzjTHuowqh
RkJyaQA+RuZTk6/Nb/ojr3OBzmFAS+cFDfY69W8dCZgwswWDsUOsNnKcCAdJEwLL
XHjxKjSEO7GiC699cm6eiL9qZFU8pGgGDw+PsFpUKtoVluRsi0jqYEJBscHOxA3y
ISCof/qERjV2KMyK/Q/iTmrdHN7QOuc/vhxnCuxKn7ueTEgouWrh8Ia92J4mhwcm
1CUX1O/aAP49SxOcXuxVWq+zE4HJmk1ox2VpIbX1C/JqiiMBuIc=
=zCog
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: