+ 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/bnc-2.9.4nb7/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bnc-2.9.4nb7/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for bnc-2.9.4nb7 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -include config.h -c bnc.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -include config.h -c conf.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -include config.h -c server.c server.c: In function 'check_match': server.c:212:8: error: implicit declaration of function 'index' [-Wimplicit-function-declaration] 212 | if (!index (mask, '*') && !index (mask, '?')) | ^~~~~ server.c:212:8: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] server.c: In function 'send_queued': server.c:406:48: error: passing argument 2 of 'sbuf_pagemap' from incompatible pointer type [-Wincompatible-pointer-types] 406 | msg = sbuf_pagemap(&ls->sendq, &length); | ^~~~~~~ | | | int * In file included from server.c:36: sbuf.h:33:49: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' 33 | void *sbuf_pagemap(struct sbuf *record, size_t *length); | ~~~~~~~~^~~~~~ server.c: In function 'dccsend': server.c:1123:43: error: passing argument 2 of 'sbuf_pagemap' from incompatible pointer type [-Wincompatible-pointer-types] 1123 | msg = sbuf_pagemap(sendq, &length); | ^~~~~~~ | | | int * sbuf.h:33:49: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' 33 | void *sbuf_pagemap(struct sbuf *record, size_t *length); | ~~~~~~~~^~~~~~ *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/chat/bnc/work/bnc2.9.4 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/bnc *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/bnc