+ 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 -D_FORTIFY_SOURCE=2 -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:77:5: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [enabled by default]
     if (strcmp( getprogname(), NOLOGINMSG_NAME ) == 0){
     ^
In file included from nologinmsg.c:36:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘int’
 extern size_t strlen (const char *__s)
               ^
nologinmsg.c:77:5: warning: passing argument 1 of ‘__builtin_strcmp’ makes pointer from integer without a cast [enabled by default]
     if (strcmp( getprogname(), NOLOGINMSG_NAME ) == 0){
     ^
nologinmsg.c:77:5: note: expected ‘const char *’ but argument is of type ‘int’
nologinmsg.c:77:5: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [enabled by default]
In file included from nologinmsg.c:36:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument is of type ‘int’
 extern size_t strlen (const char *__s)
               ^
nologinmsg.c:77:5: warning: passing argument 1 of ‘__builtin_strcmp’ makes pointer from integer without a cast [enabled by default]
     if (strcmp( getprogname(), NOLOGINMSG_NAME ) == 0){
     ^
nologinmsg.c:77:5: note: expected ‘const char *’ but argument is of type ‘int’
nologinmsg.c:77:5: warning: passing argument 1 of ‘__builtin_strcmp’ makes pointer from integer without a cast [enabled by default]
nologinmsg.c:77:5: note: expected ‘const char *’ but argument is of type ‘int’
nologinmsg.c:77:5: warning: passing argument 1 of ‘__builtin_strcmp’ makes pointer from integer without a cast [enabled by default]
nologinmsg.c:77:5: note: expected ‘const char *’ but argument is of type ‘int’
nologinmsg.c:111:14: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
         write( STDERR_FILENO, msgbuf, nbytes );
              ^
nologinmsg.c:117:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
     write( STDERR_FILENO, NOLOGINMSG_MSG, sizeof( NOLOGINMSG_MSG ) - 1 );
          ^
/tmp/cc26ZOru.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+0xaf): undefined reference to `strlcat'
nologinmsg.c:(.text.startup+0xdb): undefined reference to `getprogname'
nologinmsg.c:(.text.startup+0xf1): undefined reference to `strlcat'
collect2: error: ld returned 1 exit status
*** Error code 1

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/shells/nologinmsg