Processing: [default: loading data] [taglib.0.3.10: dl] [taglib.0.3.10: extract] -> retrieved taglib.0.3.10 (https://opam.ocaml.org/cache) [taglib: dune build] + /home/opam/.opam/default/bin/dune "build" "-p" "taglib" "-j" "32" "@install" (CWD=/home/opam/.opam/default/.opam-switch/build/taglib.0.3.10) - File "src/dune", line 8, characters 9-21: - 8 | (names taglib_stubs) - ^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -fPIC -I/usr/include/taglib -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ocaml/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 - | ^~~~ [ERROR] The compilation of taglib.0.3.10 failed at "dune build -p taglib -j 32 @install". #=== ERROR while compiling taglib.0.3.10 ======================================# # context 2.4.1 | linux/x86_64 | ocaml-compiler.5.4.1 | file:///home/opam/opam-repository # path ~/.opam/default/.opam-switch/build/taglib.0.3.10 # command ~/.opam/default/bin/dune build -p taglib -j 32 @install # exit-code 1 # env-file /tmp/opam-root-7/taglib-7-e9b96e.env # output-file /tmp/opam-root-7/taglib-7-e9b96e.out ### output ### # File "src/dune", line 8, characters 9-21: # 8 | (names taglib_stubs) # ^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -fPIC -I/usr/include/taglib -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ocaml/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 # | ^~~~