=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for lua52-dbi-postgresql-0.7.2
mkdir -p build
clang -c -o build/dbd_common.o dbd/common.c  -pedantic -Wall -shared -fPIC -DPIC -std=c99 -O2 -I/usr/pkg/include/lua-5.2 -I/usr/include/readline -I/usr/include -I/usr/pkg/include/mysql -I.
clang -c -o build/dbd_mysql_main.o dbd/mysql/main.c  -pedantic -Wall -shared -fPIC -DPIC -std=c99 -O2 -I/usr/pkg/include/lua-5.2 -I/usr/include/readline -I/usr/include -I/usr/pkg/include/mysql -I. -shared -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib  -lmysqlclient
clang -c -o build/dbd_mysql_connection.o dbd/mysql/connection.c  -pedantic -Wall -shared -fPIC -DPIC -std=c99 -O2 -I/usr/pkg/include/lua-5.2 -I/usr/include/readline -I/usr/include -I/usr/pkg/include/mysql -I. -shared -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib  -lmysqlclient
clang -c -o build/dbd_mysql_statement.o dbd/mysql/statement.c  -pedantic -Wall -shared -fPIC -DPIC -std=c99 -O2 -I/usr/pkg/include/lua-5.2 -I/usr/include/readline -I/usr/include -I/usr/pkg/include/mysql -I. -shared -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib  -lmysqlclient
error: unable to open output file 'build/dbd_mysql_connection.o': 'No such file or directory'
1 error generated.
gmake: *** [Makefile:71: build/dbd_mysql_connection.o] Error 1
gmake: *** Waiting for unfinished jobs....
dbd/mysql/statement.c:221:19: warning: incompatible pointer types assigning to 'my_bool *' (aka 'char *') from 'int *' [-Wincompatible-pointer-types]
                bind[i].is_null = (int*)1;
                                ^ ~~~~~~~
dbd/mysql/statement.c:230:19: warning: incompatible pointer types assigning to 'my_bool *' (aka 'char *') from 'int *' [-Wincompatible-pointer-types]
                bind[i].is_null = (int*)0;
                                ^ ~~~~~~~
dbd/mysql/statement.c:245:19: warning: incompatible pointer types assigning to 'my_bool *' (aka 'char *') from 'int *' [-Wincompatible-pointer-types]
                bind[i].is_null = (int*)0;
                                ^ ~~~~~~~
dbd/mysql/statement.c:256:19: warning: incompatible pointer types assigning to 'my_bool *' (aka 'char *') from 'int *' [-Wincompatible-pointer-types]
                bind[i].is_null = (int*)0;
                                ^ ~~~~~~~
4 warnings generated.
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/databases/lua-dbi-mysql
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/databases/lua-dbi-mysql