=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/misc/elizatalk", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for elizatalk-0.4nb1 gcc -M elizatalk.c splotch.c >make.depend gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DELIZADIR=\"/opt/pkg/share/elizatalk\" -c -o elizatalk.o elizatalk.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DELIZADIR=\"/opt/pkg/share/elizatalk\" -c -o splotch.o splotch.c In file included from elizatalk.c:11: splotch.h:2:8: error: type defaults to 'int' in declaration of 'ask' [-Wimplicit-int] 2 | extern ask(char person[20], char question[400]); | ^~~ elizatalk.c:16:1: error: return type defaults to 'int' [-Wimplicit-int] 16 | main(int argc, char** argv) | ^~~~ elizatalk.c: In function 'main': elizatalk.c:21:2: error: implicit declaration of function 'SP_init' [-Wimplicit-function-declaration] 21 | SP_init(); // initialize eliza (splotch.c) | ^~~~~~~ elizatalk.c:28:15: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 28 | for(i=0;i' or provide a declaration of 'strlen' 11 | #include "splotch.h" +++ |+#include 12 | elizatalk.c:28:15: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 28 | for(i=0;i' or provide a declaration of 'strlen' elizatalk.c:35:5: error: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 35 | sleep(REPLYDELAY); | ^~~~~ In file included from splotch.c:13: splotch.h:2:8: error: type defaults to 'int' in declaration of 'ask' [-Wimplicit-int] 2 | extern ask(char person[20], char question[400]); | ^~~ splotch.c:60:1: error: return type defaults to 'int' [-Wimplicit-int] 60 | ask(person, question) | ^~~ splotch.c: In function 'ask': splotch.c:60:1: warning: old-style function definition [-Wold-style-definition] splotch.c:67:3: error: implicit declaration of function 'expand' [-Wimplicit-function-declaration] 67 | expand(question); /* swap word according to syn.dict file */ | ^~~~~~ gmake: *** [: elizatalk.o] Error 1 gmake: *** Waiting for unfinished jobs.... splotch.c:71:7: error: implicit declaration of function 'trytempl' [-Wimplicit-function-declaration] 71 | i = trytempl(question); /* look for a matching template */ | ^~~~~~~~ splotch.c:83:5: error: implicit declaration of function 'usetempl' [-Wimplicit-function-declaration] 83 | usetempl(i); /* build response */ | ^~~~~~~~ splotch.c: At top level: splotch.c:112:1: error: return type defaults to 'int' [-Wimplicit-int] 112 | SP_init() | ^~~~~~~ splotch.c: In function 'SP_init': splotch.c:131:11: error: implicit declaration of function 'getpid'; did you mean 'getpw'? [-Wimplicit-function-declaration] 131 | srandom(getpid()); /* randomize seed */ | ^~~~~~ | getpw splotch.c:132:3: error: implicit declaration of function 'buildtempl' [-Wimplicit-function-declaration] 132 | buildtempl(); /* read the templates, make 1 entry per template */ | ^~~~~~~~~~ splotch.c: At top level: splotch.c:138:1: error: return type defaults to 'int' [-Wimplicit-int] 138 | SP_reinit() | ^~~~~~~~~ splotch.c:153:1: error: return type defaults to 'int' [-Wimplicit-int] 153 | buildtempl() | ^~~~~~~~~~ splotch.c:229:1: error: return type defaults to 'int' [-Wimplicit-int] 229 | usetempl(i) | ^~~~~~~~ splotch.c: In function 'usetempl': splotch.c:229:1: warning: old-style function definition [-Wold-style-definition] splotch.c:292:26: error: too many arguments to function 'lower'; expected 0, have 1 292 | sprintf(text, " %s", lower(my_nick)); | ^~~~~ ~~~~~~~ splotch.c:47:7: note: declared here 47 | char *lower(); | ^~~~~ splotch.c:293:30: error: too many arguments to function 'lower'; expected 0, have 1 293 | sprintf(text2,"than %s", lower(my_nick)); | ^~~~~ ~~~~~~~ splotch.c:47:7: note: declared here 47 | char *lower(); | ^~~~~ splotch.c:308:5: error: implicit declaration of function 'fix' [-Wimplicit-function-declaration] 308 | fix(); /* fix grammer */ | ^~~ splotch.c:310:5: error: implicit declaration of function 'swap'; did you mean 'swab'? [-Wimplicit-function-declaration] 310 | swap (response, "%", words); | ^~~~ | swab splotch.c:313:18: error: too many arguments to function 'lower'; expected 0, have 1 313 | swap(response, lower(my_nick), "I"); /* should use NAME */ | ^~~~~ ~~~~~~~ splotch.c:47:7: note: declared here 47 | char *lower(); | ^~~~~ splotch.c:320:3: error: implicit declaration of function 'gswap' [-Wimplicit-function-declaration] 320 | gswap("i are", "I am"); | ^~~~~ splotch.c:355:9: error: implicit declaration of function 'grline'; did you mean 'getline'? [-Wimplicit-function-declaration] 355 | if (grline(filename, add)==1) { /* problem reading file */ | ^~~~~~ | getline splotch.c: In function 'grline': splotch.c:380:5: warning: old-style function definition [-Wold-style-definition] 380 | int grline(infile,s1) | ^~~~~~ splotch.c:403:5: error: implicit declaration of function 'fixfile' [-Wimplicit-function-declaration] 403 | fixfile(fname); | ^~~~~~~ splotch.c: At top level: splotch.c:432:1: error: return type defaults to 'int' [-Wimplicit-int] 432 | expand (s) | ^~~~~~ splotch.c: In function 'expand': splotch.c:432:1: warning: old-style function definition [-Wold-style-definition] splotch.c:441:4: error: implicit declaration of function 'strlower'; did you mean '_tolower'? [-Wimplicit-function-declaration] 441 | strlower(s); | ^~~~~~~~ | _tolower splotch.c: At top level: splotch.c:479:1: error: return type defaults to 'int' [-Wimplicit-int] 479 | swap(s, old, new) | ^~~~ splotch.c: In function 'swap': splotch.c:479:1: warning: old-style function definition [-Wold-style-definition] splotch.c: At top level: splotch.c:539:1: error: return type defaults to 'int' [-Wimplicit-int] 539 | strlower(s) | ^~~~~~~~ splotch.c: In function 'strlower': splotch.c:539:1: warning: old-style function definition [-Wold-style-definition] splotch.c: In function 'lower': splotch.c:552:7: warning: old-style function definition [-Wold-style-definition] 552 | char *lower(s) | ^~~~~ splotch.c:554:1: error: number of arguments doesn't match prototype 554 | { | ^ splotch.c:47:7: error: prototype declaration 47 | char *lower(); | ^~~~~ splotch.c: At top level: splotch.c:572:1: error: return type defaults to 'int' [-Wimplicit-int] 572 | fixfile(fname) | ^~~~~~~ splotch.c: In function 'fixfile': splotch.c:572:1: warning: old-style function definition [-Wold-style-definition] splotch.c: At top level: splotch.c:657:1: error: return type defaults to 'int' [-Wimplicit-int] 657 | trytempl(question) | ^~~~~~~~ splotch.c: In function 'trytempl': splotch.c:657:1: warning: old-style function definition [-Wold-style-definition] splotch.c:695:21: error: too many arguments to function 'phrasefind'; expected 0, have 2 695 | case '!': if (phrasefind(question, key+1) != NULL) { | ^~~~~~~~~~ ~~~~~~~~ splotch.c:46:7: note: declared here 46 | char *phrasefind(); | ^~~~~~~~~~ splotch.c:700:21: error: too many arguments to function 'phrasefind'; expected 0, have 2 700 | case '&': if (phrasefind(question, key+1) == NULL) { | ^~~~~~~~~~ ~~~~~~~~ splotch.c:46:7: note: declared here 46 | char *phrasefind(); | ^~~~~~~~~~ splotch.c:705:21: error: too many arguments to function 'phrasefind'; expected 0, have 2 705 | case '+': if (phrasefind(question, my_nick) == NULL) { /* name */ | ^~~~~~~~~~ ~~~~~~~~ splotch.c:46:7: note: declared here 46 | char *phrasefind(); | ^~~~~~~~~~ splotch.c:711:24: error: too many arguments to function 'phrasefind'; expected 0, have 2 711 | if (phrasefind(question, key)) | ^~~~~~~~~~ ~~~~~~~~ splotch.c:46:7: note: declared here 46 | char *phrasefind(); | ^~~~~~~~~~ splotch.c:725:24: error: too many arguments to function 'phrasefind'; expected 0, have 2 725 | p1=phrasefind(question, key1); | ^~~~~~~~~~ ~~~~~~~~ splotch.c:46:7: note: declared here 46 | char *phrasefind(); | ^~~~~~~~~~ splotch.c:728:28: error: too many arguments to function 'phrasefind'; expected 0, have 2 728 | p2=phrasefind(p1+1, key2); | ^~~~~~~~~~ ~~~~ splotch.c:46:7: note: declared here 46 | char *phrasefind(); | ^~~~~~~~~~ splotch.c:739:24: error: too many arguments to function 'phrasefind'; expected 0, have 2 739 | p1=phrasefind(question, key1); | ^~~~~~~~~~ ~~~~~~~~ splotch.c:46:7: note: declared here 46 | char *phrasefind(); | ^~~~~~~~~~ splotch.c: In function 'phrasefind': splotch.c:782:7: warning: old-style function definition [-Wold-style-definition] 782 | char *phrasefind(string, searchstring) | ^~~~~~~~~~ splotch.c:785:1: error: number of arguments doesn't match prototype 785 | { | ^ splotch.c:46:7: error: prototype declaration 46 | char *phrasefind(); | ^~~~~~~~~~ splotch.c: At top level: splotch.c:818:1: error: return type defaults to 'int' [-Wimplicit-int] 818 | fix() | ^~~ splotch.c:847:1: error: return type defaults to 'int' [-Wimplicit-int] 847 | gswap(old, new) | ^~~~~ splotch.c: In function 'gswap': splotch.c:847:1: warning: old-style function definition [-Wold-style-definition] splotch.c: In function 'shift': splotch.c:877:1: warning: old-style function definition [-Wold-style-definition] 877 | shift(base, delta) | ^~~~~ gmake: *** [: splotch.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/elizatalk *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/elizatalk