+ 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/kterm-6.2.0nb24/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/kterm-6.2.0nb24/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for kterm-6.2.0nb24 --- button.o --- --- kfontlist.c --- --- button.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -I/usr/pkg/include -I/usr/pkg/include/ncurses -c button.c --- kfontlist.c --- m4 kfontlist.m4 > kfontlist.c --- cursor.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -I/usr/pkg/include -I/usr/pkg/include/ncurses -c cursor.c --- data.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -I/usr/pkg/include -I/usr/pkg/include/ncurses -c data.c --- input.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -I/usr/pkg/include -I/usr/pkg/include/ncurses -c input.c --- main.o --- rm -f main.o --- menu.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -I/usr/pkg/include -I/usr/pkg/include/ncurses -c menu.c --- main.o --- cc -c -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DUTMP -DUSE_TTY_GROUP -DOSMAJORVERSION=3 -DOSMINORVERSION=10 main.c main.c: In function 'main': main.c:1225:18: error: 'ICRNL' undeclared (first use in this function) d_tio.c_iflag = ICRNL|IXON; ^ main.c:1225:18: note: each undeclared identifier is reported only once for each function it appears in main.c:1225:24: error: 'IXON' undeclared (first use in this function) d_tio.c_iflag = ICRNL|IXON; ^ main.c:1226:18: error: 'OPOST' undeclared (first use in this function) d_tio.c_oflag = OPOST; ^ main.c:1282:22: error: 'B9600' undeclared (first use in this function) d_tio.c_cflag = B9600|CS8|CREAD|PARENB|HUPCL; ^ main.c:1282:28: error: 'CS8' undeclared (first use in this function) d_tio.c_cflag = B9600|CS8|CREAD|PARENB|HUPCL; ^ main.c:1282:32: error: 'CREAD' undeclared (first use in this function) d_tio.c_cflag = B9600|CS8|CREAD|PARENB|HUPCL; ^ main.c:1282:38: error: 'PARENB' undeclared (first use in this function) d_tio.c_cflag = B9600|CS8|CREAD|PARENB|HUPCL; ^ main.c:1282:45: error: 'HUPCL' undeclared (first use in this function) d_tio.c_cflag = B9600|CS8|CREAD|PARENB|HUPCL; ^ main.c:1289:22: error: 'ISIG' undeclared (first use in this function) d_tio.c_lflag = ISIG|ICANON|ECHO|ECHOE|ECHOK; ^ main.c:1289:27: error: 'ICANON' undeclared (first use in this function) d_tio.c_lflag = ISIG|ICANON|ECHO|ECHOE|ECHOK; ^ main.c:1289:34: error: 'ECHO' undeclared (first use in this function) d_tio.c_lflag = ISIG|ICANON|ECHO|ECHOE|ECHOK; ^ main.c:1289:39: error: 'ECHOE' undeclared (first use in this function) d_tio.c_lflag = ISIG|ICANON|ECHO|ECHOE|ECHOK; ^ main.c:1289:45: error: 'ECHOK' undeclared (first use in this function) d_tio.c_lflag = ISIG|ICANON|ECHO|ECHOE|ECHOK; ^ main.c:1307:13: error: 'VINTR' undeclared (first use in this function) d_tio.c_cc[VINTR] = 'C' & 0x3f; /* '^C' */ ^ main.c:1308:13: error: 'VERASE' undeclared (first use in this function) d_tio.c_cc[VERASE] = 0x7f; /* DEL */ ^ main.c:1309:13: error: 'VKILL' undeclared (first use in this function) d_tio.c_cc[VKILL] = 'U' & 0x3f; /* '^U' */ ^ main.c:1310:13: error: 'VQUIT' undeclared (first use in this function) d_tio.c_cc[VQUIT] = CQUIT; /* '^\' */ ^ main.c:1311:17: error: 'VEOF' undeclared (first use in this function) d_tio.c_cc[VEOF] = CEOF; /* '^D' */ ^ main.c:1312:13: error: 'VEOL' undeclared (first use in this function) d_tio.c_cc[VEOL] = CEOL; /* '^@' */ ^ main.c:1313:13: error: 'VMIN' undeclared (first use in this function) d_tio.c_cc[VMIN] = 1; ^ main.c:1314:13: error: 'VTIME' undeclared (first use in this function) d_tio.c_cc[VTIME] = 0; ^ main.c:1430:2: warning: passing argument 1 of 'XtSetErrorHandler' makes '__attribute__((noreturn))' qualified function pointer from unqualified [enabled by default] XtSetErrorHandler(xt_error); ^ In file included from /home/pbulk/build/x11/kterm/work/.buildlink/include/X11/IntrinsicP.h:51:0, from ptyx.h:35, from main.c:71: /home/pbulk/build/x11/kterm/work/.buildlink/include/X11/Intrinsic.h:1788:13: note: expected '__attribute__((noreturn)) void (*)(char *)' but argument is of type 'void (*)()' extern void XtSetErrorHandler( /* obsolete */ ^ main.c:1447:6: warning: passing argument 1 of 'XtSetErrorHandler' makes '__attribute__((noreturn))' qualified function pointer from unqualified [enabled by default] XtSetErrorHandler(xt_error); ^ In file included from /home/pbulk/build/x11/kterm/work/.buildlink/include/X11/IntrinsicP.h:51:0, from ptyx.h:35, from main.c:71: /home/pbulk/build/x11/kterm/work/.buildlink/include/X11/Intrinsic.h:1788:13: note: expected '__attribute__((noreturn)) void (*)(char *)' but argument is of type 'void (*)()' extern void XtSetErrorHandler( /* obsolete */ ^ main.c: In function 'spawn': main.c:2711:22: error: 'ECHOE' undeclared (first use in this function) tio.c_lflag |= ECHOE; ^ main.c:2717:24: error: 'INLCR' undeclared (first use in this function) tio.c_iflag &= ~(INLCR|IGNCR); ^ main.c:2717:30: error: 'IGNCR' undeclared (first use in this function) tio.c_iflag &= ~(INLCR|IGNCR); ^ main.c:2718:22: error: 'ICRNL' undeclared (first use in this function) tio.c_iflag |= ICRNL; ^ main.c:2722:10: error: 'OCRNL' undeclared (first use in this function) ~(OCRNL|ONLRET|NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY); ^ main.c:2722:16: error: 'ONLRET' undeclared (first use in this function) ~(OCRNL|ONLRET|NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY); ^ main.c:2722:23: error: 'NLDLY' undeclared (first use in this function) ~(OCRNL|ONLRET|NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY); ^ main.c:2722:29: error: 'CRDLY' undeclared (first use in this function) ~(OCRNL|ONLRET|NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY); ^ main.c:2722:35: error: 'TABDLY' undeclared (first use in this function) ~(OCRNL|ONLRET|NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY); ^ main.c:2722:42: error: 'BSDLY' undeclared (first use in this function) ~(OCRNL|ONLRET|NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY); ^ main.c:2722:48: error: 'VTDLY' undeclared (first use in this function) ~(OCRNL|ONLRET|NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY); ^ main.c:2722:54: error: 'FFDLY' undeclared (first use in this function) ~(OCRNL|ONLRET|NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY); ^ main.c:2736:24: error: 'CBAUD' undeclared (first use in this function) tio.c_cflag &= ~(CBAUD); ^ main.c:2737:22: error: 'B9600' undeclared (first use in this function) tio.c_cflag |= B9600; ^ main.c:2746:23: error: 'CSIZE' undeclared (first use in this function) tio.c_cflag &= ~CSIZE; ^ main.c:2748:19: error: 'CS8' undeclared (first use in this function) tio.c_cflag |= CS8; ^ main.c:2750:19: error: 'CS7' undeclared (first use in this function) tio.c_cflag |= CS7; ^ main.c:2754:22: error: 'ISIG' undeclared (first use in this function) tio.c_lflag |= ISIG|ICANON|ECHO|ECHOE|ECHOK; ^ main.c:2754:27: error: 'ICANON' undeclared (first use in this function) tio.c_lflag |= ISIG|ICANON|ECHO|ECHOE|ECHOK; ^ main.c:2754:34: error: 'ECHO' undeclared (first use in this function) tio.c_lflag |= ISIG|ICANON|ECHO|ECHOE|ECHOK; ^ main.c:2754:45: error: 'ECHOK' undeclared (first use in this function) tio.c_lflag |= ISIG|ICANON|ECHO|ECHOE|ECHOK; ^ main.c:2762:16: error: 'VEOL' undeclared (first use in this function) tio.c_cc[VEOL] = CEOL; /* '^@' */ ^ main.c:2764:16: error: 'VEOF' undeclared (first use in this function) tio.c_cc[VEOF] = CEOF; /* '^D' */ ^ main.c:2798:35: error: 'VINTR' undeclared (first use in this function) TMODE (XTTYMODE_intr, tio.c_cc[VINTR]); ^ main.c:2795:50: note: in definition of macro 'TMODE' #define TMODE(ind,var) if (ttymodelist[ind].set) var = ttymodelist[ind].value; ^ main.c:2799:35: error: 'VQUIT' undeclared (first use in this function) TMODE (XTTYMODE_quit, tio.c_cc[VQUIT]); ^ main.c:2795:50: note: in definition of macro 'TMODE' #define TMODE(ind,var) if (ttymodelist[ind].set) var = ttymodelist[ind].value; ^ main.c:2800:36: error: 'VERASE' undeclared (first use in this function) TMODE (XTTYMODE_erase, tio.c_cc[VERASE]); ^ main.c:2795:50: note: in definition of macro 'TMODE' #define TMODE(ind,var) if (ttymodelist[ind].set) var = ttymodelist[ind].value; ^ main.c:2801:35: error: 'VKILL' undeclared (first use in this function) TMODE (XTTYMODE_kill, tio.c_cc[VKILL]); ^ main.c:2795:50: note: in definition of macro 'TMODE' #define TMODE(ind,var) if (ttymodelist[ind].set) var = ttymodelist[ind].value; ^ main.c: In function 'main': main.c:1747:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (screen->respond, buf, strlen (buf)); ^ main.c: In function 'HsSysError': main.c:2116:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(pf, (char *) &handshake, sizeof(handshake)); ^ main.c: In function 'first_map_occurred': main.c:2128:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (pc_pipe[1], (char *) &handshake, sizeof(handshake)); ^ main.c: In function 'spawn': main.c:2250:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid (screen->gid); ^ main.c:2251:10: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid (screen->uid); ^ main.c:2637:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(cp_pipe[1], (char *) &handshake, ^ main.c:2681:10: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown (ttydev, screen->uid, ttygrp->gr_gid); ^ main.c:2686:10: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown (ttydev, screen->uid, screen->gid); ^ main.c:3052:8: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] (void) dup(tty); ^ main.c:3177:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(i, (char *)&utmp, sizeof(struct utmp)); ^ main.c:3258:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(cp_pipe[1], (char *)&handshake, sizeof(handshake)); ^ main.c:3262:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid (screen->gid); ^ main.c:3267:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid (screen->uid); ^ main.c:3281:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(cp_pipe[1], (char *)&handshake, sizeof(handshake)); ^ main.c:3467:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(pc_pipe[1], (char *) &handshake, sizeof(handshake)); ^ main.c:3472:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(pc_pipe[1], (char *) &handshake, sizeof(handshake)); ^ main.c: In function 'Exit': main.c:3665:9: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown (ttydev, 0, 0); ^ main.c:3667:9: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown (ptydev, 0, 0); ^ main.c: In function 'consolepr': main.c:3792:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(f, buf, strlen(buf)); ^ *** [main.o] Error code 1 bmake: stopped in /home/pbulk/build/x11/kterm/work/kterm-6.2.0 1 error bmake: stopped in /home/pbulk/build/x11/kterm/work/kterm-6.2.0 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/x11/kterm *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/x11/kterm