+ 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/heyu-1.35nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/heyu-1.35nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for heyu-1.35nb1
--- all ---
You are using a  dummy make file.
Just a moment while the configure script runs to create a valid makefile

./Configure
This script will create a valid Makefile based on the results of the uname(1) 
output.  Please stand-by a moment.
checking for siginterrupt()
Using siginterrupt()

The Makefile has been created for linux.

Continuing with the make
--- date.o ---
--- erase.o ---
--- date.o ---
gcc -g -O -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -Wall  -c date.c
--- erase.o ---
gcc -g -O -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -Wall  -c erase.c
--- info.o ---
--- date.o ---
date.c: In function 'c_date':
date.c:42:5: warning: type of 'argc' defaults to 'int' [-Wimplicit-int]
   42 | int c_date(argc, argv)
      |     ^~~~~~
date.c:45:10: warning: variable 'today' set but not used [-Wunused-but-set-variable]
   45 |     int  today;
      |          ^~~~~
--- info.o ---
gcc -g -O -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -Wall  -c info.c
info.c: In function 'c_info':
info.c:36:5: warning: type of 'argc' defaults to 'int' [-Wimplicit-int]
   36 | int c_info(argc, argv)
      |     ^~~~~~
--- message.o ---
gcc -g -O -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -Wall  -c message.c
--- relay.o ---
gcc -g -O -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -Wall  -c relay.c
--- monitor.o ---
gcc -g -O -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -Wall  -c monitor.c
--- relay.o ---
relay.c: In function 'start_relay':
relay.c:189:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  189 |         sprintf(ibuff, "Trouble creating spoolfile (%s)", spoolfile);
      |                 ^~~~~
      |                 |
      |                 unsigned char *
In file included from /usr/include/features.h:490,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from relay.c:41:
/usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
relay.c:190:25: warning: pointer targets in passing argument 2 of 'syslog' differ in signedness [-Wpointer-sign]
  190 |         syslog(LOG_ERR, ibuff);
      |                         ^~~~~
      |                         |
      |                         unsigned char *
In file included from /usr/include/sys/syslog.h:207,
                 from /usr/include/syslog.h:1,
                 from relay.c:46:
/usr/include/bits/syslog.h:43:32: note: expected 'const char *' but argument is of type 'unsigned char *'
   43 | syslog (int __pri, const char *__fmt, ...)
      |                    ~~~~~~~~~~~~^~~~~
relay.c:219:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations]
  219 |     siginterrupt(SIGALRM,1);    /* make reads interruptable */
      |     ^~~~~~~~~~~~
In file included from relay.c:44:
/usr/include/signal.h:324:12: note: declared here
  324 | extern int siginterrupt (int __sig, int __interrupt) __THROW
      |            ^~~~~~~~~~~~
relay.c:268:21: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  268 |                     read(tty, ibuff, 1); /* throw away the unused checksum */
      |                     ^~~~~~~~~~~~~~~~~~~
relay.c:316:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  316 |                 write(outfd,ibuff, 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~
relay.c:352:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  352 |                     write(tty,ibuff, 1);
      |                     ^~~~~~~~~~~~~~~~~~~
relay.c:376:22: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  376 |                      write(outfd,ibuff, 1);     /* write the number of
      |                      ^~~~~~~~~~~~~~~~~~~~~
relay.c:389:30: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  389 |                              write(outfd,ibuff, count );
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
relay.c:398:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  398 |                         write(outfd,ibuff, count);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
relay.c:434:21: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  434 |                     read(tty, ibuff, 1); /* throw away the unused checksum */
      |                     ^~~~~~~~~~~~~~~~~~~
--- monitor.o ---
In file included from /usr/include/fcntl.h:342,
                 from monitor.c:56:
/usr/include/bits/fcntl2.h: In function 'c_monitor':
/usr/include/bits/fcntl2.h:41:1: error: nested function 'open' declared 'extern'
   41 | open (const char *__path, int __oflag, ...)
      | ^~~~
/usr/include/bits/fcntl2.h:41:1: error: static declaration of 'open' follows non-static declaration
In file included from monitor.c:56:
/usr/include/fcntl.h:209:12: note: previous declaration of 'open' with type 'int(const char *, int, ...)'
  209 | extern int open (const char *__file, int __oflag, ...) __nonnull ((1));
      |            ^~~~
In file included from /usr/include/fcntl.h:342,
                 from monitor.c:56:
/usr/include/bits/fcntl2.h:117:1: error: nested function 'openat' declared 'extern'
  117 | openat (int __fd, const char *__path, int __oflag, ...)
      | ^~~~~~
/usr/include/bits/fcntl2.h:117:1: error: static declaration of 'openat' follows non-static declaration
In file included from monitor.c:56:
/usr/include/fcntl.h:233:12: note: previous declaration of 'openat' with type 'int(int,  const char *, int, ...)'
  233 | extern int openat (int __fd, const char *__file, int __oflag, ...)
      |            ^~~~~~
*** [monitor.o] Error code 1

make[1]: stopped in /home/pbulk/build/misc/heyu/work/heyu.dir
--- relay.o ---
relay.c:189:53: warning: '%s' directive writing up to 4095 bytes into a region of size 52 [-Wformat-overflow=]
  189 |         sprintf(ibuff, "Trouble creating spoolfile (%s)", spoolfile);
      |                                                     ^~    ~~~~~~~~~
In file included from /usr/include/stdio.h:900,
                 from relay.c:41:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 30 and 4125 bytes into a destination of size 80
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
1 error

make[1]: stopped in /home/pbulk/build/misc/heyu/work/heyu.dir
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/misc/heyu/work/heyu.dir
1 error

bmake: stopped in /home/pbulk/build/misc/heyu/work/heyu.dir
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/misc/heyu