+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/blt-2.4znb15/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/blt-2.4znb15/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for blt-2.4znb15 (cd src; /opt/pkg/bin/bmake all) gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltAlloc.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltArrayObj.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltBgexec.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltChain.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltDebug.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltHash.c bltHash.c: In function 'OneWordCreate': bltHash.c:454:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 454 | hPtr->hval = (Blt_Hash)key; | ^ bltHash.c: In function 'Blt_DeleteHashEntry': bltHash.c:1092:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1092 | hindex = RANDOM_INDEX(tablePtr, (CONST void *)entryPtr->hval); | ^ bltHash.c:72:17: note: in definition of macro 'RANDOM_INDEX' 72 | (((((long) (i))*1103515245) >> (tablePtr)->downShift) & (tablePtr)->mask) | ^ bltHash.c: In function 'Blt_HashStats': bltHash.c:1305:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 1305 | sprintf(result, "%d entries in table, %d buckets\n", | ~^ | | | int | %ld 1306 | tablePtr->numEntries, tablePtr->numBuckets); | ~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} bltHash.c:1305:44: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 1305 | sprintf(result, "%d entries in table, %d buckets\n", | ~^ | | | int | %ld 1306 | tablePtr->numEntries, tablePtr->numBuckets); | ~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} bltHash.c:1314:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 1314 | sprintf(p, "number of buckets with %d entries: %d\n", | ~^ | | | int | %ld 1315 | i, count[i]); | ~ | | | size_t {aka long unsigned int} bltHash.c:1314:57: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 1314 | sprintf(p, "number of buckets with %d entries: %d\n", | ~^ | | | int | %ld 1315 | i, count[i]); | ~~~~~~~~ | | | size_t {aka long unsigned int} bltHash.c:1323:61: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 1323 | sprintf(p, "number of buckets with %d or more entries: %d\n", | ~^ | | | int | %ld 1324 | NUM_COUNTERS, overflow); | ~~~~~~~~ | | | size_t {aka long unsigned int} bltHash.c:1332:53: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 1332 | sprintf(p, "maximum search distance for entry: %d", max); | ~^ ~~~ | | | | int size_t {aka long unsigned int} | %ld bltHash.c: At top level: bltHash.c:79:17: warning: 'HashArray' used but never defined 79 | static Blt_Hash HashArray _ANSI_ARGS_((CONST void *key, size_t length)); | ^~~~~~~~~ gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltList.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltNsUtil.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltParse.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltPool.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltSpline.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltSwitch.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltTree.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltTreeCmd.c bltTreeCmd.c: In function 'ComparePatternList': bltTreeCmd.c:1670:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1670 | type = (int)Blt_ListGetValue(node); | ^ bltTreeCmd.c: In function 'DeleteOp': bltTreeCmd.c:2605:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2605 | Blt_ChainAppend(chainPtr, (ClientData)Blt_TreeNodeId(node)); | ^ bltTreeCmd.c:2615:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2615 | inode = (int)Blt_ChainGetValue(linkPtr); | ^ bltTreeCmd.c: In function 'TypeOp': bltTreeCmd.c:4833:51: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4833 | Tcl_SetResult(interp, valueObjPtr->typePtr->name, TCL_VOLATILE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:2424, from ./bltInt.h:39, from bltTreeCmd.c:105: /home/pbulk/build/x11/blt/work/.buildlink/include/tclDecls.h:692:65: note: expected 'char *' but argument is of type 'const char *' 692 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltUnixPipe.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltUtil.c bltUtil.c: In function 'Blt_GetUid': bltUtil.c:796:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 796 | refCount = (int)Blt_GetHashValue(hPtr); | ^ In file included from blt.h:54, from bltInt.h:79, from bltUtil.c:28: bltUtil.c:799:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 799 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^ ./bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ bltUtil.c: In function 'Blt_FreeUid': bltUtil.c:833:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 833 | refCount = (int)Blt_GetHashValue(hPtr); | ^ bltUtil.c:838:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 838 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^ ./bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltVector.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltVecMath.c bltVecMath.c: In function 'MathError': bltVecMath.c:767:9: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 767 | Tcl_SetErrorCode(interp, "ARITH", "DOMAIN", interp->result, | ^~~~~~~~~~~~~~~~ In file included from bltInt.h:39, from bltVecInt.h:28, from bltVecMath.c:29: /home/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ bltVecMath.c:774:13: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 774 | Tcl_SetErrorCode(interp, "ARITH", "UNDERFLOW", interp->result, | ^~~~~~~~~~~~~~~~ /home/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ bltVecMath.c:780:13: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 780 | Tcl_SetErrorCode(interp, "ARITH", "OVERFLOW", interp->result, | ^~~~~~~~~~~~~~~~ /home/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ bltVecMath.c:789:9: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 789 | Tcl_SetErrorCode(interp, "ARITH", "UNKNOWN", interp->result, | ^~~~~~~~~~~~~~~~ /home/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltVecCmd.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltVecObjCmd.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include bltWatch.c gcc -c -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include -DTCL_ONLY -DBLT_LIBRARY=\"/opt/pkg/lib/blt2.4\" ./bltInit.c ./bltInit.c: In function 'Blt_Init': ./bltInit.c:408:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 408 | flags = (int)Tcl_GetAssocData(interp, BLT_THREAD_KEY, NULL); | ^ ./bltInit.c:457:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 457 | (ClientData)(flags | BLT_TCL_CMDS)); | ^ rm -f libBLTlite.a ar rc libBLTlite.a bltAlloc.o bltArrayObj.o bltBgexec.o bltChain.o bltDebug.o bltHash.o bltList.o bltNsUtil.o bltParse.o bltPool.o bltSpline.o bltSwitch.o bltTree.o bltTreeCmd.o bltUnixPipe.o bltUtil.o bltVector.o bltVecMath.o bltVecCmd.o bltVecObjCmd.o bltWatch.o bltInit.o ranlib libBLTlite.a rm -f bltsh gcc -Wall -DUSE_INTERP_RESULT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -I. -I/opt/pkg/include -Wl,-rpath,/opt/pkg/lib:NONE -DTCL_ONLY -o bltsh -DTCLLIBPATH=\"/opt/pkg/lib/tcl8.6\" ./bltUnixMain.c libBLTlite.a -L/opt/pkg/lib -ltcl86 -lm -lnsl -lsocket -ldl Undefined first referenced symbol in file HashArray libBLTlite.a(bltHash.o) ld: fatal: symbol referencing errors. No output written to bltsh collect2: error: ld returned 1 exit status *** Error code 1 Stop. bmake[1]: stopped making "all" in /home/pbulk/build/x11/blt/work/blt2.4z/src *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/x11/blt/work/blt2.4z *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/blt *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/blt