=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for ocaml-mysql-1.2.4 gmake[1]: Entering directory '/tmp/pkgbuild/databases/ocaml-mysql/work.sparc64/ocaml-mysql-1.2.4' ocamldep mysql.ml > ._d/mysql.d ocamldep mysql.mli > ._bcdi/mysql.di OCamlMakefile:1141: warning: pattern recipe did not update peer target '._ncdi/mysql.di'. ocamlc -c -cc "gcc" -ccopt "-fPIC -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/mysql -DHAVE_CONFIG_H -Wall -Wextra \ -DPIC -I/usr/pkg/include/mysql -I/usr/pkg/include/mysql/mysql -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/mysql \ -o mysql_stubs.o " mysql_stubs.c mysql_stubs.c:108:0: warning: "Some_val" redefined #define Some_val(v) Field(v,0) In file included from mysql_stubs.c:12:0: /usr/pkg/lib/ocaml/caml/mlvalues.h:404:0: note: this is the location of the previous definition #define Some_val(v) Field(v, 0) mysql_stubs.c: In function 'val_str_option': mysql_stubs.c:150:4: warning: passing argument 1 of '__builtin___memcpy_chk' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] mysql_stubs.c:150:4: note: expected 'void *' but argument is of type 'const char *' mysql_stubs.c:150:4: warning: passing argument 1 of '__memcpy_ichk' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] In file included from /usr/include/string.h:127:0, from mysql_stubs.c:7: /usr/include/ssp/string.h:82:145: note: expected 'void * restrict' but argument is of type 'const char *' __ssp_bos_icheck3_restrict(memcpy, void *, const void *) ^ mysql_stubs.c: In function 'db_library_init': mysql_stubs.c:290:23: warning: unused parameter 'v_unit' [-Wunused-parameter] mysql_stubs.c: At top level: mysql_stubs.c:440:1: warning: missing initializer for field 'fixed_length' of 'struct custom_operations' [-Wmissing-field-initializers] In file included from mysql_stubs.c:17:0: /usr/pkg/lib/ocaml/caml/custom.h:40:37: note: 'fixed_length' declared here mysql_stubs.c: In function 'db_escape': mysql_stubs.c:581:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] mysql_stubs.c:587:2: warning: passing argument 1 of '__builtin___memcpy_chk' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] mysql_stubs.c:587:2: note: expected 'void *' but argument is of type 'const char *' mysql_stubs.c:587:2: warning: passing argument 1 of '__memcpy_ichk' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] In file included from /usr/include/string.h:127:0, from mysql_stubs.c:7: /usr/include/ssp/string.h:82:145: note: expected 'void * restrict' but argument is of type 'const char *' __ssp_bos_icheck3_restrict(memcpy, void *, const void *) ^ mysql_stubs.c: In function 'db_real_escape': mysql_stubs.c:605:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] mysql_stubs.c:615:2: warning: passing argument 1 of '__builtin___memcpy_chk' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] mysql_stubs.c:615:2: note: expected 'void *' but argument is of type 'const char *' mysql_stubs.c:615:2: warning: passing argument 1 of '__memcpy_ichk' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] In file included from /usr/include/string.h:127:0, from mysql_stubs.c:7: /usr/include/ssp/string.h:82:145: note: expected 'void * restrict' but argument is of type 'const char *' __ssp_bos_icheck3_restrict(memcpy, void *, const void *) ^ mysql_stubs.c: At top level: mysql_stubs.c:903:1: warning: missing initializer for field 'fixed_length' of 'struct custom_operations' [-Wmissing-field-initializers] In file included from mysql_stubs.c:17:0: /usr/pkg/lib/ocaml/caml/custom.h:40:37: note: 'fixed_length' declared here mysql_stubs.c: In function 'get_column': mysql_stubs.c:1037:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] mysql_stubs.c: At top level: mysql_stubs.c:1076:1: warning: missing initializer for field 'fixed_length' of 'struct custom_operations' [-Wmissing-field-initializers] In file included from mysql_stubs.c:17:0: /usr/pkg/lib/ocaml/caml/custom.h:40:37: note: 'fixed_length' declared here ar rcs libmysql_stubs.a mysql_stubs.o ocamlc -c mysql.mli ocamlc -c mysql.ml File "mysql.ml", line 428, characters 35-45: 428 | if i = String.length str then (String.sub str p_start (String.length str - p_start)) :: acc else ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function. File "mysql.ml", line 430, characters 45-55: 430 | | ' ' | '\t' | '\n' | '\r' | ',' -> wsp (String.sub str p_start (i - p_start) :: acc) (i+1) ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function. ocamlmklib \ -o mysql_stubs mysql_stubs.o -lmariadb \ -L/usr/pkg/lib/ -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib ocamlc -a -dllib dllmysql_stubs.so -ccopt -L/usr/pkg/lib/ -ccopt -L/usr/pkg/lib -ccopt -Wl,-R/usr/pkg/lib -ccopt -L/usr/lib -ccopt -Wl,-R/usr/lib -cclib -lmysql_stubs -cclib -lmariadb -o mysql.cma mysql.cmo gmake[1]: Leaving directory '/tmp/pkgbuild/databases/ocaml-mysql/work.sparc64/ocaml-mysql-1.2.4' mkdir -p doc/mysql/html rm -rf doc/mysql/html/* ocamldoc -html -d doc/mysql/html mysql.mli