+ 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/trn-4.77nb7/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/trn-4.77nb7/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for trn-4.77nb7
--- newsnews ---
--- addng.o ---
--- newsnews ---
/bin/sh /home/pbulk/build/news/trn/work/trn-4.0-test77/newsnews.SH
Extracting newsnews (with version substitution)
--- addng.o ---
cc -c -O -fpcc-struct-return addng.c
--- art.o ---
cc -c -O -fpcc-struct-return art.c
In file included from art.c:28:
art.c: In function 'do_article':
term.h:164:20: warning: implicit declaration of function 'tputs'; did you mean 'puts'? [-Wimplicit-function-declaration]
  164 | #define standout() tputs(tc_SO,1,putchr) FLUSH
      |                    ^~~~~
art.c:344:25: note: in expansion of macro 'standout'
  344 |                         standout();
      |                         ^~~~~~~~
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 common.h:6,
                 from art.c:7:
/usr/include/bits/fcntl2.h: In function 'open':
/usr/include/bits/fcntl2.h:43:7: error: invalid use of '__builtin_va_arg_pack_len ()'
   43 |   if (__va_arg_pack_len () > 1)
      |       ^~~~~~~~~~~~~~~~~
/usr/include/bits/fcntl2.h:56:7: error: invalid use of '__builtin_va_arg_pack_len ()'
   56 |   if (__va_arg_pack_len () < 1)
      |       ^~~~~~~~~~~~~~~~~
In file included from /usr/include/fcntl.h:342,
                 from common.h:26,
                 from art.c:7:
/usr/include/bits/fcntl2.h:59:10: error: invalid use of '__builtin_va_arg_pack ()'
   59 |   return __open_alias (__path, __oflag, __va_arg_pack ());
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 common.h:6,
                 from art.c:7:
/usr/include/bits/fcntl2.h: In function 'openat':
/usr/include/bits/fcntl2.h:119:7: error: invalid use of '__builtin_va_arg_pack_len ()'
  119 |   if (__va_arg_pack_len () > 1)
      |       ^~~~~~~~~~~~~~~~~
/usr/include/bits/fcntl2.h:132:7: error: invalid use of '__builtin_va_arg_pack_len ()'
  132 |   if (__va_arg_pack_len () < 1)
      |       ^~~~~~~~~~~~~~~~~
In file included from /usr/include/fcntl.h:342,
                 from common.h:26,
                 from art.c:7:
/usr/include/bits/fcntl2.h:135:10: error: invalid use of '__builtin_va_arg_pack ()'
  135 |   return __openat_alias (__fd, __path, __oflag, __va_arg_pack ());
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- addng.o ---
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 common.h:6,
                 from addng.c:7:
/usr/include/bits/fcntl2.h: In function 'open':
/usr/include/bits/fcntl2.h:43:7: error: invalid use of '__builtin_va_arg_pack_len ()'
   43 |   if (__va_arg_pack_len () > 1)
      |       ^~~~~~~~~~~~~~~~~
/usr/include/bits/fcntl2.h:56:7: error: invalid use of '__builtin_va_arg_pack_len ()'
   56 |   if (__va_arg_pack_len () < 1)
      |       ^~~~~~~~~~~~~~~~~
In file included from /usr/include/fcntl.h:342,
                 from common.h:26,
                 from addng.c:7:
/usr/include/bits/fcntl2.h:59:10: error: invalid use of '__builtin_va_arg_pack ()'
   59 |   return __open_alias (__path, __oflag, __va_arg_pack ());
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 common.h:6,
                 from addng.c:7:
/usr/include/bits/fcntl2.h: In function 'openat':
/usr/include/bits/fcntl2.h:119:7: error: invalid use of '__builtin_va_arg_pack_len ()'
  119 |   if (__va_arg_pack_len () > 1)
      |       ^~~~~~~~~~~~~~~~~
/usr/include/bits/fcntl2.h:132:7: error: invalid use of '__builtin_va_arg_pack_len ()'
  132 |   if (__va_arg_pack_len () < 1)
      |       ^~~~~~~~~~~~~~~~~
In file included from /usr/include/fcntl.h:342,
                 from common.h:26,
                 from addng.c:7:
/usr/include/bits/fcntl2.h:135:10: error: invalid use of '__builtin_va_arg_pack ()'
  135 |   return __openat_alias (__fd, __path, __oflag, __va_arg_pack ());
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- art.o ---
*** [art.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/news/trn/work/trn-4.0-test77
--- addng.o ---
*** [addng.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/news/trn/work/trn-4.0-test77
bmake: 2 errors

bmake: stopped making "all" in /home/pbulk/build/news/trn/work/trn-4.0-test77
*** Error code 2

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

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