+ 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/team-3.1nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/team-3.1nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for team-3.1nb1
--- team.o ---
cc -pipe -O2 -DHAVE_PARAM_H -DHAVE_WAIT_H    -c team.c
team.c:157:14: error: expected declaration specifiers or '...' before numeric constant
  157 | __printflike(1, 2)
      |              ^
team.c:157:17: error: expected declaration specifiers or '...' before numeric constant
  157 | __printflike(1, 2)
      |                 ^
team.c: In function 'FdSet':
team.c:267:5: warning: implicit declaration of function 'mesg'; did you mean 'Mesg'? [-Wimplicit-function-declaration]
  267 |     mesg("team: set an invalid fd\n");
      |     ^~~~
      |     Mesg
team.c: In function 'FdRetry':
team.c:323:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  323 |     read(tty,reply,sizeof reply);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [team.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/misc/team/work/team-3.1
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/misc/team/work/team-3.1
*** Error code 2

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

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/misc/team