+ 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/ocaml-zarith-1.7nb4/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ocaml-zarith-1.7nb4/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 ===> Building for ocaml-zarith-1.7nb4 ./z_pp.pl none Name "main::extra" used only once: possible typo at ./z_pp.pl line 29. ocamldep -native z.ml q.ml big_int_Z.ml z.mli q.mli big_int_Z.mli > depend ocamlc -c z.mli ocamlc -c z.ml ocamlc -c q.mli ocamlc -c q.ml ocamlc -c big_int_Z.mli ocamlc -c big_int_Z.ml ocamlmklib -failsafe -o zarith z.cmo q.cmo big_int_Z.cmo -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lgmp ocamlc -ccopt "-I/opt/local/lib/ocaml -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DZ_OCAML_HASH -DZ_OCAML_COMPARE_EXT -DHAS_GMP -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include" -c caml_z.c In file included from zarith.h:29, from caml_z.c:38: caml_z.c: In function 'ml_z_of_substring_base': /opt/local/lib/ocaml/caml/mlvalues.h:265:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ caml_z.c:582:13: note: in expansion of macro 'String_val' 582 | char *d = String_val(v) + ofs; | ^~~~~~~~~~ caml_z.c: In function 'ml_z_format': /opt/local/lib/ocaml/caml/mlvalues.h:265:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ caml_z.c:778:15: note: in expansion of macro 'String_val' 778 | char* fmt = String_val(f); | ^~~~~~~~~~ ocamlmklib -failsafe -o zarith caml_z.o -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lgmp ld: fatal: file rpath: open failed: No such file or directory ld: fatal: file /opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0:/opt/local/lib:/usr/lib/amd64: open failed: No such file or directory ld: fatal: file processing errors. No output written to ./dllzarith.so collect2: error: ld returned 1 exit status ocamlopt -c z.ml ocamlopt -c q.ml ocamlopt -c big_int_Z.ml ocamlmklib -failsafe -o zarith z.cmx q.cmx big_int_Z.cmx -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lgmp ocamlopt -shared -o zarith.cmxs -I . zarith.cmxa -linkall