+ 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/libcrack-2.7nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libcrack-2.7nb2/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for libcrack-2.7nb2 --- all --- ( cd cracklib && /opt/pkg/bin/bmake && exit $? ) --- fascist.o --- --- packlib.o --- --- rules.o --- --- stringlib.o --- --- fascist.o --- /home/pbulk/build/security/libcrack/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I../cracklib -DIN_CRACKLIB fascist.c -c -o fascist.o --- rules.o --- /home/pbulk/build/security/libcrack/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I../cracklib -DIN_CRACKLIB rules.c -c -o rules.o --- packlib.o --- /home/pbulk/build/security/libcrack/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I../cracklib -DIN_CRACKLIB packlib.c -c -o packlib.o --- stringlib.o --- /home/pbulk/build/security/libcrack/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I../cracklib -DIN_CRACKLIB stringlib.c -c -o stringlib.o --- rules.o --- libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I../cracklib -DIN_CRACKLIB rules.c -c -fPIC -DPIC -o .libs/rules.o --- packlib.o --- libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I../cracklib -DIN_CRACKLIB packlib.c -c -fPIC -DPIC -o .libs/packlib.o --- stringlib.o --- libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I../cracklib -DIN_CRACKLIB stringlib.c -c -fPIC -DPIC -o .libs/stringlib.o --- fascist.o --- libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I../cracklib -DIN_CRACKLIB fascist.c -c -fPIC -DPIC -o .libs/fascist.o --- rules.o --- rules.c: In function 'Suffix': --- stringlib.o --- stringlib.c: In function 'Clone': stringlib.c:49:23: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 49 | retval = (char *) malloc(strlen(string) + 1); | ^~~~~~ stringlib.c:10:1: note: include '' or provide a declaration of 'malloc' 9 | #include "packer.h" +++ |+#include 10 | --- rules.o --- rules.c:63:9: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 63 | i = strlen(myword); | ^~~~~~ --- stringlib.o --- stringlib.c:49:23: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 49 | retval = (char *) malloc(strlen(string) + 1); | ^~~~~~ stringlib.c:49:23: note: include '' or provide a declaration of 'malloc' --- rules.o --- rules.c:18:1: note: include '' or provide a declaration of 'strlen' 17 | #include "packer.h" +++ |+#include 18 | rules.c:63:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 63 | i = strlen(myword); | ^~~~~~ --- stringlib.o --- stringlib.c:49:30: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 49 | retval = (char *) malloc(strlen(string) + 1); | ^~~~~~ --- rules.o --- rules.c:63:9: note: include '' or provide a declaration of 'strlen' --- stringlib.o --- stringlib.c:10:1: note: include '' or provide a declaration of 'strlen' 9 | #include "packer.h" +++ |+#include 10 | stringlib.c:49:30: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 49 | retval = (char *) malloc(strlen(string) + 1); | ^~~~~~ stringlib.c:49:30: note: include '' or provide a declaration of 'strlen' --- rules.o --- In file included from rules.c:17: packer.h:60:33: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 60 | #define STRCMP(a,b) strcmp((a),(b)) | ^~~~~~ rules.c:68:17: note: in expansion of macro 'STRCMP' 68 | return (STRCMP((myword + i - j), suffix)); | ^~~~~~ packer.h:60:33: note: include '' or provide a declaration of 'strcmp' 60 | #define STRCMP(a,b) strcmp((a),(b)) | ^~~~~~ rules.c:68:17: note: in expansion of macro 'STRCMP' 68 | return (STRCMP((myword + i - j), suffix)); | ^~~~~~ --- stringlib.o --- stringlib.c:52:9: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 52 | strcpy(retval, string); | ^~~~~~ stringlib.c:52:9: note: include '' or provide a declaration of 'strcpy' stringlib.c:52:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] stringlib.c:52:9: note: include '' or provide a declaration of 'strcpy' --- rules.o --- rules.c: In function 'Reverse': rules.c:82:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 82 | j = i = strlen(str); | ^~~~~~ rules.c:82:13: note: include '' or provide a declaration of 'strlen' rules.c: In function 'Pluralise': rules.c:150:14: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 150 | length = strlen(string); | ^~~~~~ rules.c:150:14: note: include '' or provide a declaration of 'strlen' rules.c:151:5: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 151 | strcpy(area, string); | ^~~~~~ rules.c:151:5: note: include '' or provide a declaration of 'strcpy' rules.c:151:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] rules.c:151:5: note: include '' or provide a declaration of 'strcpy' rules.c:160:9: error: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 160 | strcat(area, "es"); | ^~~~~~ rules.c:160:9: note: include '' or provide a declaration of 'strcat' rules.c:160:9: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] rules.c:160:9: note: include '' or provide a declaration of 'strcat' rules.c:163:13: error: implicit declaration of function 'strchr' [-Wimplicit-function-declaration] 163 | if (strchr("aeiou", string[length - 2])) | ^~~~~~ rules.c:163:13: note: include '' or provide a declaration of 'strchr' rules.c:163:13: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] rules.c:163:13: note: include '' or provide a declaration of 'strchr' rules.c:166:13: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 166 | strcat(area, "s"); | ^~~~~~ rules.c:166:13: note: include '' or provide a declaration of 'strcat' rules.c:175:9: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 175 | strcat(area, "es"); | ^~~~~~ rules.c:175:9: note: include '' or provide a declaration of 'strcat' rules.c:179:9: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 179 | strcat(area, "s"); | ^~~~~~ rules.c:179:9: note: include '' or provide a declaration of 'strcat' rules.c: In function 'MatchClass': rules.c:255:13: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 255 | if (strchr("aeiou", c)) | ^~~~~~ rules.c:255:13: note: include '' or provide a declaration of 'strchr' rules.c:264:13: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 264 | if (strchr("bcdfghjklmnpqrstvwxyz", c)) | ^~~~~~ rules.c:264:13: note: include '' or provide a declaration of 'strchr' rules.c:272:13: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 272 | if (strchr("\t ", input)) | ^~~~~~ rules.c:272:13: note: include '' or provide a declaration of 'strchr' rules.c:280:13: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 280 | if (strchr(".`,:;'!?\"", input)) | ^~~~~~ rules.c:280:13: note: include '' or provide a declaration of 'strchr' rules.c:288:13: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 288 | if (strchr("$%%^&*()-_+=|\\[]{}#@/~", input)) | ^~~~~~ rules.c:288:13: note: include '' or provide a declaration of 'strchr' --- packlib.o --- packlib.c: In function 'PWOpen': packlib.c:34:5: error: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 34 | memset(&pdesc, '\0', sizeof(pdesc)); | ^~~~~~ packlib.c:10:1: note: include '' or provide a declaration of 'memset' 9 | #include "packer.h" +++ |+#include 10 | packlib.c:34:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 34 | memset(&pdesc, '\0', sizeof(pdesc)); | ^~~~~~ packlib.c:34:5: note: include '' or provide a declaration of 'memset' --- rules.o --- rules.c: In function 'Mangle': rules.c:431:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 431 | strcpy(area, input); | ^~~~~~ rules.c:431:5: note: include '' or provide a declaration of 'strcpy' rules.c:455:13: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 455 | strcat(area, Reverse(area)); | ^~~~~~ rules.c:455:13: note: include '' or provide a declaration of 'strcat' rules.c:474:21: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 474 | if (strlen(area) <= limit) | ^~~~~~ rules.c:474:21: note: include '' or provide a declaration of 'strlen' rules.c:493:21: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 493 | if (strlen(area) >= limit) | ^~~~~~ rules.c:493:21: note: include '' or provide a declaration of 'strlen' --- packlib.o --- packlib.c: In function 'PWClose': packlib.c:129:9: error: implicit declaration of function 'PutPW' [-Wimplicit-function-declaration] 129 | PutPW(pwp, (char *) 0); /* flush last index if necess */ | ^~~~~ packlib.c: In function 'PutPW': packlib.c:180:9: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 180 | strncpy(pwp->data[pwp->count], string, MAXWORDLEN); | ^~~~~~~ packlib.c:180:9: note: include '' or provide a declaration of 'strncpy' packlib.c:180:9: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] packlib.c:180:9: note: include '' or provide a declaration of 'strncpy' --- rules.o --- rules.c:642:22: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 642 | if (!strchr(area, *(++ptr))) | ^~~~~~ rules.c:642:22: note: include '' or provide a declaration of 'strchr' --- packlib.o --- packlib.c:225:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 225 | memset(pwp->data, '\0', sizeof(pwp->data)); | ^~~~~~ packlib.c:225:9: note: include '' or provide a declaration of 'memset' --- rules.o --- rules.c:662:21: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 662 | if (strchr(area, *(++ptr))) | ^~~~~~ rules.c:662:21: note: include '' or provide a declaration of 'strchr' --- packlib.o --- packlib.c: In function 'GetPW': packlib.c:288:9: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 288 | strcpy(nstr, ostr); | ^~~~~~ packlib.c:288:9: note: include '' or provide a declaration of 'strcpy' packlib.c:288:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] packlib.c:288:9: note: include '' or provide a declaration of 'strcpy' packlib.c: In function 'FindPW': packlib.c:341:15: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 341 | cmp = strcmp(string, this); /* INLINE ? */ | ^~~~~~ packlib.c:341:15: note: include '' or provide a declaration of 'strcmp' --- fascist.o --- fascist.c: In function 'GTry': fascist.c:431:11: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 431 | len = strlen(password); | ^~~~~~ fascist.c:14:1: note: include '' or provide a declaration of 'strlen' 13 | #include +++ |+#include 14 | fascist.c:431:11: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 431 | len = strlen(password); | ^~~~~~ fascist.c:431:11: note: include '' or provide a declaration of 'strlen' --- stringlib.o --- *** [stringlib.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/security/libcrack/work/cracklib,2.7/cracklib --- fascist.o --- fascist.c:444:14: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 444 | if (!strncmp(mp, rawtext, len)) | ^~~~~~~ fascist.c:444:14: note: include '' or provide a declaration of 'strncmp' fascist.c:444:35: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 444 | if (!strncmp(mp, rawtext, len)) | ^~~ : note: built-in 'strncmp' declared here fascist.c:453:44: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 453 | if (!strncmp(Reverse(mp), rawtext, len)) | ^~~ : note: built-in 'strncmp' declared here fascist.c:470:36: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 470 | if (!strncmp(mp, password, len)) | ^~~ : note: built-in 'strncmp' declared here fascist.c: In function 'FascistGecos': fascist.c:502:5: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 502 | strncpy(tbuffer, pwp->pw_name, STRINGSIZE); | ^~~~~~~ fascist.c:502:5: note: include '' or provide a declaration of 'strncpy' fascist.c:502:5: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] fascist.c:502:5: note: include '' or provide a declaration of 'strncpy' fascist.c:513:5: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 513 | strcpy(gbuffer, Lowercase(tbuffer)); | ^~~~~~ fascist.c:513:5: note: include '' or provide a declaration of 'strcpy' fascist.c:513:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] fascist.c:513:5: note: include '' or provide a declaration of 'strcpy' fascist.c:576:17: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 576 | if (strlen(uwords[i]) + strlen(uwords[j]) < STRINGSIZE) | ^~~~~~ fascist.c:576:17: note: include '' or provide a declaration of 'strlen' fascist.c:579:17: error: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 579 | strcat(longbuffer, uwords[j]); | ^~~~~~ fascist.c:579:17: note: include '' or provide a declaration of 'strcat' fascist.c:579:17: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] fascist.c:579:17: note: include '' or provide a declaration of 'strcat' fascist.c:595:17: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 595 | if (strlen(uwords[j]) < STRINGSIZE - 1) | ^~~~~~ fascist.c:595:17: note: include '' or provide a declaration of 'strlen' fascist.c:599:17: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 599 | strcat(longbuffer, uwords[j]); | ^~~~~~ fascist.c:599:17: note: include '' or provide a declaration of 'strcat' fascist.c:607:17: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 607 | if (strlen(uwords[i]) < STRINGSIZE - 1) | ^~~~~~ fascist.c:607:17: note: include '' or provide a declaration of 'strlen' fascist.c:611:17: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 611 | strcat(longbuffer, uwords[i]); | ^~~~~~ fascist.c:611:17: note: include '' or provide a declaration of 'strcat' fascist.c: In function 'FascistLook': fascist.c:640:5: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 640 | strncpy(rpassword, instring, TRUNCSTRINGSIZE); | ^~~~~~~ fascist.c:640:5: note: include '' or provide a declaration of 'strncpy' fascist.c:644:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 644 | if (strlen(password) < 4) | ^~~~~~ fascist.c:644:9: note: include '' or provide a declaration of 'strlen' fascist.c:649:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 649 | if (strlen(password) < MINLEN) | ^~~~~~ fascist.c:649:9: note: include '' or provide a declaration of 'strlen' fascist.c:659:14: error: implicit declaration of function 'strchr' [-Wimplicit-function-declaration] 659 | if (!strchr(junk, password[i])) | ^~~~~~ fascist.c:659:14: note: include '' or provide a declaration of 'strchr' fascist.c:659:14: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] fascist.c:659:14: note: include '' or provide a declaration of 'strchr' fascist.c:666:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 666 | if (strlen(junk) < MINDIFF) | ^~~~~~ fascist.c:666:9: note: include '' or provide a declaration of 'strlen' fascist.c:671:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 671 | strcpy(password, Lowercase(password)); | ^~~~~~ fascist.c:671:5: note: include '' or provide a declaration of 'strcpy' fascist.c:673:5: error: implicit declaration of function 'Trim' [-Wimplicit-function-declaration] 673 | Trim(password); | ^~~~ fascist.c:701:9: error: implicit declaration of function 'PMatch' [-Wimplicit-function-declaration] 701 | if (PMatch("aadddddda", password)) /* smirk */ | ^~~~~~ fascist.c:706:38: error: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 706 | if (ptr = FascistGecos(password, getuid())) | ^~~~~~ | getpwuid fascist.c:728:13: error: implicit declaration of function 'FindPW' [-Wimplicit-function-declaration] 728 | if (FindPW(pwp, a) != notfound) | ^~~~~~ fascist.c: In function 'FascistCheck': fascist.c:770:5: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 770 | strncpy(pwtrunced, password, TRUNCSTRINGSIZE); | ^~~~~~~ fascist.c:770:5: note: include '' or provide a declaration of 'strncpy' In file included from fascist.c:11: packer.h:12:25: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 12 | #define STRINGSIZE 1024 | ^~~~ fascist.c:776:40: note: in expansion of macro 'STRINGSIZE' 776 | if (pwp && strncmp(lastpath, path, STRINGSIZE)) | ^~~~~~~~~~ : note: built-in 'strncmp' declared here fascist.c:778:9: error: implicit declaration of function 'PWClose'; did you mean 'pclose'? [-Wimplicit-function-declaration] 778 | PWClose(pwp); | ^~~~~~~ | pclose fascist.c:787:13: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 787 | exit(-1); | ^~~~ fascist.c:14:1: note: include '' or provide a declaration of 'exit' 13 | #include +++ |+#include 14 | fascist.c:787:13: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 787 | exit(-1); | ^~~~ fascist.c:787:13: note: include '' or provide a declaration of 'exit' --- packlib.o --- *** [packlib.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/security/libcrack/work/cracklib,2.7/cracklib --- rules.o --- *** [rules.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/security/libcrack/work/cracklib,2.7/cracklib --- fascist.o --- *** [fascist.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/security/libcrack/work/cracklib,2.7/cracklib bmake[1]: 4 errors bmake[1]: stopped making "all" in /home/pbulk/build/security/libcrack/work/cracklib,2.7/cracklib *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/security/libcrack/work/cracklib,2.7 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/security/libcrack/work/cracklib,2.7 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/libcrack *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/libcrack