+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/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 /usr/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
--- pgtcl.o ---
--- pgtclCmds.o ---
--- pgtcl.o ---
cc -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_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1   -I/usr/pkg/include -I"/usr/pkg/include"  -DUSE_INTERP_ERRORLINE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include/db4  -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include/db4 -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo pgtcl.c` -o pgtcl.o
--- pgtclCmds.o ---
cc -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_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1   -I/usr/pkg/include -I"/usr/pkg/include"  -DUSE_INTERP_ERRORLINE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include/db4  -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include/db4 -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo pgtclCmds.c` -o pgtclCmds.o
--- pgtclId.o ---
cc -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_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1   -I/usr/pkg/include -I"/usr/pkg/include"  -DUSE_INTERP_ERRORLINE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include/db4  -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/krb5 -DLDAP_DEPRECATED -I/usr/pkg/include/db4 -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo pgtclId.c` -o pgtclId.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:535:9: note: declared here
  535 |     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);
      |                                                 ^~~~~~
In file included from pgtclCmds.h:17,
                 from pgtclCmds.c:19:
/home/pbulk/build/databases/pgtclng/work/.buildlink/include/tcl.h:535:9: note: declared here
  535 |     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:2421,
                 from pgtclCmds.h:17,
                 from pgtclCmds.c:19:
pgtclCmds.c: In function 'Pg_unescape_bytea':
/home/pbulk/build/databases/pgtclng/work/.buildlink/include/tclDecls.h:3312:21: warning: pointer targets in passing argument 1 of 'PQunescapeBytea' differ in signedness [-Wpointer-sign]
 3312 |         (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,
                 from pgtclCmds.c: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,
      |                                       ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
--- 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));
      |                                                             ^
--- pgtclCmds.o ---
In file included from /home/pbulk/build/databases/pgtclng/work/.buildlink/include/tcl.h:2421,
                 from pgtclCmds.h:17,
                 from pgtclCmds.c:19:
pgtclCmds.c: In function 'execute_put_values':
/home/pbulk/build/databases/pgtclng/work/.buildlink/include/tclDecls.h:3266:21: warning: 'varname' may be used uninitialized in this function [-Wmaybe-uninitialized]
 3266 |         (tclStubsPtr->tcl_SetVar2Ex) /* 317 */
      |                     ^~
pgtclCmds.c:1924:21: note: 'varname' was declared here
 1924 |         char       *varname;
      |                     ^~~~~~~
--- libpgtcl1.5.3.so ---
rm -f libpgtcl1.5.3.so
cc -pipe -shared -o libpgtcl1.5.3.so pgtcl.o pgtclCmds.o pgtclId.o  -L/usr/pkg/lib -ltclstub86 -L/usr/pkg/lib -lpq -ldl  -lm  -Wl,-rpath,/usr/pkg/lib,-rpath,/usr/pkg/lib
: libpgtcl1.5.3.so