+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xmailbox-2.5nb3/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xmailbox-2.5nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for xmailbox-2.5nb3
--- Mailbox.o ---
--- xmailbox.o ---
--- Mailbox.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing    -I/usr/include/X11  -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO    -DNO_AUDIO -I/usr/pkg/include -c Mailbox.c
--- xmailbox.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing    -I/usr/include/X11  -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO    -DNO_AUDIO -I/usr/pkg/include -c xmailbox.c
--- Mailbox.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/mail/xmailbox/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/mail/xmailbox/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/mail/xmailbox/work/.buildlink/include/X11/IntrinsicP.h:51,
                 from Mailbox.c:32:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- xmailbox.o ---
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from xmailbox.c:32:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- Mailbox.o ---
Mailbox.c: In function 'zombiekiller':
Mailbox.c:285:19: error: 'SignalHandler' undeclared (first use in this function); did you mean 'XErrorHandler'?
  signal(SIGCHLD, (SignalHandler)zombiekiller);
                   ^~~~~~~~~~~~~
                   XErrorHandler
Mailbox.c:285:19: note: each undeclared identifier is reported only once for each function it appears in
Mailbox.c:285:33: error: expected ')' before 'zombiekiller'
  signal(SIGCHLD, (SignalHandler)zombiekiller);
                                 ^~~~~~~~~~~~
                                 )
Mailbox.c: In function 'Initialize':
Mailbox.c:299:19: error: 'SignalHandler' undeclared (first use in this function); did you mean 'XErrorHandler'?
  signal(SIGCHLD, (SignalHandler)zombiekiller);
                   ^~~~~~~~~~~~~
                   XErrorHandler
Mailbox.c:299:33: error: expected ')' before 'zombiekiller'
  signal(SIGCHLD, (SignalHandler)zombiekiller);
                                 ^~~~~~~~~~~~
                                 )
Mailbox.c: In function 'check_mailbox':
Mailbox.c:616:13: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration]
       pid = fork();
             ^~~~
Mailbox.c:619:5: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration]
     _exit(0);
     ^~~~~
Mailbox.c:619:5: warning: incompatible implicit declaration of built-in function '_exit'
Mailbox.c: In function 'GetMailFile':
Mailbox.c:663:33: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration]
   struct passwd *pw = getpwuid (getuid ());
                                 ^~~~~~
                                 getpwuid
Mailbox.c: In function 'check_mailbox':
Mailbox.c:618:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
     system(w->mailbox.mail_tool);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [Mailbox.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/mail/xmailbox/work/xmailbox-2.5
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/mail/xmailbox/work/xmailbox-2.5
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/mail/xmailbox
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/mail/xmailbox