[Pkg-deepin-devel] Bug#1092681: deepin-music: FTBFS with taglib 2.0

Boyuan Yang byang at debian.org
Fri Jan 10 17:00:24 GMT 2025


Source: deepin-music
Version: 6.2.28-1
Severity: important
User: debian-multimedia at 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/deepin-music-6.2.28/src/libdmusic/metadetector.cpp: 
In member function ‘MediaMeta 
MetaDetector::updateMediaFileTagCodec(MediaMeta&, const QByteArray&, bool)’:
/build/reproducible-path/deepin-music-6.2.28/src/libdmusic/metadetector.cpp:210:44: 
warning: ‘virtual int TagLib::AudioProperties::length() const’ is 
deprecated [-Wdeprecated-declarations]
   210 |     meta.length = t_audioProperties->length() * 1000;
       |                   ~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/taglib/fileref.h:33,
                  from 
/build/reproducible-path/deepin-music-6.2.28/src/libdmusic/metadetector.cpp:33:
/usr/include/taglib/audioproperties.h:82:17: note: declared here
    82 |     virtual int length() const;
       |                 ^~~~~~
/build/reproducible-path/deepin-music-6.2.28/src/libdmusic/metadetector.cpp:213:28: 
error: ‘class TagLib::String’ has no member named ‘isNull’
   213 |     encode &= tag->title().isNull() ? true : 
tag->title().isLatin1();
       |                            ^~~~~~
/build/reproducible-path/deepin-music-6.2.28/src/libdmusic/metadetector.cpp:214:29: 
error: ‘class TagLib::String’ has no member named ‘isNull’
   214 |     encode &= tag->artist().isNull() ? true : 
tag->artist().isLatin1();
       |                             ^~~~~~
/build/reproducible-path/deepin-music-6.2.28/src/libdmusic/metadetector.cpp:215:28: 
error: ‘class TagLib::String’ has no member named ‘isNull’
   215 |     encode &= tag->album().isNull() ? true : 
tag->album().isLatin1();
       |                            ^~~~~~

Thanks,
Boyuan Yang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-deepin-devel/attachments/20250110/2d5dd858/attachment.sig>


More information about the Pkg-deepin-devel mailing list