+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent MYSQL_VERSION_REQD=mariadb114 LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/lua54-dbi-postgresql-0.7.2nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent MYSQL_VERSION_REQD=mariadb114 LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/lua54-dbi-postgresql-0.7.2nb1/work.log
===> Building for lua54-dbi-postgresql-0.7.2nb1
mkdir -p build
gcc -c -o build/dbd_common.o dbd/common.c  -pedantic -Wall -shared -fPIC -DPIC -std=c99 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/mysql -I.
gcc -c -o build/dbd_mysql_main.o dbd/mysql/main.c  -pedantic -Wall -shared -fPIC -DPIC -std=c99 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/mysql -I. -shared -L/opt/pkg/lib -Wl,-R/opt/pkg/lib  -lmysqlclient
gcc -c -o build/dbd_mysql_connection.o dbd/mysql/connection.c  -pedantic -Wall -shared -fPIC -DPIC -std=c99 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/mysql -I. -shared -L/opt/pkg/lib -Wl,-R/opt/pkg/lib  -lmysqlclient
Assembler messages:
Fatal error: can't create build/dbd_mysql_connection.o: No such file or directory
Assembler messages:
Fatal error: can't create build/dbd_mysql_main.o: No such file or directory
Assembler messages:
Fatal error: can't create build/dbd_common.o: No such file or directory
gcc -c -o build/dbd_mysql_statement.o dbd/mysql/statement.c  -pedantic -Wall -shared -fPIC -DPIC -std=c99 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/mysql -I. -shared -L/opt/pkg/lib -Wl,-R/opt/pkg/lib  -lmysqlclient
dbd/mysql/statement.c: In function 'statement_execute':
dbd/mysql/statement.c:221:33: warning: assignment to 'my_bool *' {aka 'char *'} from incompatible pointer type 'int *' [-Wincompatible-pointer-types]
  221 |                 bind[i].is_null = (int*)1;
      |                                 ^
dbd/mysql/statement.c:230:33: warning: assignment to 'my_bool *' {aka 'char *'} from incompatible pointer type 'int *' [-Wincompatible-pointer-types]
  230 |                 bind[i].is_null = (int*)0;
      |                                 ^
dbd/mysql/statement.c:245:33: warning: assignment to 'my_bool *' {aka 'char *'} from incompatible pointer type 'int *' [-Wincompatible-pointer-types]
  245 |                 bind[i].is_null = (int*)0;
      |                                 ^
dbd/mysql/statement.c:256:33: warning: assignment to 'my_bool *' {aka 'char *'} from incompatible pointer type 'int *' [-Wincompatible-pointer-types]
  256 |                 bind[i].is_null = (int*)0;
      |                                 ^
dbd/mysql/statement.c:296:9: warning: dangling pointer 'errstr' to 'err' may be used [-Wdangling-pointer=]
  296 |         lua_pushfstring(L, error_message, errstr ? errstr : mysql_stmt_error(statement->stmt));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dbd/mysql/statement.c:216:14: note: 'err' declared here
  216 |         char err[64];
      |              ^~~
gmake: *** [Makefile:73: build/dbd_mysql_main.o] Error 2
gmake: *** Waiting for unfinished jobs....
gmake: *** [Makefile:71: build/dbd_mysql_connection.o] Error 2
gmake: *** [Makefile:68: build/dbd_common.o] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/lua-dbi-mysql
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/lua-dbi-mysql