+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ocaml-text-0.8nb11/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ocaml-text-0.8nb11/work.log ===> Building for ocaml-text-0.8nb11 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/StringLabels.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/StringLabels.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/StringLabels.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/StringLabels.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/StringLabels.lowercase_ascii instead. File "./setup.ml", line 375, characters 10-26: 375 | String.lowercase buf ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "./setup.ml", line 481, characters 13-29: 481 | String.lowercase ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.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/StringLabels.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/StringLabels.uncapitalize_ascii instead. File "setup.ml", line 2916, characters 10-27: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 2922, characters 10-21: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 2925, characters 23-34: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 2928, characters 20-34: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 2931, characters 10-27: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 2934, characters 16-28: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 2935, characters 15-27: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 2935, characters 32-42: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 2935, characters 48-61: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 2936, characters 16-27: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 2937, characters 16-27: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 2938, characters 16-27: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 3088, characters 4-21: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3107, characters 24-40: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 3109, characters 21-33: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 3110, characters 20-32: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3110, characters 41-53: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3112, characters 20-32: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3112, characters 41-54: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3114, characters 20-32: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3114, characters 50-62: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3116, characters 20-32: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3116, characters 50-63: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3118, characters 20-32: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3131, characters 15-27: Alert deprecated: module Stdlib.Stream Use the camlp-streams library 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/StringLabels.capitalize_ascii instead. File "setup.ml", line 5848, characters 11-30: Alert deprecated: Stdlib.String.uncapitalize Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead. File "setup.ml", line 6484, characters 33-42: Warning 6 [labels-omitted]: label what was omitted in the application of this function. File "setup.ml", line 6485, characters 36-45: Warning 6 [labels-omitted]: label what was omitted in the application of this function. + /opt/pkg/bin/ocamlc.opt -config + /opt/pkg/bin/ocamlopt.opt unix.cmxa -I /opt/pkg/lib/ocaml/site-lib/ocamlbuild /opt/pkg/lib/ocaml/site-lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /opt/pkg/lib/ocaml/site-lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild + /opt/pkg/bin/ocamlc.opt -config 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 ocamlfind: [WARNING] Cannot read directory /opt/pkg/lib/ocaml/site-lib/stublibs which is mentioned in ld.conf In file included from /opt/pkg/lib/ocaml/caml/alloc.h:24, from src/ml_text.c:20: src/ml_text.c: In function 'ml_text_decode': /opt/pkg/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #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: error: 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:32: note: expected 'const char ** restrict' but argument is of type 'char **' 47 | extern size_t iconv(iconv_t, const char **_RESTRICT_KYWD, | ^ src/ml_text.c: In function 'ml_text_encode': /opt/pkg/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #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: error: 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 ** /usr/include/iconv.h:47:32: note: expected 'const char ** restrict' but argument is of type 'char **' 47 | extern size_t iconv(iconv_t, const char **_RESTRICT_KYWD, | ^ src/ml_text.c: In function 'ml_text_recode_string': /opt/pkg/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #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: error: 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 ** /usr/include/iconv.h:47:32: note: expected 'const char ** restrict' but argument is of type 'char **' 47 | extern size_t iconv(iconv_t, const char **_RESTRICT_KYWD, | ^ /opt/pkg/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #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:35, 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); | ^ Command exited with code 2. + /opt/pkg/bin/ocamlopt.opt unix.cmxa -I /opt/pkg/lib/ocaml/site-lib/ocamlbuild /opt/pkg/lib/ocaml/site-lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /opt/pkg/lib/ocaml/site-lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild File "myocamlbuild.ml", line 155, characters 10-27: 155 | Stream.of_channel chn ^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "myocamlbuild.ml", line 161, characters 10-21: 161 | Stream.from ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "myocamlbuild.ml", line 164, characters 23-34: 164 | match Stream.next st with ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "myocamlbuild.ml", line 167, characters 20-34: 167 | with Stream.Failure -> None) ^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "myocamlbuild.ml", line 170, characters 10-27: 170 | Genlex.make_lexer ["="] st_line ^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "myocamlbuild.ml", line 173, characters 16-28: 173 | match Stream.npeek 3 lexer with ^^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "myocamlbuild.ml", line 174, characters 15-27: 174 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] -> ^^^^^^^^^^^^ Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "myocamlbuild.ml", line 174, characters 32-42: 174 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] -> ^^^^^^^^^^ Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "myocamlbuild.ml", line 174, characters 48-61: 174 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] -> ^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "myocamlbuild.ml", line 175, characters 16-27: 175 | Stream.junk lexer; ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "myocamlbuild.ml", line 176, characters 16-27: 176 | Stream.junk lexer; ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "myocamlbuild.ml", line 177, characters 16-27: 177 | Stream.junk lexer; ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. 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/StringLabels.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/StringLabels.uncapitalize_ascii instead. E: Failure("Command ''/opt/pkg/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 making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ocaml-text *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ocaml-text