+ 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-sqlite3-5.0.1nb6/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ocaml-sqlite3-5.0.1nb6/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 ===> Building for ocaml-sqlite3-5.0.1nb6 gcc src/sqlite3_stubs.o sqlite3_stubs.c:45: warning: "__unused" redefined 45 | # define __unused __attribute__ ((unused)) | In file included from /usr/include/sys/feature_tests.h:34, from /usr/include/stdio.h:37, from sqlite3_stubs.c:28: /usr/include/sys/ccompile.h:160: note: this is the location of the previous definition 160 | #define __unused __sun_attr__((__unused__)) | In file included from sqlite3_stubs.c:32: sqlite3_stubs.c: In function 'caml_sqlite3_prepare': /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)) | ^ sqlite3_stubs.c:941:33: note: in expansion of macro 'String_val' 941 | char *loc = "prepare", *sql = String_val(v_sql); | ^~~~~~~~~~ sqlite3_stubs.c: In function 'caml_sqlite3_bind_parameter_index': /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)) | ^ sqlite3_stubs.c:1013:21: note: in expansion of macro 'String_val' 1013 | char *parm_name = String_val(v_name); | ^~~~~~~~~~ sqlite3_stubs.c: In function 'caml_sqlite3_column_blob': /opt/local/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ sqlite3_stubs.c:1221:10: note: in expansion of macro 'String_val' 1221 | memcpy(String_val(v_str), sqlite3_column_blob(stmt, pos), len); | ^~~~~~~~~~ In file included from /usr/include/string.h:34, from sqlite3_stubs.c:29: /usr/include/iso/string_iso.h:70:21: note: expected 'void * restrict' but argument is of type 'const char *' 70 | extern void *memcpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD, size_t); | ^ In file included from sqlite3_stubs.c:32: sqlite3_stubs.c: In function 'caml_sqlite3_column_text': /opt/local/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ sqlite3_stubs.c:1283:10: note: in expansion of macro 'String_val' 1283 | memcpy(String_val(v_str), sqlite3_column_text(stmt, pos), len); | ^~~~~~~~~~ In file included from /usr/include/string.h:34, from sqlite3_stubs.c:29: /usr/include/iso/string_iso.h:70:21: note: expected 'void * restrict' but argument is of type 'const char *' 70 | extern void *memcpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD, size_t); | ^ In file included from sqlite3_stubs.c:32: sqlite3_stubs.c: In function 'caml_sqlite3_column': /opt/local/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ sqlite3_stubs.c:1316:14: note: in expansion of macro 'String_val' 1316 | memcpy(String_val(v_tmp), (char *) sqlite3_column_text(stmt, pos), len); | ^~~~~~~~~~ In file included from /usr/include/string.h:34, from sqlite3_stubs.c:29: /usr/include/iso/string_iso.h:70:21: note: expected 'void * restrict' but argument is of type 'const char *' 70 | extern void *memcpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD, size_t); | ^ In file included from sqlite3_stubs.c:32: /opt/local/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ sqlite3_stubs.c:1323:14: note: in expansion of macro 'String_val' 1323 | memcpy(String_val(v_tmp), (char *) sqlite3_column_blob(stmt, pos), len); | ^~~~~~~~~~ In file included from /usr/include/string.h:34, from sqlite3_stubs.c:29: /usr/include/iso/string_iso.h:70:21: note: expected 'void * restrict' but argument is of type 'const char *' 70 | extern void *memcpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD, size_t); | ^ In file included from sqlite3_stubs.c:32: sqlite3_stubs.c: In function 'caml_sqlite3_wrap_values': /opt/local/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ sqlite3_stubs.c:1384:18: note: in expansion of macro 'String_val' 1384 | memcpy(String_val(v_tmp), (char *) sqlite3_value_text(arg), len); | ^~~~~~~~~~ In file included from /usr/include/string.h:34, from sqlite3_stubs.c:29: /usr/include/iso/string_iso.h:70:21: note: expected 'void * restrict' but argument is of type 'const char *' 70 | extern void *memcpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD, size_t); | ^ In file included from sqlite3_stubs.c:32: /opt/local/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ sqlite3_stubs.c:1391:18: note: in expansion of macro 'String_val' 1391 | memcpy(String_val(v_tmp), (char *) sqlite3_value_blob(arg), len); | ^~~~~~~~~~ In file included from /usr/include/string.h:34, from sqlite3_stubs.c:29: /usr/include/iso/string_iso.h:70:21: note: expected 'void * restrict' but argument is of type 'const char *' 70 | extern void *memcpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD, size_t); | ^ In file included from sqlite3_stubs.c:32: sqlite3_stubs.c: In function 'unregister_user_function': /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)) | ^ sqlite3_stubs.c:1500:16: note: in expansion of macro 'String_val' 1500 | char *name = String_val(v_name); | ^~~~~~~~~~ sqlite3_stubs.c: At top level: cc1: note: unrecognized command-line option '-Wno-keyword-macro' may have been intended to silence earlier diagnostics ocamlmklib src/dllsqlite3_stubs.so,src/libsqlite3_stubs.a (exit 2) (cd _build/default && /home/pbulk/build/databases/ocaml-sqlite3/work/.buildlink/bin/ocamlmklib -g -o src/sqlite3_stubs src/sqlite3_stubs.o -Wl,-R/opt/local/lib -L/opt/local/lib -lsqlite3 -lpthread) ld: fatal: file rpath: open failed: No such file or directory ld: elf error: file /opt/local/lib: elf_begin: I/O error: region read: Is a directory ld: fatal: file processing errors. No output written to src/dllsqlite3_stubs.so collect2: error: ld returned 1 exit status *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/databases/ocaml-sqlite3 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/databases/ocaml-sqlite3