+ 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/pgtcl-1.5nb9/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=14 WRKLOG=/tmp/bulklog/pgtcl-1.5nb9/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for pgtcl-1.5nb9 gcc -pipe -DPACKAGE_NAME=\"pgtcl\" -DPACKAGE_TARNAME=\"pgtcl\" -DPACKAGE_VERSION=\"1.5\" -DPACKAGE_STRING=\"pgtcl\ 1.5\" -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 -DHAVE_PQEXECPARAMS=1 -DHAVE_PQEXECPREPARED=1 -DHAVE_PQSENDQUERYPARAMS=1 -DHAVE_PQSENDQUERYPREPARED=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -DTCL_WIDE_INT_IS_LONG=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 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -O -Wall -Wno-implicit-int -fPIC -c `echo ./generic/pgtcl.c` -o pgtcl.o ./generic/pgtcl.c: In function 'Pgtcl_Init': ./generic/pgtcl.c:196:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 196 | if (Tcl_Eval(interp, "namespace eval ::pg namespace export *") == TCL_ERROR) | ^~ ./generic/pgtcl.c:200:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 200 | return Tcl_PkgProvide(interp, "Pgtcl", "1.5"); | ^~~~~~ gcc -pipe -DPACKAGE_NAME=\"pgtcl\" -DPACKAGE_TARNAME=\"pgtcl\" -DPACKAGE_VERSION=\"1.5\" -DPACKAGE_STRING=\"pgtcl\ 1.5\" -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 -DHAVE_PQEXECPARAMS=1 -DHAVE_PQEXECPREPARED=1 -DHAVE_PQSENDQUERYPARAMS=1 -DHAVE_PQSENDQUERYPREPARED=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -DTCL_WIDE_INT_IS_LONG=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 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -O -Wall -Wno-implicit-int -fPIC -c `echo ./generic/pgtclCmds.c` -o pgtclCmds.o./generic/pgtclCmds.c: In function 'Pg_result': ./generic/pgtclCmds.c:857:29: warning: variable 'arrVar' set but not used [-Wunused-but-set-variable] 857 | CONST84 char *arrVar; | ^~~~~~ ./generic/pgtclCmds.c: In function 'Pg_lo_read': ./generic/pgtclCmds.c:1948:46: warning: pointer targets in passing argument 1 of 'tclStubsPtr->tcl_NewByteArrayObj' differ in signedness [-Wpointer-sign] 1948 | bufObj = Tcl_NewByteArrayObj(buf, nbytes); | ^~~ | | | char * ./generic/pgtclCmds.c:1948:46: note: expected 'const unsigned char *' but argument is of type 'char *' ./generic/pgtclCmds.c: In function 'Pg_lo_write': ./generic/pgtclCmds.c:1997:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1997 | buf = Tcl_GetByteArrayFromObj(objv[3], &nbytes); | ^ ./generic/pgtclCmds.c: In function 'Pg_lo_export': ./generic/pgtclCmds.c:2305:48: warning: pointer targets in passing argument 3 of 'tclStubsPtr->tcl_GetIntFromObj' differ in signedness [-Wpointer-sign] 2305 | if (Tcl_GetIntFromObj(interp, objv[2], &lobjId) == TCL_ERROR) | ^~~~~~~ | | | Oid * {aka unsigned int *} ./generic/pgtclCmds.c:2305:48: note: expected 'int *' but argument is of type 'Oid *' {aka 'unsigned int *'} ./generic/pgtclCmds.c: In function 'Pg_select': ./generic/pgtclCmds.c:2438:49: warning: 'errorLine' is deprecated: use Tcl_GetErrorLine/Tcl_SetErrorLine [-Wdeprecated-declarations] 2438 | interp->errorLine); | ^~~~~~ In file included from ./generic/pgtclCmds.h:17, from ./generic/pgtclCmds.c:20: /home/pbulk/build/databases/pgtcl/work/.buildlink/include/tcl.h:535:9: note: declared here 535 | int errorLine TCL_DEPRECATED_API("use Tcl_GetErrorLine/Tcl_SetErrorLine"); | ^~~~~~~~~ ./generic/pgtclCmds.c: In function 'Pg_escapeBytea': ./generic/pgtclCmds.c:3215:49: warning: passing argument 2 of 'tclStubsPtr->tcl_GetByteArrayFromObj' from incompatible pointer type [-Wincompatible-pointer-types] 3215 | from = Tcl_GetByteArrayFromObj(objv[1], &fromLen); | ^~~~~~~~ | | | size_t * {aka long unsigned int *} ./generic/pgtclCmds.c:3215:49: note: expected 'int *' but argument is of type 'size_t *' {aka 'long unsigned int *'} ./generic/pgtclCmds.c:3225:51: warning: pointer targets in passing argument 1 of 'tclStubsPtr->tcl_NewStringObj' differ in signedness [-Wpointer-sign] 3225 | Tcl_SetObjResult(interp, Tcl_NewStringObj(to, -1)); | ^~ | | | unsigned char * ./generic/pgtclCmds.c:3225:51: note: expected 'const char *' but argument is of type 'unsigned char *' ./generic/pgtclCmds.c: In function 'Pg_unescapeBytea': ./generic/pgtclCmds.c:3272:10: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 3272 | from = Tcl_GetStringFromObj(objv[1], &fromLen); | ^ ./generic/pgtclCmds.c:3273:34: warning: passing argument 2 of 'PQunescapeBytea' from incompatible pointer type [-Wincompatible-pointer-types] 3273 | to = PQunescapeBytea(from, &toLen); | ^~~~~~ | | | int * In file included from ./generic/pgtclCmds.c:18: /home/pbulk/build/databases/pgtcl/work/.buildlink/include/libpq-fe.h:579:83: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' 579 | size_t *retbuflen); | ~~~~~~~~^~~~~~~~~ gcc -pipe -DPACKAGE_NAME=\"pgtcl\" -DPACKAGE_TARNAME=\"pgtcl\" -DPACKAGE_VERSION=\"1.5\" -DPACKAGE_STRING=\"pgtcl\ 1.5\" -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 -DHAVE_PQEXECPARAMS=1 -DHAVE_PQEXECPREPARED=1 -DHAVE_PQSENDQUERYPARAMS=1 -DHAVE_PQSENDQUERYPREPARED=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -DTCL_WIDE_INT_IS_LONG=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 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -O -Wall -Wno-implicit-int -fPIC -c `echo ./generic/pgtclId.c` -o pgtclId.o rm -f libpgtcl1.5.so gcc -pipe -shared -o libpgtcl1.5.so pgtcl.o pgtclCmds.o pgtclId.o -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lnsl -lsocket -lintl -liconv -L/opt/pkg/lib -lpq -L/opt/pkg/lib -lpq -L/opt/pkg/lib -ltclstub86 : libpgtcl1.5.so ( echo pkg_mkIndex . libpgtcl1.5.so \; exit; ) | TCL_LIBRARY=`echo /opt/pkg/include/tcl/library` LD_LIBRARY_PATH=".:/opt/pkg/lib:" PATH=".:/opt/pkg/lib:/home/pbulk/build/databases/pgtcl/work/.cwrapper/bin:/home/pbulk/build/databases/pgtcl/work/.buildlink/bin:/home/pbulk/build/databases/pgtcl/work/.gcc/bin:/home/pbulk/build/databases/pgtcl/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin" TCLLIBPATH="." /opt/pkg/lib/../bin/tclsh8.6