Source: ncmpcpp Version: 0.9.2-2 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:g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DU_USING_ICU_NAMESPACE=0 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include -I/usr/include/taglib -g -O2 -ffile-prefix-map=/build/reproducible-path/ncmpcpp-0.9.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -flto -ftree-vectorize -ffast-math -std=c++14 -c -o curses/scrollpad.o curses/scrollpad.cpp
tags.cpp: In function ‘void {anonymous}::writeCommonTags(const MPD::MutableSong&, TagLib::Tag*)’: tags.cpp:125:58: error: ‘uint’ is not a member of ‘TagLib’; did you mean ‘uint’? 125 | tag->setYear(boost::lexical_cast<TagLib::uint>(s.getDate())); | ^~~~ In file included from /usr/include/taglib/taglib.h:42, from /usr/include/taglib/tiostream.h:31, from /usr/include/taglib/tfile.h:30, from tags.h:28, from tags.cpp:21: /usr/include/x86_64-linux-gnu/sys/types.h:150:22: note: ‘uint’ declared here 150 | typedef unsigned int uint; | ^~~~ tags.cpp:125:58: error: ‘uint’ is not a member of ‘TagLib’; did you mean ‘uint’? 125 | tag->setYear(boost::lexical_cast<TagLib::uint>(s.getDate())); | ^~~~ /usr/include/x86_64-linux-gnu/sys/types.h:150:22: note: ‘uint’ declared here 150 | typedef unsigned int uint; | ^~~~ tags.cpp:125:63: error: no matching function for call to ‘lexical_cast<<expression error> >(std::string)’ 125 | tag->setYear(boost::lexical_cast<TagLib::uint>(s.getDate())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from ./curses/strbuffer.h:24, from ./curses/menu.h:33, from screens/screen.h:24, from global.h:28, from tags.cpp:38: /usr/include/boost/lexical_cast.hpp:55:19: note: candidate: ‘template<class Target, class Source> Target boost::lexical_cast(const Source&)’ 55 | inline Target lexical_cast(const Source &arg) | ^~~~~~~~~~~~ /usr/include/boost/lexical_cast.hpp:55:19: note: template argument deduction/substitution failed: tags.cpp:125:63: error: template argument 1 is invalid 125 | tag->setYear(boost::lexical_cast<TagLib::uint>(s.getDate())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Thanks, Boyuan Yang
ncmpcpp_0.9.2-2_amd64-2025-01-10T185218Z.build.gz
Description: GNU Zip compressed data
OpenPGP_signature.asc
Description: OpenPGP digital signature