+ 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/snooper-19991202nb5/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/snooper-19991202nb5/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for snooper-19991202nb5 --- main.o --- --- scrn.o --- --- main.o --- cc -c -O -I. -I./../include -pipe -O2 -I/usr/pkg/include/ncurses -I/usr/pkg/include/ncurses -c ../src/main.c --- scrn.o --- cc -c -O -I. -I./../include -pipe -O2 -I/usr/pkg/include/ncurses -I/usr/pkg/include/ncurses -c ../src/scrn.c --- main.o --- ../src/main.c: In function 'showstatus': ../src/main.c:241:12: warning: extra tokens at end of #undef directive #undef SHOW() ^ ../src/main.c: In function 'echoback': ../src/main.c:298:31: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] } else if (buf[i] != ' ' && isprint(buf[i])) { ^~~~~~~ ../src/main.c: In function 'mainloop': ../src/main.c:636:4: warning: implicit declaration of function 'log_flush'; did you mean 'noqiflush'? [-Wimplicit-function-declaration] log_flush(); ^~~~~~~~~ noqiflush ../src/main.c:637:4: warning: implicit declaration of function 'binlog_flush'; did you mean 'binlog_write'? [-Wimplicit-function-declaration] binlog_flush(0); ^~~~~~~~~~~~ binlog_write ../src/main.c:677:10: warning: implicit declaration of function 'islower' [-Wimplicit-function-declaration] if (islower(c1)) ^~~~~~~ ../src/main.c:678:12: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] c1 = toupper(c1); ^~~~~~~ ../src/main.c: In function 'daemonuid': ../src/main.c:55:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(uid, euid); ^~~~~~~~~~~~~~~~~~~ ../src/main.c:56:2: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(gid, egid); ^~~~~~~~~~~~~~~~~~~ ../src/main.c: In function 'useruid': ../src/main.c:73:2: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(egid, gid); ^~~~~~~~~~~~~~~~~~~ ../src/main.c:74:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(euid, uid); ^~~~~~~~~~~~~~~~~~~ ../src/main.c: In function 'mainloop': ../src/main.c:650:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd1, buf, len); ^~~~~~~~~~~~~~~~~~~~ ../src/main.c:658:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd0, buf, len); ^~~~~~~~~~~~~~~~~~~~ ../src/main.c:702:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(consconnect == 0 ? fd1 : fd0, buf, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- scrn.o --- ../src/scrn.c: In function 'hdl_sigwinch': ../src/scrn.c:56:21: warning: implicit declaration of function 'tgetnum'; did you mean 'tigetnum'? [-Wimplicit-function-declaration] if (0 <= (rval = tgetnum("li"))) ^~~~~~~ tigetnum ../src/scrn.c: In function 'scrn_beep': ../src/scrn.c:103:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, "\007", 1); ^~~~~~~~~~~~~~~~~~~ --- log.o --- cc -c -O -I. -I./../include -pipe -O2 -I/usr/pkg/include/ncurses -I/usr/pkg/include/ncurses -c ../src/log.c ../src/log.c: In function 'log_write': ../src/log.c:104:7: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] if (isprint(buf[i])) { ^~~~~~~ ../src/log.c: In function 'log_status': ../src/log.c:153:12: warning: extra tokens at end of #undef directive #undef SHOW() ^ ../src/log.c: In function 'log_flush': ../src/log.c:32:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(log_fd, log_buf, log_idx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- binlog.o --- cc -c -O -I. -I./../include -pipe -O2 -I/usr/pkg/include/ncurses -I/usr/pkg/include/ncurses -c ../src/binlog.c --- uucplock.o --- --- binlog.o --- ../src/binlog.c: In function 'binlog_flush': ../src/binlog.c:31:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(binlog_fd[line], binlog_buf[line], binlog_idx[line]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- uucplock.o --- cc -c -O -I. -I./../include -pipe -O2 -I/usr/pkg/include/ncurses -I/usr/pkg/include/ncurses -c ../src/uucplock.c ../src/uucplock.c:57:1: warning: return type defaults to 'int' [-Wimplicit-int] uu_lock(ttyname) ^~~~~~~ ../src/uucplock.c: In function 'uu_lock': ../src/uucplock.c:80:7: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] if (read(fd, &pid, sizeof(pid)) != sizeof(pid)) { ^~~~ fread ../src/uucplock.c:81:10: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void)close(fd); ^~~~~ pclose ../src/uucplock.c:86:7: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration] if (kill(pid, 0) == 0 || errno != ESRCH) { ^~~~ ../src/uucplock.c:101:8: warning: implicit declaration of function 'getpid'; did you mean 'fgetpos'? [-Wimplicit-function-declaration] pid = getpid(); ^~~~~~ fgetpos ../src/uucplock.c:102:6: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if (write(fd, (char *)&pid, sizeof(pid)) != sizeof(pid)) { ^~~~~ fwrite ../src/uucplock.c:104:9: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] (void)unlink(tbuf); ^~~~~~ unix ../src/uucplock.c: At top level: ../src/uucplock.c:112:1: warning: return type defaults to 'int' [-Wimplicit-int] uu_unlock(ttyname) ^~~~~~~~~ --- snooper --- cc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o snooper main.o scrn.o log.o binlog.o uucplock.o main.o: In function `showstatus': main.c:(.text+0x33b): undefined reference to `stdscr' main.c:(.text+0x340): undefined reference to `wmove' main.c:(.text+0x347): undefined reference to `stdscr' main.c:(.text+0x34c): undefined reference to `wclrtoeol' main.c:(.text+0x35c): undefined reference to `stdscr' main.c:(.text+0x36b): undefined reference to `waddnstr' main.c:(.text+0x372): undefined reference to `stdscr' main.c:(.text+0x379): undefined reference to `wattrset' main.c:(.text+0x380): undefined reference to `stdscr' main.c:(.text+0x38a): undefined reference to `waddch' main.c:(.text+0x39a): undefined reference to `stdscr' main.c:(.text+0x3a9): undefined reference to `waddnstr' main.c:(.text+0x3b0): undefined reference to `stdscr' main.c:(.text+0x3b7): undefined reference to `wattrset' main.c:(.text+0x3be): undefined reference to `stdscr' main.c:(.text+0x3c8): undefined reference to `waddch' main.c:(.text+0x3d8): undefined reference to `stdscr' main.c:(.text+0x3e7): undefined reference to `waddnstr' main.c:(.text+0x3ee): undefined reference to `stdscr' main.c:(.text+0x3f5): undefined reference to `wattrset' main.c:(.text+0x3fc): undefined reference to `stdscr' main.c:(.text+0x406): undefined reference to `waddch' main.c:(.text+0x416): undefined reference to `stdscr' main.c:(.text+0x425): undefined reference to `waddnstr' main.c:(.text+0x42c): undefined reference to `stdscr' main.c:(.text+0x433): undefined reference to `wattrset' main.c:(.text+0x43a): undefined reference to `stdscr' main.c:(.text+0x444): undefined reference to `waddch' main.c:(.text+0x454): undefined reference to `stdscr' main.c:(.text+0x463): undefined reference to `waddnstr' main.c:(.text+0x46a): undefined reference to `stdscr' main.c:(.text+0x471): undefined reference to `wattrset' main.c:(.text+0x478): undefined reference to `stdscr' main.c:(.text+0x482): undefined reference to `waddch' main.c:(.text+0x492): undefined reference to `stdscr' main.c:(.text+0x4a1): undefined reference to `waddnstr' main.c:(.text+0x4a8): undefined reference to `stdscr' main.c:(.text+0x4af): undefined reference to `wattrset' main.c:(.text+0x4b6): undefined reference to `stdscr' main.c:(.text+0x4c0): undefined reference to `waddch' main.c:(.text+0x4d0): undefined reference to `stdscr' main.c:(.text+0x4df): undefined reference to `waddnstr' main.c:(.text+0x4e6): undefined reference to `stdscr' main.c:(.text+0x4ed): undefined reference to `wattrset' main.c:(.text+0x4f4): undefined reference to `stdscr' main.c:(.text+0x4fe): undefined reference to `waddch' main.c:(.text+0x50e): undefined reference to `stdscr' main.c:(.text+0x51d): undefined reference to `waddnstr' main.c:(.text+0x524): undefined reference to `stdscr' main.c:(.text+0x52b): undefined reference to `wattrset' main.c:(.text+0x532): undefined reference to `stdscr' main.c:(.text+0x53c): undefined reference to `waddch' main.c:(.text+0x548): undefined reference to `stdscr' main.c:(.text+0x557): undefined reference to `waddnstr' main.c:(.text+0x55e): undefined reference to `stdscr' main.c:(.text+0x565): undefined reference to `wattrset' main.c:(.text+0x56c): undefined reference to `stdscr' main.c:(.text+0x576): undefined reference to `waddch' main.c:(.text+0x5a3): undefined reference to `stdscr' main.c:(.text+0x5ad): undefined reference to `wattrset' main.c:(.text+0x5c3): undefined reference to `stdscr' main.c:(.text+0x5cd): undefined reference to `wattrset' main.c:(.text+0x5e3): undefined reference to `stdscr' main.c:(.text+0x5ed): undefined reference to `wattrset' main.c:(.text+0x603): undefined reference to `stdscr' main.c:(.text+0x60d): undefined reference to `wattrset' main.c:(.text+0x623): undefined reference to `stdscr' main.c:(.text+0x62d): undefined reference to `wattrset' main.c:(.text+0x643): undefined reference to `stdscr' main.c:(.text+0x64d): undefined reference to `wattrset' main.c:(.text+0x663): undefined reference to `stdscr' main.c:(.text+0x66d): undefined reference to `wattrset' main.c:(.text+0x683): undefined reference to `stdscr' main.c:(.text+0x68d): undefined reference to `wattrset' main.c:(.text+0x6a3): undefined reference to `stdscr' main.c:(.text+0x6ad): undefined reference to `wattrset' main.o: In function `echoback_init': main.c:(.text+0x6d4): undefined reference to `stdscr' main.c:(.text+0x705): undefined reference to `wmove' main.c:(.text+0x71b): undefined reference to `stdscr' main.c:(.text+0x729): undefined reference to `waddch' main.o: In function `echoback': main.c:(.text+0x769): undefined reference to `stdscr' main.c:(.text+0x76e): undefined reference to `wmove' main.c:(.text+0x781): undefined reference to `stdscr' main.c:(.text+0x7c6): undefined reference to `wmove' main.c:(.text+0x7e7): undefined reference to `stdscr' main.c:(.text+0x868): undefined reference to `wmove' main.c:(.text+0x86f): undefined reference to `stdscr' main.c:(.text+0x879): undefined reference to `winsdelln' main.c:(.text+0x880): undefined reference to `stdscr' main.c:(.text+0x88a): undefined reference to `winsdelln' main.c:(.text+0x891): undefined reference to `stdscr' main.c:(.text+0x89b): undefined reference to `winsdelln' main.c:(.text+0x8a8): undefined reference to `stdscr' main.c:(.text+0x8b2): undefined reference to `wmove' main.c:(.text+0x8b9): undefined reference to `stdscr' main.c:(.text+0x8c3): undefined reference to `winsdelln' main.c:(.text+0x8ca): undefined reference to `stdscr' main.c:(.text+0x8d4): undefined reference to `winsdelln' main.c:(.text+0x8db): undefined reference to `stdscr' main.c:(.text+0x8e5): undefined reference to `winsdelln' main.c:(.text+0x8f2): undefined reference to `stdscr' main.c:(.text+0x90c): undefined reference to `waddch' main.c:(.text+0x923): undefined reference to `stdscr' main.c:(.text+0x93b): undefined reference to `stdscr' main.c:(.text+0x945): undefined reference to `wattrset' main.c:(.text+0x94c): undefined reference to `stdscr' main.c:(.text+0x956): undefined reference to `waddch' main.c:(.text+0x95d): undefined reference to `stdscr' main.c:(.text+0x964): undefined reference to `wattrset' main.c:(.text+0x97a): undefined reference to `wattrset' main.c:(.text+0x98a): undefined reference to `printw' main.c:(.text+0x991): undefined reference to `stdscr' main.c:(.text+0x998): undefined reference to `wattrset' main.c:(.text+0x9ab): undefined reference to `stdscr' main.c:(.text+0x9c8): undefined reference to `wmove' main.c:(.text+0x9cf): undefined reference to `stdscr' main.c:(.text+0x9d9): undefined reference to `winsdelln' main.c:(.text+0x9e0): undefined reference to `stdscr' main.c:(.text+0x9ea): undefined reference to `winsdelln' main.c:(.text+0x9f1): undefined reference to `stdscr' main.c:(.text+0x9fb): undefined reference to `winsdelln' main.c:(.text+0xa08): undefined reference to `stdscr' main.c:(.text+0xa12): undefined reference to `wmove' main.c:(.text+0xa19): undefined reference to `stdscr' main.c:(.text+0xa23): undefined reference to `winsdelln' main.c:(.text+0xa2a): undefined reference to `stdscr' main.c:(.text+0xa34): undefined reference to `winsdelln' main.c:(.text+0xa3b): undefined reference to `stdscr' main.c:(.text+0xa45): undefined reference to `winsdelln' main.c:(.text+0xa52): undefined reference to `stdscr' main.o: In function `msg': main.c:(.text+0xa7f): undefined reference to `stdscr' main.c:(.text+0xa87): undefined reference to `wmove' main.c:(.text+0xa8e): undefined reference to `stdscr' main.c:(.text+0xa93): undefined reference to `wclrtoeol' main.c:(.text+0xa9a): undefined reference to `stdscr' main.c:(.text+0xaa7): undefined reference to `waddnstr' main.o: In function `ask': main.c:(.text+0xad8): undefined reference to `stdscr' main.c:(.text+0xae0): undefined reference to `wmove' main.c:(.text+0xae7): undefined reference to `stdscr' main.c:(.text+0xaec): undefined reference to `wclrtoeol' main.c:(.text+0xaf3): undefined reference to `stdscr' main.c:(.text+0xb00): undefined reference to `waddnstr' main.c:(.text+0xb1c): undefined reference to `stdscr' main.c:(.text+0xb21): undefined reference to `wrefresh' main.c:(.text+0xb28): undefined reference to `stdscr' main.c:(.text+0xb2d): undefined reference to `wgetch' main.c:(.text+0xb5b): undefined reference to `stdscr' main.c:(.text+0xb65): undefined reference to `wmove' main.c:(.text+0xb6c): undefined reference to `stdscr' main.c:(.text+0xb71): undefined reference to `wclrtoeol' main.c:(.text+0xb9b): undefined reference to `stdscr' main.c:(.text+0xbb4): undefined reference to `wmove' main.c:(.text+0xbbb): undefined reference to `stdscr' main.c:(.text+0xbc0): undefined reference to `wclrtoeol' main.c:(.text+0xbf3): undefined reference to `stdscr' main.c:(.text+0xc19): undefined reference to `wmove' main.c:(.text+0xc20): undefined reference to `stdscr' main.c:(.text+0xc2a): undefined reference to `waddch' main.c:(.text+0xc31): undefined reference to `stdscr' main.c:(.text+0xc3c): undefined reference to `wmove' main.c:(.text+0xc5d): undefined reference to `stdscr' main.c:(.text+0xc65): undefined reference to `waddch' main.o: In function `cmd': main.c:(.text+0xcb9): undefined reference to `stdscr' main.c:(.text+0xcbe): undefined reference to `wgetch' main.c:(.text+0xd42): undefined reference to `stdscr' main.c:(.text+0xd4c): undefined reference to `wclear' main.o: In function `mainloop': main.c:(.text+0x11b3): undefined reference to `stdscr' main.c:(.text+0x11bc): undefined reference to `wmove' main.c:(.text+0x11c3): undefined reference to `stdscr' main.c:(.text+0x11c8): undefined reference to `wrefresh' main.c:(.text+0x145b): undefined reference to `stdscr' main.c:(.text+0x1460): undefined reference to `wgetch' main.c:(.text+0x1513): undefined reference to `stdscr' main.c:(.text+0x1518): undefined reference to `wgetch' main.c:(.text+0x1535): undefined reference to `stdscr' main.c:(.text+0x153a): undefined reference to `wgetch' main.c:(.text+0x15cd): undefined reference to `stdscr' main.c:(.text+0x15d2): undefined reference to `wgetch' main.o: In function `showstatus': main.c:(.text+0x594): undefined reference to `printw' main.o: In function `echoback': main.c:(.text+0x855): undefined reference to `wmove' scrn.o: In function `hdl_sigwinch': scrn.c:(.text+0x3f): undefined reference to `tgetnum' scrn.c:(.text+0x54): undefined reference to `tgetnum' scrn.o: In function `scrn_init': scrn.c:(.text+0x95): undefined reference to `initscr' scrn.c:(.text+0x9a): undefined reference to `noecho' scrn.c:(.text+0x9f): undefined reference to `nonl' scrn.c:(.text+0xa4): undefined reference to `raw' scrn.o: In function `scrn_end': scrn.c:(.text+0xd1): undefined reference to `endwin' collect2: error: ld returned 1 exit status *** [snooper] Error code 1 bmake: stopped in /home/pbulk/build/comms/snooper/work/snooper/build 1 error bmake: stopped in /home/pbulk/build/comms/snooper/work/snooper/build *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/comms/snooper *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/comms/snooper