=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/lang/focal", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for focal81-0nb1 --- focal0.o --- --- focal1.o --- --- focal2.o --- gcc -O -g -Wall -DDIR_SUPPORT -DDIRENT -c focal2.c --- focal0.o --- gcc -O -g -Wall -DDIR_SUPPORT -DDIRENT -c focal0.c --- focal1.o --- gcc -O -g -Wall -DDIR_SUPPORT -DDIRENT -c focal1.c focal1.c: In function 'term': focal1.c:127:26: error: too many arguments to function 'sp->s_un.s_fp'; expected 0, have 1 127 | return ((*sp->s_un.s_fp)(val)); | ~^~~~~~~~~~~~~~~ ~~~ In file included from focal1.c:5: focal.h:64:27: note: declared here 64 | double (*s_fp)(); /* Function pointer */ | ^~~~ focal1.c: In function 'lookup': focal1.c:147:1: warning: old-style function definition [-Wold-style-definition] 147 | lookup(id, type, subs) | ^~~~~~ focal1.c: In function 'fsin': focal1.c:212:1: warning: old-style function definition [-Wold-style-definition] 212 | fsin(arg) | ^~~~ focal1.c: In function 'fcos': focal1.c:219:1: warning: old-style function definition [-Wold-style-definition] 219 | fcos(arg) | ^~~~ focal1.c: In function 'fexp': focal1.c:226:1: warning: old-style function definition [-Wold-style-definition] 226 | fexp(arg) | ^~~~ focal1.c: In function 'flog': focal1.c:233:1: warning: old-style function definition [-Wold-style-definition] 233 | flog(arg) | ^~~~ focal1.c: In function 'fatn': focal1.c:240:1: warning: old-style function definition [-Wold-style-definition] 240 | fatn(arg) | ^~~~ focal1.c: In function 'fsqt': focal1.c:247:1: warning: old-style function definition [-Wold-style-definition] 247 | fsqt(arg) | ^~~~ focal1.c: In function 'fabt': focal1.c:256:1: warning: old-style function definition [-Wold-style-definition] 256 | fabt(arg) | ^~~~ focal1.c: In function 'fsgn': focal1.c:265:1: warning: old-style function definition [-Wold-style-definition] 265 | fsgn(arg) | ^~~~ focal1.c: In function 'fitr': focal1.c:274:1: warning: old-style function definition [-Wold-style-definition] 274 | fitr(arg) | ^~~~ focal1.c: In function 'fran': focal1.c:285:1: warning: old-style function definition [-Wold-style-definition] 285 | fran(arg) | ^~~~ --- focal0.o --- focal0.c: In function 'main': focal0.c:94:25: error: passing argument 2 of 'builtin' from incompatible pointer type [-Wincompatible-pointer-types] 94 | builtin("fsin", fsin); | ^~~~ | | | double (*)(double) In file included from focal.h:97, from focal0.c:41: proto.h:10:41: note: expected 'double (*)(void)' but argument is of type 'double (*)(double)' 10 | void builtin ARG((char *cp, double (*fp)())); | ~~~~~~~~~^~~~~ proto.h:2:20: note: in definition of macro 'ARG' 2 | # define ARG(list) list | ^~~~ proto.h:32:9: note: 'fsin' declared here 32 | double fsin ARG((double arg)); | ^~~~ focal0.c:95:25: error: passing argument 2 of 'builtin' from incompatible pointer type [-Wincompatible-pointer-types] 95 | builtin("fcos", fcos); | ^~~~ | | | double (*)(double) proto.h:10:41: note: expected 'double (*)(void)' but argument is of type 'double (*)(double)' 10 | void builtin ARG((char *cp, double (*fp)())); | ~~~~~~~~~^~~~~ proto.h:2:20: note: in definition of macro 'ARG' 2 | # define ARG(list) list | ^~~~ proto.h:33:9: note: 'fcos' declared here 33 | double fcos ARG((double arg)); | ^~~~ focal0.c:96:25: error: passing argument 2 of 'builtin' from incompatible pointer type [-Wincompatible-pointer-types] 96 | builtin("fexp", fexp); | ^~~~ | | | double (*)(double) proto.h:10:41: note: expected 'double (*)(void)' but argument is of type 'double (*)(double)' 10 | void builtin ARG((char *cp, double (*fp)())); | ~~~~~~~~~^~~~~ proto.h:2:20: note: in definition of macro 'ARG' 2 | # define ARG(list) list | ^~~~ proto.h:34:9: note: 'fexp' declared here 34 | double fexp ARG((double arg)); | ^~~~ focal0.c:97:25: error: passing argument 2 of 'builtin' from incompatible pointer type [-Wincompatible-pointer-types] 97 | builtin("flog", flog); | ^~~~ | | | double (*)(double) proto.h:10:41: note: expected 'double (*)(void)' but argument is of type 'double (*)(double)' 10 | void builtin ARG((char *cp, double (*fp)())); | ~~~~~~~~~^~~~~ proto.h:2:20: note: in definition of macro 'ARG' 2 | # define ARG(list) list | ^~~~ proto.h:35:9: note: 'flog' declared here 35 | double flog ARG((double arg)); | ^~~~ focal0.c:98:25: error: passing argument 2 of 'builtin' from incompatible pointer type [-Wincompatible-pointer-types] 98 | builtin("fatn", fatn); | ^~~~ | | | double (*)(double) proto.h:10:41: note: expected 'double (*)(void)' but argument is of type 'double (*)(double)' 10 | void builtin ARG((char *cp, double (*fp)())); | ~~~~~~~~~^~~~~ proto.h:2:20: note: in definition of macro 'ARG' 2 | # define ARG(list) list | ^~~~ proto.h:36:9: note: 'fatn' declared here 36 | double fatn ARG((double arg)); | ^~~~ focal0.c:99:25: error: passing argument 2 of 'builtin' from incompatible pointer type [-Wincompatible-pointer-types] 99 | builtin("fsqt", fsqt); | ^~~~ | | | double (*)(double) proto.h:10:41: note: expected 'double (*)(void)' but argument is of type 'double (*)(double)' 10 | void builtin ARG((char *cp, double (*fp)())); | ~~~~~~~~~^~~~~ proto.h:2:20: note: in definition of macro 'ARG' 2 | # define ARG(list) list | ^~~~ proto.h:37:9: note: 'fsqt' declared here 37 | double fsqt ARG((double arg)); | ^~~~ focal0.c:100:25: error: passing argument 2 of 'builtin' from incompatible pointer type [-Wincompatible-pointer-types] 100 | builtin("fabs", fabt); | ^~~~ | | | double (*)(double) proto.h:10:41: note: expected 'double (*)(void)' but argument is of type 'double (*)(double)' 10 | void builtin ARG((char *cp, double (*fp)())); | ~~~~~~~~~^~~~~ proto.h:2:20: note: in definition of macro 'ARG' 2 | # define ARG(list) list | ^~~~ proto.h:38:9: note: 'fabt' declared here 38 | double fabt ARG((double arg)); | ^~~~ focal0.c:101:25: error: passing argument 2 of 'builtin' from incompatible pointer type [-Wincompatible-pointer-types] 101 | builtin("fsgn", fsgn); | ^~~~ | | | double (*)(double) proto.h:10:41: note: expected 'double (*)(void)' but argument is of type 'double (*)(double)' 10 | void builtin ARG((char *cp, double (*fp)())); | ~~~~~~~~~^~~~~ proto.h:2:20: note: in definition of macro 'ARG' 2 | # define ARG(list) list | ^~~~ proto.h:39:9: note: 'fsgn' declared here 39 | double fsgn ARG((double arg)); | ^~~~ focal0.c:102:25: error: passing argument 2 of 'builtin' from incompatible pointer type [-Wincompatible-pointer-types] 102 | builtin("fitr", fitr); | ^~~~ | | | double (*)(double) proto.h:10:41: note: expected 'double (*)(void)' but argument is of type 'double (*)(double)' 10 | void builtin ARG((char *cp, double (*fp)())); | ~~~~~~~~~^~~~~ proto.h:2:20: note: in definition of macro 'ARG' 2 | # define ARG(list) list | ^~~~ proto.h:40:9: note: 'fitr' declared here 40 | double fitr ARG((double arg)); | ^~~~ focal0.c:103:25: error: passing argument 2 of 'builtin' from incompatible pointer type [-Wincompatible-pointer-types] 103 | builtin("fran", fran); | ^~~~ | | | double (*)(double) proto.h:10:41: note: expected 'double (*)(void)' but argument is of type 'double (*)(double)' 10 | void builtin ARG((char *cp, double (*fp)())); | ~~~~~~~~~^~~~~ proto.h:2:20: note: in definition of macro 'ARG' 2 | # define ARG(list) list | ^~~~ proto.h:41:9: note: 'fran' declared here 41 | double fran ARG((double arg)); | ^~~~ focal0.c: In function 'builtin': focal0.c:135:6: warning: old-style function definition [-Wold-style-definition] 135 | void builtin(cp, fp) | ^~~~~~~ focal0.c: In function 'freecontrol': focal0.c:502:1: warning: old-style function definition [-Wold-style-definition] 502 | freecontrol(cp) | ^~~~~~~~~~~ focal0.c: In function 'clearfors': focal0.c:595:6: warning: old-style function definition [-Wold-style-definition] 595 | void clearfors(sp) | ^~~~~~~~~ focal0.c: In function 'inject': focal0.c:628:6: warning: old-style function definition [-Wold-style-definition] 628 | void inject(c) | ^~~~~~ focal0.c: In function 'get_line': focal0.c:672:5: warning: old-style function definition [-Wold-style-definition] 672 | int get_line(cp, fp) | ^~~~~~~~ focal0.c: In function 'save': focal0.c:741:6: warning: old-style function definition [-Wold-style-definition] 741 | void save(lnop, fp) | ^~~~ --- focal1.o --- *** [focal1.o] Error code 1 bmake: stopped making "all" in /tmp/work/lang/focal/work/focal --- focal0.o --- *** [focal0.o] Error code 1 bmake: stopped making "all" in /tmp/work/lang/focal/work/focal bmake: 2 errors bmake: stopped making "all" in /tmp/work/lang/focal/work/focal *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/focal *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/focal