Source: cantata Version: 2.5.0.ds1-3 Severity: important User: debian-multime...@lists.debian.org Usertags: taglib2.0
The package fails to build with taglib 2.0.2 from Debian experimental. There are API breakages between taglib 1.x and taglib 2.x, and some manual tweaks may be necessary. Related build logs: /build/reproducible-path/cantata-2.5.0.ds1/tags/tags.cpp: In function ‘void Tags::readAPETags(TagLib::APE::Tag*, Song*, ReplayGain*, QImage*, int*)’: /build/reproducible-path/cantata-2.5.0.ds1/tags/tags.cpp:622:64: error: ‘const class TagLib::APE::Item’ has no member named ‘value’; did you mean ‘values’? 622 | TagLib::ByteVector item = map["COVER ART (FRONT)"].value(); | ^~~~~ | values /build/reproducible-path/cantata-2.5.0.ds1/tags/tags.cpp: In function ‘void Tags::readTags(TagLib::FileRef, Song*, ReplayGain*, QImage*, QString*, int*)’: /build/reproducible-path/cantata-2.5.0.ds1/tags/tags.cpp:1304:36: error: invalid conversion from ‘TagLib::Tag*’ to ‘TagLib::ID3v2::Tag*’ [-fpermissive] 1304 | readID3v2Tags(file->tag(), song, rg, img, lyrics, rating); | ~~~~~~~~~^~ | | | TagLib::Tag* /build/reproducible-path/cantata-2.5.0.ds1/tags/tags.cpp:313:47: note: initializing argument 1 of ‘void Tags::readID3v2Tags(TagLib::ID3v2::Tag*, Song*, ReplayGain*, QImage*, QString*, int*)’ 313 | static void readID3v2Tags(TagLib::ID3v2::Tag *tag, Song *song, ReplayGain *rg, QImage *img, QString *lyrics, int *rating) | ~~~~~~~~~~~~~~~~~~~~^~~ [ 8%] Building CXX object support/CMakeFiles/support.dir/buddylabel.cpp.ocd /build/reproducible-path/cantata-2.5.0.ds1/obj-x86_64-linux-gnu/support && /usr/bin/c++ -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/build/reproducible-path/cantata-2.5.0.ds1/obj-x86_64-linux-gnu/support/support_autogen/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/build/reproducible-path/cantata-2.5.0.ds1/3rdparty -I/build/reproducible-path/cantata-2.5.0.ds1 -I/build/reproducible-path/cantata-2.5.0.ds1/obj-x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtSql -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/taglib -I/usr/include/neon -I/usr/include/libxml2 -I/build/reproducible-path/cantata-2.5.0.ds1/obj-x86_64-linux-gnu/support -I/build/reproducible-path/cantata-2.5.0.ds1/support -g -O2 -ffile-prefix-map=/build/reproducible-path/cantata-2.5.0.ds1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -fPIC -I/usr/include/taglib -fexceptions -UQT_NO_EXCEPTIONS -MD -MT support/CMakeFiles/support.dir/buddylabel.cpp.o -MF CMakeFiles/support.dir/buddylabel.cpp.o.d -o CMakeFiles/support.dir/buddylabel.cpp.o -c /build/reproducible-path/cantata-2.5.0.ds1/support/buddylabel.cpp
/build/reproducible-path/cantata-2.5.0.ds1/tags/tags.cpp: In function ‘bool Tags::writeTags(TagLib::FileRef, const Song&, const Song&, const RgTags&, const QByteArray&, int, bool)’: /build/reproducible-path/cantata-2.5.0.ds1/tags/tags.cpp:1422:45: error: invalid conversion from ‘TagLib::Tag*’ to ‘TagLib::ID3v2::Tag*’ [-fpermissive] 1422 | changed=writeID3v2Tags(file->tag(), from, to, rg, img, rating) || changed; | ~~~~~~~~~^~ | | | TagLib::Tag* /build/reproducible-path/cantata-2.5.0.ds1/tags/tags.cpp:496:48: note: initializing argument 1 of ‘bool Tags::writeID3v2Tags(TagLib::ID3v2::Tag*, const Song&, const Song&, const RgTags&, const QByteArray&, int)’ 496 | static bool writeID3v2Tags(TagLib::ID3v2::Tag *tag, const Song &from, const Song &to, const RgTags &rg, const QByteArray &img, int rating) | ~~~~~~~~~~~~~~~~~~~~^~~ Thanks, Boyuan Yang
OpenPGP_signature.asc
Description: OpenPGP digital signature