+ 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/conserver-7.2.7nb6/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/conserver-7.2.7nb6/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for conserver-7.2.7nb6 --- all --- for n in conserver console conserver.cf; do ( cd $n && /opt/pkg/bin/bmake all ) || exit 1; done --- access.o --- --- client.o --- --- consent.o --- --- group.o --- --- access.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I.. -I.. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/opt/pkg\" -I/usr/include -c -o access.o access.c --- client.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I.. -I.. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/opt/pkg\" -I/usr/include -c -o client.o client.c --- consent.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I.. -I.. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/opt/pkg\" -I/usr/include -c -o consent.o consent.c --- group.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I.. -I.. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/opt/pkg\" -I/usr/include -c -o group.o group.c --- client.o --- client.c: In function 'Replay': client.c:155:29: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 155 | if ((char *)0 == (buf = malloc(BUFSIZ))) { | ^~~~~~ client.c:57:1: note: include '' or provide a declaration of 'malloc' 56 | #include +++ |+#include 57 | client.c:155:29: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 155 | if ((char *)0 == (buf = malloc(BUFSIZ))) { | ^~~~~~ client.c:155:29: note: include '' or provide a declaration of 'malloc' client.c:159:29: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 159 | lines = (struct lines *)calloc(n_lines, sizeof(*lines)); | ^~~~~~ client.c:159:29: note: include '' or provide a declaration of 'calloc' client.c:159:29: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] client.c:159:29: note: include '' or provide a declaration of 'calloc' client.c:282:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 282 | free(buf); | ^~~~ client.c:282:5: note: include '' or provide a declaration of 'free' client.c:282:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] client.c:282:5: note: include '' or provide a declaration of 'free' *** [client.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/comms/conserver/work/conserver-7.2.7/conserver --- group.o --- group.c: In function 'DestroyClient': group.c:251:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 251 | free(pCL); | ^~~~ group.c:96:1: note: include '' or provide a declaration of 'free' 95 | #include +++ |+#include 96 | #endif group.c:251:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 251 | free(pCL); | ^~~~ group.c:251:5: note: include '' or provide a declaration of 'free' group.c: In function 'DestroyConsent': group.c:326:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 326 | free(pCE); | ^~~~ group.c:326:5: note: include '' or provide a declaration of 'free' group.c: In function 'DestroyGroup': group.c:371:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 371 | free(pGE); --- consent.o --- consent.c: In function 'AddHostCache': consent.c:742:34: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 742 | (n = (struct hostcache *)calloc(1, sizeof(struct hostcache)))) { | ^~~~~~ consent.c:66:1: note: include '' or provide a declaration of 'calloc' 65 | #include +++ |+#include 66 | consent.c:742:34: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 742 | (n = (struct hostcache *)calloc(1, sizeof(struct hostcache)))) { | ^~~~~~ consent.c:742:34: note: include '' or provide a declaration of 'calloc' consent.c: In function 'ClearHostCache': consent.c:763:13: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 763 | free(p->hostname.string); | ^~~~ --- group.o --- | ^~~~ group.c:371:5: note: include '' or provide a declaration of 'free' group.c: In function 'Kiddie': group.c:1657:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1657 | free(pRCList); | ^~~~ group.c:1657:9: note: include '' or provide a declaration of 'free' group.c:1661:31: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 1661 | pGE->pCEctl = (CONSENT *) calloc(1, sizeof(CONSENT)); | ^~~~~~ group.c:1661:31: note: include '' or provide a declaration of 'calloc' group.c:1661:31: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] group.c:1661:31: note: include '' or provide a declaration of 'calloc' --- consent.o --- consent.c:763:13: note: include '' or provide a declaration of 'free' consent.c:763:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] consent.c:763:13: note: include '' or provide a declaration of 'free' consent.c:764:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 764 | free(p); | ^~~~ consent.c:764:9: note: include '' or provide a declaration of 'free' --- access.o --- access.c: In function 'AddrCmp': access.c:106:25: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 106 | int mask_bits = atoi(slash_posn + 1); | ^~~~ access.c: In function 'SetDefAccess': access.c:200:47: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 200 | if ((ACCESS *) 0 == (pACList = (ACCESS *) calloc(1, sizeof(ACCESS)))) { | ^~~~~~ access.c:61:1: note: include '' or provide a declaration of 'calloc' 60 | #include +++ |+#include 61 | access.c:200:47: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 200 | if ((ACCESS *) 0 == (pACList = (ACCESS *) calloc(1, sizeof(ACCESS)))) { | ^~~~~~ access.c:200:47: note: include '' or provide a declaration of 'calloc' access.c:203:31: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 203 | if ((char *)0 == (pcWho = malloc(iLen + 1))) { | ^~~~~~ access.c:203:31: note: include '' or provide a declaration of 'malloc' access.c:203:31: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] access.c:203:31: note: include '' or provide a declaration of 'malloc' access.c:220:40: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 220 | (pACList->pACnext = (ACCESS *) calloc(1, sizeof(ACCESS)))) { | ^~~~~~ access.c:220:40: note: include '' or provide a declaration of 'calloc' access.c:223:31: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 223 | if ((char *)0 == (pcWho = malloc(iLen + 1))) { | ^~~~~~ access.c:223:31: note: include '' or provide a declaration of 'malloc' access.c: In function 'DestroyRemoteConsole': access.c:277:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 277 | free(pRCList); | ^~~~ access.c:277:5: note: include '' or provide a declaration of 'free' access.c:277:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] access.c:277:5: note: include '' or provide a declaration of 'free' access.c: In function 'DestroyAccessList': access.c:289:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 289 | free(pACList->pcwho); | ^~~~ access.c:289:9: note: include '' or provide a declaration of 'free' access.c:290:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 290 | free(pACList); | ^~~~ access.c:290:5: note: include '' or provide a declaration of 'free' --- consent.o --- *** [consent.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/comms/conserver/work/conserver-7.2.7/conserver --- access.o --- *** [access.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/comms/conserver/work/conserver-7.2.7/conserver --- group.o --- *** [group.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/comms/conserver/work/conserver-7.2.7/conserver bmake[1]: 4 errors bmake[1]: stopped making "all" in /home/pbulk/build/comms/conserver/work/conserver-7.2.7/conserver *** [all] Error code 1 bmake: stopped making "all" in /home/pbulk/build/comms/conserver/work/conserver-7.2.7 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/comms/conserver/work/conserver-7.2.7 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/conserver *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/conserver