=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/editors/mflteco", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for mflteco-19920331nb1 --- te_data.o --- --- te_utils.o --- --- te_subs.o --- --- te_main.o --- --- te_utils.o --- cc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DMCH -DWAITRET_INT -DPOSIX_TECO te_utils.c --- te_subs.o --- cc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DMCH -DWAITRET_INT -DPOSIX_TECO te_subs.c --- te_data.o --- cc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DMCH -DWAITRET_INT -DPOSIX_TECO te_data.c --- te_main.o --- cc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DMCH -DWAITRET_INT -DPOSIX_TECO te_main.c --- te_subs.o --- te_subs.c: In function 'movenchars': te_subs.c:24:6: warning: old-style function definition [-Wold-style-definition] 24 | VOID movenchars(from, to, n) | ^~~~~~~~~~ te_subs.c: In function 'moveuntil': te_subs.c:84:6: warning: old-style function definition [-Wold-style-definition] 84 | VOID moveuntil(from, to, c, n, max, trace) | ^~~~~~~~~ te_subs.c: In function 'get_value': te_subs.c:134:5: warning: old-style function definition [-Wold-style-definition] 134 | int get_value(d) /* get a value, default is argument */ | ^~~~~~~~~ te_subs.c: In function 'lines': te_subs.c:152:5: warning: old-style function definition [-Wold-style-definition] 152 | int lines(arg) | ^~~~~ te_subs.c: In function 'line_args': te_subs.c:196:5: warning: old-style function definition [-Wold-style-definition] 196 | int line_args(d, p) | ^~~~~~~~~ te_subs.c: In function 'getqspec': te_subs.c:241:5: warning: old-style function definition [-Wold-style-definition] 241 | int getqspec(fors, c) /* fors ("file or search") nonzero = allow _ or * */ | ^~~~~~~~ te_subs.c: In function 'insert2': te_subs.c:298:6: warning: old-style function definition [-Wold-style-definition] 298 | VOID insert2(count) /* count is the number of chars added */ | ^~~~~~~ te_subs.c: In function 'delete1': te_subs.c:319:6: warning: old-style function definition [-Wold-style-definition] 319 | VOID delete1(nchars) | ^~~~~~~ --- te_utils.o --- te_utils.c: In function 'free_blist': te_utils.c:43:6: warning: old-style function definition [-Wold-style-definition] 43 | VOID free_blist(p) | ^~~~~~~~~~ te_utils.c: In function 'dly_free_blist': te_utils.c:56:6: warning: old-style function definition [-Wold-style-definition] 56 | VOID dly_free_blist(p) | ^~~~~~~~~~~~~~ te_utils.c: In function 'free_dlyd_blist': te_utils.c:80:6: warning: old-style function definition [-Wold-style-definition] 80 | VOID free_dlyd_blist(p) | ^~~~~~~~~~~~~~~ --- te_subs.o --- te_subs.c: In function 'skipto': te_subs.c:423:6: warning: old-style function definition [-Wold-style-definition] 423 | char skipto(arg) | ^~~~~~ --- te_utils.o --- te_utils.c: In function 'make_buffer': te_utils.c:132:6: warning: old-style function definition [-Wold-style-definition] 132 | VOID make_buffer(p) | ^~~~~~~~~~~ te_utils.c: In function 'fwdc': te_utils.c:149:5: warning: old-style function definition [-Wold-style-definition] 149 | int fwdc(arg) | ^~~~ te_utils.c: In function 'fwdcx': te_utils.c:166:5: warning: old-style function definition [-Wold-style-definition] 166 | int fwdcx(arg) | ^~~~~ --- te_main.o --- te_main.c: In function 'main': --- te_utils.o --- te_utils.c: In function 'backc': te_utils.c:183:6: warning: old-style function definition [-Wold-style-definition] 183 | int backc(arg) | ^~~~~ te_utils.c: In function 'set_pointer': --- te_main.o --- te_main.c:60:5: warning: old-style function definition [-Wold-style-definition] 60 | int main(argc, argv) | ^~~~ --- te_utils.o --- te_utils.c:203:6: warning: old-style function definition [-Wold-style-definition] 203 | VOID set_pointer(pos, ptr) /* first arg is position, 2nd is addr of pointer */ | ^~~~~~~~~~~ te_utils.c: In function 'peekcmdc': te_utils.c:273:5: warning: old-style function definition [-Wold-style-definition] 273 | int peekcmdc(arg) | ^~~~~~~~ --- te_main.o --- te_main.c: In function 'print_string': te_main.c:138:13: warning: old-style function definition [-Wold-style-definition] 138 | static VOID print_string(arg) | ^~~~~~~~~~~~ te_main.c: In function 'save_args': te_main.c:159:13: warning: old-style function definition [-Wold-style-definition] 159 | static VOID save_args(argc, argv, q) | ^~~~~~~~~ te_main.c: In function 'read_startup': te_main.c:199:20: error: conflicting types for 'getenv'; have 'char *(void)' 199 | char *hp, *getenv(); | ^~~~~~ In file included from /usr/include/stdlib.h:41, from te_main.c:52: /usr/include/iso/stdlib_iso.h:139:14: note: previous declaration of 'getenv' with type 'char *(const char *)' 139 | extern char *getenv(const char *); | ^~~~~~ te_main.c:207:27: error: too many arguments to function 'getenv'; expected 0, have 1 207 | if ((hp = getenv("HOME")) != NULL) /* if not found, look in home directory */ | ^~~~~~ ~~~~~~ te_main.c:199:20: note: declared here 199 | char *hp, *getenv(); | ^~~~~~ --- te_rdcmd.o --- cc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DMCH -DWAITRET_INT -DPOSIX_TECO te_rdcmd.c --- te_main.o --- *** [te_main.o] Error code 1 bmake: stopped making "te" in /home/pbulk/work/editors/mflteco/work/mflteco --- te_rdcmd.o --- te_rdcmd.c: In function 'retype_cmdstr': te_rdcmd.c:264:6: warning: old-style function definition [-Wold-style-definition] 264 | VOID retype_cmdstr(c) | ^~~~~~~~~~~~~ te_rdcmd.c: In function 'do_func_keys': te_rdcmd.c:297:23: warning: old-style function definition [-Wold-style-definition] 297 | static unsigned short do_func_keys(c) | ^~~~~~~~~~~~ bmake: 1 error bmake: stopped making "te" in /home/pbulk/work/editors/mflteco/work/mflteco *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/mflteco *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/mflteco