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

Bug#1004763: marked as done (libopenshot: FTBFS with ffmpeg 5.0)



Your message dated Sun, 31 Jul 2022 11:38:47 +0000
with message-id <E1oI7HT-000tla-QV@fasolo.debian.org>
and subject line Bug#1004763: fixed in libopenshot 0.2.7+dfsg1-3
has caused the Debian Bug report #1004763,
regarding libopenshot: 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.)


-- 
1004763: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004763
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: libopenshot
Version: 0.2.5+dfsg1-6
Severity: important
X-Debbugs-Cc: sramacher@debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

libopenshot FTBFS with ffmpeg 5.0 in experimental:
| [ 36%] Building CXX object src/CMakeFiles/openshot.dir/Point.cpp.o
| cd /<<PKGBUILDDIR>>/debian/build/src && /usr/lib/ccache/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/<<PKGBUILDDIR>>/debian/build/src/openshot_autogen/include -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/debian/build/include -I/usr/include/ImageMagick-6 -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/libopenshot-audio -I/usr/include/jsoncpp -isystem /usr/include/x86_64-linux-gnu/qt5 -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/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -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/QtMultimediaWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -pthread -fopenmp -std=c++11 -MD -MT src/CMakeFiles/openshot.dir/Point.cpp.o -MF CMakeFiles/openshot.dir/Point.cpp.o.d -o CMakeFiles/openshot.dir/Point.cpp.o -c /<<PKGBUILDDIR>>/src/Point.cpp
| /<<PKGBUILDDIR>>/src/FFmpegReader.cpp:39:17: note: ‘#pragma message: You are compiling with experimental hardware decode’
|    39 | #pragma message "You are compiling with experimental hardware decode"
|       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/FFmpegReader.cpp: In member function ‘virtual void openshot::FFmpegReader::Open()’:
| /<<PKGBUILDDIR>>/src/FFmpegReader.cpp:284:63: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|   284 |                         AVCodec *pCodec = avcodec_find_decoder(codecId);
|       |                                           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
|       |                                                               |
|       |                                                               const AVCodec*
| /<<PKGBUILDDIR>>/src/FFmpegReader.cpp:530:63: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|   530 |                         AVCodec *aCodec = avcodec_find_decoder(codecId);
|       |                                           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
|       |                                                               |
|       |                                                               const AVCodec*
| make[3]: *** [src/CMakeFiles/openshot.dir/build.make:359: src/CMakeFiles/openshot.dir/FFmpegReader.cpp.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:39:17: note: ‘#pragma message: You are compiling with experimental hardware encode’
|    39 | #pragma message "You are compiling with experimental hardware encode"
|       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp: In member function ‘void openshot::FFmpegWriter::auto_detect_format()’:
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:130:30: error: invalid conversion from ‘const AVOutputFormat*’ to ‘AVOutputFormat*’ [-fpermissive]
|   130 |         fmt = av_guess_format(NULL, path.c_str(), NULL);
|       |               ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                              |
|       |                              const AVOutputFormat*
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp: In member function ‘void openshot::FFmpegWriter::SetVideoOptions(bool, std::string, openshot::Fraction, int, int, openshot::Fraction, bool, bool, int)’:
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:177:65: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|   177 |                         new_codec = avcodec_find_encoder_by_name(codec.c_str());
|       |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
|       |                                                                 |
|       |                                                                 const AVCodec*
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:183:65: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|   183 |                         new_codec = avcodec_find_encoder_by_name(codec.c_str());
|       |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
|       |                                                                 |
|       |                                                                 const AVCodec*
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:189:65: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|   189 |                         new_codec = avcodec_find_encoder_by_name(codec.c_str());
|       |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
|       |                                                                 |
|       |                                                                 const AVCodec*
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp: In member function ‘void openshot::FFmpegWriter::SetAudioOptions(bool, std::string, int, int, openshot::ChannelLayout, int)’:
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:292:66: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|   292 |                 AVCodec *new_codec = avcodec_find_encoder_by_name(codec.c_str());
|       |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
|       |                                                                  |
|       |                                                                  const AVCodec*
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp: In member function ‘void openshot::FFmpegWriter::flush_encoders()’:
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:817:39: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
|   817 |                         av_init_packet(&pkt);
|       |                         ~~~~~~~~~~~~~~^~~~~~
| In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
|                  from /<<PKGBUILDDIR>>/src/../include/FFmpegUtilities.h:50,
|                  from /<<PKGBUILDDIR>>/src/../include/ChannelLayouts.h:35,
|                  from /<<PKGBUILDDIR>>/src/../include/Frame.h:50,
|                  from /<<PKGBUILDDIR>>/src/../include/CacheBase.h:36,
|                  from /<<PKGBUILDDIR>>/src/../include/CacheMemory.h:37,
|                  from /<<PKGBUILDDIR>>/src/../include/ReaderBase.h:39,
|                  from /<<PKGBUILDDIR>>/src/../include/FFmpegWriter.h:42,
|                  from /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:34:
| /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
|   506 | void av_init_packet(AVPacket *pkt);
|       |      ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:922:39: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
|   922 |                         av_init_packet(&pkt);
|       |                         ~~~~~~~~~~~~~~^~~~~~
| In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
|                  from /<<PKGBUILDDIR>>/src/../include/FFmpegUtilities.h:50,
|                  from /<<PKGBUILDDIR>>/src/../include/ChannelLayouts.h:35,
|                  from /<<PKGBUILDDIR>>/src/../include/Frame.h:50,
|                  from /<<PKGBUILDDIR>>/src/../include/CacheBase.h:36,
|                  from /<<PKGBUILDDIR>>/src/../include/CacheMemory.h:37,
|                  from /<<PKGBUILDDIR>>/src/../include/ReaderBase.h:39,
|                  from /<<PKGBUILDDIR>>/src/../include/FFmpegWriter.h:42,
|                  from /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:34:
| /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
|   506 | void av_init_packet(AVPacket *pkt);
|       |      ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp: In member function ‘AVStream* openshot::FFmpegWriter::add_audio_stream()’:
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:1066:54: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|  1066 |         AVCodec *codec = avcodec_find_encoder_by_name(info.acodec.c_str());
|       |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
|       |                                                      |
|       |                                                      const AVCodec*
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp: In member function ‘AVStream* openshot::FFmpegWriter::add_video_stream()’:
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:1149:54: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|  1149 |         AVCodec *codec = avcodec_find_encoder_by_name(info.vcodec.c_str());
|       |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
|       |                                                      |
|       |                                                      const AVCodec*
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp: In member function ‘void openshot::FFmpegWriter::open_audio(AVFormatContext*, AVStream*)’:
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:1290:45: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|  1290 |         codec = avcodec_find_encoder_by_name(info.acodec.c_str());
|       |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
|       |                                             |
|       |                                             const AVCodec*
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:1292:45: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|  1292 |                 codec = avcodec_find_encoder(audio_codec->codec_id);
|       |                         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
|       |                                             |
|       |                                             const AVCodec*
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp: In member function ‘void openshot::FFmpegWriter::open_video(AVFormatContext*, AVStream*)’:
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:1406:45: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|  1406 |         codec = avcodec_find_encoder_by_name(info.vcodec.c_str());
|       |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
|       |                                             |
|       |                                             const AVCodec*
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:1408:45: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|  1408 |                 codec = avcodec_find_encoder(AV_FIND_DECODER_CODEC_ID(st));
|       |                         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                             |
|       |                                             const AVCodec*
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp: In member function ‘void openshot::FFmpegWriter::write_audio_packets(bool)’:
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:1761:39: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
|  1761 |                         av_init_packet(&pkt);
|       |                         ~~~~~~~~~~~~~~^~~~~~
| In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
|                  from /<<PKGBUILDDIR>>/src/../include/FFmpegUtilities.h:50,
|                  from /<<PKGBUILDDIR>>/src/../include/ChannelLayouts.h:35,
|                  from /<<PKGBUILDDIR>>/src/../include/Frame.h:50,
|                  from /<<PKGBUILDDIR>>/src/../include/CacheBase.h:36,
|                  from /<<PKGBUILDDIR>>/src/../include/CacheMemory.h:37,
|                  from /<<PKGBUILDDIR>>/src/../include/ReaderBase.h:39,
|                  from /<<PKGBUILDDIR>>/src/../include/FFmpegWriter.h:42,
|                  from /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:34:
| /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
|   506 | void av_init_packet(AVPacket *pkt);
|       |      ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp: In member function ‘bool openshot::FFmpegWriter::write_video_packet(std::shared_ptr<openshot::Frame>, AVFrame*)’:
| /<<PKGBUILDDIR>>/src/FFmpegWriter.cpp:1988:31: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
|  1988 |                 av_init_packet(&pkt);
|       |                 ~~~~~~~~~~~~~~^~~~~~
| In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
|                  from /<<PKGBUILDDIR>>/src/../include/FFmpegUtilities.h:50,
|                  from /<<PKGBUILDDIR>>/src/../include/ChannelLayouts.h:35,
|                  from /<<PKGBUILDDIR>>/src/../include/Frame.h:50,
|                  from /<<PKGBUILDDIR>>/src/../include/CacheBase.h:36,
|                  from /<<PKGBUILDDIR>>/src/../include/CacheMemory.h:37,
|                  from /<<PKGBUILDDIR>>/src/../include/ReaderBase.h:39,
|                  from /<<PKGBUILDDIR>>/src/../include/FFmpegWriter.h:42,
|                  from /<<PKGBUILDDIR>>/src/FFmpegWriter.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]: *** [src/CMakeFiles/openshot.dir/build.make:373: src/CMakeFiles/openshot.dir/FFmpegWriter.cpp.o] Error 1
| /<<PKGBUILDDIR>>/src/ZmqLogger.cpp: In member function ‘void openshot::ZmqLogger::Log(std::string)’:
| /<<PKGBUILDDIR>>/src/ZmqLogger.cpp:126:24: warning: ‘bool zmq::detail::socket_base::send(zmq::message_t&, int)’ is deprecated: from 4.3.1, use send taking message_t and send_flags [-Wdeprecated-declarations]
|   126 |         publisher->send(reply);
|       |         ~~~~~~~~~~~~~~~^~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/../include/ZmqLogger.h:43,
|                  from /<<PKGBUILDDIR>>/src/ZmqLogger.cpp:31:
| /usr/include/zmq.hpp:1862:10: note: declared here
|  1862 |     bool send(message_t &msg_,
|       |          ^~~~
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: libopenshot
Source-Version: 0.2.7+dfsg1-3
Done: Sebastian Ramacher <sramacher@debian.org>

We believe that the bug you reported is fixed in the latest version of
libopenshot, 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 1004763@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Ramacher <sramacher@debian.org> (supplier of updated libopenshot 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: SHA512

Format: 1.8
Date: Sun, 31 Jul 2022 11:13:56 +0200
Source: libopenshot
Architecture: source
Version: 0.2.7+dfsg1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Sebastian Ramacher <sramacher@debian.org>
Closes: 1004763
Changes:
 libopenshot (0.2.7+dfsg1-3) unstable; urgency=medium
 .
   * Team upload
   * debian/patches: Apply upstream patches to fix FTBFS with ffmpeg 5.0
     (Closes: #1004763)
   * debian/control: Bump Standards-VVersion
Checksums-Sha1:
 e24d34ff267fe30d4bbfc8a1bd974237aa099b3e 2592 libopenshot_0.2.7+dfsg1-3.dsc
 9150384bf84a971c477b0fe3b4d4ecceb1fe5fcf 11752 libopenshot_0.2.7+dfsg1-3.debian.tar.xz
Checksums-Sha256:
 e29fb5f07435f3f841ae66cfd6bf255fd83af0721790dd93499185770612f270 2592 libopenshot_0.2.7+dfsg1-3.dsc
 41f457facc82423682fe658c77e9cb9c37070c2cab00656b1b1795acebebcb1e 11752 libopenshot_0.2.7+dfsg1-3.debian.tar.xz
Files:
 98286e1a0e1ada14561f97e760484b63 2592 libs optional libopenshot_0.2.7+dfsg1-3.dsc
 546e106b242ebd0ef3de75bf9f373571 11752 libs optional libopenshot_0.2.7+dfsg1-3.debian.tar.xz

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

iQIzBAEBCgAdFiEE94y6B4F7sUmhHTOQafL8UW6nGZMFAmLmSP8ACgkQafL8UW6n
GZO2Pw/7BnV9chuzH7B49UpYXRPgbjNEaAjjVpe56HD7obqHBXUZhsSODM8F7a/A
EZrK6ZEGDiVgtkSQUxmxI+Joy9xrumeGlzRzWkuUqUIrBvJMZ/Y1tKkh3uuIEzO+
uW2i9ixqm2/LKdG5JxIrgYFTCVAAjYT+IvytdlH0I8agV3yca67Gsz1si/3QFw2E
MdnnH9RrUniFvVp+mdJcJl2E9bFR574AkzgnQVTD0Wl2cJsTDms4nhgprDYXWjJ/
TnbxnUmj/V/I5XnlvpE2TB2oPxfPJPbHKDNR78PJ8uuGexcj+m2H5YZhaXMkdWpG
UPVuJxPqBjpVMqBxXk9wzLY+ffE9fkLPsQIpo55+TVF1RZ1Ln143jtYvSK3v5wQX
r6hOvAAAV0cP9uXZ5FMVfIkakhpcW0/cvoVp8cUai+QOPWWwDq1nCy9ey/uR241h
B6Mo7Gb6BnzUpcYzULjbh0bF2xHZVRAra9NBu8ZQqe5hzFnilOM39aPxLBqqnttI
EWLJb88FrnR7TN6QtInQVfKLGhK36z4B3Q6EAYOFvJoHqP8fnSxoApR6a8dPmVQT
CIBdnVkET6JKIyT6qzZsLg0PBVu0OtG3HV+I1w0gaeakVstqpCxqJuzwizDqYV84
yIRneVlRT2sYgHUWuWlEIuopjVS19P9ph80+eFepH5nkB4AYpmw=
=WJ1V
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: