=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/devel/mkcmd", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for mkcmd-8.14nb3 cd /tmp/work/devel/mkcmd/work/mkcmd-8.14/bin/mkcmd && HOSTTYPE= /usr/bin/bash /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/mkcmd/files/makeme ROOT=/opt/pkg BIN=/opt/pkg/bin LIB=/opt/pkg/lib/mkcmd gcc -O -DSUN5 -c main.c getopt.mi: In function 'optaccum': getopt.mi:77:1: warning: old-style function definition [-Wold-style-definition] mkcmd.m: In function 'Explode': mkcmd.m:222:1: warning: old-style function definition [-Wold-style-definition] 222 | { | ^ mkcmd.m:230:34: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(FILE *)' [-Wincompatible-pointer-types] 230 | printf("%s.c: %s\n", pchBaseName, pcModule); | ^ In file included from /usr/include/stdio.h:83, from main.c:5: /usr/include/iso/stdio_iso.h:195:17: note: 'fclose' declared here 195 | extern int fclose(FILE *); | ^~~~~~ mkcmd.m:295:13: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(FILE *)' [-Wincompatible-pointer-types] 295 | | ^ /usr/include/stdio.h:327:17: note: 'pclose' declared here 327 | extern int pclose(FILE *); | ^~~~~~ mkcmd.m: In function 'Search': mkcmd.m:302:1: warning: old-style function definition [-Wold-style-definition] 302 | { | ^ mkcmd.m:305:8: error: number of arguments doesn't match prototype 305 | register FILE *fp; | ^ mkcmd.m:20:14: error: prototype declaration 20 | extern FILE *Search(/* char *pcFile, char *pcMode, int (**pfiClose)() */); | ^~~~~~ getopt.mc: In function 'u_mynext': getopt.mc:28:1: warning: old-style function definition [-Wold-style-definition] getopt.mc: In function 'u_envopt': getopt.mc:76:1: warning: old-style function definition [-Wold-style-definition] getopt.mc: In function 'u_getarg': getopt.mc:134:1: warning: old-style function definition [-Wold-style-definition] getopt.mc: In function 'u_getopt': getopt.mc:160:1: warning: old-style function definition [-Wold-style-definition] mkcmd_generated_main: In function 'main': mkcmd_generated_main:5:1: warning: old-style function definition [-Wold-style-definition] mkcmd_generated_main:17:15: error: conflicting types for 'getenv'; have 'char *(void)' In file included from /usr/include/stdlib.h:41, from machine.h:130, from main.c:10: /usr/include/iso/stdlib_iso.h:139:14: note: previous declaration of 'getenv' with type 'char *(const char *)' 139 | extern char *getenv(const char *); | ^~~~~~ mkcmd_generated_main:18:13: error: conflicting types for 'atoi'; have 'int(void)' /usr/include/iso/stdlib_iso.h:124:12: note: previous declaration of 'atoi' with type 'int(const char *)' 124 | extern int atoi(const char *); | ^~~~ mkcmd_generated_main:27:30: error: too many arguments to function 'getenv'; expected 0, have 1 mkcmd_generated_main:17:15: note: declared here mkcmd_generated_main:32:2: error: too many arguments to function 'Init'; expected 0, have 1 In file included from main.c:13: parser.h:12:13: note: declared here 12 | extern void Init(/* char */); | ^~~~ mkcmd_generated_main:51:4: error: too many arguments to function 'EmitHelp'; expected 0, have 2 In file included from main.c:12: emit.h:62:13: note: declared here 62 | extern void EmitHelp(/* FILE *, EMIT_HELP * */); | ^~~~~~~~ mkcmd_generated_main:90:4: error: too many arguments to function 'DumpTypes'; expected 0, have 1 In file included from main.c:11: type.h:108:13: note: declared here 108 | extern void DumpTypes(/* FILE *fp */); | ^~~~~~~~~ mkcmd_generated_main:103:2: error: too many arguments to function 'Config'; expected 0, have 1 parser.h:4:13: note: declared here 4 | extern void Config(/* char *pcFile */); | ^~~~~~ mkcmd_generated_main:105:3: error: too many arguments to function 'Config'; expected 0, have 1 parser.h:4:13: note: declared here 4 | extern void Config(/* char *pcFile */); | ^~~~~~ mkcmd_generated_main:109:3: error: too many arguments to function 'Config'; expected 0, have 1 parser.h:4:13: note: declared here 4 | extern void Config(/* char *pcFile */); | ^~~~~~ mkcmd_generated_main:111:2: error: too many arguments to function 'Gen'; expected 0, have 2 parser.h:5:13: note: declared here 5 | extern void Gen(/* char *pcBaseName, char *pcManPage */); | ^~~ mkcmd_generated_main:112:2: error: implicit declaration of function 'Cleanup' [-Wimplicit-function-declaration] *** Error code 1 Stop. make[2]: stopped making "all" in /tmp/work/devel/mkcmd/work/mkcmd-8.14/bin/mkcmd *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/mkcmd *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/mkcmd