+ 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 [enabled by default] #undef SHOW() ^ ../src/main.c: In function 'daemonuid': ../src/main.c:55:10: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(uid, euid); ^ ../src/main.c:56:10: 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:10: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(egid, gid); ^ ../src/main.c:74:10: 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:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd1, buf, len); ^ ../src/main.c:658:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd0, buf, len); ^ ../src/main.c:702:10: 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 'scrn_beep': ../src/scrn.c:103:7: 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_status': ../src/log.c:153:12: warning: extra tokens at end of #undef directive [enabled by default] #undef SHOW() ^ ../src/log.c: In function 'log_flush': ../src/log.c:32:7: 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 --- cc -c -O -I. -I./../include -pipe -O2 -I/usr/pkg/include/ncurses -I/usr/pkg/include/ncurses -c ../src/uucplock.c --- binlog.o --- ../src/binlog.c: In function 'binlog_flush': ../src/binlog.c:31:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(binlog_fd[line], binlog_buf[line], binlog_idx[line]); ^ --- 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+0x35b): undefined reference to `stdscr' main.c:(.text+0x360): undefined reference to `wmove' main.c:(.text+0x367): undefined reference to `stdscr' main.c:(.text+0x36c): undefined reference to `wclrtoeol' main.c:(.text+0x37c): undefined reference to `stdscr' main.c:(.text+0x38b): undefined reference to `waddnstr' main.c:(.text+0x392): undefined reference to `stdscr' main.c:(.text+0x399): undefined reference to `wattrset' main.c:(.text+0x3a0): undefined reference to `stdscr' main.c:(.text+0x3aa): undefined reference to `waddch' main.c:(.text+0x3ba): undefined reference to `stdscr' main.c:(.text+0x3c9): undefined reference to `waddnstr' main.c:(.text+0x3d0): undefined reference to `stdscr' main.c:(.text+0x3d7): undefined reference to `wattrset' main.c:(.text+0x3de): undefined reference to `stdscr' main.c:(.text+0x3e8): undefined reference to `waddch' main.c:(.text+0x3f8): undefined reference to `stdscr' main.c:(.text+0x407): undefined reference to `waddnstr' main.c:(.text+0x40e): undefined reference to `stdscr' main.c:(.text+0x415): undefined reference to `wattrset' main.c:(.text+0x41c): undefined reference to `stdscr' main.c:(.text+0x426): undefined reference to `waddch' main.c:(.text+0x436): undefined reference to `stdscr' main.c:(.text+0x445): undefined reference to `waddnstr' main.c:(.text+0x44c): undefined reference to `stdscr' main.c:(.text+0x453): undefined reference to `wattrset' main.c:(.text+0x45a): undefined reference to `stdscr' main.c:(.text+0x464): undefined reference to `waddch' main.c:(.text+0x474): undefined reference to `stdscr' main.c:(.text+0x483): undefined reference to `waddnstr' main.c:(.text+0x48a): undefined reference to `stdscr' main.c:(.text+0x491): undefined reference to `wattrset' main.c:(.text+0x498): undefined reference to `stdscr' main.c:(.text+0x4a2): undefined reference to `waddch' main.c:(.text+0x4b2): undefined reference to `stdscr' main.c:(.text+0x4c1): undefined reference to `waddnstr' main.c:(.text+0x4c8): undefined reference to `stdscr' main.c:(.text+0x4cf): undefined reference to `wattrset' main.c:(.text+0x4d6): undefined reference to `stdscr' main.c:(.text+0x4e0): undefined reference to `waddch' main.c:(.text+0x4f0): undefined reference to `stdscr' main.c:(.text+0x4ff): undefined reference to `waddnstr' main.c:(.text+0x506): undefined reference to `stdscr' main.c:(.text+0x50d): undefined reference to `wattrset' main.c:(.text+0x514): undefined reference to `stdscr' main.c:(.text+0x51e): undefined reference to `waddch' main.c:(.text+0x52e): undefined reference to `stdscr' main.c:(.text+0x53d): undefined reference to `waddnstr' main.c:(.text+0x544): undefined reference to `stdscr' main.c:(.text+0x54b): undefined reference to `wattrset' main.c:(.text+0x552): undefined reference to `stdscr' main.c:(.text+0x55c): undefined reference to `waddch' main.c:(.text+0x568): undefined reference to `stdscr' main.c:(.text+0x572): undefined reference to `wattrset' main.c:(.text+0x579): undefined reference to `stdscr' main.c:(.text+0x588): undefined reference to `waddnstr' main.c:(.text+0x58f): undefined reference to `stdscr' main.c:(.text+0x596): undefined reference to `wattrset' main.c:(.text+0x59d): undefined reference to `stdscr' main.c:(.text+0x5a7): undefined reference to `waddch' main.c:(.text+0x5d3): undefined reference to `stdscr' main.c:(.text+0x5dd): undefined reference to `wattrset' main.c:(.text+0x5f3): undefined reference to `stdscr' main.c:(.text+0x5fd): undefined reference to `wattrset' main.c:(.text+0x613): undefined reference to `stdscr' main.c:(.text+0x61d): undefined reference to `wattrset' main.c:(.text+0x633): undefined reference to `stdscr' main.c:(.text+0x63d): undefined reference to `wattrset' main.c:(.text+0x653): undefined reference to `stdscr' main.c:(.text+0x65d): undefined reference to `wattrset' main.c:(.text+0x673): undefined reference to `stdscr' main.c:(.text+0x67d): undefined reference to `wattrset' main.c:(.text+0x693): undefined reference to `stdscr' main.c:(.text+0x69d): undefined reference to `wattrset' main.c:(.text+0x6b3): undefined reference to `stdscr' main.c:(.text+0x6bd): undefined reference to `wattrset' main.o: In function `echoback_init': main.c:(.text+0x6de): undefined reference to `stdscr' main.c:(.text+0x717): undefined reference to `wmove' main.c:(.text+0x72b): undefined reference to `stdscr' main.c:(.text+0x739): undefined reference to `waddch' main.o: In function `echoback': main.c:(.text+0x779): undefined reference to `stdscr' main.c:(.text+0x77e): undefined reference to `wmove' main.c:(.text+0x7b8): undefined reference to `stdscr' main.c:(.text+0x7c6): undefined reference to `wmove' main.c:(.text+0x83e): undefined reference to `stdscr' main.c:(.text+0x84a): undefined reference to `wmove' main.c:(.text+0x851): undefined reference to `stdscr' main.c:(.text+0x85b): undefined reference to `winsdelln' main.c:(.text+0x862): undefined reference to `stdscr' main.c:(.text+0x86c): undefined reference to `winsdelln' main.c:(.text+0x873): undefined reference to `stdscr' main.c:(.text+0x87d): undefined reference to `winsdelln' main.c:(.text+0x88a): undefined reference to `stdscr' main.c:(.text+0x894): undefined reference to `wmove' main.c:(.text+0x89b): undefined reference to `stdscr' main.c:(.text+0x8a5): undefined reference to `winsdelln' main.c:(.text+0x8ac): undefined reference to `stdscr' main.c:(.text+0x8b6): undefined reference to `winsdelln' main.c:(.text+0x8bd): undefined reference to `stdscr' main.c:(.text+0x8c7): undefined reference to `winsdelln' main.c:(.text+0x8e3): undefined reference to `stdscr' main.c:(.text+0x926): undefined reference to `stdscr' main.c:(.text+0x932): undefined reference to `wmove' main.c:(.text+0x939): undefined reference to `stdscr' main.c:(.text+0x943): undefined reference to `winsdelln' main.c:(.text+0x94a): undefined reference to `stdscr' main.c:(.text+0x954): undefined reference to `winsdelln' main.c:(.text+0x95b): undefined reference to `stdscr' main.c:(.text+0x965): undefined reference to `winsdelln' main.c:(.text+0x972): undefined reference to `stdscr' main.c:(.text+0x97c): undefined reference to `wmove' main.c:(.text+0x983): undefined reference to `stdscr' main.c:(.text+0x98d): undefined reference to `winsdelln' main.c:(.text+0x994): undefined reference to `stdscr' main.c:(.text+0x99e): undefined reference to `winsdelln' main.c:(.text+0x9a5): undefined reference to `stdscr' main.c:(.text+0x9af): undefined reference to `winsdelln' main.c:(.text+0x9d3): undefined reference to `stdscr' main.c:(.text+0x9e1): undefined reference to `wattrset' main.c:(.text+0x9f1): undefined reference to `printw' main.c:(.text+0x9f8): undefined reference to `stdscr' main.c:(.text+0x9ff): undefined reference to `wattrset' main.c:(.text+0xa23): undefined reference to `stdscr' main.c:(.text+0xa2b): undefined reference to `waddch' main.c:(.text+0xa53): undefined reference to `stdscr' main.c:(.text+0xa5d): undefined reference to `wattrset' main.c:(.text+0xa64): undefined reference to `stdscr' main.c:(.text+0xa6e): undefined reference to `waddch' main.c:(.text+0xa75): undefined reference to `stdscr' main.c:(.text+0xa7c): undefined reference to `wattrset' main.o: In function `msg': main.c:(.text+0xa9d): undefined reference to `stdscr' main.c:(.text+0xaa7): undefined reference to `wmove' main.c:(.text+0xaae): undefined reference to `stdscr' main.c:(.text+0xab3): undefined reference to `wclrtoeol' main.c:(.text+0xaba): undefined reference to `stdscr' main.c:(.text+0xac7): undefined reference to `waddnstr' main.o: In function `ask': main.c:(.text+0xae8): undefined reference to `stdscr' main.c:(.text+0xaf0): undefined reference to `wmove' main.c:(.text+0xaf7): undefined reference to `stdscr' main.c:(.text+0xafc): undefined reference to `wclrtoeol' main.c:(.text+0xb03): undefined reference to `stdscr' main.c:(.text+0xb10): undefined reference to `waddnstr' main.c:(.text+0xb2e): undefined reference to `stdscr' main.c:(.text+0xb33): undefined reference to `wrefresh' main.c:(.text+0xb3a): undefined reference to `stdscr' main.c:(.text+0xb3f): undefined reference to `wgetch' main.c:(.text+0xb6b): undefined reference to `stdscr' main.c:(.text+0xb75): undefined reference to `wmove' main.c:(.text+0xb7c): undefined reference to `stdscr' main.c:(.text+0xb81): undefined reference to `wclrtoeol' main.c:(.text+0xba3): undefined reference to `stdscr' main.c:(.text+0xbbc): undefined reference to `wmove' main.c:(.text+0xbc3): undefined reference to `stdscr' main.c:(.text+0xbc8): undefined reference to `wclrtoeol' main.c:(.text+0xc03): undefined reference to `stdscr' main.c:(.text+0xc25): undefined reference to `wmove' main.c:(.text+0xc2c): undefined reference to `stdscr' main.c:(.text+0xc36): undefined reference to `waddch' main.c:(.text+0xc3d): undefined reference to `stdscr' main.c:(.text+0xc47): undefined reference to `wmove' main.c:(.text+0xc78): undefined reference to `stdscr' main.c:(.text+0xc7f): undefined reference to `waddch' main.o: In function `cmd': main.c:(.text+0xcd9): undefined reference to `stdscr' main.c:(.text+0xcde): undefined reference to `wgetch' main.c:(.text+0xe53): undefined reference to `stdscr' main.c:(.text+0xe5d): undefined reference to `wclear' main.o: In function `mainloop': main.c:(.text+0x1203): undefined reference to `stdscr' main.c:(.text+0x120c): undefined reference to `wmove' main.c:(.text+0x1213): undefined reference to `stdscr' main.c:(.text+0x1218): undefined reference to `wrefresh' main.c:(.text+0x149b): undefined reference to `stdscr' main.c:(.text+0x14a0): undefined reference to `wgetch' main.c:(.text+0x1573): undefined reference to `stdscr' main.c:(.text+0x1578): undefined reference to `wgetch' main.c:(.text+0x1584): undefined reference to `stdscr' main.c:(.text+0x1589): undefined reference to `wgetch' main.c:(.text+0x15a6): undefined reference to `stdscr' main.c:(.text+0x15ab): undefined reference to `wgetch' main.o: In function `showstatus': main.c:(.text+0x5c5): undefined reference to `printw' main.o: In function `echoback': main.c:(.text+0x8f8): undefined reference to `wmove' scrn.o: In function `hdl_sigwinch': scrn.c:(.text+0x37): undefined reference to `tgetnum' scrn.c:(.text+0x4c): undefined reference to `tgetnum' scrn.o: In function `scrn_init': scrn.c:(.text+0xa5): undefined reference to `initscr' scrn.c:(.text+0xaa): undefined reference to `noecho' scrn.c:(.text+0xaf): undefined reference to `nonl' scrn.c:(.text+0xb4): undefined reference to `raw' scrn.o: In function `scrn_end': scrn.c:(.text+0xe1): 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-el7-trunk-x86_64/comms/snooper *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/comms/snooper