+ 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/faces-1.6.1nb15/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/faces-1.6.1nb15/work.log ===> Building for faces-1.6.1nb15 --- address.o --- --- get.o --- --- main.o --- --- mon.o --- --- address.o --- yacc address.y --- get.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DAUDIO_SUPPORT -DAUDIO_CMD=\"/opt/pkg/bin/rplay\" -DDNSLOOKUP -DFACEDIR=\"/opt/pkg/share/faces\" -DNISLOOKUP -DNO_43SELECT -DSPOOLDIR=\"/var/mail\" -DSYSV32 -I/opt/pkg/include -c get.c --- main.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DAUDIO_SUPPORT -DAUDIO_CMD=\"/opt/pkg/bin/rplay\" -DDNSLOOKUP -DFACEDIR=\"/opt/pkg/share/faces\" -DNISLOOKUP -DNO_43SELECT -DSPOOLDIR=\"/var/mail\" -DSYSV32 -I/opt/pkg/include -c main.c --- mon.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DAUDIO_SUPPORT -DAUDIO_CMD=\"/opt/pkg/bin/rplay\" -DDNSLOOKUP -DFACEDIR=\"/opt/pkg/share/faces\" -DNISLOOKUP -DNO_43SELECT -DSPOOLDIR=\"/var/mail\" -DSYSV32 -I/opt/pkg/include -c mon.c --- get.o --- get.c: In function 'get_options': get.c:242:34: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 242 | maxcols = atoi(next) ; | ^~~~ get.c:371:24: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 371 | exit(1) ; | ^~~~ get.c:29:1: note: include '' or provide a declaration of 'exit' 28 | #include "patchlevel.h" +++ |+#include 29 | get.c:371:24: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 371 | exit(1) ; | ^~~~ get.c:371:24: note: include '' or provide a declaration of 'exit' get.c:380:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 380 | if ((*pptr == (char) NULL) || (*pptr == ':')) | ^ get.c:386:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 386 | if (*(pptr++) == (char) NULL) break ; | ^ get.c:392:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 392 | if (pptr) *(pptr++) = (char) NULL ; | ^ get.c: In function 'getname': get.c:501:24: error: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 501 | pwent = getpwuid(getuid()) ; | ^~~~~~ | getpwuid get.c: In function 'getparam': get.c:517:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 517 | exit(1) ; | ^~~~ get.c:517:7: note: include '' or provide a declaration of 'exit' get.c: In function 'usage': get.c:631:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 631 | exit(1) ; | ^~~~ get.c:631:3: note: include '' or provide a declaration of 'exit' get.c: In function 'write_cmdline': get.c:640:11: error: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 640 | line[0] = NULL ; | ^ get.c:680:3: error: implicit declaration of function 'save_cmdline'; did you mean 'write_cmdline'? [-Wimplicit-function-declaration] 680 | save_cmdline(line) ; | ^~~~~~~~~~~~ | write_cmdline *** [get.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/mail/faces/work/faces --- main.o --- In file included from main.c:52: main.c: In function 'main': faces.h:147:41: error: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] 147 | #define GETHOSTNAME(name, len) (void) gethostname(name, len) | ^~~~~~~~~~~ main.c:270:3: note: in expansion of macro 'GETHOSTNAME' 270 | GETHOSTNAME(nextline, MAXLINE) ; | ^~~~~~~~~~~ main.c: In function 'make_iconname': main.c:678:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 678 | #endif REGULAR_FILE_BUT_BROKEN | ^~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'searchfacedb': main.c:794:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 794 | if (*community != (char) NULL) | ^ main.c:819:21: error: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] 819 | STRCAT(strcpy(temp, facepath[id]), b) ; | ^~~~ | | | char ** In file included from /usr/include/string.h:35, from main.c:21: /usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'char **' 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ main.c:821:28: error: passing argument 1 of 'stat' from incompatible pointer type [-Wincompatible-pointer-types] 821 | if (!i && (i = (stat(temp, &buf) != -1))) | ^~~~ | | | char ** In file included from /usr/include/sys/stat.h:517, from main.c:27: /usr/include/sys/stat_impl.h:46:17: note: expected 'const char * restrict' but argument is of type 'char **' 46 | extern int stat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD); | ^ main.c:824:28: error: passing argument 2 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types] 824 | STRCPY(iconname, temp) ; | ^~~~ | | | char ** /usr/include/iso/string_iso.h:75:43: note: expected 'const char * restrict' but argument is of type 'char **' 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ *** [main.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/mail/faces/work/faces --- address.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DAUDIO_SUPPORT -DAUDIO_CMD=\"/opt/pkg/bin/rplay\" -DDNSLOOKUP -DFACEDIR=\"/opt/pkg/share/faces\" -DNISLOOKUP -DNO_43SELECT -DSPOOLDIR=\"/var/mail\" -DSYSV32 -I/opt/pkg/include -c -o address.o y.tab.c --- mon.o --- mon.c: In function 'process_face': mon.c:893:7: error: implicit declaration of function 'uncompface' [-Wimplicit-function-declaration] 893 | if (uncompface(face_buf) < 0) return ; | ^~~~~~~~~~ mon.c: In function 'process_from': mon.c:948:11: error: implicit declaration of function 'parse822from'; did you mean 'parsefrom'? [-Wimplicit-function-declaration] 948 | if (parse822from(line, &user, &host)) | ^~~~~~~~~~~~ | parsefrom *** [mon.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/mail/faces/work/faces --- address.o --- y.tab.c: In function 'yyparse': y.tab.c:1156:16: error: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] 1156 | yychar = yylex (); | ^~~~~ address.y:93:13: error: implicit declaration of function 'appAddr' [-Wimplicit-function-declaration] 93 | appAddr(&adrlist, $1); | ^~~~~~~ address.y:184:12: error: implicit declaration of function 'prepDom' [-Wimplicit-function-declaration] 184 | prepDom(&($3->route), $2); | ^~~~~~~ address.y:198:13: error: implicit declaration of function 'appDom' [-Wimplicit-function-declaration] 198 | appDom(&($1), $4); | ^~~~~~ address.y: In function 'newstring3': address.y:294:9: error: implicit declaration of function 'nomem' [-Wimplicit-function-declaration] 294 | nomem(); | ^~~~~ address.y: At top level: address.y:345:1: error: return type defaults to 'int' [-Wimplicit-int] 345 | parseit(line) | ^~~~~~~ address.y: In function 'parseit': address.y:348:5: error: implicit declaration of function 'Afreeall'; did you mean 'Afree'? [-Wimplicit-function-declaration] 348 | Afreeall(); | ^~~~~~~~ | Afree address.y: In function 'eatcomment': address.y:381:25: error: implicit declaration of function 'panic' [-Wimplicit-function-declaration] 381 | panic("eatcomment botch"); | ^~~~~ address.y: At top level: address.y:389:1: error: return type defaults to 'int' [-Wimplicit-int] 389 | yylex() | ^~~~~ address.y:522:1: error: return type defaults to 'int' [-Wimplicit-int] 522 | appAddr(head, addr) | ^~~~~~~ address.y:558:1: error: return type defaults to 'int' [-Wimplicit-int] 558 | appDom(head, dom) | ^~~~~~ address.y:577:1: error: return type defaults to 'int' [-Wimplicit-int] 577 | prepDom(head, dom) | ^~~~~~~ address.y: In function 'panic': address.y:729:14: error: implicit declaration of function 'getpid'; did you mean 'getpw'? [-Wimplicit-function-declaration] 729 | kill(getpid(), SIGQUIT); | ^~~~~~ | getpw address.y: At top level: address.y:733:1: error: return type defaults to 'int' [-Wimplicit-int] 733 | nomem() | ^~~~~ address.y:739:1: error: return type defaults to 'int' [-Wimplicit-int] 739 | Afreeall() | ^~~~~~~~ *** [address.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/mail/faces/work/faces bmake: 4 errors bmake: stopped making "all" in /home/pbulk/build/mail/faces/work/faces *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/faces *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/faces