=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/games/nethack-lib", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> 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 'main': makedefs.c:267:1: warning: old-style function definition [-Wold-style-definition] 267 | main(argc, argv) | ^~~~ makedefs.c: In function 'do_makedefs': makedefs.c:314:1: warning: old-style function definition [-Wold-style-definition] 314 | do_makedefs(options) | ^~~~~~~~~~~ makedefs.c: In function 'name_file': makedefs.c:405:1: warning: old-style function definition [-Wold-style-definition] 405 | name_file(template, tag) | ^~~~~~~~~ makedefs.c: In function 'delete_file': makedefs.c:414:1: warning: old-style function definition [-Wold-style-definition] 414 | delete_file(template, tag) | ^~~~~~~~~~~ makedefs.c: In function 'getfp': makedefs.c:424:1: warning: old-style function definition [-Wold-style-definition] 424 | getfp(template, tag, mode) | ^~~~~ makedefs.c: In function 'grepsearch': makedefs.c:663:1: warning: old-style function definition [-Wold-style-definition] 663 | grepsearch(name) | ^~~~~~~~~~ makedefs.c: In function 'grep_check_id': makedefs.c:678:1: warning: old-style function definition [-Wold-style-definition] 678 | grep_check_id(id) | ^~~~~~~~~~~~~ makedefs.c: In function 'grep_show_wstack': makedefs.c:708:1: warning: old-style function definition [-Wold-style-definition] 708 | grep_show_wstack(tag) | ^~~~~~~~~~~~~~~~ makedefs.c: In function 'do_grep_control': makedefs.c:724:1: warning: old-style function definition [-Wold-style-definition] 724 | do_grep_control(buf) | ^~~~~~~~~~~~~~~ makedefs.c: In function 'grep0': makedefs.c:827:1: warning: old-style function definition [-Wold-style-definition] 827 | grep0(inputfp0, outputfp0) | ^~~~~ makedefs.c: In function 'xcrypt': makedefs.c:885:1: warning: old-style function definition [-Wold-style-definition] 885 | xcrypt(str) | ^~~~~~ makedefs.c: In function 'read_rumors_file': makedefs.c:907:1: warning: old-style function definition [-Wold-style-definition] 907 | read_rumors_file(file_ext, rumor_count, rumor_size, old_rumor_offset) | ^~~~~~~~~~~~~~~~ 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_rnd_access_file': makedefs.c:968:1: warning: old-style function definition [-Wold-style-definition] 968 | do_rnd_access_file(fname, deflt_content) | ^~~~~~~~~~~~~~~~~~ makedefs.c: In function 'version_string': makedefs.c:1205:1: warning: old-style function definition [-Wold-style-definition] 1205 | version_string(outbuf, delim) | ^~~~~~~~~~~~~~ makedefs.c: In function 'version_id_string': makedefs.c:1218:1: warning: old-style function definition [-Wold-style-definition] 1218 | version_id_string(outbuf, build_date) | ^~~~~~~~~~~~~~~~~ makedefs.c: In function 'bannerc_string': makedefs.c:1252:1: warning: old-style function definition [-Wold-style-definition] 1252 | bannerc_string(outbuf, build_date) | ^~~~~~~~~~~~~~ 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:1447:1: warning: old-style function definition [-Wold-style-definition] 1447 | get_gitinfo(githash, gitbranch) | ^~~~~~~~~~~ makedefs.c:1466:18: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 1466 | strval = index(line, '='); | ^~~~~ makedefs.c: In function 'case_insensitive_comp': makedefs.c:1506:1: warning: old-style function definition [-Wold-style-definition] 1506 | case_insensitive_comp(s1, s2) | ^~~~~~~~~~~~~~~~~~~~~ makedefs.c: In function 'opt_out_words': makedefs.c:1822:1: warning: old-style function definition [-Wold-style-definition] 1822 | opt_out_words(str, length_p) | ^~~~~~~~~~~~~ makedefs.c:1829:16: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 1829 | word = index(str, ' '); | ^~~~~ makedefs.c: In function 'd_filter': makedefs.c:1926:1: warning: old-style function definition [-Wold-style-definition] 1926 | d_filter(line) | ^~~~~~~~ makedefs.c: In function 'h_filter': makedefs.c:2072:1: warning: old-style function definition [-Wold-style-definition] 2072 | h_filter(line) | ^~~~~~~~ makedefs.c: In function 'qt_comment': makedefs.c:2435:1: warning: old-style function definition [-Wold-style-definition] 2435 | qt_comment(s) | ^~~~~~~~~~ makedefs.c: In function 'qt_control': makedefs.c:2444:1: warning: old-style function definition [-Wold-style-definition] 2444 | qt_control(s) | ^~~~~~~~~~ makedefs.c: In function 'get_hdr': makedefs.c:2451:1: warning: old-style function definition [-Wold-style-definition] 2451 | get_hdr(code) | ^~~~~~~ makedefs.c: In function 'new_id': makedefs.c:2464:1: warning: old-style function definition [-Wold-style-definition] 2464 | new_id(code) | ^~~~~~ makedefs.c: In function 'known_msg': makedefs.c:2479:1: warning: old-style function definition [-Wold-style-definition] 2479 | known_msg(num, id) | ^~~~~~~~~ makedefs.c: In function 'new_msg': makedefs.c:2492:1: warning: old-style function definition [-Wold-style-definition] 2492 | new_msg(s, num, id) | ^~~~~~~ makedefs.c: In function 'valid_qt_summary': makedefs.c:2513:1: warning: old-style function definition [-Wold-style-definition] 2513 | valid_qt_summary(s, parsing) | ^~~~~~~~~~~~~~~~ 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:2563:1: warning: old-style function definition [-Wold-style-definition] 2563 | do_qt_control(s) | ^~~~~~~~~~~~~ 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:2611:1: warning: old-style function definition [-Wold-style-definition] 2611 | do_qt_text(s) | ^~~~~~~~~~ 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 'limit': makedefs.c:2769:14: warning: old-style function definition [-Wold-style-definition] 2769 | static char *limit(name, pref) /* limit a name to 30 characters length */ | ^~~~~ makedefs.c: In function 'fgetline': makedefs.c:2916:1: warning: old-style function definition [-Wold-style-definition] 2916 | fgetline(fd) | ^~~~~~~~ makedefs.c:2929:20: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 2929 | } else if (index(c, '\n')) { | ^~~~~ makedefs.c: In function 'tmpdup': makedefs.c:2940:1: warning: old-style function definition [-Wold-style-definition] 2940 | tmpdup(str) | ^~~~~~ makedefs.c: In function 'eos': makedefs.c:2952:1: warning: old-style function definition [-Wold-style-definition] 2952 | eos(str) | ^~~ makedefs.c: In function 'clear_path': makedefs.c:3275:1: warning: old-style function definition [-Wold-style-definition] 3275 | clear_path(you_row, you_col, y2, x2) | ^~~~~~~~~~ *** Error code 1 Stop. bmake[3]: stopped making "makedefs" in /home/pbulk/work/games/nethack-lib/work/NetHack-3.6.7/util *** Error code 1 Stop. bmake[2]: stopped making "../include/date.h" in /home/pbulk/work/games/nethack-lib/work/NetHack-3.6.7/src *** Error code 1 Stop. bmake[1]: stopped making "recover" in /home/pbulk/work/games/nethack-lib/work/NetHack-3.6.7/util *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/work/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