+ 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/nethack-lib-3.6.7nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nethack-lib-3.6.7nb3/work.log ===> Building for nethack-lib-3.6.7nb3 ( cd util ; /opt/pkg/bin/bmake recover ) touch ../src/config.h-t gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -I../include -c monst.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -I../include -c objects.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -I../include -c makedefs.c makedefs.c: In function 'read_rumors_file': makedefs.c:937:26: error: implicit declaration of function 'index' [-Wimplicit-function-declaration] 937 | char *base = index(line, '\n'); | ^~~~~ makedefs.c:937:26: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] makedefs.c: In function 'do_date': makedefs.c:1390:14: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 1390 | if ((c = index(cbuf, '\n')) != 0) | ^~~~~ makedefs.c: In function 'get_gitinfo': makedefs.c:1466:18: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 1466 | strval = index(line, '='); | ^~~~~ makedefs.c: In function 'opt_out_words': makedefs.c:1829:16: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 1829 | word = index(str, ' '); | ^~~~~ makedefs.c: In function 'valid_qt_summary': makedefs.c:2522:14: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 2522 | if ((p = index(s, '[')) == 0) | ^~~~~ makedefs.c: In function 'do_qt_control': makedefs.c:2569:10: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 2569 | if (!index(s, '\n')) | ^~~~~ makedefs.c: In function 'do_qt_text': makedefs.c:2616:17: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 2616 | } else if (!index(s, '\n')) { | ^~~~~ makedefs.c: In function 'fgetline': makedefs.c:2929:20: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 2929 | } else if (index(c, '\n')) { | ^~~~~ *** Error code 1 Stop. bmake[3]: stopped making "makedefs" in /home/pbulk/build/games/nethack-lib/work/NetHack-3.6.7/util *** Error code 1 Stop. bmake[2]: stopped making "../include/date.h" in /home/pbulk/build/games/nethack-lib/work/NetHack-3.6.7/src *** Error code 1 Stop. bmake[1]: stopped making "recover" in /home/pbulk/build/games/nethack-lib/work/NetHack-3.6.7/util *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/games/nethack-lib/work/NetHack-3.6.7 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/nethack-lib *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/nethack-lib