=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/editors/mg2a", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for mg2a-1.11nb2 --- ttydef.h --- --- sysdef.h --- --- ttydef.h --- rm -f ttydef.h ln sys/default/ttydef.h . --- sysdef.h --- rm -f sysdef.h ln sys/sysv/sysdef.h . --- chrdef.h --- --- cinfo.c --- rm -f cinfo.c ln sys/default/cinfo.c . --- chrdef.h --- rm -f chrdef.h --- spawn.c --- --- chrdef.h --- ln sys/default/chrdef.h . --- spawn.c --- rm -f spawn.c --- ttyio.c --- --- spawn.c --- ln sys/sysv/spawn.c . --- tty.c --- rm -f tty.c ln sys/default/tty.c . --- ttyio.c --- rm -f ttyio.c ln sys/sysv/ttyio.c . --- ttykbd.c --- --- fileio.c --- --- ttykbd.c --- rm -f ttykbd.c ln sys/default/ttykbd.c . --- fileio.c --- rm -f fileio.c ln sys/sysv/fileio.c . --- basic.o --- --- dir.o --- --- basic.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/opt/pkg/include/ncurses -c basic.c --- dir.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/opt/pkg/include/ncurses -c dir.c --- basic.o --- basic.c:18:1: error: return type defaults to 'int' [-Wimplicit-int] 18 | gotobol(f, n) | ^~~~~~~ basic.c: In function 'gotobol': basic.c:18:1: error: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:18:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c: At top level: basic.c:31:1: error: return type defaults to 'int' [-Wimplicit-int] 31 | backchar(f, n) | ^~~~~~~~ basic.c: In function 'backchar': basic.c:31:1: error: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:36:27: error: implicit declaration of function 'forwchar' [-Wimplicit-function-declaration] 36 | if (n < 0) return forwchar(f, -n); | ^~~~~~~~ basic.c: At top level: basic.c:57:1: error: return type defaults to 'int' [-Wimplicit-int] 57 | gotoeol(f, n) | ^~~~~~~ basic.c: In function 'gotoeol': basic.c:57:1: error: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:57:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c: At top level: --- dir.o --- dir.c:21:1: error: return type defaults to 'int' [-Wimplicit-int] 21 | dirinit() | ^~~~~~~ --- basic.o --- basic.c:70:1: error: return type defaults to 'int' [-Wimplicit-int] 70 | forwchar(f, n) | ^~~~~~~~ basic.c: In function 'forwchar': basic.c:70:1: error: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c: At top level: basic.c:96:1: error: return type defaults to 'int' [-Wimplicit-int] 96 | gotobob(f, n) | ^~~~~~~ basic.c: In function 'gotobob': basic.c:96:1: error: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:96:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c:98:16: error: implicit declaration of function 'setmark' [-Wimplicit-function-declaration] 98 | (VOID) setmark(f, n) ; | ^~~~~~~ basic.c: At top level: basic.c:110:1: error: return type defaults to 'int' [-Wimplicit-int] 110 | gotoeob(f, n) | ^~~~~~~ basic.c: In function 'gotoeob': basic.c:110:1: error: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:110:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c: At top level: basic.c:127:1: error: return type defaults to 'int' [-Wimplicit-int] 127 | forwline(f, n) | ^~~~~~~~ basic.c: In function 'forwline': basic.c:127:1: error: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:127:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c:132:24: error: implicit declaration of function 'backline' [-Wimplicit-function-declaration] 132 | return backline(f|FFRAND, -n); | ^~~~~~~~ basic.c:156:34: error: implicit declaration of function 'getgoal'; did you mean 'setgoal'? [-Wimplicit-function-declaration] 156 | curwp->w_doto = getgoal(dlp); | ^~~~~~~ | setgoal basic.c: At top level: basic.c:169:1: error: return type defaults to 'int' [-Wimplicit-int] 169 | backline(f, n) | ^~~~~~~~ basic.c: In function 'backline': basic.c:169:1: error: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:169:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c: In function 'setgoal': basic.c:196:19: error: implicit declaration of function 'getcolpos' [-Wimplicit-function-declaration] 196 | curgoal = getcolpos() - 1; /* Get the position. */ --- dir.o --- dir.c: In function 'dirinit': dir.c:25:17: error: implicit declaration of function 'panic' [-Wimplicit-function-declaration] 25 | panic("Can't get current directory!"); | ^~~~~ dir.c: At top level: dir.c:32:1: error: return type defaults to 'int' [-Wimplicit-int] 32 | changedir(f, n) | ^~~~~~~~~ dir.c: In function 'changedir': dir.c:32:1: error: type of 'f' defaults to 'int' [-Wimplicit-int] dir.c:32:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] dir.c:37:16: error: implicit declaration of function 'ereply' [-Wimplicit-function-declaration] 37 | if ((s=ereply("Change default directory: ", bufc, NPAT)) != TRUE) | ^~~~~~ dir.c:41:13: error: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] 41 | if (chdir(bufc) == -1) { | ^~~~~ dir.c: At top level: dir.c:57:1: error: return type defaults to 'int' [-Wimplicit-int] 57 | showcwdir(f, n) | ^~~~~~~~~ --- basic.o --- | ^~~~~~~~~ basic.c: At top level: basic.c:207:1: error: return type defaults to 'int' [-Wimplicit-int] 207 | getgoal(dlp) register LINE *dlp; { | ^~~~~~~ basic.c:244:1: error: return type defaults to 'int' [-Wimplicit-int] 244 | forwpage(f, n) | ^~~~~~~~ basic.c: In function 'forwpage': basic.c:244:1: error: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:254:24: error: implicit declaration of function 'backpage' [-Wimplicit-function-declaration] 254 | return backpage(f|FFRAND, -n); | ^~~~~~~~ basic.c: At top level: basic.c:281:1: error: return type defaults to 'int' [-Wimplicit-int] 281 | backpage(f, n) | ^~~~~~~~ basic.c: In function 'backpage': basic.c:281:1: error: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c: At top level: basic.c:339:1: error: return type defaults to 'int' [-Wimplicit-int] 339 | pagenext(f, n) | ^~~~~~~~ basic.c: In function 'pagenext': --- dir.o --- dir.c: In function 'showcwdir': dir.c:57:1: error: type of 'f' defaults to 'int' [-Wimplicit-int] dir.c:57:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] --- basic.o --- basic.c:339:1: error: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:339:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c:348:16: error: implicit declaration of function 'nextwind'; did you mean 'rewind'? [-Wimplicit-function-declaration] 348 | (VOID) nextwind(f, n); | ^~~~~~~~ | rewind basic.c: At top level: basic.c:371:1: error: return type defaults to 'int' [-Wimplicit-int] 371 | setmark(f, n) | ^~~~~~~ basic.c: In function 'setmark': basic.c:371:1: error: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:371:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c: At top level: basic.c:386:1: error: return type defaults to 'int' [-Wimplicit-int] 386 | swapmark(f, n) | ^~~~~~~~ basic.c: In function 'swapmark': basic.c:386:1: error: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:386:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c: At top level: basic.c:413:1: error: return type defaults to 'int' [-Wimplicit-int] 413 | gotoline(f, n) | ^~~~~~~~ basic.c: In function 'gotoline': basic.c:413:1: error: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:421:24: error: implicit declaration of function 'ereply' [-Wimplicit-function-declaration] 421 | if ((s=ereply("Goto line: ", buf, sizeof(buf))) != TRUE) | ^~~~~~ basic.c:423:21: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 423 | n = atoi(buf); | ^~~~ --- dir.o --- *** [dir.o] Error code 1 bmake: stopped making "mg" in /home/pbulk/work/editors/mg2a/work/mg2a --- basic.o --- *** [basic.o] Error code 1 bmake: stopped making "mg" in /home/pbulk/work/editors/mg2a/work/mg2a bmake: 2 errors bmake: stopped making "mg" in /home/pbulk/work/editors/mg2a/work/mg2a *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/mg2a *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/mg2a