+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cfm-0.6.6/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cfm-0.6.6/work.log ===> Building for cfm-0.6.6 --- config.h --- --- cfm --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -std=c11 -Wall -W -pedantic -I/opt/pkg/include/ncurses -D_XOPEN_SOURCE=700 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib cfm.c -o cfm cfm.c:134:15: error: 'NAME_MAX' undeclared here (not in a function) 134 | char name[NAME_MAX+1]; | ^~~~~~~~ cfm.c: In function 'termsize': cfm.c:771:20: error: storage size of 'ws' isn't known 771 | struct winsize ws; | ^~ cfm.c:772:9: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] 772 | if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) < 0) { | ^~~~~ cfm.c:772:30: error: 'TIOCGWINSZ' undeclared (first use in this function) 772 | if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) < 0) { | ^~~~~~~~~~ cfm.c:772:30: note: each undeclared identifier is reported only once for each function it appears in cfm.c:771:20: warning: unused variable 'ws' [-Wunused-variable] 771 | struct winsize ws; | ^~ cfm.c: In function 'listdir': cfm.c:875:19: warning: implicit declaration of function 'dirfd' [-Wimplicit-function-declaration] 875 | int dfd = dirfd(d); | ^~~~~ cfm.c:898:22: warning: implicit declaration of function 'fstatat'; did you mean 'fstat'? [-Wimplicit-function-declaration] 898 | if (0 != fstatat(dfd, dir->d_name, &st, AT_SYMLINK_NOFOLLOW)) { | ^~~~~~~ | fstat cfm.c:898:53: error: 'AT_SYMLINK_NOFOLLOW' undeclared (first use in this function) 898 | if (0 != fstatat(dfd, dir->d_name, &st, AT_SYMLINK_NOFOLLOW)) { | ^~~~~~~~~~~~~~~~~~~ cfm.c: In function 'readfname': cfm.c:975:21: warning: variable 'c' set but not used [-Wunused-but-set-variable] 975 | ssize_t c; | ^ cfm.c: In function 'main': cfm.c:1421:10: warning: unused variable 'cutbuf' [-Wunused-variable] 1421 | char cutbuf[NAME_MAX+1] = {0}; | ^~~~~~ cfm.c:1419:10: warning: unused variable 'lastname' [-Wunused-variable] 1419 | char lastname[NAME_MAX+1] = {0}; | ^~~~~~~~ cfm.c:1418:10: warning: unused variable 'tmpnam' [-Wunused-variable] 1418 | char tmpnam[NAME_MAX+1] = {0}; | ^~~~~~ cfm.c:1562:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 1562 | k = '9' + 1; | ~~^~~~~~~~~ cfm.c:1563:13: note: here 1563 | case '1': | ^~~~ cfm.c: In function 'elemcmp': cfm.c:620:1: warning: control reaches end of non-void function [-Wreturn-type] 620 | } | ^ *** [cfm] Error code 1 bmake: stopped making "all" in /home/pbulk/build/sysutils/cfm/work/cfm-0.6.6 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/sysutils/cfm/work/cfm-0.6.6 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/cfm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/cfm