+ 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/labltk-8.06.3nb7/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/labltk-8.06.3nb7/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 ===> Building for labltk-8.06.3nb7 cd support; /opt/local/bin/gmake gmake[1]: Entering directory '/home/pbulk/build/x11/labltk/work/labltk-8.06.3/support' /opt/local/bin/ocamlc.opt -c -warn-error A-3 support.mli /opt/local/bin/ocamlc.opt -c -warn-error A-3 support.ml /opt/local/bin/ocamlc.opt -c -warn-error A-3 rawwidget.mli /opt/local/bin/ocamlc.opt -c -warn-error A-3 rawwidget.ml /opt/local/bin/ocamlc.opt -c -warn-error A-3 widget.mli /opt/local/bin/ocamlc.opt -c -warn-error A-3 widget.ml /opt/local/bin/ocamlc.opt -c -warn-error A-3 protocol.mli /opt/local/bin/ocamlc.opt -c -warn-error A-3 protocol.ml /opt/local/bin/ocamlc.opt -c -warn-error A-3 textvariable.mli /opt/local/bin/ocamlc.opt -c -warn-error A-3 textvariable.ml /opt/local/bin/ocamlc.opt -c -warn-error A-3 timer.mli /opt/local/bin/ocamlc.opt -c -warn-error A-3 timer.ml /opt/local/bin/ocamlc.opt -c -warn-error A-3 fileevent.mli /opt/local/bin/ocamlc.opt -c -warn-error A-3 fileevent.ml /opt/local/bin/ocamlc.opt -c -warn-error A-3 camltkwrap.mli /opt/local/bin/ocamlc.opt -c -warn-error A-3 camltkwrap.ml /opt/local/bin/ocamlc.opt -c -warn-error A-3 -I +threads -I vmthreads tkthread.mli /opt/local/bin/ocamlc.opt -c -warn-error A-3 -I +threads -I vmthreads tkthread.ml cc -fPIC -I/opt/local/lib/ocaml/caml -c cltkCaml.c In file included from cltkCaml.c:21: cltkCaml.c: In function 'camltk_return': /opt/local/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ cltkCaml.c:61:30: note: in expansion of macro 'String_val' 61 | Tcl_SetResult(cltclinterp, String_val(v), TCL_VOLATILE); | ^~~~~~~~~~ In file included from /home/pbulk/build/x11/labltk/work/.buildlink/include/tcl.h:2418, from cltkCaml.c:19: /home/pbulk/build/x11/labltk/work/.buildlink/include/tclDecls.h:693:54: note: expected 'char *' but argument is of type 'const char *' 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ cltkCaml.c: In function 'camltk_init': cltkCaml.c:81:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | tkerror_exn = caml_named_value("tkerror"); | ^ cltkCaml.c:83:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | handler_code = caml_named_value("camlcb"); | ^ cc -fPIC -I/opt/local/lib/ocaml/caml -c cltkUtf.c cc -fPIC -I/opt/local/lib/ocaml/caml -c cltkEval.c cc -fPIC -I/opt/local/lib/ocaml/caml -c cltkEvent.c cc -fPIC -I/opt/local/lib/ocaml/caml -c cltkFile.c cc -fPIC -I/opt/local/lib/ocaml/caml -c cltkMain.c cltkMain.c: In function 'camltk_opentk': cltkMain.c:82:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | argv0 = String_val( Field( argv, 0 ) ); | ^ cltkMain.c:92:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | value *interp = caml_named_value("cltclinterp"); | ^~~~~~~~~~~~~~~~ cltkMain.c:121:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | tkargv[i] = String_val(Field(tmp, 0)); | ^ cc -fPIC -I/opt/local/lib/ocaml/caml -c cltkMisc.c cc -fPIC -I/opt/local/lib/ocaml/caml -c cltkTimer.c cc -fPIC -I/opt/local/lib/ocaml/caml -c cltkVar.c cc -fPIC -I/opt/local/lib/ocaml/caml -c cltkWait.c cc -fPIC -I/opt/local/lib/ocaml/caml -c cltkImg.c /opt/local/bin/ocamlmklib -o labltk cltkCaml.o cltkUtf.o cltkEval.o cltkEvent.o cltkFile.o cltkMain.o cltkMisc.o cltkTimer.o cltkVar.o cltkWait.o cltkImg.o gmake[1]: Leaving directory '/home/pbulk/build/x11/labltk/work/labltk-8.06.3/support' cd compiler; /opt/local/bin/gmake gmake[1]: Entering directory '/home/pbulk/build/x11/labltk/work/labltk-8.06.3/compiler' /opt/local/bin/ocamlc.opt -c -warn-error A-3 -g -I ../support flags.ml (echo "let copyright=\"\\"; \ sed -e 's/$/\\n\\/' copyright; \ echo "\""; \ echo "let write ~w = w copyright;;") > copyright.ml /opt/local/bin/ocamlc.opt -c -warn-error A-3 -g -I ../support copyright.ml /opt/local/bin/ocamlc.opt -c -warn-error A-3 -g -I ../support tsort.ml /opt/local/bin/ocamlc.opt -c -warn-error A-3 -g -I ../support tables.ml File "tables.ml", line 121, characters 12-23: 121 | let s = String.copy s in ^^^^^^^^^^^ Alert deprecated: Stdlib.StdLabels.String.copy File "tables.ml", line 130, characters 12-78: 130 | s.[0] <- Char.chr (Char.code cd + (Char.code 'A' - Char.code 'a')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.StdLabels.String.set Use BytesLabels.set instead. File "tables.ml", line 130, characters 12-13: 130 | s.[0] <- Char.chr (Char.code cd + (Char.code 'A' - Char.code 'a')) ^ Error: This expression has type string but an expression was expected of type bytes gmake[1]: *** [Makefile:74: tables.cmo] Error 2 gmake[1]: Leaving directory '/home/pbulk/build/x11/labltk/work/labltk-8.06.3/compiler' gmake: *** [Makefile:26: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/x11/labltk *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/x11/labltk