+ 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/nap-1.4.4nb5/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nap-1.4.4nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for nap-1.4.4nb5
--- alias.o ---
--- cmds.o ---
--- alias.o ---
cc -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1  -I. -I.   -I/usr/pkg/include/ncurses  -pipe -O2 -I/usr/pkg/include/ncurses -c alias.c
--- cmds.o ---
cc -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1  -I. -I.   -I/usr/pkg/include/ncurses  -pipe -O2 -I/usr/pkg/include/ncurses -c cmds.c
--- alias.o ---
alias.c: In function 'prt':
alias.c:55:3: warning: implicit declaration of function 'wp' [-Wimplicit-function-declaration]
   55 |   wp(wchan, "|%s|\n", buf);
      |   ^~
alias.c:56:3: warning: implicit declaration of function 'drw' [-Wimplicit-function-declaration]
   56 |   drw(wchan);
      |   ^~~
alias.c: In function 'doalias':
alias.c:385:7: warning: implicit declaration of function 'msprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration]
  385 |       msprintf(&atok[i], "%i", cnt-1);
      |       ^~~~~~~~
      |       vsprintf
alias.c: In function 'loadaliases':
alias.c:461:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  461 |     fgets(buf, sizeof(buf), f);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
alias.c:478:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  478 |       fgets(buf+strlen(buf), sizeof(buf), f);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alias.c:497:11: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  497 |           fgets(tb, sizeof(tb), f);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~
alias.c: In function 'loadsets':
alias.c:569:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  569 |     fgets(buf, sizeof(buf), f);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
--- cmds.o ---
cmds.c: In function 'parsein':
cmds.c:514:9: warning: implicit declaration of function 'userhandler'; did you mean 'dclearhandler'? [-Wimplicit-function-declaration]
  514 |     r = userhandler(s, op, tok, cnt, buf, win);
      |         ^~~~~~~~~~~
      |         dclearhandler
cmds.c: In function 'parseoutn':
cmds.c:844:7: warning: implicit declaration of function 'usercmd' [-Wimplicit-function-declaration]
  844 |   r = usercmd(s, tok, cnt, t, win);
      |       ^~~~~~~
cmds.c: In function 'spchange':
cmds.c:2078:3: warning: implicit declaration of function 'initfserv'; did you mean 'initfserve'? [-Wimplicit-function-declaration]
 2078 |   initfserv(atoi(tok[0]));
      |   ^~~~~~~~~
      |   initfserve
cmds.c: In function 'dreload':
cmds.c:3275:3: warning: implicit declaration of function 'libunload' [-Wimplicit-function-declaration]
 3275 |   libunload(&hnd);
      |   ^~~~~~~~~
cmds.c:3276:7: warning: implicit declaration of function 'libload' [-Wimplicit-function-declaration]
 3276 |   if (libload(USERLIB) == -1)
      |       ^~~~~~~
cmds.c: In function 'snadd':
cmds.c:2345:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
 2345 |       fgets(rd, sizeof(rd), f);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~
cmds.c: In function 'dnotify':
cmds.c:4191:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
 4191 |     fgets(rd, sizeof(rd), f);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
cmds.c: In function 'dunnotify':
cmds.c:4241:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
 4241 |     fgets(rd, sizeof(rd), f);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
cmds.c: In function 'dexec':
cmds.c:4615:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
 4615 |   fread(&buf, sizeof(buf)-1, 1, f);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cmds.c: In function 'dupdate':
cmds.c:5242:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
 5242 |       read(sock, &sz[i], 1);
      |       ^~~~~~~~~~~~~~~~~~~~~
cmds.c:5262:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
 5262 |       read(sock, &sz[i], 1);
      |       ^~~~~~~~~~~~~~~~~~~~~
cmds.c:5268:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
 5268 |       read(sock, &sz[0], 1);
      |       ^~~~~~~~~~~~~~~~~~~~~
--- exp.o ---
cc -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1  -I. -I.   -I/usr/pkg/include/ncurses  -pipe -O2 -I/usr/pkg/include/ncurses -c exp.c
--- getopt.o ---
cc -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1  -I. -I.   -I/usr/pkg/include/ncurses  -pipe -O2 -I/usr/pkg/include/ncurses -c getopt.c
--- handlers.o ---
cc -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1  -I. -I.   -I/usr/pkg/include/ncurses  -pipe -O2 -I/usr/pkg/include/ncurses -c handlers.c
handlers.c: In function 'dohandler':
handlers.c:174:7: warning: implicit declaration of function 'msprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration]
  174 |       msprintf(&atok[i], "%i", cnt-1);
      |       ^~~~~~~~
      |       vsprintf
handlers.c: In function 'loadhandlers':
handlers.c:233:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  233 |     fgets(buf, sizeof(buf), f);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
handlers.c:250:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  250 |       fgets(buf+strlen(buf), sizeof(buf), f);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
handlers.c:269:11: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  269 |           fgets(tb, sizeof(tb), f);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~
--- irc.o ---
cc -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1  -I. -I.   -I/usr/pkg/include/ncurses  -pipe -O2 -I/usr/pkg/include/ncurses -c irc.c
--- lists.o ---
cc -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1  -I. -I.   -I/usr/pkg/include/ncurses  -pipe -O2 -I/usr/pkg/include/ncurses -c lists.c
--- md5.o ---
cc -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1  -I. -I.   -I/usr/pkg/include/ncurses  -pipe -O2 -I/usr/pkg/include/ncurses -c md5.c
--- lists.o ---
lists.c: In function '_findlink':
lists.c:72:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   72 |     pd = (unsigned int)p;
      |          ^
lists.c:73:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 |     hd = (unsigned int)h->d;
      |          ^
lists.c:80:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   80 |     pd = (unsigned int)p;
      |          ^
lists.c:89:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   89 |     str = (void *)(*(int *)(cur->d));
      |           ^
lists.c:93:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   93 |       if (*pt == (int)d)
      |                  ^
--- mp3s.o ---
cc -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1  -I. -I.   -I/usr/pkg/include/ncurses  -pipe -O2 -I/usr/pkg/include/ncurses -c mp3s.c
mp3s.c: In function 'gethdr':
mp3s.c:75:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
   75 |   memset(rdt, 0, sizeof(rdt));
      |   ^~~~~~
mp3s.c:15:1: note: include '<string.h>' or provide a declaration of 'memset'
   14 | #include "mp3s.h"
  +++ |+#include <string.h>
   15 | 
mp3s.c:75:3: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch]
   75 |   memset(rdt, 0, sizeof(rdt));
      |   ^~~~~~
mp3s.c:75:3: note: include '<string.h>' or provide a declaration of 'memset'
mp3s.c:77:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
   77 |   if (!strcmp(rdt, "ID3"))
      |        ^~~~~~
mp3s.c:77:8: note: include '<string.h>' or provide a declaration of 'strcmp'
mp3s.c: In function 'getrhdr':
mp3s.c:41:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
   41 |   read(f, bw, sizeof(bw));
      |   ^~~~~~~~~~~~~~~~~~~~~~~
mp3s.c: In function 'gethdr':
mp3s.c:76:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
   76 |   read(f, &rdt, 3);
      |   ^~~~~~~~~~~~~~~~
mp3s.c:80:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
   80 |     read(f, &tag, sizeof(tag));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
mp3s.c:123:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  123 |   read(f, buf, 300000);
      |   ^~~~~~~~~~~~~~~~~~~~
mp3s.c:135:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  135 |   r->check[32] = '\0';
      |   ~~~~~~~~~~~~~^~~~~~
In file included from mp3s.c:14:
mp3s.h:41:17: note: at offset 32 into destination object 'check' of size 32
   41 |   unsigned char check[32];
      |                 ^~~~~
--- nap.o ---
cc -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1  -I. -I.   -I/usr/pkg/include/ncurses  -pipe -O2 -I/usr/pkg/include/ncurses -c nap.c
--- scheck.o ---
cc -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1  -I. -I.   -I/usr/pkg/include/ncurses  -pipe -O2 -I/usr/pkg/include/ncurses -c scheck.c
--- nap.o ---
nap.c: In function 'checkhotlist':
nap.c:435:5: warning: implicit declaration of function 'dellist'; did you mean 'dtlist'? [-Wimplicit-function-declaration]
  435 |     dellist(&hlist);
      |     ^~~~~~~
      |     dtlist
nap.c:452:5: warning: implicit declaration of function 'addlink' [-Wimplicit-function-declaration]
  452 |     addlink(&hlist, cur);
      |     ^~~~~~~
nap.c: In function 'main':
nap.c:1226:7: warning: implicit declaration of function 'initfserv'; did you mean 'initfserve'? [-Wimplicit-function-declaration]
 1226 |   if (initfserv(info.port) == -1)
      |       ^~~~~~~~~
      |       initfserve
nap.c:1237:3: warning: implicit declaration of function 'loadhandlers'; did you mean 'dloadhandler'? [-Wimplicit-function-declaration]
 1237 |   loadhandlers("handler");
      |   ^~~~~~~~~~~~
      |   dloadhandler
nap.c:1242:3: warning: implicit declaration of function 'libload' [-Wimplicit-function-declaration]
 1242 |   libload(USERLIB);
      |   ^~~~~~~
nap.c: In function 'resolve':
nap.c:1546:14: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration]
 1546 |   if ((ret = inet_addr(host)) != -1)
      |              ^~~~~~~~~
--- scheck.o ---
scheck.c: In function 'addsock':
scheck.c:64:7: warning: implicit declaration of function 'sendpack' [-Wimplicit-function-declaration]
   64 |       sendpack(sv->s, F_UP, NULL);
      |       ^~~~~~~~
scheck.c: In function 'psocks':
scheck.c:131:5: warning: implicit declaration of function 'wp' [-Wimplicit-function-declaration]
  131 |     wp(win, "%s\n", cur->nm);
      |     ^~
scheck.c:132:3: warning: implicit declaration of function 'drw' [-Wimplicit-function-declaration]
  132 |   drw(win);
      |   ^~~
scheck.c: In function 'sockfunc':
scheck.c:144:5: warning: implicit declaration of function 'dochecks' [-Wimplicit-function-declaration]
  144 |     dochecks();
      |     ^~~~~~~~
--- nap.o ---
nap.c: In function 'checkhotlist':
nap.c:444:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  444 |     fgets(rd, sizeof(rd), f);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
nap.c: In function 'main':
nap.c:1223:3: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result]
 1223 |   pipe(ipcs);
      |   ^~~~~~~~~~
nap.c: In function 'loadchans':
nap.c:1294:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
 1294 |     fgets(buf, sizeof(buf), f);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
nap.c: In function 'rebuild':
nap.c:1380:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
 1380 |     fgets(rd, sizeof(rd), f);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
nap.c: In function 'buildflist':
nap.c:1419:3: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
 1419 |   getcwd(sv, 512);
      |   ^~~~~~~~~~~~~~~
nap.c:1439:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
 1439 |   chdir(sv);
      |   ^~~~~~~~~
nap.c: In function 'gfile':
nap.c:3268:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 3268 |   write(fileno(cur->f), buf, n);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- sscr.o ---
cc -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1  -I. -I.   -I/usr/pkg/include/ncurses  -pipe -O2 -I/usr/pkg/include/ncurses -c sscr.c
--- timer.o ---
cc -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1  -I. -I.   -I/usr/pkg/include/ncurses  -pipe -O2 -I/usr/pkg/include/ncurses -c timer.c
timer.c: In function 'timerlist':
timer.c:56:5: warning: implicit declaration of function 'wp' [-Wimplicit-function-declaration]
   56 |     wp(win, "%s* Timer [%s%i:%02i%s] left:%s %s\n", BRIGHT(BLUE), WHITE, min, sec, BRIGHT(BLUE), WHITE, cur->d);
      |     ^~
timer.c:59:3: warning: implicit declaration of function 'drw' [-Wimplicit-function-declaration]
   59 |   drw(win);
      |   ^~~
timer.c: In function 'pfunc':
timer.c:92:3: warning: implicit declaration of function 'parseout' [-Wimplicit-function-declaration]
   92 |   parseout(t->s, dbuf, t->win);
      |   ^~~~~~~~
--- usercmds.o ---
cc -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1  -I. -I.   -I/usr/pkg/include/ncurses  -pipe -O2 -I/usr/pkg/include/ncurses -c usercmds.c
--- vfuncs.o ---
cc -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1  -I. -I.   -I/usr/pkg/include/ncurses  -pipe -O2 -I/usr/pkg/include/ncurses -c vfuncs.c
--- nap.o ---
In file included from /usr/include/fcntl.h:342,
                 from nap.c:11:
In function 'open',
    inlined from 'main' at nap.c:1139:7:
/usr/include/bits/fcntl2.h:50:11: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
   50 |           __open_missing_mode ();
      |           ^~~~~~~~~~~~~~~~~~~~~~
*** [nap.o] Error code 1

bmake: stopped in /home/pbulk/build/net/nap/work/nap-1.4.4
1 error

bmake: stopped in /home/pbulk/build/net/nap/work/nap-1.4.4
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/nap
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/nap