Source: lomiri-thumbnailer Version: 3.0.3-1 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. This issue affects lomiri-thumbnailer in both 3.0.3-1 and 3.0.4-1. Related build logs:cd /build/reproducible-path/lomiri-thumbnailer-3.0.4/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DSLOW_TESTS=1 -I/build/reproducible-path/lomiri-thumbnailer-3.0.4/obj-x86_64-linux-gnu/src -I/build/reproducible-path/lomiri-thumbnailer-3.0.4/src -I/build/reproducible-path/lomiri-thumbnailer-3.0.4/obj-x86_64-linux-gnu/src/thumbnailer-static_autogen/include -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/taglib -I/build/reproducible-path/lomiri-thumbnailer-3.0.4/include -I/build/reproducible-path/lomiri-thumbnailer-3.0.4/obj-x86_64-linux-gnu/include -isystem /usr/include/x86_64-linux-gnu/qt5 -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/QtNetwork -g -O2 -ffile-prefix-map=/build/reproducible-path/lomiri-thumbnailer-3.0.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 --std=c++17 -Wall -pedantic -Wextra -fvisibility=hidden -Wcast-align -Wcast-qual -Wformat -Wredundant-decls -Wswitch-default -Wnon-virtual-dtor -Wctor-dtor-privacy -Wold-style-cast -fPIC -MD -MT src/CMakeFiles/thumbnailer-static.dir/make_directories.cpp.o -MF CMakeFiles/thumbnailer-static.dir/make_directories.cpp.o.d -o CMakeFiles/thumbnailer-static.dir/make_directories.cpp.o -c /build/reproducible-path/lomiri-thumbnailer-3.0.4/src/make_directories.cpp
/build/reproducible-path/lomiri-thumbnailer-3.0.4/src/local_album_art.cpp: In member function ‘virtual std::string lomiri::thumbnailer::internal::{anonymous}::MP4Extractor::get_album_art() const’: /build/reproducible-path/lomiri-thumbnailer-3.0.4/src/local_album_art.cpp:339:63: error: ‘class TagLib::MP4::Tag’ has no member named ‘itemListMap’; did you mean ‘itemMap’? 339 | auto const& map = const_cast<TagLib::MP4::Tag*>(tag)->itemListMap(); | ^~~~~~~~~~~ | itemMap/build/reproducible-path/lomiri-thumbnailer-3.0.4/src/local_album_art.cpp: In function ‘std::unique_ptr<lomiri::thumbnailer::internal::{anonymous}::ArtExtractor> lomiri::thumbnailer::internal::{anonymous}::make_extractor(const std::string&, const TagLib::FileRef&)’:
/build/reproducible-path/lomiri-thumbnailer-3.0.4/src/local_album_art.cpp:374:11: error: ‘runtime_error’ was not declared in this scope 374 | throw runtime_error(filename + ": unknown container format"); | ^~~~~~~~~~~~~ /build/reproducible-path/lomiri-thumbnailer-3.0.4/src/local_album_art.cpp:41:1: note: ‘std::runtime_error’ is defined in header ‘<stdexcept>’; this is probably fixable by adding ‘#include <stdexcept>’ 40 | #include <cassert> +++ |+#include <stdexcept> 41 | #include <memory> /build/reproducible-path/lomiri-thumbnailer-3.0.4/src/local_album_art.cpp: In function ‘std::string lomiri::thumbnailer::internal::extract_local_album_art(const std::string&)’: /build/reproducible-path/lomiri-thumbnailer-3.0.4/src/local_album_art.cpp:385:15: error: ‘runtime_error’ was not declared in this scope 385 | throw runtime_error(filename + ": cannot create TagLib::FileRef"); | ^~~~~~~~~~~~~ /build/reproducible-path/lomiri-thumbnailer-3.0.4/src/local_album_art.cpp:385:15: note: ‘std::runtime_error’ is defined in header ‘<stdexcept>’; this is probably fixable by adding ‘#include <stdexcept>’/build/reproducible-path/lomiri-thumbnailer-3.0.4/src/local_album_art.cpp: In function ‘std::unique_ptr<lomiri::thumbnailer::internal::{anonymous}::ArtExtractor> lomiri::thumbnailer::internal::{anonymous}::make_extractor(const std::string&, const TagLib::FileRef&)’:
/build/reproducible-path/lomiri-thumbnailer-3.0.4/src/local_album_art.cpp:375:1: warning: control reaches end of non-void function [-Wreturn-type] 375 | } | ^ make[3]: *** [src/CMakeFiles/thumbnailer-static.dir/build.make:204: src/CMakeFiles/thumbnailer-static.dir/local_album_art.cpp.o] Error 1 Thanks, Boyuan Yang
OpenPGP_signature.asc
Description: OpenPGP digital signature