=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/converters/qkc", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for qkc-1.0nb1 --- qkc.o --- --- qkcopt.o --- --- qkchelp.o --- --- qkc.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c qkc.c --- qkchelp.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c qkchelp.c --- qkcopt.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c qkcopt.c --- qkc.o --- qkc.c: In function 'fromstdin': qkc.c:100:6: warning: old-style function definition [-Wold-style-definition] 100 | void fromstdin(c) | ^~~~~~~~~ qkc.c: In function 'strdup2': qkc.c:131:7: warning: old-style function definition [-Wold-style-definition] 131 | char *strdup2(s) | ^~~~~~~ qkc.c: In function 'pathsplit': qkc.c:143:6: warning: old-style function definition [-Wold-style-definition] 143 | void pathsplit(path, dir, name) | ^~~~~~~~~ qkc.c: In function 'maketemp': qkc.c:168:7: warning: old-style function definition [-Wold-style-definition] 168 | char *maketemp(base, ext, dir) | ^~~~~~~~ qkc.c: In function 'opentempfile': qkc.c:199:7: warning: old-style function definition [-Wold-style-definition] 199 | char *opentempfile(dir) | ^~~~~~~~~~~~ qkc.c: In function 'convertnewline1': qkc.c:217:14: warning: old-style function definition [-Wold-style-definition] 217 | unsigned int convertnewline1(buf, size) | ^~~~~~~~~~~~~~~ qkc.c: In function 'convertnewline2': qkc.c:256:14: warning: old-style function definition [-Wold-style-definition] 256 | unsigned int convertnewline2(buf, size, code) | ^~~~~~~~~~~~~~~ qkc.c: In function 'checkbinary': qkc.c:393:5: warning: old-style function definition [-Wold-style-definition] 393 | int checkbinary(buf, size) | ^~~~~~~~~~~ qkc.c: In function 'detectnewlinecode': qkc.c:411:5: warning: old-style function definition [-Wold-style-definition] 411 | int detectnewlinecode(buf, size) | ^~~~~~~~~~~~~~~~~ qkc.c: In function 'checkforward': qkc.c:436:5: warning: old-style function definition [-Wold-style-definition] 436 | int checkforward(p, size) | ^~~~~~~~~~~~ qkc.c: In function 'detectcode': qkc.c:501:5: warning: old-style function definition [-Wold-style-definition] 501 | int detectcode(buf, size) | ^~~~~~~~~~ qkc.c: In function 'convinfostr': qkc.c:710:7: warning: old-style function definition [-Wold-style-definition] 710 | char *convinfostr(buf) | ^~~~~~~~~~~ qkc.c: In function 'convert': qkc.c:757:5: warning: old-style function definition [-Wold-style-definition] 757 | int convert(filename) | ^~~~~~~ qkc.c: In function 'main': qkc.c:891:14: warning: old-style function definition [-Wold-style-definition] 891 | int CALLTYPE main(argc, argv) | ^~~~ qkc.c:897:5: error: too many arguments to function 'checkemulationmode'; expected 0, have 1 897 | checkemulationmode(*(argv + 1)); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ qkc.c:47:13: note: declared here 47 | extern void checkemulationmode(); | ^~~~~~~~~~~~~~~~~~ qkc.c:901:13: error: too many arguments to function 'isoption'; expected 0, have 1 901 | if (isoption(*++argv)) | ^~~~~~~~ ~~~~~~~ qkc.c:48:12: note: declared here 48 | extern int isoption(); | ^~~~~~~~ qkc.c:902:13: error: too many arguments to function 'checkoption'; expected 0, have 1 902 | checkoption(*argv); | ^~~~~~~~~~~ ~~~~~ qkc.c:49:13: note: declared here 49 | extern void checkoption(); | ^~~~~~~~~~~ *** [qkc.o] Error code 1 bmake: stopped making "qkc" in /tmp/work/converters/qkc/work --- qkcopt.o --- qkcopt.c: In function 'isoption': qkcopt.c:39:5: warning: old-style function definition [-Wold-style-definition] 39 | int isoption(s) | ^~~~~~~~ qkcopt.c: In function 'invalidoption': qkcopt.c:49:6: warning: old-style function definition [-Wold-style-definition] 49 | void invalidoption(c) | ^~~~~~~~~~~~~ qkcopt.c: In function 'setescseq': qkcopt.c:57:6: warning: old-style function definition [-Wold-style-definition] 57 | void setescseq(d, s) | ^~~~~~~~~ qkcopt.c: In function 'checkemulationmode': qkcopt.c:65:6: warning: old-style function definition [-Wold-style-definition] 65 | void checkemulationmode(s) | ^~~~~~~~~~~~~~~~~~ qkcopt.c: In function 'checkoption_nkf': qkcopt.c:77:6: warning: old-style function definition [-Wold-style-definition] 77 | void checkoption_nkf(opt) | ^~~~~~~~~~~~~~~ qkcopt.c: In function 'checkoption': qkcopt.c:137:6: warning: old-style function definition [-Wold-style-definition] 137 | void checkoption(opt) | ^~~~~~~~~~~ qkcopt.c: In function 'checkenvoption': qkcopt.c:299:14: error: too many arguments to function 'strdup2'; expected 0, have 1 299 | if ((s = strdup2(org)) == NULL) | ^~~~~~~ ~~~ qkcopt.c:36:14: note: declared here 36 | extern char *strdup2(); | ^~~~~~~ *** [qkcopt.o] Error code 1 bmake: stopped making "qkc" in /tmp/work/converters/qkc/work bmake: 2 errors bmake: stopped making "qkc" in /tmp/work/converters/qkc/work *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/converters/qkc *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/converters/qkc