Source: ocaml-taglib Version: 0.3.10-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: dh_auto_build -O--buildsystem=ocaml_dune dune build -j 8 -p taglib File "src/dune", line 8, characters 9-21: 8 | (names taglib_stubs) ^^^^^^^^^^^^ (cd _build/default/src && /usr/bin/x86_64-linux-gnu-gcc -fPIC -I/usr/include/taglib -g -I /usr/lib/x86_64-linux-gnu/ocaml/5.2.0 -I /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/unix -o taglib_stubs.o -c taglib_stubs.cc) taglib_stubs.cc: In function ‘value caml_taglib_file_new(value, value)’: taglib_stubs.cc:231:18: error: ‘create’ is not a member of ‘TagLib::FileRef’ 231 | f = FileRef::create(filename); | ^~~~~~ taglib_stubs.cc: In function ‘value caml_taglib_audioproperties_get_int(value, value)’: taglib_stubs.cc:502:23: warning: ‘virtual int TagLib::AudioProperties::length() const’ is deprecated [-Wdeprecated-declarations] 502 | tmp = prop->length(); | ~~~~~~~~~~~~^~ In file included from /usr/include/taglib/fileref.h:33, from taglib_stubs.cc:45: /usr/include/taglib/audioproperties.h:82:17: note: declared here 82 | virtual int length() const; | ^~~~~~ taglib_stubs.cc: In function ‘value caml_taglib_id3v2_parse_tag(value, value)’: taglib_stubs.cc:571:11: error: ‘uint’ is not a member of ‘TagLib’; did you mean ‘uint’? 571 | TagLib::uint size = ID3v2::Header::size(); | ^~~~ In file included from /usr/include/stdlib.h:514, from /usr/include/c++/14/cstdlib:79, from /usr/include/c++/14/stdlib.h:36, from taglib_stubs.cc:43: /usr/include/x86_64-linux-gnu/sys/types.h:150:22: note: ‘uint’ declared here 150 | typedef unsigned int uint; | ^~~~ taglib_stubs.cc:573:31: error: ‘size’ was not declared in this scope; did you mean ‘std::size’? 573 | tag->doParse(ByteVector(s + size, caml_string_length(h) - size)); | ^~~~ | std::size In file included from /usr/include/c++/14/vector:69, from /usr/include/taglib/tbytevector.h:30, from /usr/include/taglib/tfile.h:29, from /usr/include/taglib/fileref.h:29: /usr/include/c++/14/bits/range_access.h:272:5: note: ‘std::size’ declared here 272 | size(const _Tp (&)[_Nm]) noexcept | ^~~~ dh_auto_build: error: dune build -j 8 -p taglib returned exit code 1 Thanks, Boyuan Yang
OpenPGP_signature.asc
Description: OpenPGP digital signature