+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mtm-1.2.1/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mtm-1.2.1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for mtm-1.2.1 cp -i config.def.h config.h gcc -Wl,-R/opt/local/lib -L/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED -o mtm vtparser.c mtm.c pair.c -lncursesw -lutil vtparser.c: In function 'vtwrite': vtparser.c:139:20: warning: implicit declaration of function 'mbrtowc' [-Wimplicit-function-declaration] 139 | size_t r = mbrtowc(&w, s, n, &vp->ms); | ^~~~~~~ vtparser.c: At top level: vtparser.c:185:12: error: 'WCHAR_MAX' undeclared here (not in a function) 185 | {0x20, WCHAR_MAX, doprint, NULL} | ^~~~~~~~~ vtparser.c:178:13: note: in definition of macro 'MAKESTATE' 178 | __VA_ARGS__ , \ | ^~~~~~~~~~~ vtparser.c:30:1: note: 'WCHAR_MAX' is defined in header '<wchar.h>'; did you forget to '#include <wchar.h>'? 29 | #include "vtparser.h" +++ |+#include <wchar.h> 30 | In file included from mtm.c:35: config.h:79:35: fatal error: pty.h: No such file or directory 79 | #define FORKPTY_INCLUDE_H <pty.h> | ^ compilation terminated. In file included from pair.c:3: config.h:79:35: fatal error: pty.h: No such file or directory 79 | #define FORKPTY_INCLUDE_H <pty.h> | ^ compilation terminated. *** [mtm] Error code 1 bmake: stopped making "all" in /home/pbulk/build/misc/mtm/work/mtm-1.2.1 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/misc/mtm/work/mtm-1.2.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/misc/mtm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/misc/mtm