Source: subtitlecomposer
Version: 0.7.1-2
Severity: important
X-Debbugs-Cc: sramac...@debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

subtitlecomposer FTBFS with ffmpeg 5.0 (in experiental):
| [ 13%] Building CXX object 
src/CMakeFiles/subtitlecomposer-lib.dir/actions/useraction.cpp.o
| cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/lib/ccache/c++ 
-DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB 
-DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB 
-D_DEFAULT_SOURCE -D_GNU_SOURCE -D_LARGEFILE64_SOURCE 
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src 
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/include
 -I/<<PKGBUILDDIR>>/src/widgets -I/usr/include/AL -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/QtWidgets -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.2/QtWidgets -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -isystem 
/usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem 
/usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KTextWidgets -isystem 
/usr/include/KF5/SonnetUi -isystem /usr/include/KF5/KI18n -isystem 
/usr/include/KF5/KCodecs -isystem /usr/include/KF5/SonnetCore -isystem 
/usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem 
/usr/include/KF5/KConfigCore -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem 
/usr/include/KF5/KIOFileWidgets -isystem /usr/include/KF5/KIOWidgets -isystem 
/usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem 
/usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/Solid -isystem 
/usr/include/KF5/KCompletion -isystem /usr/include/KF5/KBookmarks -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/KF5/KItemViews 
-isystem /usr/include/KF5/KXmlGui -isystem /usr/include/KF5/KConfigWidgets 
-isystem /usr/include/KF5/KConfigGui -isystem /usr/include/KF5/KAuth -isystem 
/usr/include/KF5/KrossCore -isystem /usr/include/x86_64-linux-gnu/qt5/QtScript 
-isystem /usr/include/KF5/KrossUi -isystem /usr/include/KF5/KParts -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names 
-fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security 
-Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual 
-Werror=return-type -Werror=init-self -Wvla -Wdate-time -Wsuggest-override 
-Wlogical-op -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 
-MD -MT src/CMakeFiles/subtitlecomposer-lib.dir/actions/useraction.cpp.o -MF 
CMakeFiles/subtitlecomposer-lib.dir/actions/useraction.cpp.o.d -o 
CMakeFiles/subtitlecomposer-lib.dir/actions/useraction.cpp.o -c 
/<<PKGBUILDDIR>>/src/actions/useraction.cpp
| In file included from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/actions/useraction.cpp:11:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h: In member function ‘int 
SubtitleComposer::Decoder::width() const’:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:38:50: error: invalid use 
of incomplete type ‘struct AVCodecContext’
|    38 |         inline int width() const { return m_avCtx->width; }
|       |                                                  ^~
| In file included from 
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:14,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/actions/useraction.cpp:11:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward 
declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/actions/useraction.cpp:11:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h: In member function ‘int 
SubtitleComposer::Decoder::height() const’:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:39:51: error: invalid use 
of incomplete type ‘struct AVCodecContext’
|    39 |         inline int height() const { return m_avCtx->height; }
|       |                                                   ^~
| In file included from 
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:14,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/actions/useraction.cpp:11:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward 
declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:15,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/actions/useraction.cpp:11:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/framequeue.h: At global scope:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/framequeue.h:30:20: error: field 
‘sub’ has incomplete type ‘AVSubtitle’
|    30 |         AVSubtitle sub;
|       |                    ^~~
| In file included from 
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:14,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/actions/useraction.cpp:11:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:196:8: note: forward 
declaration of ‘struct AVSubtitle’
|   196 | struct AVSubtitle;
|       |        ^~~~~~~~~~
| make[3]: *** [src/CMakeFiles/subtitlecomposer-lib.dir/build.make:216: 
src/CMakeFiles/subtitlecomposer-lib.dir/actions/useraction.cpp.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| In file included from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/application_actions.cpp:11:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h: In member function ‘int 
SubtitleComposer::Decoder::width() const’:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:38:50: error: invalid use 
of incomplete type ‘struct AVCodecContext’
|    38 |         inline int width() const { return m_avCtx->width; }
|       |                                                  ^~
| In file included from 
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:14,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/application_actions.cpp:11:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward 
declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/application_actions.cpp:11:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h: In member function ‘int 
SubtitleComposer::Decoder::height() const’:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:39:51: error: invalid use 
of incomplete type ‘struct AVCodecContext’
|    39 |         inline int height() const { return m_avCtx->height; }
|       |                                                   ^~
| In file included from 
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:14,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/application_actions.cpp:11:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward 
declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:15,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/application_actions.cpp:11:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/framequeue.h: At global scope:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/framequeue.h:30:20: error: field 
‘sub’ has incomplete type ‘AVSubtitle’
|    30 |         AVSubtitle sub;
|       |                    ^~~
| In file included from 
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:14,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/application_actions.cpp:11:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:196:8: note: forward 
declaration of ‘struct AVSubtitle’
|   196 | struct AVSubtitle;
|       |        ^~~~~~~~~~
| make[3]: *** [src/CMakeFiles/subtitlecomposer-lib.dir/build.make:160: 
src/CMakeFiles/subtitlecomposer-lib.dir/application_actions.cpp.o] Error 1
| In file included from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/application_subtitle.cpp:23:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h: In member function ‘int 
SubtitleComposer::Decoder::width() const’:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:38:50: error: invalid use 
of incomplete type ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
|    38 |         inline int width() const { return m_avCtx->width; }
|       |                                                  ^~
| In file included from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:43,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:43,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QList:1,
|                  from /<<PKGBUILDDIR>>/src/core/range.h:13,
|                  from /<<PKGBUILDDIR>>/src/core/subtitle.h:11,
|                  from /<<PKGBUILDDIR>>/src/mainwindow.h:11,
|                  from /<<PKGBUILDDIR>>/src/application.h:11,
|                  from /<<PKGBUILDDIR>>/src/application_subtitle.cpp:7:
| /<<PKGBUILDDIR>>/src/streamprocessor/streamprocessor.h:21:27: note: forward 
declaration of ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
|    21 | QT_FORWARD_DECLARE_STRUCT(AVCodecContext)
|       |                           ^~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/application_subtitle.cpp:23:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h: In member function ‘int 
SubtitleComposer::Decoder::height() const’:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:39:51: error: invalid use 
of incomplete type ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
|    39 |         inline int height() const { return m_avCtx->height; }
|       |                                                   ^~
| In file included from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:43,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:43,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QList:1,
|                  from /<<PKGBUILDDIR>>/src/core/range.h:13,
|                  from /<<PKGBUILDDIR>>/src/core/subtitle.h:11,
|                  from /<<PKGBUILDDIR>>/src/mainwindow.h:11,
|                  from /<<PKGBUILDDIR>>/src/application.h:11,
|                  from /<<PKGBUILDDIR>>/src/application_subtitle.cpp:7:
| /<<PKGBUILDDIR>>/src/streamprocessor/streamprocessor.h:21:27: note: forward 
declaration of ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
|    21 | QT_FORWARD_DECLARE_STRUCT(AVCodecContext)
|       |                           ^~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:15,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/application_subtitle.cpp:23:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/framequeue.h: At global scope:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/framequeue.h:30:20: error: field 
‘sub’ has incomplete type ‘AVSubtitle’
|    30 |         AVSubtitle sub;
|       |                    ^~~
| In file included from 
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:14,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/application_subtitle.cpp:23:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:196:8: note: forward 
declaration of ‘struct AVSubtitle’
|   196 | struct AVSubtitle;
|       |        ^~~~~~~~~~
| make[3]: *** [src/CMakeFiles/subtitlecomposer-lib.dir/build.make:188: 
src/CMakeFiles/subtitlecomposer-lib.dir/application_subtitle.cpp.o] Error 1
| In file included from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/mainwindow.cpp:13:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h: In member function ‘int 
SubtitleComposer::Decoder::width() const’:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:38:50: error: invalid use 
of incomplete type ‘struct AVCodecContext’
|    38 |         inline int width() const { return m_avCtx->width; }
|       |                                                  ^~
| In file included from 
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:14,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/mainwindow.cpp:13:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward 
declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/mainwindow.cpp:13:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h: In member function ‘int 
SubtitleComposer::Decoder::height() const’:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:39:51: error: invalid use 
of incomplete type ‘struct AVCodecContext’
|    39 |         inline int height() const { return m_avCtx->height; }
|       |                                                   ^~
| In file included from 
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:14,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/mainwindow.cpp:13:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward 
declaration of ‘struct AVCodecContext’
|   195 | struct AVCodecContext;
|       |        ^~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:15,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/mainwindow.cpp:13:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/framequeue.h: At global scope:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/framequeue.h:30:20: error: field 
‘sub’ has incomplete type ‘AVSubtitle’
|    30 |         AVSubtitle sub;
|       |                    ^~~
| In file included from 
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:14,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/mainwindow.cpp:13:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:196:8: note: forward 
declaration of ‘struct AVSubtitle’
|   196 | struct AVSubtitle;
|       |        ^~~~~~~~~~
| make[3]: *** [src/CMakeFiles/subtitlecomposer-lib.dir/build.make:202: 
src/CMakeFiles/subtitlecomposer-lib.dir/mainwindow.cpp.o] Error 1
| In file included from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/application.cpp:52:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h: In member function ‘int 
SubtitleComposer::Decoder::width() const’:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:38:50: error: invalid use 
of incomplete type ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
|    38 |         inline int width() const { return m_avCtx->width; }
|       |                                                  ^~
| In file included from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:43,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:43,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QList:1,
|                  from /<<PKGBUILDDIR>>/src/core/range.h:13,
|                  from /<<PKGBUILDDIR>>/src/core/subtitle.h:11,
|                  from /<<PKGBUILDDIR>>/src/mainwindow.h:11,
|                  from /<<PKGBUILDDIR>>/src/application.h:11,
|                  from /<<PKGBUILDDIR>>/src/application.cpp:10:
| /<<PKGBUILDDIR>>/src/streamprocessor/streamprocessor.h:21:27: note: forward 
declaration of ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
|    21 | QT_FORWARD_DECLARE_STRUCT(AVCodecContext)
|       |                           ^~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/application.cpp:52:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h: In member function ‘int 
SubtitleComposer::Decoder::height() const’:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:39:51: error: invalid use 
of incomplete type ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
|    39 |         inline int height() const { return m_avCtx->height; }
|       |                                                   ^~
| In file included from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:43,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:43,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QList:1,
|                  from /<<PKGBUILDDIR>>/src/core/range.h:13,
|                  from /<<PKGBUILDDIR>>/src/core/subtitle.h:11,
|                  from /<<PKGBUILDDIR>>/src/mainwindow.h:11,
|                  from /<<PKGBUILDDIR>>/src/application.h:11,
|                  from /<<PKGBUILDDIR>>/src/application.cpp:10:
| /<<PKGBUILDDIR>>/src/streamprocessor/streamprocessor.h:21:27: note: forward 
declaration of ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
|    21 | QT_FORWARD_DECLARE_STRUCT(AVCodecContext)
|       |                           ^~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:15,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/application.cpp:52:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/framequeue.h: At global scope:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/framequeue.h:30:20: error: field 
‘sub’ has incomplete type ‘AVSubtitle’
|    30 |         AVSubtitle sub;
|       |                    ^~~
| In file included from 
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:14,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/ffplayer.h:11,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/videoplayer.h:13,
|                  from /<<PKGBUILDDIR>>/src/application.cpp:52:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:196:8: note: forward 
declaration of ‘struct AVSubtitle’
|   196 | struct AVSubtitle;
|       |        ^~~~~~~~~~
| make[3]: *** [src/CMakeFiles/subtitlecomposer-lib.dir/build.make:146: 
src/CMakeFiles/subtitlecomposer-lib.dir/application.cpp.o] Error 1
| In file included from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/NJGCPLWHKP/../../../../src/videoplayer/backend/audiodecoder.h:11,
|                  from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/NJGCPLWHKP/moc_audiodecoder.cpp:10,
|                  from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/mocs_compilation.cpp:69:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h: In member function ‘int 
SubtitleComposer::Decoder::width() const’:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:38:50: error: invalid use 
of incomplete type ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
|    38 |         inline int width() const { return m_avCtx->width; }
|       |                                                  ^~
| In file included from 
/usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43,
|                  from 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtwidgetsglobal.h:43,
|                  from 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtoolbutton.h:43,
|                  from 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/QToolButton:1,
|                  from /usr/include/KF5/KWidgetsAddons/kselectaction.h:23,
|                  from /usr/include/KF5/KWidgetsAddons/KSelectAction:1,
|                  from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/T4QKTR7IAB/../../../../src/actions/kcodecactionext.h:11,
|                  from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/T4QKTR7IAB/moc_kcodecactionext.cpp:10,
|                  from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/mocs_compilation.cpp:2:
| /<<PKGBUILDDIR>>/src/streamprocessor/streamprocessor.h:21:27: note: forward 
declaration of ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
|    21 | QT_FORWARD_DECLARE_STRUCT(AVCodecContext)
|       |                           ^~~~~~~~~~~~~~
| In file included from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/NJGCPLWHKP/../../../../src/videoplayer/backend/audiodecoder.h:11,
|                  from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/NJGCPLWHKP/moc_audiodecoder.cpp:10,
|                  from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/mocs_compilation.cpp:69:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h: In member function ‘int 
SubtitleComposer::Decoder::height() const’:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:39:51: error: invalid use 
of incomplete type ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
|    39 |         inline int height() const { return m_avCtx->height; }
|       |                                                   ^~
| In file included from 
/usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43,
|                  from 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtwidgetsglobal.h:43,
|                  from 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtoolbutton.h:43,
|                  from 
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/QToolButton:1,
|                  from /usr/include/KF5/KWidgetsAddons/kselectaction.h:23,
|                  from /usr/include/KF5/KWidgetsAddons/KSelectAction:1,
|                  from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/T4QKTR7IAB/../../../../src/actions/kcodecactionext.h:11,
|                  from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/T4QKTR7IAB/moc_kcodecactionext.cpp:10,
|                  from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/mocs_compilation.cpp:2:
| /<<PKGBUILDDIR>>/src/streamprocessor/streamprocessor.h:21:27: note: forward 
declaration of ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
|    21 | QT_FORWARD_DECLARE_STRUCT(AVCodecContext)
|       |                           ^~~~~~~~~~~~~~
| In file included from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/NJGCPLWHKP/../../../../src/videoplayer/backend/ffplayer.h:15,
|                  from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/NJGCPLWHKP/moc_ffplayer.cpp:10,
|                  from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/mocs_compilation.cpp:71:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/framequeue.h: At global scope:
| /<<PKGBUILDDIR>>/src/videoplayer/backend/framequeue.h:30:20: error: field 
‘sub’ has incomplete type ‘AVSubtitle’
|    30 |         AVSubtitle sub;
|       |                    ^~~
| In file included from 
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
|                  from /<<PKGBUILDDIR>>/src/videoplayer/backend/decoder.h:14,
|                  from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/NJGCPLWHKP/../../../../src/videoplayer/backend/audiodecoder.h:11,
|                  from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/NJGCPLWHKP/moc_audiodecoder.cpp:10,
|                  from 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/subtitlecomposer-lib_autogen/mocs_compilation.cpp:69:
| /usr/include/x86_64-linux-gnu/libavcodec/codec.h:196:8: note: forward 
declaration of ‘struct AVSubtitle’
|   196 | struct AVSubtitle;
|       |        ^~~~~~~~~~
| make[3]: *** [src/CMakeFiles/subtitlecomposer-lib.dir/build.make:132: 
src/CMakeFiles/subtitlecomposer-lib.dir/subtitlecomposer-lib_autogen/mocs_compilation.cpp.o]
 Error 1

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to