+ 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-text-0.8nb10/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ocaml-text-0.8nb10/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 ===> Building for ocaml-text-0.8nb10 File "./setup.ml", line 325, characters 20-36: 325 | String.compare (String.lowercase s1) (String.lowercase s2) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii instead. File "./setup.ml", line 325, characters 42-58: 325 | String.compare (String.lowercase s1) (String.lowercase s2) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii instead. File "./setup.ml", line 334, characters 14-30: 334 | (String.lowercase s1) = (String.lowercase s2) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii instead. File "./setup.ml", line 334, characters 38-54: 334 | (String.lowercase s1) = (String.lowercase s2) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii instead. File "./setup.ml", line 337, characters 25-41: 337 | Hashtbl.hash (String.lowercase s) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii instead. File "./setup.ml", line 375, characters 10-26: 375 | String.lowercase buf ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii instead. File "./setup.ml", line 481, characters 13-29: 481 | String.lowercase ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii instead. File "./setup.ml", line 1388, characters 23-41: 1388 | let compare = Pervasives.compare ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "./setup.ml", line 1832, characters 16-33: 1832 | concat dir (String.capitalize base) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "./setup.ml", line 1838, characters 16-35: 1838 | concat dir (String.uncapitalize base) ^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.uncapitalize Use String.uncapitalize_ascii instead. File "setup.ml", line 3229, characters 16-34: Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "setup.ml", line 5847, characters 11-28: Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "setup.ml", line 5848, characters 11-30: Alert deprecated: Stdlib.String.uncapitalize Use String.uncapitalize_ascii instead. /opt/local/bin/ocamlopt.opt unix.cmxa -I /opt/local/lib/ocaml/site-lib/ocamlbuild /opt/local/lib/ocaml/site-lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /opt/local/lib/ocaml/site-lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild File "_tags", line 36, characters 18-26: Warning: the tag "pkg_pcre" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning. File "_tags", line 41, characters 21-31: Warning: the tag "pkg_camlp4" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning. File "_tags", line 42, characters 21-38: Warning: the tag "pkg_camlp4.extend" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning. File "_tags", line 43, characters 21-44: Warning: the tag "pkg_camlp4.quotations.o" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning. /home/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlc -g -ccopt -I/usr/include -c src/ml_text.c + /home/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlc -g -ccopt -I/usr/include -c src/ml_text.c In file included from /opt/local/lib/ocaml/caml/alloc.h:24, from src/ml_text.c:20: src/ml_text.c: In function 'ml_text_decode': /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)) | ^ src/ml_text.c:114:20: note: in expansion of macro 'String_val' 114 | char *in_bytes = String_val(buf_val) + Long_val(pos_val); | ^~~~~~~~~~ src/ml_text.c:118:28: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] 118 | iconv(Iconv_val(cd_val), &in_bytes, &in_left, &out_bytes, &out_left); | ^~~~~~~~~ | | | char ** In file included from src/ml_text.c:12: /usr/include/iconv.h:47:30: note: expected 'const char ** restrict' but argument is of type 'char **' 47 | extern size_t iconv(iconv_t, const char **_RESTRICT_KYWD, | ^ In file included from /opt/local/lib/ocaml/caml/alloc.h:24, from src/ml_text.c:20: src/ml_text.c: In function 'ml_text_encode': /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)) | ^ src/ml_text.c:161:21: note: in expansion of macro 'String_val' 161 | char *out_bytes = String_val(buf_val) + Long_val(pos_val); | ^~~~~~~~~~ src/ml_text.c:163:28: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] 163 | iconv(Iconv_val(cd_val), &in_bytes, &in_left, &out_bytes, &out_left); | ^~~~~~~~~ | | | char ** In file included from src/ml_text.c:12: /usr/include/iconv.h:47:30: note: expected 'const char ** restrict' but argument is of type 'char **' 47 | extern size_t iconv(iconv_t, const char **_RESTRICT_KYWD, | ^ In file included from /opt/local/lib/ocaml/caml/alloc.h:24, from src/ml_text.c:20: src/ml_text.c: In function 'ml_text_recode_string': /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)) | ^ src/ml_text.c:244:21: note: in expansion of macro 'String_val' 244 | char *src_bytes = String_val(str); | ^~~~~~~~~~ src/ml_text.c:250:31: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] 250 | size_t count = iconv (cd, &src_bytes, &src_remaining, &dst_bytes, &dst_remaining); | ^~~~~~~~~~ | | | char ** In file included from src/ml_text.c:12: /usr/include/iconv.h:47:30: note: expected 'const char ** restrict' but argument is of type 'char **' 47 | extern size_t iconv(iconv_t, const char **_RESTRICT_KYWD, | ^ In file included from /opt/local/lib/ocaml/caml/alloc.h:24, from src/ml_text.c:20: /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)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ src/ml_text.c:290:10: note: in expansion of macro 'String_val' 290 | memcpy(String_val(result), dst_buffer, dst_bytes - dst_buffer); | ^~~~~~~~~~ In file included from /usr/include/string.h:34, from src/ml_text.c:14: /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); | ^ mv ml_text.o src/ml_text.o /home/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlmklib -o src/text_stubs -g -L/usr/lib src/ml_text.o + /home/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlmklib -o src/text_stubs -g -L/usr/lib src/ml_text.o ld: fatal: file rpath: open failed: No such file or directory ld: fatal: file /usr/lib: unknown file type ld: fatal: file processing errors. No output written to src/dlltext_stubs.so collect2: error: ld returned 1 exit status Command exited with code 2. + /opt/local/bin/ocamlopt.opt unix.cmxa -I /opt/local/lib/ocaml/site-lib/ocamlbuild /opt/local/lib/ocaml/site-lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /opt/local/lib/ocaml/site-lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild File "myocamlbuild.ml", line 518, characters 43-62: 518 | List.map (fun m -> (String.uncapitalize m) ^ ".cmi") ^^^^^^^^^^^^^^^^^^^ Alert deprecated: Ocamlbuild_plugin.String.uncapitalize Use String.uncapitalize_ascii instead. File "myocamlbuild.ml", line 531, characters 51-70: 531 | List.map (fun m -> dir^"/"^(String.uncapitalize m)^".cmi") ^^^^^^^^^^^^^^^^^^^ Alert deprecated: Ocamlbuild_plugin.String.uncapitalize Use String.uncapitalize_ascii instead. E: Failure("Command ''/opt/local/bin/ocamlbuild' src/libtext_stubs.a src/dlltext_stubs.so src/text.cma src/text.cmxa src/text.a src/text.cmxs src/libbigarray_stubs.a src/dllbigarray_stubs.so src/bigarray.cma src/bigarray.cmxa src/bigarray.a src/bigarray.cmxs tests/test.native -tag debug' terminated with error code 10") *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/textproc/ocaml-text *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/textproc/ocaml-text