+ 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
--- Mailbox.o ---
Mailbox.c: In function 'zombiekiller':
Mailbox.c:285:26: error: 'SignalHandler' undeclared (first use in this function); did you mean 'sa_handler'?
  285 |         signal(SIGCHLD, (SignalHandler)zombiekiller);
      |                          ^~~~~~~~~~~~~
      |                          sa_handler
Mailbox.c:285:26: note: each undeclared identifier is reported only once for each function it appears in
Mailbox.c:285:40: error: expected ')' before 'zombiekiller'
  285 |         signal(SIGCHLD, (SignalHandler)zombiekiller);
      |               ~                        ^~~~~~~~~~~~
      |                                        )
Mailbox.c: In function 'Initialize':
Mailbox.c:299:26: error: 'SignalHandler' undeclared (first use in this function); did you mean 'sa_handler'?
  299 |         signal(SIGCHLD, (SignalHandler)zombiekiller);
      |                          ^~~~~~~~~~~~~
      |                          sa_handler
Mailbox.c:299:40: error: expected ')' before 'zombiekiller'
  299 |         signal(SIGCHLD, (SignalHandler)zombiekiller);
      |               ~                        ^~~~~~~~~~~~
      |                                        )
Mailbox.c: In function 'check_mailbox':
Mailbox.c:616:27: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration]
  616 |                     pid = fork();
      |                           ^~~~
Mailbox.c:619:33: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration]
  619 |                                 _exit(0);
      |                                 ^~~~~
Mailbox.c:619:33: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch]
Mailbox.c: In function 'GetMailFile':
Mailbox.c:663:47: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration]
  663 |                 struct passwd *pw = getpwuid (getuid ());
      |                                               ^~~~~~
      |                                               getpwuid
Mailbox.c: In function 'check_mailbox':
Mailbox.c:618:33: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  618 |                                 system(w->mailbox.mail_tool);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [Mailbox.o] Error code 1

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

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

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/mail/xmailbox