+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/elizatalk-0.4nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/elizatalk-0.4nb1/work.log 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:67:3: error: implicit declaration of function 'expand' [-Wimplicit-function-declaration] 67 | expand(question); /* swap word according to syn.dict file */ | ^~~~~~ 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() | ^~~~~~~ gmake: *** [: elizatalk.o] Error 1 gmake: *** Waiting for unfinished jobs.... 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: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: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: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: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:539:1: error: return type defaults to 'int' [-Wimplicit-int] 539 | strlower(s) | ^~~~~~~~ splotch.c:572:1: error: return type defaults to 'int' [-Wimplicit-int] 572 | fixfile(fname) | ^~~~~~~ splotch.c:657:1: error: return type defaults to 'int' [-Wimplicit-int] 657 | trytempl(question) | ^~~~~~~~ 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) | ^~~~~ 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