+ 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/hanterm-3.1.6nb6/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hanterm-3.1.6nb6/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for hanterm-3.1.6nb6 --- main.o --- --- input.o --- --- main.o --- rm -f main.o --- 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 -DALLOWLOGFILEONOFF -I/usr/pkg/include -c input.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 -DALLOWLOGFILEONOFF -DUTMP -DUSE_TTY_GROUP -DOSMAJORVERSION=3 -DOSMINORVERSION=10 -DENV_HANGUL_KEYBOARD_TYPE main.c main.c: In function 'main': main.c:1179:20: error: 'VDSUSP' undeclared (first use in this function) d_tio.c_cc[VDSUSP] = '\000'; ^ main.c:1179:20: note: each undeclared identifier is reported only once for each function it appears in main.c:1192: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/hanterm/work/.buildlink/include/X11/IntrinsicP.h:51:0, from ptyx.h:31, from main.c:52: /home/pbulk/build/x11/hanterm/work/.buildlink/include/X11/Intrinsic.h:1788:13: note: expected '__attribute__((noreturn)) void (*)(char *)' but argument is of type 'void (*)()' extern void XtSetErrorHandler( /* obsolete */ ^ --- charproc.o --- --- main.o --- main.c:1493:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (pty, buf, strlen (buf)); ^ main.c: In function 'spawn': main.c:1967:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid (screen->gid); ^ main.c:1968:10: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid (screen->uid); ^ main.c:2320:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(cp_pipe[1], (char *) &handshake, ^ main.c:2363:10: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown (ttydev, screen->uid, ttygrp->gr_gid); ^ main.c:2368:10: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown (ttydev, screen->uid, screen->gid); ^ main.c:2672:8: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] (void) dup(tty); ^ main.c:2776:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(i, (char *)&utmp, sizeof(struct utmp)); ^ main.c:2856:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(cp_pipe[1], (char *)&handshake, sizeof(handshake)); ^ --- charproc.o --- rm -f charproc.o --- main.o --- main.c:2860:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid (screen->gid); ^ main.c:2865:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid (screen->uid); ^ main.c:2879: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:3045: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:3050: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 'HsSysError': main.c:1830: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:1842: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 'Exit': main.c:3233:9: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown (ttydev, 0, 0); ^ main.c:3235: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:3359:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(f, buf, strlen(buf)); ^ --- charproc.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 -DALLOWLOGFILEONOFF -DUTMP -DUSE_TTY_GROUP -DOSMAJORVERSION=3 -DOSMINORVERSION=10 -DENV_HANGUL_KEYBOARD_TYPE charproc.c --- main.o --- *** [main.o] Error code 1 bmake: stopped in /home/pbulk/build/x11/hanterm/work/hanterm-3.1.6 --- charproc.o --- charproc.c: In function 'VTparse': charproc.c:1446:4: warning: passing argument 2 of 'ansi_modes' from incompatible pointer type [enabled by default] ansi_modes(term, bitset); ^ charproc.c:130:13: note: expected 'int (*)()' but argument is of type 'void (*)()' static void ansi_modes(XtermWidget, int (*)()); ^ charproc.c:1452:4: warning: passing argument 2 of 'ansi_modes' from incompatible pointer type [enabled by default] ansi_modes(term, bitclr); ^ charproc.c:130:13: note: expected 'int (*)()' but argument is of type 'void (*)()' static void ansi_modes(XtermWidget, int (*)()); ^ 1 error bmake: stopped in /home/pbulk/build/x11/hanterm/work/hanterm-3.1.6 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/x11/hanterm *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/x11/hanterm