+ 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] wp(wchan, "|%s|\n", buf); ^~ alias.c:56:3: warning: implicit declaration of function 'drw' [-Wimplicit-function-declaration] drw(wchan); ^~~ alias.c: In function 'doalias': alias.c:385:7: warning: implicit declaration of function 'msprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 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] fgets(buf, sizeof(buf), f); ^~~~~~~~~~~~~~~~~~~~~~~~~~ alias.c:478:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] 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] 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] 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] r = userhandler(s, op, tok, cnt, buf, win); ^~~~~~~~~~~ dclearhandler cmds.c: In function 'parseoutn': cmds.c:844:7: warning: implicit declaration of function 'usercmd'; did you mean 'strcmp'? [-Wimplicit-function-declaration] r = usercmd(s, tok, cnt, t, win); ^~~~~~~ strcmp cmds.c: In function 'spchange': cmds.c:2078:3: warning: implicit declaration of function 'initfserv'; did you mean 'initfserve'? [-Wimplicit-function-declaration] initfserv(atoi(tok[0])); ^~~~~~~~~ initfserve cmds.c: In function 'dreload': cmds.c:3275:3: warning: implicit declaration of function 'libunload'; did you mean 'ddownload'? [-Wimplicit-function-declaration] libunload(&hnd); ^~~~~~~~~ ddownload cmds.c:3276:7: warning: implicit declaration of function 'libload'; did you mean 'dupload'? [-Wimplicit-function-declaration] if (libload(USERLIB) == -1) ^~~~~~~ dupload cmds.c: In function 'snadd': cmds.c:2345:7: 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:5: 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:5: 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:3: 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:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(sock, &sz[i], 1); ^~~~~~~~~~~~~~~~~~~~~ cmds.c:5262:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(sock, &sz[i], 1); ^~~~~~~~~~~~~~~~~~~~~ cmds.c:5268:7: 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 -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] 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] fgets(buf, sizeof(buf), f); ^~~~~~~~~~~~~~~~~~~~~~~~~~ handlers.c:250:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] 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] 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 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 -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 -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] memset(rdt, 0, sizeof(rdt)); ^~~~~~ mp3s.c:75:3: warning: incompatible implicit declaration of built-in function 'memset' mp3s.c:75:3: note: include '' or provide a declaration of 'memset' mp3s.c:15:1: +#include mp3s.c:75:3: memset(rdt, 0, sizeof(rdt)); ^~~~~~ mp3s.c:77:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(rdt, "ID3")) ^~~~~~ mp3s.c: In function 'getrhdr': mp3s.c:41:3: 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:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(f, &rdt, 3); ^~~~~~~~~~~~~~~~ mp3s.c:80:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(f, &tag, sizeof(tag)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ mp3s.c:123:3: 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 -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 scheck.c: In function 'addsock': scheck.c:64:7: warning: implicit declaration of function 'sendpack'; did you mean 'findsock'? [-Wimplicit-function-declaration] sendpack(sv->s, F_UP, NULL); ^~~~~~~~ findsock scheck.c: In function 'psocks': scheck.c:131:5: warning: implicit declaration of function 'wp' [-Wimplicit-function-declaration] wp(win, "%s\n", cur->nm); ^~ scheck.c:132:3: warning: implicit declaration of function 'drw' [-Wimplicit-function-declaration] drw(win); ^~~ scheck.c: In function 'sockfunc': scheck.c:144:5: warning: implicit declaration of function 'dochecks' [-Wimplicit-function-declaration] dochecks(); ^~~~~~~~ --- nap.o --- nap.c: In function 'checkhotlist': nap.c:435:5: warning: implicit declaration of function 'dellist'; did you mean 'dtlist'? [-Wimplicit-function-declaration] dellist(&hlist); ^~~~~~~ dtlist nap.c:452:5: warning: implicit declaration of function 'addlink'; did you mean 'addlog'? [-Wimplicit-function-declaration] addlink(&hlist, cur); ^~~~~~~ addlog nap.c: In function 'main': nap.c:1226:7: warning: implicit declaration of function 'initfserv'; did you mean 'initfserve'? [-Wimplicit-function-declaration] if (initfserv(info.port) == -1) ^~~~~~~~~ initfserve nap.c:1237:3: warning: implicit declaration of function 'loadhandlers'; did you mean 'dloadhandler'? [-Wimplicit-function-declaration] loadhandlers("handler"); ^~~~~~~~~~~~ dloadhandler nap.c:1242:3: warning: implicit declaration of function 'libload'; did you mean 'dupload'? [-Wimplicit-function-declaration] libload(USERLIB); ^~~~~~~ dupload nap.c: In function 'resolve': nap.c:1546:14: warning: implicit declaration of function 'inet_addr'; did you mean 'init_pair'? [-Wimplicit-function-declaration] if ((ret = inet_addr(host)) != -1) ^~~~~~~~~ init_pair nap.c: In function 'checkhotlist': nap.c:444:5: 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:3: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] 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] 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] 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] getcwd(sv, 512); ^~~~~~~~~~~~~~~ nap.c:1439:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] 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] 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] 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] drw(win); ^~~ timer.c: In function 'pfunc': timer.c:92:3: warning: implicit declaration of function 'parseout'; did you mean 'wtimeout'? [-Wimplicit-function-declaration] parseout(t->s, dbuf, t->win); ^~~~~~~~ wtimeout --- 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:328, from nap.c:11: In function 'open', inlined from 'main' at nap.c:1139:7: /usr/include/bits/fcntl2.h:50:4: 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 (); ^~~~~~~~~~~~~~~~~~~~~~ *** [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-el8-trunk-x86_64/net/nap *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/nap