=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/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/.duneboot533ee6main 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: warning: implicit declaration of function 'WIFEXITED' [-Wimplicit-function-declaration] In file included from /opt/local/lib/ocaml/caml/alloc.h:24, from src/lev/src/lev_stubs.c:14: src/lev/src/lev_stubs.c:517:34: warning: implicit declaration of function 'WEXITSTATUS' [-Wimplicit-function-declaration] /opt/local/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: warning: implicit declaration of function 'WIFSTOPPED' [-Wimplicit-function-declaration] src/lev/src/lev_stubs.c:521:48: warning: implicit declaration of function 'WSTOPSIG' [-Wimplicit-function-declaration] /opt/local/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: warning: implicit declaration of function 'WTERMSIG' [-Wimplicit-function-declaration] /opt/local/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 cd _boot && /tmp/work/devel/ocaml-dune/work/.buildlink/bin/ocamlopt.opt -c -g -I +threads ev.c In file included from src/lev/vendor/ev.c:520: /usr/include/sys/inotify.h:1:2: error: #error "This header has been disabled to stop its functionality from being used." 1 | #error "This header has been disabled to stop its functionality from being used." | ^~~~~ src/lev/vendor/ev.c:2152:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' In file included from src/lev/vendor/ev_epoll.c:66, from src/lev/vendor/ev.c:3099: /usr/include/sys/epoll.h:1:2: error: #error "This header has been disabled to stop its functionality from being used." 1 | #error "This header has been disabled to stop its functionality from being used." | ^~~~~ src/lev/vendor/ev_epoll.c: In function 'epoll_modify': src/lev/vendor/ev_epoll.c:73:22: error: storage size of 'ev' isn't known src/lev/vendor/ev_epoll.c:93:35: error: 'EPOLLIN' undeclared (first use in this function); did you mean 'POLL_IN'? src/lev/vendor/ev_epoll.c:93:35: note: each undeclared identifier is reported only once for each function it appears in src/lev/vendor/ev_epoll.c:94:35: error: 'EPOLLOUT' undeclared (first use in this function); did you mean 'POLL_OUT'? src/lev/vendor/ev_epoll.c:96:25: warning: implicit declaration of function 'epoll_ctl' [-Wimplicit-function-declaration] src/lev/vendor/ev.c:985:61: note: in definition of macro 'ecb_expect' src/lev/vendor/ev_epoll.c:96:7: note: in expansion of macro 'ecb_expect_true' src/lev/vendor/ev_epoll.c:96:72: error: 'EPOLL_CTL_MOD' undeclared (first use in this function) src/lev/vendor/ev.c:985:61: note: in definition of macro 'ecb_expect' src/lev/vendor/ev_epoll.c:96:7: note: in expansion of macro 'ecb_expect_true' src/lev/vendor/ev_epoll.c:96:88: error: 'EPOLL_CTL_ADD' undeclared (first use in this function) src/lev/vendor/ev.c:985:61: note: in definition of macro 'ecb_expect' src/lev/vendor/ev_epoll.c:96:7: note: in expansion of macro 'ecb_expect_true' src/lev/vendor/ev_epoll.c: In function 'epoll_poll': src/lev/vendor/ev_epoll.c:155:14: warning: implicit declaration of function 'epoll_wait' [-Wimplicit-function-declaration] src/lev/vendor/ev_epoll.c:168:45: error: invalid use of undefined type 'struct epoll_event' src/lev/vendor/ev_epoll.c:170:28: error: invalid use of undefined type 'struct epoll_event' src/lev/vendor/ev_epoll.c:172:21: error: invalid use of undefined type 'struct epoll_event' src/lev/vendor/ev_epoll.c:172:33: error: 'EPOLLOUT' undeclared (first use in this function); did you mean 'POLL_OUT'? src/lev/vendor/ev_epoll.c:172:44: error: 'EPOLLERR' undeclared (first use in this function); did you mean 'POLL_ERR'? src/lev/vendor/ev_epoll.c:172:55: error: 'EPOLLHUP' undeclared (first use in this function); did you mean 'POLL_HUP'? src/lev/vendor/ev_epoll.c:173:21: error: invalid use of undefined type 'struct epoll_event' src/lev/vendor/ev_epoll.c:173:33: error: 'EPOLLIN' undeclared (first use in this function); did you mean 'POLL_IN'? src/lev/vendor/ev_epoll.c:181:71: error: invalid use of undefined type 'struct epoll_event' src/lev/vendor/ev.c:985:61: note: in definition of macro 'ecb_expect' src/lev/vendor/ev_epoll.c:181:11: note: in expansion of macro 'ecb_expect_false' src/lev/vendor/ev_epoll.c:203:13: error: invalid use of undefined type 'struct epoll_event' src/lev/vendor/ev_epoll.c:208:45: error: 'EPOLL_CTL_MOD' undeclared (first use in this function) src/lev/vendor/ev_epoll.c:208:61: error: 'EPOLL_CTL_DEL' undeclared (first use in this function) src/lev/vendor/ev_epoll.c:222:48: error: invalid application of 'sizeof' to incomplete type 'struct epoll_event' src/lev/vendor/ev_epoll.c:223:63: error: invalid application of 'sizeof' to incomplete type 'struct epoll_event' src/lev/vendor/ev.c:2077:41: note: in definition of macro 'ev_malloc' src/lev/vendor/ev_epoll.c: In function 'epoll_epoll_create': src/lev/vendor/ev_epoll.c:253:12: warning: implicit declaration of function 'epoll_create'; did you mean 'epoll_events'? [-Wimplicit-function-declaration] src/lev/vendor/ev_epoll.c: In function 'epoll_init': src/lev/vendor/ev_epoll.c:274:59: error: invalid application of 'sizeof' to incomplete type 'struct epoll_event' src/lev/vendor/ev.c:2077:41: note: in definition of macro 'ev_malloc' gmake: *** [Makefile:43: _boot/dune.exe] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/devel/ocaml-dune *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/devel/ocaml-dune