=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/ocaml-expat", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for ocaml-expat-1.0.0nb9 clang -I /opt/pkg/lib/ocaml -MM *.c > depend ocamlfind ocamldep -package bytes *.mli *.ml >> depend ocamlfind ocamlc -package bytes -c -ccopt "-DFULL_UNROLL -O2 -I/opt/pkg/include" expat_stubs.c ocamlfind ocamlc -package bytes -c expat.mli ocamlfind: [WARNING] Cannot read directory /opt/pkg/lib/ocaml/site-lib/stublibs which is mentioned in ld.conf ocamlfind: [WARNING] Cannot read directory /opt/pkg/lib/ocaml/site-lib/stublibs which is mentioned in ld.conf ocamlfind ocamlc -package bytes -c expat.ml ocamlfind: [WARNING] Cannot read directory /opt/pkg/lib/ocaml/site-lib/stublibs which is mentioned in ld.conf ocamlfind ocamlopt -package bytes -c expat.ml ocamlfind: [WARNING] Cannot read directory /opt/pkg/lib/ocaml/site-lib/stublibs which is mentioned in ld.conf expat_stubs.c:64:9: warning: "alloc" is deprecated: use "caml_alloc" instead [-W#pragma-messages] 64 | some = alloc(1, 0); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:46:15: note: expanded from macro 'alloc' 46 | #define alloc CAML_DEPRECATED("alloc", "caml_alloc") caml_alloc /*SP*/ | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :185:6: note: expanded from here 185 | GCC warning "\"alloc\" is deprecated: use \"caml_alloc\" instead" | ^ expat_stubs.c:65:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 65 | some_str = copy_string(str); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :189:6: note: expanded from here 189 | GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" | ^ expat_stubs.c:78:9: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 78 | return String_val(Field(string_option, 0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/pkg/lib/ocaml/caml/mlvalues.h:290:23: note: expanded from macro 'String_val' 290 | #define String_val(x) ((const char *) Bp_val(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ expat_stubs.c:90:5: warning: "remove_global_root" is deprecated: use "caml_remove_global_root" instead [-W#pragma-messages] 90 | remove_global_root(handlers); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:139:28: note: expanded from macro 'remove_global_root' 139 | #define remove_global_root CAML_DEPRECATED("remove_global_root", "caml_remove_global_root") caml_remove_global_root | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :3:6: note: expanded from here 3 | GCC warning "\"remove_global_root\" is deprecated: use \"caml_remove_global_root\" instead" | ^ expat_stubs.c:135:14: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead [-W#pragma-messages] 135 | parser = alloc_custom(&xml_parser_ops, sizeof(XML_Parser), 1, 5000); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:82:22: note: expanded from macro 'alloc_custom' 82 | #define alloc_custom CAML_DEPRECATED("alloc_custom", "caml_alloc_custom") caml_alloc_custom | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :17:6: note: expanded from here 17 | GCC warning "\"alloc_custom\" is deprecated: use \"caml_alloc_custom\" instead" | ^ expat_stubs.c:144:5: warning: "register_global_root" is deprecated: use "caml_register_global_root" instead [-W#pragma-messages] 144 | register_global_root(handlers); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:138:30: note: expanded from macro 'register_global_root' 138 | #define register_global_root CAML_DEPRECATED("register_global_root", "caml_register_global_root") caml_register_global_root | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :21:6: note: expanded from here 21 | GCC warning "\"register_global_root\" is deprecated: use \"caml_register_global_root\" instead" | ^ expat_stubs.c:149:17: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] 149 | *handlers = alloc_tuple(NUM_HANDLERS); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :25:6: note: expanded from here 25 | GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" | ^ expat_stubs.c:201:14: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead [-W#pragma-messages] 201 | parser = alloc_custom(&xml_parser_ops, sizeof(XML_Parser), 1, 5000); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:82:22: note: expanded from macro 'alloc_custom' 82 | #define alloc_custom CAML_DEPRECATED("alloc_custom", "caml_alloc_custom") caml_alloc_custom | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :51:6: note: expanded from here 51 | GCC warning "\"alloc_custom\" is deprecated: use \"caml_alloc_custom\" instead" | ^ expat_stubs.c:210:5: warning: "register_global_root" is deprecated: use "caml_register_global_root" instead [-W#pragma-messages] 210 | register_global_root(handlers); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:138:30: note: expanded from macro 'register_global_root' 138 | #define register_global_root CAML_DEPRECATED("register_global_root", "caml_register_global_root") caml_register_global_root | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :55:6: note: expanded from here 55 | GCC warning "\"register_global_root\" is deprecated: use \"caml_register_global_root\" instead" | ^ expat_stubs.c:217:17: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] 217 | *handlers = alloc_tuple(NUM_HANDLERS); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :59:6: note: expanded from here 59 | GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" | ^ expat_stubs.c:308:12: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 308 | return copy_string(XML_ExpatVersion()); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :96:6: note: expanded from here 96 | GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" | ^ expat_stubs.c:337:14: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead [-W#pragma-messages] 337 | CAMLreturn (alloc_string(0)); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:49:22: note: expanded from macro 'alloc_string' 49 | #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ expat_stubs.c:338:17: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 338 | CAMLreturn (copy_string(error_string)); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ expat_stubs.c:350:18: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 350 | expat_error_exn = caml_named_value("expat_error"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expat_stubs.c:352:6: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] 352 | invalid_argument("Exception Expat_error not initialized"); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:112:26: note: expanded from macro 'invalid_argument' 112 | #define invalid_argument CAML_DEPRECATED("invalid_argument", "caml_invalid_argument") caml_invalid_argument | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :5:6: note: expanded from here 5 | GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" | ^ expat_stubs.c:356:5: warning: "raise_with_arg" is deprecated: use "caml_raise_with_arg" instead [-W#pragma-messages] 356 | raise_with_arg(*expat_error_exn, Val_long(error_code)); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:109:24: note: expanded from macro 'raise_with_arg' 109 | #define raise_with_arg CAML_DEPRECATED("raise_with_arg", "caml_raise_with_arg") caml_raise_with_arg | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :9:6: note: expanded from here 9 | GCC warning "\"raise_with_arg\" is deprecated: use \"caml_raise_with_arg\" instead" | ^ expat_stubs.c:368:51: warning: "string_length" is deprecated: use "caml_string_length" instead [-W#pragma-messages] 368 | if(!XML_Parse(xml_parser, String_val(string), string_length(string), 0)) { | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:289:23: note: expanded from macro 'string_length' 289 | #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :24:6: note: expanded from here 24 | GCC warning "\"string_length\" is deprecated: use \"caml_string_length\" instead" | ^ expat_stubs.c:386:22: warning: "string_length" is deprecated: use "caml_string_length" instead [-W#pragma-messages] 386 | int string_len = string_length(vstring); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:289:23: note: expanded from macro 'string_length' 289 | #define string_length CAML_DEPRECATED("string_length", "caml_string_length") caml_string_length | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :40:6: note: expanded from here 40 | GCC warning "\"string_length\" is deprecated: use \"caml_string_length\" instead" | ^ expat_stubs.c:387:11: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 387 | char *string = String_val(vstring); | ^ ~~~~~~~~~~~~~~~~~~~ expat_stubs.c:391:2: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] 391 | invalid_argument("Expat.parse_sub"); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:112:26: note: expanded from macro 'invalid_argument' 112 | #define invalid_argument CAML_DEPRECATED("invalid_argument", "caml_invalid_argument") caml_invalid_argument | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :44:6: note: expanded from here 44 | GCC warning "\"invalid_argument\" is deprecated: use \"caml_invalid_argument\" instead" | ^ expat_stubs.c:434:8: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] 434 | att = alloc_tuple(2); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :74:6: note: expanded from here 74 | GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" | ^ expat_stubs.c:435:22: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 435 | Store_field(att, 0, copy_string(attr[i])); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ expat_stubs.c:436:22: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 436 | Store_field(att, 1, copy_string(attr[i + 1])); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ expat_stubs.c:439:9: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] 439 | cons = alloc_tuple(2); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:48:21: note: expanded from macro 'alloc_tuple' 48 | #define alloc_tuple CAML_DEPRECATED("alloc_tuple", "caml_alloc_tuple") caml_alloc_tuple | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :86:6: note: expanded from here 86 | GCC warning "\"alloc_tuple\" is deprecated: use \"caml_alloc_tuple\" instead" | ^ expat_stubs.c:450:11: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 450 | tag = copy_string(name); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :90:6: note: expanded from here 90 | GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" | ^ expat_stubs.c:451:5: warning: "callback2" is deprecated: use "caml_callback2" instead [-W#pragma-messages] 451 | callback2(Field(*handlers, EXPAT_START_ELEMENT_HANDLER), tag, list); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:72:19: note: expanded from macro 'callback2' 72 | #define callback2 CAML_DEPRECATED("callback2", "caml_callback2") caml_callback2 | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :94:6: note: expanded from here 94 | GCC warning "\"callback2\" is deprecated: use \"caml_callback2\" instead" | ^ expat_stubs.c:499:11: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 499 | tag = copy_string(name); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :15:6: note: expanded from here 15 | GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" | ^ expat_stubs.c:500:5: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] 500 | callback(Field(*handlers, EXPAT_END_ELEMENT_HANDLER), tag); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' 71 | #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :19:6: note: expanded from here 19 | GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" | ^ expat_stubs.c:549:11: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead [-W#pragma-messages] 549 | str = alloc_string(len); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:49:22: note: expanded from macro 'alloc_string' 49 | #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :68:6: note: expanded from here 68 | GCC warning "\"alloc_string\" is deprecated: use \"caml_alloc_string\" instead" | ^ expat_stubs.c:550:12: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 550 | memcpy(String_val(str), data, len); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/pkg/lib/ocaml/caml/mlvalues.h:290:23: note: expanded from macro 'String_val' 290 | #define String_val(x) ((const char *) Bp_val(x)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:63:27: note: expanded from macro 'memcpy' 63 | __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) | ^~~~ expat_stubs.c:551:5: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] 551 | callback(Field(*handlers, EXPAT_CHARACTER_DATA_HANDLER), str); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' 71 | #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :72:6: note: expanded from here 72 | GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" | ^ expat_stubs.c:605:9: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 605 | t = copy_string(target); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :123:6: note: expanded from here 123 | GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" | ^ expat_stubs.c:606:9: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 606 | d = copy_string(data); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :127:6: note: expanded from here 127 | GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" | ^ expat_stubs.c:607:5: warning: "callback2" is deprecated: use "caml_callback2" instead [-W#pragma-messages] 607 | callback2(Field(*handlers, EXPAT_PROCESSING_INSTRUCTION_HANDLER), t, d); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:72:19: note: expanded from macro 'callback2' 72 | #define callback2 CAML_DEPRECATED("callback2", "caml_callback2") caml_callback2 | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :131:6: note: expanded from here 131 | GCC warning "\"callback2\" is deprecated: use \"caml_callback2\" instead" | ^ expat_stubs.c:663:9: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 663 | d = copy_string(data); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :15:6: note: expanded from here 15 | GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" | ^ expat_stubs.c:664:5: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] 664 | callback(Field(*handlers, EXPAT_COMMENT_HANDLER), d); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' 71 | #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :19:6: note: expanded from here 19 | GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" | ^ expat_stubs.c:714:5: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] 714 | callback(Field(*handlers, EXPAT_START_CDATA_HANDLER), Val_unit); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' 71 | #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :60:6: note: expanded from here 60 | GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" | ^ expat_stubs.c:765:5: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] 765 | callback(Field(*handlers, EXPAT_END_CDATA_HANDLER), Val_unit); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' 71 | #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :101:6: note: expanded from here 101 | GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" | ^ expat_stubs.c:818:9: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead [-W#pragma-messages] 818 | d = alloc_string(len); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:49:22: note: expanded from macro 'alloc_string' 49 | #define alloc_string CAML_DEPRECATED("alloc_string", "caml_alloc_string") caml_alloc_string | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :151:6: note: expanded from here 151 | GCC warning "\"alloc_string\" is deprecated: use \"caml_alloc_string\" instead" | ^ expat_stubs.c:819:13: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 819 | memmove(String_val(d), data, len); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/pkg/lib/ocaml/caml/mlvalues.h:290:23: note: expanded from macro 'String_val' 290 | #define String_val(x) ((const char *) Bp_val(x)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:70:28: note: expanded from macro 'memmove' 70 | __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) | ^~~~ expat_stubs.c:820:5: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] 820 | callback(Field(*handlers, EXPAT_DEFAULT_HANDLER), d); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' 71 | #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :155:6: note: expanded from here 155 | GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" | ^ expat_stubs.c:883:21: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 883 | caml_systemId = copy_string(systemId); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:51:21: note: expanded from macro 'copy_string' 51 | #define copy_string CAML_DEPRECATED("copy_string", "caml_copy_string") caml_copy_string | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :30:6: note: expanded from here 30 | GCC warning "\"copy_string\" is deprecated: use \"caml_copy_string\" instead" | ^ expat_stubs.c:891:5: warning: "callbackN" is deprecated: use "caml_callbackN" instead [-W#pragma-messages] 891 | callbackN(Field(*handlers, EXPAT_EXTERNAL_ENTITY_REF_HANDLER), 4, arg); | ^ /opt/pkg/lib/ocaml/caml/compatibility.h:74:19: note: expanded from macro 'callbackN' 74 | #define callbackN CAML_DEPRECATED("callbackN", "caml_callbackN") caml_callbackN | ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead) | ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) | ^ :34:6: note: expanded from here 34 | GCC warning "\"callbackN\" is deprecated: use \"caml_callbackN\" instead" | ^ 43 warnings generated. ocamlfind ocamlmklib -package bytes -oc mlexpat expat_stubs.o \ -L/opt/pkg/lib -lexpat ocamlfind: [WARNING] Cannot read directory /opt/pkg/lib/ocaml/site-lib/stublibs which is mentioned in ld.conf ocamlfind ocamlmklib -package bytes -o expat expat.cmo -oc mlexpat \ -L/opt/pkg/lib -lexpat ocamlfind ocamlmklib -package bytes -o expat expat.cmx -oc mlexpat \ -L/opt/pkg/lib -lexpat ocamlfind: [WARNING] Cannot read directory /opt/pkg/lib/ocaml/site-lib/stublibs which is mentioned in ld.conf ocamlfind: [WARNING] Cannot read directory /opt/pkg/lib/ocaml/site-lib/stublibs which is mentioned in ld.conf ocamlfind ocamlopt -package bytes -linkall -shared -o expat.cmxs expat.cmx libmlexpat.a \ -ccopt -L/opt/pkg/lib -cclib -lexpat ocamlfind: [WARNING] Cannot read directory /opt/pkg/lib/ocaml/site-lib/stublibs which is mentioned in ld.conf