=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ocaml-dune", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for ocaml-dune-3.23.1 ocamllex -q -o boot/pps.ml boot/pps.mll ocaml unix.cma /tmp/.dunebootc5b4c3main cd _boot && /tmp/work/devel/ocaml-dune/work/.buildlink/bin/ocamlopt.opt -c -g -I +threads lev_stubs.c src/lev/src/lev_stubs.c:190:13: warning: "callback" is deprecated: use "caml_callback" instead src/lev/src/lev_stubs.c:195:13: warning: "callback" is deprecated: use "caml_callback" instead src/lev/src/lev_stubs.c: In function 'lev_io_cb': src/lev/src/lev_stubs.c:333:13: warning: "callback" is deprecated: use "caml_callback" instead src/lev/src/lev_stubs.c: In function 'lev_io_create': src/lev/src/lev_stubs.c:383:13: warning: "callback" is deprecated: use "caml_callback" instead src/lev/src/lev_stubs.c:386:13: warning: "callback" is deprecated: use "caml_callback" instead src/lev/src/lev_stubs.c: In function 'lev_io_destroy': src/lev/src/lev_stubs.c:403:13: warning: "callback" is deprecated: use "caml_callback" instead src/lev/src/lev_stubs.c: In function 'lev_child_cb': src/lev/src/lev_stubs.c:515:7: error: implicit declaration of function 'WIFEXITED' [-Wimplicit-function-declaration] In file included from /opt/pkg/lib/ocaml/caml/alloc.h:24, from src/lev/src/lev_stubs.c:14: src/lev/src/lev_stubs.c:517:34: error: implicit declaration of function 'WEXITSTATUS' [-Wimplicit-function-declaration] /opt/pkg/lib/ocaml/caml/mlvalues.h:75:47: note: in definition of macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ src/lev/src/lev_stubs.c:517:26: note: in expansion of macro 'Val_int' src/lev/src/lev_stubs.c:518:14: error: implicit declaration of function 'WIFSTOPPED' [-Wimplicit-function-declaration] src/lev/src/lev_stubs.c:521:48: error: implicit declaration of function 'WSTOPSIG' [-Wimplicit-function-declaration] /opt/pkg/lib/ocaml/caml/mlvalues.h:75:47: note: in definition of macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ src/lev/src/lev_stubs.c:521:9: note: in expansion of macro 'Val_int' src/lev/src/lev_stubs.c:525:48: error: implicit declaration of function 'WTERMSIG' [-Wimplicit-function-declaration] /opt/pkg/lib/ocaml/caml/mlvalues.h:75:47: note: in definition of macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ src/lev/src/lev_stubs.c:525:9: note: in expansion of macro 'Val_int' src/lev/src/lev_stubs.c: In function 'lev_stat_cb': src/lev/src/lev_stubs.c:675:13: warning: "callback" is deprecated: use "caml_callback" instead src/lev/src/lev_stubs.c: In function 'lev_stat_create': src/lev/src/lev_stubs.c:688:13: warning: "callback" is deprecated: use "caml_callback" instead src/lev/src/lev_stubs.c:691:13: warning: "callback" is deprecated: use "caml_callback" instead src/lev/src/lev_stubs.c: In function 'lev_stat_destroy': src/lev/src/lev_stubs.c:769:13: warning: "callback" is deprecated: use "caml_callback" instead gmake: *** [Makefile:43: _boot/dune.exe] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ocaml-dune *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ocaml-dune