+ 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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -c cmds.c
--- alias.o ---
alias.c: In function 'loadaliases':
alias.c:461:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
     fgets(buf, sizeof(buf), f);
          ^
alias.c:478:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
       fgets(buf+strlen(buf), sizeof(buf), f);
            ^
alias.c:497:16: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
           fgets(tb, sizeof(tb), f);
                ^
alias.c: In function 'loadsets':
alias.c:569:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
     fgets(buf, sizeof(buf), f);
          ^
--- cmds.o ---
cmds.c: In function 'snadd':
cmds.c:2345:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
       fgets(rd, sizeof(rd), f);
            ^
cmds.c: In function 'dnotify':
cmds.c:4191:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
     fgets(rd, sizeof(rd), f);
          ^
cmds.c: In function 'dunnotify':
cmds.c:4241:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
     fgets(rd, sizeof(rd), f);
          ^
cmds.c: In function 'dexec':
cmds.c:4615:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
   fread(&buf, sizeof(buf)-1, 1, f);
        ^
cmds.c: In function 'dupdate':
cmds.c:5242:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
       read(sock, &sz[i], 1);
           ^
cmds.c:5262:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
       read(sock, &sz[i], 1);
           ^
cmds.c:5268:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
       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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -c handlers.c
handlers.c: In function 'loadhandlers':
handlers.c:233:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
     fgets(buf, sizeof(buf), f);
          ^
handlers.c:250:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
       fgets(buf+strlen(buf), sizeof(buf), f);
            ^
handlers.c:269:16: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
           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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -c lists.c
lists.c: In function '_findlink':
lists.c:72:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     pd = (unsigned int)p;
          ^
lists.c:73:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     hd = (unsigned int)h->d;
          ^
lists.c:80:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     pd = (unsigned int)p;
          ^
lists.c:89:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     str = (void *)(*(int *)(cur->d));
           ^
lists.c:93:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       if (*pt == (int)d)
                  ^
--- 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 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -c md5.c
--- 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 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -c mp3s.c
mp3s.c: In function 'gethdr':
mp3s.c:75:3: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
   memset(rdt, 0, sizeof(rdt));
   ^
mp3s.c: In function 'getrhdr':
mp3s.c:41:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
   read(f, bw, sizeof(bw));
       ^
mp3s.c: In function 'gethdr':
mp3s.c:76:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
   read(f, &rdt, 3);
       ^
mp3s.c:80:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
     read(f, &tag, sizeof(tag));
         ^
mp3s.c:123:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
   read(f, buf, 300000);
       ^
--- 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 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -c nap.c
nap.c: In function 'checkhotlist':
nap.c:444:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
     fgets(rd, sizeof(rd), f);
          ^
nap.c: In function 'main':
nap.c:1223:7: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result]
   pipe(ipcs);
       ^
nap.c: In function 'loadchans':
nap.c:1294:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
     fgets(buf, sizeof(buf), f);
          ^
nap.c: In function 'rebuild':
nap.c:1380:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
     fgets(rd, sizeof(rd), f);
          ^
nap.c: In function 'buildflist':
nap.c:1419:9: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result]
   getcwd(sv, 512);
         ^
nap.c:1439:8: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
   chdir(sv);
        ^
nap.c: In function 'gfile':
nap.c:3268:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(fileno(cur->f), buf, n);
        ^
--- 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 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -c scheck.c
--- 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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -c timer.c
--- 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 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -c usercmds.c
--- nap.o ---
In file included from /usr/include/fcntl.h:306:0,
                 from nap.c:11:
In function 'open',
    inlined from 'main' at nap.c:1139:5:
/usr/include/bits/fcntl2.h:50:24: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
    __open_missing_mode ();
                        ^
--- 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 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -c vfuncs.c
--- nap.o ---
*** [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-el7-trunk-x86_64/net/nap
*** Error code 1

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