+ 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/malsync-2.2.0nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/malsync-2.2.0nb2/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for malsync-2.2.0nb2 gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/opt/pkg/include -I./mal/client/unix -D__unix__=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -c -o malsync.o malsync.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/opt/pkg/include -I./mal/client/unix -D__unix__=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -c -o mal/client/unix/MAL31ServerConfig.o mal/client/unix/MAL31ServerConfig.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/opt/pkg/include -I./mal/client/unix -D__unix__=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -c -o mal/client/unix/MAL31DBConfig.o mal/client/unix/MAL31DBConfig.c gcc -Wall -g -DMALSYNC -I./mal/common -I./mal/client/common -I/opt/pkg/include -I./mal/client/unix -D__unix__=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -c -o mal/client/unix/MAL31UserConfig.o mal/client/unix/MAL31UserConfig.c mal/client/unix/MAL31DBConfig.c: In function 'MAL31DBConfigReadData': mal/client/unix/MAL31DBConfig.c:43:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 43 | AGArrayAppend(dbconfig->newids, (void *)AGReadInt32(r)); | ^ mal/client/unix/MAL31DBConfig.c: In function 'MAL31DBConfigWriteData': mal/client/unix/MAL31DBConfig.c:64:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 64 | AGWriteInt32(w, (uint32)AGArrayElementAt(dbconfig->newids, i)); | ^ mal/client/unix/MAL31UserConfig.c: In function 'MAL31UserConfigInit': mal/client/unix/MAL31UserConfig.c:52:5: error: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 52 | bzero(userConfig, sizeof(MAL31UserConfig)); | ^~~~~ mal/client/unix/MAL31UserConfig.c:52:5: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] mal/client/unix/MAL31UserConfig.c: In function 'MAL31UserConfigFinalize': mal/client/unix/MAL31UserConfig.c:84:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 84 | bzero(userConfig, sizeof(MAL31UserConfig)); | ^~~~~ mal/client/unix/MAL31UserConfig.c: In function 'MAL31UserConfigNewAndReadData': mal/client/unix/MAL31UserConfig.c:162:5: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 162 | bzero(result, sizeof(MAL31UserConfig)); | ^~~~~ gmake: *** [: mal/client/unix/MAL31UserConfig.o] Error 1 gmake: *** Waiting for unfinished jobs.... malsync.c: In function 'syncInfoNew': malsync.c:290:9: error: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 290 | bzero(pInfo, sizeof(PalmSyncInfo)); | ^~~~~ malsync.c:290:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] malsync.c: In function 'readAndUseDeviceInfoDatabase': malsync.c:380:19: warning: unused variable 'dev_db_info_version' [-Wunused-variable] 380 | 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] 417 | int majorVersion, minorVersion, bugfixVersion, build, state; | ^~~~~ malsync.c:417:52: warning: variable 'build' set but not used [-Wunused-but-set-variable] 417 | int majorVersion, minorVersion, bugfixVersion, build, state; | ^~~~~ malsync.c:417:37: warning: variable 'bugfixVersion' set but not used [-Wunused-but-set-variable] 417 | 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] 907 | long result; | ^~~~~~ malsync.c: In function 'main': malsync.c:1320:9: warning: unused variable 'fd' [-Wunused-variable] 1320 | int fd; | ^~ malsync.c:1319:9: warning: unused variable 'cont' [-Wunused-variable] 1319 | int cont = 1; | ^~~~ malsync.c: In function 'Connect': malsync.c:1379:5: warning: 'pilot_connect' is deprecated [-Wdeprecated-declarations] 1379 | if ((sd = pilot_connect(device)) < 0) { | ^~ In file included from malsync.c:65: /home/pbulk/build/comms/malsync/work/.buildlink/include/pi-header.h:31:5: note: declared here 31 | int pilot_connect(const char *port) PI_DEPRECATED; | ^~~~~~~~~~~~~ malsync.c:1374:9: warning: unused variable 'ret' [-Wunused-variable] 1374 | int ret; | ^~~ malsync.c: In function 'getProxyInfo': malsync.c:1449:11: error: implicit declaration of function 'index' [-Wimplicit-function-declaration] 1449 | ptr = index(proxyname, ':'); | ^~~~~ malsync.c:1449:11: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] malsync.c: In function 'processCommandLine': malsync.c:1478:12: warning: unused variable 'optind' [-Wunused-variable] 1478 | int c, optind; | ^~~~~~ malsync.c: In function 'ClientVersionReadData': malsync.c:1559:5: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 1559 | bzero(cversion, sizeof(ClientVersion)); | ^~~~~ malsync.c:1556:11: warning: variable 'version' set but not used [-Wunused-but-set-variable] 1556 | int32 version; | ^~~~~~~ malsync.c: In function 'fill_in_versioninfo': malsync.c:1606:14: warning: unused variable 'syncReadResult' [-Wunused-variable] 1606 | long syncReadResult; | ^~~~~~~~~~~~~~ malsync.c: In function 'getProxyInfo': malsync.c:1472:1: warning: control reaches end of non-void function [-Wreturn-type] 1472 | } | ^ malsync.c: At top level: malsync.c:949:1: warning: 'getIndexFromPlatformData' defined but not used [-Wunused-function] 949 | getIndexFromPlatformData(uint8 *platformData) | ^~~~~~~~~~~~~~~~~~~~~~~~ gmake: *** [: malsync.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/malsync *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/malsync