+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=14 WRKLOG=/tmp/bulklog/pgtclng-1.5.3nb8/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=14 WRKLOG=/tmp/bulklog/pgtclng-1.5.3nb8/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for pgtclng-1.5.3nb8
gcc -pipe -DPACKAGE_NAME=\"pgtcl\" -DPACKAGE_TARNAME=\"pgtcl\" -DPACKAGE_VERSION=\"1.5.3\" -DPACKAGE_STRING=\"pgtcl\ 1.5.3\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1   -I/opt/pkg/include -I"/opt/pkg/include"  -DUSE_INTERP_ERRORLINE -I/opt/pkg/include -I/usr/include -I/usr/include/kerberosv5 -I/usr/include/gssapi  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/usr/include/kerberosv5 -I/usr/include/gssapi -O2 -Wall -Wno-implicit-int -fPIC -c `echo pgtcl.c` -o pgtcl.o
gcc -pipe -DPACKAGE_NAME=\"pgtcl\" -DPACKAGE_TARNAME=\"pgtcl\" -DPACKAGE_VERSION=\"1.5.3\" -DPACKAGE_STRING=\"pgtcl\ 1.5.3\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1   -I/opt/pkg/include -I"/opt/pkg/include"  -DUSE_INTERP_ERRORLINE -I/opt/pkg/include -I/usr/include -I/usr/include/kerberosv5 -I/usr/include/gssapi  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/usr/include/kerberosv5 -I/usr/include/gssapi -O2 -Wall -Wno-implicit-int -fPIC -c `echo pgtclCmds.c` -o pgtclCmds.o
pgtclCmds.c: In function 'Pg_execute':
pgtclCmds.c:1884:49: warning: 'errorLine' is deprecated: use Tcl_GetErrorLine/Tcl_SetErrorLine [-Wdeprecated-declarations]
 1884 |                                                 interp->errorLine);
      |                                                 ^~~~~~
In file included from pgtclCmds.h:17,
                 from pgtclCmds.c:19:
/home/pbulk/build/databases/pgtclng/work/.buildlink/include/tcl.h:531:9: note: declared here
  531 |     int errorLine TCL_DEPRECATED_API("use Tcl_GetErrorLine/Tcl_SetErrorLine");
      |         ^~~~~~~~~
pgtclCmds.c: In function 'Pg_select':
pgtclCmds.c:2675:49: warning: 'errorLine' is deprecated: use Tcl_GetErrorLine/Tcl_SetErrorLine [-Wdeprecated-declarations]
 2675 |                                                 interp->errorLine);
      |                                                 ^~~~~~
/home/pbulk/build/databases/pgtclng/work/.buildlink/include/tcl.h:531:9: note: declared here
  531 |     int errorLine TCL_DEPRECATED_API("use Tcl_GetErrorLine/Tcl_SetErrorLine");
      |         ^~~~~~~~~
pgtclCmds.c: In function 'Pg_escape_bytea':
pgtclCmds.c:3366:56: warning: passing argument 2 of 'tclStubsPtr->tcl_GetByteArrayFromObj' from incompatible pointer type [-Wincompatible-pointer-types]
 3366 |         from_binary = Tcl_GetByteArrayFromObj(objv[1], &from_len);
      |                                                        ^~~~~~~~~
      |                                                        |
      |                                                        size_t * {aka long unsigned int *}
pgtclCmds.c:3366:56: note: expected 'int *' but argument is of type 'size_t *' {aka 'long unsigned int *'}
pgtclCmds.c:3383:51: warning: pointer targets in passing argument 1 of 'tclStubsPtr->tcl_NewStringObj' differ in signedness [-Wpointer-sign]
 3383 |         Tcl_SetObjResult(interp, Tcl_NewStringObj(to_string, to_len-1));
      |                                                   ^~~~~~~~~
      |                                                   |
      |                                                   unsigned char *
pgtclCmds.c:3383:51: note: expected 'const char *' but argument is of type 'unsigned char *'
In file included from /home/pbulk/build/databases/pgtclng/work/.buildlink/include/tcl.h:2418:
pgtclCmds.c: In function 'Pg_unescape_bytea':
/home/pbulk/build/databases/pgtclng/work/.buildlink/include/tclDecls.h:3302:21: warning: pointer targets in passing argument 1 of 'PQunescapeBytea' differ in signedness [-Wpointer-sign]
 3302 |         (tclStubsPtr->tcl_GetString) /* 340 */
pgtclCmds.c:3429:37: note: in expansion of macro 'Tcl_GetString'
 3429 |         to_binary = PQunescapeBytea(Tcl_GetString(objv[1]), &to_len);
      |                                     ^~~~~~~~~~~~~
In file included from pgtclCmds.h:19:
/home/pbulk/build/databases/pgtclng/work/.buildlink/include/libpq-fe.h:578:60: note: expected 'const unsigned char *' but argument is of type 'char *'
  578 | extern unsigned char *PQunescapeBytea(const unsigned char *strtext,
      |                                       ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
pgtclCmds.c: In function 'execute_put_values':
/home/pbulk/build/databases/pgtclng/work/.buildlink/include/tclDecls.h:3256:21: warning: 'varname' may be used uninitialized [-Wmaybe-uninitialized]
 3256 |         (tclStubsPtr->tcl_SetVar2Ex) /* 317 */
pgtclCmds.c:1953:21: note: in expansion of macro 'Tcl_SetVar2Ex'
 1953 |                 if (Tcl_SetVar2Ex(interp, varname, indexname, value,
      |                     ^~~~~~~~~~~~~
pgtclCmds.c:1924:21: note: 'varname' was declared here
 1924 |         char       *varname;
      |                     ^~~~~~~
gcc -pipe -DPACKAGE_NAME=\"pgtcl\" -DPACKAGE_TARNAME=\"pgtcl\" -DPACKAGE_VERSION=\"1.5.3\" -DPACKAGE_STRING=\"pgtcl\ 1.5.3\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1   -I/opt/pkg/include -I"/opt/pkg/include"  -DUSE_INTERP_ERRORLINE -I/opt/pkg/include -I/usr/include -I/usr/include/kerberosv5 -I/usr/include/gssapi  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/usr/include/kerberosv5 -I/usr/include/gssapi -O2 -Wall -Wno-implicit-int -fPIC -c `echo pgtclId.c` -o pgtclId.o
pgtclId.c: In function 'PgSetConnectionId':
pgtclId.c:236:61: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  236 |         connid->notifier_channel = Tcl_MakeTcpClientChannel((ClientData) PQsocket(conn));
      |                                                             ^
rm -f libpgtcl1.5.3.so
gcc -pipe -shared -o libpgtcl1.5.3.so pgtcl.o pgtclCmds.o pgtclId.o  -L/opt/pkg/lib -ltclstub86 -L/opt/pkg/lib -lpq -ldl  -lm  -Wl,-R,/opt/pkg/lib,-R,/opt/pkg/lib
: libpgtcl1.5.3.so