Processing: [default: loading data] [ocaml-expat.1.3.0: dl] [ocaml-expat.1.3.0: extract] -> retrieved ocaml-expat.1.3.0 (https://opam.ocaml.org/cache) [ocaml-expat: make all] + /usr/bin/make "all" (CWD=/home/opam/.opam/default/.opam-switch/build/ocaml-expat.1.3.0) - gcc -I /home/opam/.opam/default/lib/ocaml -MM *.c > depend - ocamlfind ocamldep -package bytes *.mli *.ml >> depend - ocamlfind ocamlc -package bytes -c -ccopt "-pthread" expat_stubs.c - In file included from expat_stubs.c:23: - expat_stubs.c: In function 'String_option_val': - /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 366 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - expat_stubs.c:78:16: note: in expansion of macro 'String_val' - 78 | return String_val(Field(string_option, 0)); - | ^~~~~~~~~~ - expat_stubs.c: In function 'expat_XML_GetCurrentByteIndex': - expat_stubs.c:269:5: warning: 'XML_GetCurrentByteIndex' is deprecated: please use XML_GetCurrentByteIndex64 instead [-Wdeprecated-declarations] - 269 | return Val_long(XML_GetCurrentByteIndex(XML_Parser_val(parser))); - | ^~~~~~ - In file included from expat_stubs.c:15: - /usr/include/expat.h:971:24: note: declared here - 971 | XMLPARSEAPI(XML_Index) XML_GetCurrentByteIndex(XML_Parser parser); - | ^~~~~~~~~~~~~~~~~~~~~~~ - expat_stubs.c: In function 'expat_XML_GetCurrentByteCount': - expat_stubs.c:279:5: warning: 'XML_GetCurrentByteCount' is deprecated: please use XML_GetCurrentByteCount64 instead [-Wdeprecated-declarations] - 279 | return Val_long(XML_GetCurrentByteCount(XML_Parser_val(parser))); - | ^~~~~~ - /usr/include/expat.h:979:1: note: declared here - 979 | XML_GetCurrentByteCount(XML_Parser parser); - | ^~~~~~~~~~~~~~~~~~~~~~~ - expat_stubs.c: In function 'expat_XML_GetCurrentColumnNumber': - expat_stubs.c:289:5: warning: 'XML_GetCurrentColumnNumber' is deprecated: please use XML_GetCurrentColumnNumber64 instead [-Wdeprecated-declarations] - 289 | return Val_long(XML_GetCurrentColumnNumber(XML_Parser_val(parser))); - | ^~~~~~ - /usr/include/expat.h:968:23: note: declared here - 968 | XMLPARSEAPI(XML_Size) XML_GetCurrentColumnNumber(XML_Parser parser); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ - expat_stubs.c: In function 'expat_XML_GetCurrentLineNumber': - expat_stubs.c:299:5: warning: 'XML_GetCurrentLineNumber' is deprecated: please use XML_GetCurrentLineNumber64 instead [-Wdeprecated-declarations] - 299 | return Val_long(XML_GetCurrentLineNumber(XML_Parser_val(parser))); - | ^~~~~~ - /usr/include/expat.h:965:23: note: declared here - 965 | XMLPARSEAPI(XML_Size) XML_GetCurrentLineNumber(XML_Parser parser); - | ^~~~~~~~~~~~~~~~~~~~~~~~ - expat_stubs.c: In function 'expat_error': - expat_stubs.c:350:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 350 | expat_error_exn = caml_named_value("expat_error"); - | ^ - expat_stubs.c: In function 'expat_XML_ParseSub': - /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 366 | #define String_val(x) ((const char *) Bp_val(x)) - | ^ - expat_stubs.c:387:20: note: in expansion of macro 'String_val' - 387 | char *string = String_val(vstring); - | ^~~~~~~~~~ - expat_stubs.c: In function 'character_data_handler': - /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 366 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - expat_stubs.c:550:12: note: in expansion of macro 'String_val' - 550 | memcpy(String_val(str), data, len); - | ^~~~~~~~~~ - In file included from expat_stubs.c:13: - /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *' - 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src, - | ~~~~~~~~~~~~~~~~~^~~~~~ - expat_stubs.c: In function 'default_handler': - /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 366 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - expat_stubs.c:819:13: note: in expansion of macro 'String_val' - 819 | memmove(String_val(d), data, len); - | ^~~~~~~~~~ - /usr/include/string.h:47:29: note: expected 'void *' but argument is of type 'const char *' - 47 | extern void *memmove (void *__dest, const void *__src, size_t __n) - | ~~~~~~^~~~~~ - ocamlfind ocamlmklib -package bytes -oc mlexpat expat_stubs.o \ - -L/usr/local/lib -lexpat - ocamlfind ocamlc -package bytes -c expat.mli - ocamlfind ocamlc -package bytes -c expat.ml - ocamlfind ocamlmklib -package bytes -o expat expat.cmo -oc mlexpat \ - -L/usr/local/lib -lexpat [ocaml-expat: make allopt] + /usr/bin/make "allopt" (CWD=/home/opam/.opam/default/.opam-switch/build/ocaml-expat.1.3.0) - ocamlfind ocamlopt -package bytes -c expat.ml - ocamlfind ocamlmklib -package bytes -o expat expat.cmx -oc mlexpat \ - -L/usr/local/lib -lexpat - ocamlfind ocamlopt -package bytes -linkall -shared -o expat.cmxs expat.cmx libmlexpat.a \ - -ccopt -L/usr/local/lib -cclib -lexpat -> compiled ocaml-expat.1.3.0 [ocaml-expat: make install] + /usr/bin/make "install" (CWD=/home/opam/.opam/default/.opam-switch/build/ocaml-expat.1.3.0) - { test ! -f expat.cmxa || extra="expat.cmxa expat.cmxs expat.a"; }; \ - ocamlfind install expat META expat.cmi expat.mli expat.cma \ - libmlexpat.a $extra \ - -optional dllmlexpat.so - Installed /home/opam/.opam/default/lib/expat/expat.a - Installed /home/opam/.opam/default/lib/expat/expat.cmxs - Installed /home/opam/.opam/default/lib/expat/expat.cmxa - Installed /home/opam/.opam/default/lib/expat/libmlexpat.a - Installed /home/opam/.opam/default/lib/expat/expat.cma - Installed /home/opam/.opam/default/lib/expat/expat.mli - Installed /home/opam/.opam/default/lib/expat/expat.cmi - Installed /home/opam/.opam/default/lib/stublibs/dllmlexpat.so - Installed /home/opam/.opam/default/lib/stublibs/dllmlexpat.so.owner - ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/default/lib/stublibs is not mentioned in ld.conf - Installed /home/opam/.opam/default/lib/expat/META -> installed ocaml-expat.1.3.0