+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ocaml-expat-1.0.0nb6/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ocaml-expat-1.0.0nb6/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 ===> Building for ocaml-expat-1.0.0nb6 gcc -I /opt/local/lib/ocaml -MM *.c > depend ocamlfind ocamldep -package bytes *.mli *.ml >> depend ocamlfind ocamlc -package bytes -c -ccopt "-DFULL_UNROLL -O2 -I/opt/local/include" expat_stubs.c In file included from expat_stubs.c:23: expat_stubs.c: In function 'String_option_val': /opt/local/lib/ocaml/caml/mlvalues.h:265:24: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ expat_stubs.c:78:9: note: in expansion of macro 'String_val' 78 | return String_val(Field(string_option, 0)); | ^~~~~~~~~~ expat_stubs.c: In function 'expat_error': expat_stubs.c:350:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 350 | expat_error_exn = caml_named_value("expat_error"); | ^ In file included from expat_stubs.c:23: expat_stubs.c: In function 'expat_XML_ParseSub': /opt/local/lib/ocaml/caml/mlvalues.h:265:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #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': /opt/local/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #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 /usr/include/string.h:34, from expat_stubs.c:13: /usr/include/iso/string_iso.h:70:21: note: expected 'void * restrict' but argument is of type 'const char *' 70 | extern void *memcpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD, size_t); | ^ In file included from expat_stubs.c:23: expat_stubs.c: In function 'default_handler': /opt/local/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #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); | ^~~~~~~~~~ In file included from /usr/include/string.h:34, from expat_stubs.c:13: /usr/include/iso/string_iso.h:71:22: note: expected 'void *' but argument is of type 'const char *' 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~ ocamlfind ocamlmklib -package bytes -oc mlexpat expat_stubs.o \ -L/opt/local/lib -lexpat ld: fatal: file rpath: open failed: No such file or directory ld: elf error: file /opt/local/lib: elf_begin: I/O error: region read: Is a directory ld: fatal: file processing errors. No output written to ./dllmlexpat.so collect2: error: ld returned 1 exit status gmake: *** [Makefile:44: libmlexpat.a] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/textproc/ocaml-expat *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/textproc/ocaml-expat