Build:
  1. 0
2026-10-29 13:08.49: New job: build ocaml-r.0.1.0 (4320bcecb71f)
2026-10-29 13:08.49: Waiting for resource in pool day11-builds
2026-10-29 16:01.11: Got resource from pool day11-builds
2026-10-29 16:01.11: [profile full] build ocaml-r.0.1.0
2026-10-29 16:01.11: build ocaml-r.0.1.0 (4320bcecb71f)
=== DEPENDENCIES (19 transitive) ===
  base.v0.13.2                                       630f047f72e6
  base-threads.base                                  f062ded5f7fe
  base-unix.base                                     200a1b731b4b
  conf-pkg-config.5                                  e30d9fba6ce2
  conf-r.1.0.0                                       39be4a242430
  conf-r-mathlib.1                                   cbc2b9a4aaa6
  configurator.v0.11.0                               29d4205c3028
  csexp.1.5.2                                        6eb70d384629
  dune.3.24.2                                        9e9556be6fc9
  dune-configurator.3.22.2                           dba583762d96
  jbuilder.1.0+beta20.2                              e84fdd227a50
  ocaml.4.11.2                                       24c2ff6d6aa7
  ocaml-base-compiler.4.11.2                         a6ab2b1393dc
  ocaml-config.1                                     7753a7a1bb09
  ocaml-secondary-compiler.4.14.2                    f0a0f5859cc6
  ocamlfind.1.9.6                                    d58aa7f619a4
  ocamlfind-secondary.1.9.6                          9cd45cacd0e0
  sexplib0.v0.13.0                                   bf27add05d13
  stdio.v0.13.0                                      53e8bd3acdbf
=== STDOUT ===
Processing: [default: loading data]
[ocaml-r.0.1.0: dl]
[ocaml-r.0.1.0: extract]
-> retrieved ocaml-r.0.1.0  (https://opam.ocaml.org/cache)
[ocaml-r: jbuilder build]
+ /home/opam/.opam/default/bin/jbuilder "build" "-p" "ocaml-r" "-j" "39" (CWD=/home/opam/.opam/default/.opam-switch/build/ocaml-r.0.1.0)
-       ocamlc lib/write_internal_stub.o (exit 2)
- (cd _build/default/lib && /home/opam/.opam/default/bin/ocamlc.opt -g -ccopt -I/usr/share/R/include -o write_internal_stub.o write_internal_stub.c)
- write_internal_stub.c: In function 'ocamlr_write_lisplist_carval':
- write_internal_stub.c:50:21: error: invalid use of undefined type 'struct SEXPREC'
-    50 |   Sexp_val(lisplist)->u.listsxp.carval = Sexp_val(elmnt);
-       |                     ^~
- write_internal_stub.c: In function 'ocamlr_write_lisplist_tagval':
- write_internal_stub.c:55:21: error: invalid use of undefined type 'struct SEXPREC'
-    55 |   Sexp_val(lisplist)->u.listsxp.tagval = Sexp_val(tag);
-       |                     ^~
-       ocamlc lib/initialisation_stub.o
- initialisation_stub.c: In function 'ocamlr_initEmbeddedR':
- initialisation_stub.c:70:35: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-    70 |   for (i=0; i<length; i++) argv[i]=String_val(Field(ml_argv, i));
-       |                                   ^
-       ocamlc lib/read_internal_stub.o (exit 2)
- (cd _build/default/lib && /home/opam/.opam/default/bin/ocamlc.opt -g -ccopt -I/usr/share/R/include -o read_internal_stub.o read_internal_stub.c)
- In file included from read_internal_stub.c:32:
- read_internal_stub.c: In function 'ocamlr_inspect_primsxp_offset':
- read_internal_stub.c:108:32: error: invalid use of undefined type 'struct SEXPREC'
-   108 |   return(Val_int(Sexp_val(sexp)->u.primsxp.offset));
-       |                                ^~
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:75:47: note: in definition of macro 'Val_long'
-    75 | #define Val_long(x)     ((intnat) (((uintnat)(x) << 1)) + 1)
-       |                                               ^
- read_internal_stub.c:108:10: note: in expansion of macro 'Val_int'
-   108 |   return(Val_int(Sexp_val(sexp)->u.primsxp.offset));
-       |          ^~~~~~~
- read_internal_stub.c: In function 'ocamlr_inspect_promsxp_value':
- read_internal_stub.c:241:33: error: invalid use of undefined type 'struct SEXPREC'
-   241 |   return(Val_sexp(Sexp_val(sexp)->u.promsxp.value));
-       |                                 ^~
- read_internal_stub.c: In function 'ocamlr_inspect_promsxp_expr':
- read_internal_stub.c:254:33: error: invalid use of undefined type 'struct SEXPREC'
-   254 |   return(Val_sexp(Sexp_val(sexp)->u.promsxp.expr));
-       |                                 ^~
- read_internal_stub.c: In function 'ocamlr_inspect_promsxp_env':
- read_internal_stub.c:267:33: error: invalid use of undefined type 'struct SEXPREC'
-   267 |   return(Val_sexp(Sexp_val(sexp)->u.promsxp.env));
-       |                                 ^~
[ERROR] The compilation of ocaml-r.0.1.0 failed at "jbuilder build -p ocaml-r -j 39".
build failed... 

=== STDERR ===

2026-10-29 16:02.40: FAILED: build ocaml-r.0.1.0
2026-10-29 16:02.40: Job failed: build failed: ocaml-r.0.1.0