+ 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]
     strlcpy( messagePath, NOLOGINMSG_PATH, sizeof( messagePath ) );
     ^~~~~~~
     strncpy
nologinmsg.c:77:17: warning: implicit declaration of function ‘getprogname’; did you mean ‘gethostname’? [-Wimplicit-function-declaration]
     if (strcmp( getprogname(), NOLOGINMSG_NAME ) == 0){
                 ^~~~~~~~~~~
                 gethostname
nologinmsg.c:77:17: warning: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion]
     if (strcmp( getprogname(), NOLOGINMSG_NAME ) == 0){
                 ^~~~~~~~~~~~~
In file included from nologinmsg.c:36:
/usr/include/string.h:137:32: note: expected ‘const char *’ but argument is of type ‘int’
 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]
         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]
         write( STDERR_FILENO, msgbuf, nbytes );
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nologinmsg.c:117:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
     write( STDERR_FILENO, NOLOGINMSG_MSG, sizeof( NOLOGINMSG_MSG ) - 1 );
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/cc0i03Fk.o: In function `main':
nologinmsg.c:(.text.startup+0x7b): undefined reference to `strlcpy'
nologinmsg.c:(.text.startup+0x82): undefined reference to `getprogname'
nologinmsg.c:(.text.startup+0xba): undefined reference to `strlcat'
nologinmsg.c:(.text.startup+0x15e): undefined reference to `getprogname'
nologinmsg.c:(.text.startup+0x174): 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-el8-trunk-x86_64/shells/nologinmsg
*** Error code 1

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