[Pkg-deepin-devel] Bug#1004808: deepin-music: FTBFS with ffmpeg 5.0

Sebastian Ramacher sramacher at debian.org
Tue Feb 1 22:06:32 GMT 2022


Source: deepin-music
Version: 6.0.1.54+ds.1-2
Severity: important
X-Debbugs-Cc: sramacher at debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

deepin-music FTBFS with ffmpeg 5.0 in experimental:

g++ -pipe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp
/usr/lib/qt5/bin/moc -DVERSION=6.0.1.54+ds.1 -DQT_MESSAGELOGCONTEXT -DLIBDMUSIC_LIBRARY -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /<<PKGBUILDDIR>>/src/libdmusic/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/<<PKGBUILDDIR>>/src/libdmusic -I/usr/include/taglib -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/KF5/KCodecs -I/usr/include/libdtk-5.5.17/DCore -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/11 -I/usr/include/x86_64-linux-gnu/c++/11 -I/usr/include/c++/11/backward -I/usr/lib/gcc/x86_64-linux-gnu/11/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include net/geese.h -o moc_geese.cpp
g++ -c -pipe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DVERSION=6.0.1.54+ds.1 -DQT_MESSAGELOGCONTEXT -DLIBDMUSIC_LIBRARY -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/taglib -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/KF5/KCodecs -I/usr/include/libdtk-5.5.17/DCore -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_geese.o moc_geese.cpp
metadetector.cpp: In static member function ‘static void MetaDetector::init()’:
metadetector.cpp:63:5: error: ‘av_register_all’ was not declared in this scope
   63 |     av_register_all();
      |     ^~~~~~~~~~~~~~~
metadetector.cpp: In static member function ‘static void MetaDetector::updateMediaFileTagCodec(MediaMeta*, const QByteArray&, bool)’:
metadetector.cpp:137:34: warning: ‘bool TagLib::String::isNull() const’ is deprecated [-Wdeprecated-declarations]
  137 |     encode &= tag->title().isNull() ? true : tag->title().isLatin1();
      |               ~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/taglib/tag.h:30,
                 from metadetector.cpp:47:
/usr/include/taglib/tstring.h:343:28: note: declared here
  343 |     TAGLIB_DEPRECATED bool isNull() const;
      |                            ^~~~~~
metadetector.cpp:138:35: warning: ‘bool TagLib::String::isNull() const’ is deprecated [-Wdeprecated-declarations]
  138 |     encode &= tag->artist().isNull() ? true : tag->artist().isLatin1();
      |               ~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/taglib/tag.h:30,
                 from metadetector.cpp:47:
/usr/include/taglib/tstring.h:343:28: note: declared here
  343 |     TAGLIB_DEPRECATED bool isNull() const;
      |                            ^~~~~~
metadetector.cpp:139:34: warning: ‘bool TagLib::String::isNull() const’ is deprecated [-Wdeprecated-declarations]
  139 |     encode &= tag->album().isNull() ? true : tag->album().isLatin1();
      |               ~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/taglib/tag.h:30,
                 from metadetector.cpp:47:
/usr/include/taglib/tstring.h:343:28: note: declared here
  343 |     TAGLIB_DEPRECATED bool isNull() const;
      |                            ^~~~~~
metadetector.cpp: In static member function ‘static QVector<float> MetaDetector::getMetaData(const QString&)’:
metadetector.cpp:394:43: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  394 |     AVCodec *pCodec = avcodec_find_decoder(pCodecCtx->codec_id);
      |                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
      |                                           |
      |                                           const AVCodec*
metadetector.cpp:417:55: warning: ‘int qrand()’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
  417 |                         curData.append(valDate + qrand());
      |                                                  ~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1,
                 from metadetector.h:24,
                 from metadetector.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1279:80: note: declared here
 1279 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
      |                                                                                ^~~~~
make[3]: *** [Makefile:487: metadetector.o] Error 1

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-deepin-devel/attachments/20220201/fd6f92c4/attachment.sig>


More information about the Pkg-deepin-devel mailing list