+ 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/xmailwatcher-1.6nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xmailwatcher-1.6nb3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xmailwatcher-1.6nb3 gcc -O2 -fno-strength-reduce -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -I/opt/pkg/include -c xmailwatcher.c xmailwatcher.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] 168 | main(argc, argv) | ^~~~ xmailwatcher.c: In function 'setTitle': xmailwatcher.c:376:25: warning: implicit declaration of function 'ctime' [-Wimplicit-function-declaration] 376 | ctime(&time)); | ^~~~~ xmailwatcher.c:51:1: note: 'ctime' is defined in header ''; did you forget to '#include '? 50 | #include +++ |+#include 51 | gcc -O2 -fno-strength-reduce -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -I/opt/pkg/include -c box.c box.c: In function 'mungeSender': box.c:162:21: warning: implicit declaration of function 'isgraph' [-Wimplicit-function-declaration] 162 | if (isgraph(*b)) break; | ^~~~~~~ box.c:36:1: note: include '' or provide a declaration of 'isgraph' 35 | #include +++ |+#include 36 | box.c: In function 'LowerFront': box.c:171:16: warning: implicit declaration of function 'isalpha' [-Wimplicit-function-declaration] 171 | while (isalpha(*line)) { | ^~~~~~~ box.c:171:16: note: include '' or provide a declaration of 'isalpha' box.c:172:25: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] 172 | *line = tolower(*line); | ^~~~~~~ box.c:172:25: note: include '' or provide a declaration of 'tolower' box.c: In function 'MHparseMailbox': box.c:242:13: warning: implicit declaration of function 'scandir' [-Wimplicit-function-declaration] 242 | n = scandir(mailbox, &namelist, 0, alphasort); | ^~~~~~~ box.c:242:44: error: 'alphasort' undeclared (first use in this function) 242 | n = scandir(mailbox, &namelist, 0, alphasort); | ^~~~~~~~~ box.c:242:44: note: each undeclared identifier is reported only once for each function it appears in box.c:261:17: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 261 | free((char *)namelist[i]); | ^~~~ box.c:36:1: note: include '' or provide a declaration of 'free' 35 | #include +++ |+#include 36 | box.c:261:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 261 | free((char *)namelist[i]); | ^~~~ box.c:261:17: note: include '' or provide a declaration of 'free' box.c:263:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 263 | free((char *)namelist); | ^~~~ box.c:263:9: note: include '' or provide a declaration of 'free' *** [box.o] Error code 1 bmake: stopped in /home/pbulk/build/mail/xmailwatcher/work/xmailwatcher 1 error bmake: stopped in /home/pbulk/build/mail/xmailwatcher/work/xmailwatcher *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/xmailwatcher *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/xmailwatcher