+ 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/nologinmsg-1.0nb2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nologinmsg-1.0nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for nologinmsg-1.0nb2
cd /home/pbulk/build/shells/nologinmsg/work/nologinmsg-1.0 && cc  -pipe -O2  -I/usr/include    -I/usr/include -I.    -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/pkg/lib	 -o nologinmsg nologinmsg.c 
nologinmsg.c: In function ‘main’:
nologinmsg.c:76:5: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   76 |     strlcpy( messagePath, NOLOGINMSG_PATH, sizeof( messagePath ) );
      |     ^~~~~~~
      |     strncpy
nologinmsg.c:77:17: warning: implicit declaration of function ‘getprogname’ [-Wimplicit-function-declaration]
   77 |     if (strcmp( getprogname(), NOLOGINMSG_NAME ) == 0){
      |                 ^~~~~~~~~~~
nologinmsg.c:77:17: warning: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion]
   77 |     if (strcmp( getprogname(), NOLOGINMSG_NAME ) == 0){
      |                 ^~~~~~~~~~~~~
      |                 |
      |                 int
In file included from nologinmsg.c:36:
/usr/include/string.h:140:32: note: expected ‘const char *’ but argument is of type ‘int’
  140 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
nologinmsg.c:82:13: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   82 |         if (strlcat( messagePath, getlogin(), sizeof( messagePath ) ) >
      |             ^~~~~~~
      |             strncat
nologinmsg.c:111:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  111 |         write( STDERR_FILENO, msgbuf, nbytes );
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nologinmsg.c:117:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  117 |     write( STDERR_FILENO, NOLOGINMSG_MSG, sizeof( NOLOGINMSG_MSG ) - 1 );
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/ld: /tmp/ccTpY22Z.o: in function `main':
nologinmsg.c:(.text.startup+0x7a): undefined reference to `strlcpy'
/bin/ld: nologinmsg.c:(.text.startup+0x81): undefined reference to `getprogname'
/bin/ld: nologinmsg.c:(.text.startup+0xb2): undefined reference to `strlcat'
/bin/ld: nologinmsg.c:(.text.startup+0x14e): undefined reference to `getprogname'
/bin/ld: nologinmsg.c:(.text.startup+0x164): undefined reference to `strlcat'
collect2: error: ld returned 1 exit status
*** Error code 1

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

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