=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for malsync-2.2.0nb2 gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o malsync.o malsync.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/client/unix/MAL31ServerConfig.o mal/client/unix/MAL31ServerConfig.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/client/unix/MAL31DBConfig.o mal/client/unix/MAL31DBConfig.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/client/unix/MAL31UserConfig.o mal/client/unix/MAL31UserConfig.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGNet.o mal/common/AGNet.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGBase64.o mal/common/AGBase64.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGProxy.o mal/common/AGProxy.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGArray.o mal/common/AGArray.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGDBConfig.o mal/common/AGDBConfig.c malsync.c: In function 'readAndUseDeviceInfoDatabase': malsync.c:380:19: warning: unused variable 'dev_db_info_version' [-Wunused-variable] int16 dev_db_info_version = readInt16(p); ^~~~~~~~~~~~~~~~~~~ malsync.c: In function 'readDeviceInfo': malsync.c:417:59: warning: variable 'state' set but not used [-Wunused-but-set-variable] int majorVersion, minorVersion, bugfixVersion, build, state; ^~~~~ malsync.c:417:52: warning: variable 'build' set but not used [-Wunused-but-set-variable] int majorVersion, minorVersion, bugfixVersion, build, state; ^~~~~ malsync.c:417:37: warning: variable 'bugfixVersion' set but not used [-Wunused-but-set-variable] int majorVersion, minorVersion, bugfixVersion, build, state; ^~~~~~~~~~~~~ malsync.c: In function 'cmdOPENDATABASE': malsync.c:907:14: warning: variable 'result' set but not used [-Wunused-but-set-variable] long result; ^~~~~~ mal/common/AGProxy.c: In function 'AGSocksGetResponse': mal/common/AGProxy.c:136:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc = 0; ^~ malsync.c: In function 'main': malsync.c:1320:9: warning: unused variable 'fd' [-Wunused-variable] int fd; ^~ malsync.c:1319:9: warning: unused variable 'cont' [-Wunused-variable] int cont = 1; ^~~~ malsync.c: In function 'Connect': malsync.c:1379:5: warning: 'pilot_connect' is deprecated [-Wdeprecated-declarations] if ((sd = pilot_connect(device)) < 0) { ^~ In file included from malsync.c:65:0: /pbulk/work/comms/malsync/work/.buildlink/include/pi-header.h:31:5: note: declared here int pilot_connect(const char *port) PI_DEPRECATED; ^~~~~~~~~~~~~ malsync.c:1374:9: warning: unused variable 'ret' [-Wunused-variable] int ret; ^~~ malsync.c: In function 'processCommandLine': malsync.c:1478:12: warning: unused variable 'optind' [-Wunused-variable] int c, optind; ^~~~~~ malsync.c: In function 'ClientVersionReadData': malsync.c:1556:11: warning: variable 'version' set but not used [-Wunused-but-set-variable] int32 version; ^~~~~~~ malsync.c: In function 'fill_in_versioninfo': malsync.c:1606:14: warning: unused variable 'syncReadResult' [-Wunused-variable] long syncReadResult; ^~~~~~~~~~~~~~ gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGProtectedMem.o mal/common/AGProtectedMem.c malsync.c: In function 'getProxyInfo': malsync.c:1472:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: malsync.c:949:1: warning: 'getIndexFromPlatformData' defined but not used [-Wunused-function] getIndexFromPlatformData(uint8 *platformData) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from mal/common/AGNet.c:20:0: mal/common/AGNet.c: In function 'AGNetGets': ./mal/common/AGNet.h:246:65: warning: pointer targets in passing argument 3 of 'ctx->recv' differ in signedness [-Wpointer-sign] #define AGNETRECV(ctx, a, b, c, d) ( (*(ctx)->recv)((ctx), (a), (b), (c), (d)) ) ^ mal/common/AGNet.c:281:13: note: in expansion of macro 'AGNETRECV' d = AGNETRECV(ctx, soc, &b, 1, block); ^~~~~~~~~ ./mal/common/AGNet.h:246:65: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' #define AGNETRECV(ctx, a, b, c, d) ( (*(ctx)->recv)((ctx), (a), (b), (c), (d)) ) ^ mal/common/AGNet.c:281:13: note: in expansion of macro 'AGNETRECV' d = AGNETRECV(ctx, soc, &b, 1, block); ^~~~~~~~~ mal/common/AGNet.c: In function 'AGSocksConnect': mal/common/AGNet.c:536:37: warning: pointer targets in passing argument 1 of 'AGSocksGetResponse' differ in signedness [-Wpointer-sign] rc = AGSocksGetResponse(s->data); ^ In file included from mal/common/AGNet.c:23:0: ./mal/common/AGProxy.h:32:16: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' ExportFunc int AGSocksGetResponse(char *buffer); ^~~~~~~~~~~~~~~~~~ mal/common/AGDBConfig.c: In function 'AGDBConfigReadData': mal/common/AGDBConfig.c:184:19: warning: variable 'minver' set but not used [-Wunused-but-set-variable] int32 majver, minver; ^~~~~~ At top level: mal/common/AGNet.c:98:18: warning: 'AGNetSocketNew' defined but not used [-Wunused-function] static AGSocket *AGNetSocketNew(AGNetCtx *ctx) ^~~~~~~~~~~~~~ gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGLocationConfig.o mal/common/AGLocationConfig.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGBufferedNet.o mal/common/AGBufferedNet.c In file included from mal/common/AGProtectedMem.c:22:0: mal/common/AGProtectedMem.c: In function 'AGProtectedDup': ./mal/common/AGProtectedMem.h:46:56: warning: right-hand operand of comma expression has no effect [-Wunused-value] (memmove((((uint8 *)dst)+offset), src, len), 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ mal/common/AGProtectedMem.c:254:5: note: in expansion of macro 'AGProtectedWrite' AGProtectedWrite((void *) q, 0, ptr, nbytes); ^~~~~~~~~~~~~~~~ gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGUtilUnix.o mal/common/AGUtilUnix.c mal/common/AGLocationConfig.c: In function 'AGLocationConfigReadData': mal/common/AGLocationConfig.c:178:19: warning: variable 'minver' set but not used [-Wunused-but-set-variable] int32 majver, minver; ^~~~~~ In file included from mal/common/AGBufferedNet.c:23:0: mal/common/AGBufferedNet.c: In function 'AGBufNetGets': ./mal/common/AGProtectedMem.h:46:56: warning: right-hand operand of comma expression has no effect [-Wunused-value] (memmove((((uint8 *)dst)+offset), src, len), 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ mal/common/AGBufferedNet.c:536:9: note: in expansion of macro 'AGProtectedWrite' AGProtectedWrite(buffer, offset, bsoc->currentReadPos, strLen); ^~~~~~~~~~~~~~~~ ./mal/common/AGProtectedMem.h:46:56: warning: right-hand operand of comma expression has no effect [-Wunused-value] (memmove((((uint8 *)dst)+offset), src, len), 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ mal/common/AGBufferedNet.c:561:21: note: in expansion of macro 'AGProtectedWrite' AGProtectedWrite(buffer, offset + strLen, bsoc->currentReadPos, bufferBytesInString); ^~~~~~~~~~~~~~~~ ./mal/common/AGProtectedMem.h:46:56: warning: right-hand operand of comma expression has no effect [-Wunused-value] (memmove((((uint8 *)dst)+offset), src, len), 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ mal/common/AGBufferedNet.c:583:13: note: in expansion of macro 'AGProtectedWrite' AGProtectedWrite(buffer, offset + strLen, bsoc->currentReadPos, bufferBytesInString); ^~~~~~~~~~~~~~~~ At top level: mal/common/AGBufferedNet.c:785:12: warning: 'AGNetGetError' defined but not used [-Wunused-function] static int AGNetGetError() ^~~~~~~~~~~~~ gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGDeviceInfo.o mal/common/AGDeviceInfo.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGProtocol.o mal/common/AGProtocol.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGPalmProtocol.o mal/common/AGPalmProtocol.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGWriter.o mal/common/AGWriter.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGBufferReader.o mal/common/AGBufferReader.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGHashTable.o mal/common/AGHashTable.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGReader.o mal/common/AGReader.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGBufferWriter.o mal/common/AGBufferWriter.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGMsg.o mal/common/AGMsg.c In file included from mal/common/AGBufferReader.c:23:0: mal/common/AGBufferReader.c: In function 'AGReadProtectedBytes': ./mal/common/AGProtectedMem.h:46:56: warning: right-hand operand of comma expression has no effect [-Wunused-value] (memmove((((uint8 *)dst)+offset), src, len), 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ mal/common/AGBufferReader.c:102:5: note: in expansion of macro 'AGProtectedWrite' AGProtectedWrite(buf, 0, ptr, len); ^~~~~~~~~~~~~~~~ gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGRecord.o mal/common/AGRecord.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGCollection.o mal/common/AGCollection.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGDigest.o mal/common/AGDigest.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGMD5.o mal/common/AGMD5.c In file included from mal/common/AGBufferWriter.c:23:0: mal/common/AGBufferWriter.c: In function 'AGBufferWriterWrite': ./mal/common/AGProtectedMem.h:46:56: warning: right-hand operand of comma expression has no effect [-Wunused-value] (memmove((((uint8 *)dst)+offset), src, len), 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ mal/common/AGBufferWriter.c:105:5: note: in expansion of macro 'AGProtectedWrite' AGProtectedWrite((void *)writer->buffer, writer->buffersize, src, len); ^~~~~~~~~~~~~~~~ gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/md5.o mal/common/md5.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGSynchronize.o mal/common/AGSynchronize.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGUserConfig.o mal/common/AGUserConfig.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/client/common/AGClientProcessor.o mal/client/common/AGClientProcessor.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/client/common/AGCommandProcessor.o mal/client/common/AGCommandProcessor.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/client/common/AGSyncProcessor.o mal/client/common/AGSyncProcessor.c mal/common/AGUserConfig.c: In function 'AGUserConfigReadData': mal/common/AGUserConfig.c:455:19: warning: variable 'minver' set but not used [-Wunused-but-set-variable] int32 majver, minver; ^~~~~~ mal/common/AGUserConfig.c:453:11: warning: variable 'flags' set but not used [-Wunused-but-set-variable] int32 flags; ^~~~~ gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -D__unix__=1 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -c -o mal/common/AGServerConfig.o mal/common/AGServerConfig.c mal/common/AGServerConfig.c: In function 'AGServerConfigReadData': mal/common/AGServerConfig.c:586:19: warning: variable 'minver' set but not used [-Wunused-but-set-variable] int32 majver, minver; ^~~~~~ gcc -rdynamic -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/usr/pkg/include -I./mal/client/unix -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o malsync malsync.o ./mal/client/unix/MAL31ServerConfig.o ./mal/client/unix/MAL31DBConfig.o ./mal/client/unix/MAL31UserConfig.o ./mal/common/AGNet.o ./mal/common/AGBase64.o ./mal/common/AGProxy.o ./mal/common/AGArray.o ./mal/common/AGDBConfig.o ./mal/common/AGProtectedMem.o ./mal/common/AGLocationConfig.o ./mal/common/AGBufferedNet.o ./mal/common/AGUtilUnix.o ./mal/common/AGDeviceInfo.o ./mal/common/AGProtocol.o ./mal/common/AGPalmProtocol.o ./mal/common/AGWriter.o ./mal/common/AGBufferReader.o ./mal/common/AGHashTable.o ./mal/common/AGReader.o ./mal/common/AGBufferWriter.o ./mal/common/AGMsg.o ./mal/common/AGRecord.o ./mal/common/AGCollection.o ./mal/common/AGDigest.o ./mal/common/AGMD5.o ./mal/common/md5.o ./mal/common/AGSynchronize.o ./mal/common/AGUserConfig.o ./mal/client/common/AGClientProcessor.o ./mal/client/common/AGCommandProcessor.o ./mal/client/common/AGSyncProcessor.o ./mal/common/AGServerConfig.o \ -L/usr/pkg/lib -lpisock ld: cannot find -lpisock gmake: *** [Makefile:72: malsync] Error 1 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/comms/malsync *** Error code 1 Stop. make: stopped in /usr/pkgsrc/comms/malsync