=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/mail/faces", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for faces-1.6.1nb15 --- address.o --- --- get.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 In file included from get.c:26: faces.h:197:14: warning: conflicting types for built-in function 'index'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch] 197 | extern char *index P(()) ; | ^~~~~ faces.h:198:14: warning: conflicting types for built-in function 'rindex'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch] 198 | extern char *rindex P(()) ; | ^~~~~~ faces.h:199:14: error: conflicting types for 'strcpy'; have 'char *(void)' 199 | extern char *strcpy P(()) ; | ^~~~~~ In file included from /usr/include/string.h:35, from get.c:19: /usr/include/iso/string_iso.h:75:14: note: previous declaration of 'strcpy' with type 'char *(char *, const char *)' 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^~~~~~ faces.h:289:7: error: conflicting types for 'strlower'; have 'char *(char *)' 289 | char *strlower P((char *)) ; | ^~~~~~~~ faces.h:200:14: note: previous declaration of 'strlower' with type 'char *(void)' 200 | extern char *strlower P(()) ; | ^~~~~~~~ get.c: In function 'cmdbool': get.c:34:1: warning: old-style function definition [-Wold-style-definition] 34 | cmdbool(value, line, arg) | ^~~~~~~ get.c: In function 'cmdint': get.c:45:1: warning: old-style function definition [-Wold-style-definition] 45 | cmdint(value, defval, line, arg) | ^~~~~~ get.c: In function 'cmdstr': get.c:62:1: warning: old-style function definition [-Wold-style-definition] 62 | cmdstr(value, line, arg) | ^~~~~~ get.c: In function 'get_blit_ikon': get.c:76:1: warning: old-style function definition [-Wold-style-definition] 76 | get_blit_ikon(name, buf) /* Load blit ikon file. */ | ^~~~~~~~~~~~~ get.c:98:17: error: too many arguments to function 'index'; expected 0, have 2 98 | ptr = index(ptr, ',') ; | ^~~~~ ~~~ faces.h:197:14: note: declared here 197 | extern char *index P(()) ; | ^~~~~ get.c: In function 'get_hex': get.c:111:1: warning: old-style function definition [-Wold-style-definition] 111 | get_hex(fp) | ^~~~~~~ get.c: In function 'get_icon': get.c:136:1: warning: old-style function definition [-Wold-style-definition] 136 | get_icon(dirname, buf) /* Read in icon file. */ | ^~~~~~~~ get.c:152:9: error: too many arguments to function 'rindex'; expected 0, have 2 152 | ptr = rindex(dirname, '/') ; /* Find last slash in iconname. */ | ^~~~~~ ~~~~~~~ faces.h:198:14: note: declared here 198 | extern char *rindex P(()) ; | ^~~~~~ get.c: In function 'get_news_icon': get.c:166:1: warning: old-style function definition [-Wold-style-definition] 166 | get_news_icon(name) /* Create record for news.ps file. */ | ^~~~~~~~~~~~~ get.c: In function 'get_options': get.c:180:1: warning: old-style function definition [-Wold-style-definition] 180 | get_options(argc, argv) /* Read and process command line options. */ | ^~~~~~~~~~~ get.c:189:13: error: too many arguments to function 'getenv'; expected 0, have 1 189 | faceenv = getenv("FACEPATH") ; | ^~~~~~ ~~~~~~~~~~ faces.h:196:14: note: declared here 196 | extern char *getenv P(()) ; | ^~~~~~ 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:391:18: error: too many arguments to function 'index'; expected 0, have 2 391 | pptr = index(pptr, ':') ; | ^~~~~ ~~~~ faces.h:197:14: note: declared here 197 | extern char *index P(()) ; | ^~~~~ 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 'get_x11_icon': get.c:399:1: warning: old-style function definition [-Wold-style-definition] 399 | get_x11_icon(name, buf) /* Load X11 icon file. */ | ^~~~~~~~~~~~ get.c:412:15: error: too many arguments to function 'rindex'; expected 0, have 2 412 | if ((cptr = rindex((char *) vbuf, '_')) == NULL || strcmp(cptr, "_width")) | ^~~~~~ ~~~~~~~~~~~~~ faces.h:198:14: note: declared here 198 | extern char *rindex P(()) ; | ^~~~~~ get.c:418:15: error: too many arguments to function 'rindex'; expected 0, have 2 418 | if ((cptr = rindex((char *) vbuf, '_')) == NULL || strcmp(cptr, "_height")) | ^~~~~~ ~~~~~~~~~~~~~ faces.h:198:14: note: declared here 198 | extern char *rindex P(()) ; | ^~~~~~ get.c: In function 'get_xface': get.c:464:1: warning: old-style function definition [-Wold-style-definition] 464 | get_xface(ibuf, obuf) /* Extract "raw" X-Face data. */ | ^~~~~~~~~ get.c:483:22: error: too many arguments to function 'index'; expected 0, have 2 483 | if ((ptr = index(ptr, ',')) == NULL) return ; | ^~~~~ ~~~ faces.h:197:14: note: declared here 197 | extern char *index P(()) ; | ^~~~~ get.c: In function 'getname': get.c:497:18: error: conflicting types for 'getpwuid'; have 'struct passwd *(void)' 497 | struct passwd *getpwuid(), *pwent ; | ^~~~~~~~ In file included from get.c:23: /usr/include/pwd.h:69:23: note: previous declaration of 'getpwuid' with type 'struct passwd *(uid_t)' {aka 'struct passwd *(unsigned int)'} 69 | extern struct passwd *getpwuid(uid_t); /* MT-unsafe */ | ^~~~~~~~ get.c:501:24: error: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 501 | pwent = getpwuid(getuid()) ; | ^~~~~~ | getpwuid get.c:501:15: error: too many arguments to function 'getpwuid'; expected 0, have 1 501 | pwent = getpwuid(getuid()) ; | ^~~~~~~~ ~~~~~~~~ get.c:497:18: note: declared here 497 | struct passwd *getpwuid(), *pwent ; | ^~~~~~~~ get.c: In function 'getparam': get.c:510:1: warning: old-style function definition [-Wold-style-definition] 510 | getparam(s, argv, errmes) | ^~~~~~~~ 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 'get_sun_icon': get.c:523:1: warning: old-style function definition [-Wold-style-definition] 523 | get_sun_icon(name, buf) /* Load Sun icon file. */ | ^~~~~~~~~~~~ get.c: At top level: get.c:601:1: error: conflicting types for 'strlower'; have 'char *(char *)' 601 | strlower(str) | ^~~~~~~~ faces.h:200:14: note: previous declaration of 'strlower' with type 'char *(void)' 200 | extern char *strlower P(()) ; | ^~~~~~~~ get.c: In function 'strlower': get.c:601:1: warning: old-style function definition [-Wold-style-definition] 601 | strlower(str) | ^~~~~~~~ get.c:603:1: error: number of arguments doesn't match prototype 603 | { | ^ faces.h:200:14: error: prototype declaration 200 | extern char *strlower P(()) ; | ^~~~~~~~ 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/work/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 In file included from address.y:7: faces.h:196:14: error: conflicting types for 'getenv'; have 'char *(void)' 196 | extern char *getenv P(()) ; | ^~~~~~ In file included from /usr/include/stdlib.h:41, from address.y:5: /usr/include/iso/stdlib_iso.h:139:14: note: previous declaration of 'getenv' with type 'char *(const char *)' 139 | extern char *getenv(const char *); | ^~~~~~ faces.h:197:14: warning: conflicting types for built-in function 'index'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch] 197 | extern char *index P(()) ; | ^~~~~ faces.h:198:14: warning: conflicting types for built-in function 'rindex'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch] 198 | extern char *rindex P(()) ; | ^~~~~~ faces.h:199:14: error: conflicting types for 'strcpy'; have 'char *(void)' 199 | extern char *strcpy P(()) ; | ^~~~~~ In file included from /usr/include/string.h:35, from address.y:4: /usr/include/iso/string_iso.h:75:14: note: previous declaration of 'strcpy' with type 'char *(char *, const char *)' 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^~~~~~ faces.h:289:7: error: conflicting types for 'strlower'; have 'char *(char *)' 289 | char *strlower P((char *)) ; | ^~~~~~~~ faces.h:200:14: note: previous declaration of 'strlower' with type 'char *(void)' 200 | extern char *strlower P(()) ; | ^~~~~~~~ address.y:51:17: error: conflicting types for 'Malloc'; have 'char *(void)' 51 | extern char * Malloc(); | ^~~~~~ faces.h:285:7: note: previous declaration of 'Malloc' with type 'char *(int)' 285 | char *Malloc P((int)) ; | ^~~~~~ 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:117:21: error: too many arguments to function 'strcpy'; expected 0, have 2 117 | strcpy(errbuf, "\n"); | ^~~~~~ ~~~~~~ faces.h:199:14: note: declared here 199 | extern char *strcpy P(()) ; | ^~~~~~ 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:283:1: warning: old-style function definition [-Wold-style-definition] 283 | newstring3(a, b, c) | ^~~~~~~~~~ address.y:293:14: error: too many arguments to function 'Amalloc'; expected 0, have 1 293 | if ((p = Amalloc((MALLOCT)i)) == NULL) | ^~~~~~~ ~~~~~~~~~~ In file included from address.y:6: addr.h:61:18: note: declared here 61 | static char *Amalloc(); | ^~~~~~~ address.y:294:9: error: implicit declaration of function 'nomem' [-Wimplicit-function-declaration] 294 | nomem(); | ^~~~~ address.y:295:20: error: too many arguments to function 'strcpy'; expected 0, have 2 295 | q = p + strlen(strcpy(p, a)); | ^~~~~~ ~ faces.h:199:14: note: declared here 199 | extern char *strcpy P(()) ; | ^~~~~~ address.y:296:17: error: too many arguments to function 'strcpy'; expected 0, have 2 296 | q += strlen(strcpy(q, b)); | ^~~~~~ ~ faces.h:199:14: note: declared here 199 | extern char *strcpy P(()) ; | ^~~~~~ addr.h:64:31: error: too many arguments to function 'strcpy'; expected 0, have 2 64 | #define Strcpy (void)strcpy | ^~~~~~ address.y:297:5: note: in expansion of macro 'Strcpy' 297 | Strcpy(q, c); | ^~~~~~ faces.h:199:14: note: declared here 199 | extern char *strcpy P(()) ; | ^~~~~~ address.y: In function 'newstring2': address.y:303:1: warning: old-style function definition [-Wold-style-definition] 303 | newstring2(a, b) | ^~~~~~~~~~ address.y:313:14: error: too many arguments to function 'Amalloc'; expected 0, have 1 313 | if ((p = Amalloc((MALLOCT)i)) == NULL) | ^~~~~~~ ~~~~~~~~~~ addr.h:61:18: note: declared here 61 | static char *Amalloc(); | ^~~~~~~ addr.h:64:31: error: too many arguments to function 'strcpy'; expected 0, have 2 64 | #define Strcpy (void)strcpy | ^~~~~~ address.y:315:5: note: in expansion of macro 'Strcpy' 315 | Strcpy(p, a); | ^~~~~~ faces.h:199:14: note: declared here 199 | extern char *strcpy P(()) ; | ^~~~~~ address.y: In function 'yyerror': address.y:322:1: warning: old-style function definition [-Wold-style-definition] 322 | yyerror(s) | ^~~~~~~ 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:345:1: warning: old-style function definition [-Wold-style-definition] 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:357:1: warning: old-style function definition [-Wold-style-definition] 357 | eatcomment(s) | ^~~~~~~~~~ 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: In function 'yylex': address.y:402:31: error: too many arguments to function 'Amalloc'; expected 0, have 1 402 | if ((comstr = Amalloc((MALLOCT)(strlen(combuf) + 1))) == NULL) | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addr.h:61:18: note: declared here 61 | static char *Amalloc(); | ^~~~~~~ addr.h:64:31: error: too many arguments to function 'strcpy'; expected 0, have 2 64 | #define Strcpy (void)strcpy | ^~~~~~ address.y:404:17: note: in expansion of macro 'Strcpy' 404 | Strcpy(comstr, combuf); | ^~~~~~ faces.h:199:14: note: declared here 199 | extern char *strcpy P(()) ; | ^~~~~~ address.y:449:35: error: too many arguments to function 'Amalloc'; expected 0, have 1 449 | if ((yylval.yString = Amalloc((MALLOCT)(p - cp + 2))) == NULL) | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ addr.h:61:18: note: declared here 61 | static char *Amalloc(); | ^~~~~~~ address.y:466:35: error: too many arguments to function 'Amalloc'; expected 0, have 1 466 | if ((yylval.yString = Amalloc((MALLOCT)(p - cp))) == NULL) | ^~~~~~~ ~~~~~~~~~~~~~~~~~ addr.h:61:18: note: declared here 61 | static char *Amalloc(); | ^~~~~~~ address.y:495:27: error: too many arguments to function 'Amalloc'; expected 0, have 1 495 | if ((yylval.yString = Amalloc((MALLOCT)(p - cp + 1))) == NULL) | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ addr.h:61:18: note: declared here 61 | static char *Amalloc(); | ^~~~~~~ address.y: In function 'newAddr': address.y:512:23: error: too many arguments to function 'Amalloc'; expected 0, have 1 512 | if ((ap = (Addr *)Amalloc((MALLOCT)sizeof *ap)) == NULL) | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~ addr.h:61:18: note: declared here 61 | static char *Amalloc(); | ^~~~~~~ address.y: At top level: address.y:522:1: error: return type defaults to 'int' [-Wimplicit-int] 522 | appAddr(head, addr) | ^~~~~~~ address.y: In function 'appAddr': address.y:522:1: warning: old-style function definition [-Wold-style-definition] address.y: In function 'newDom': address.y:547:22: error: too many arguments to function 'Amalloc'; expected 0, have 1 547 | if ((dp = (Dom *)Amalloc((MALLOCT)sizeof *dp)) == NULL) | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~ addr.h:61:18: note: declared here 61 | static char *Amalloc(); | ^~~~~~~ address.y: At top level: address.y:558:1: error: return type defaults to 'int' [-Wimplicit-int] 558 | appDom(head, dom) | ^~~~~~ address.y: In function 'appDom': address.y:558:1: warning: old-style function definition [-Wold-style-definition] address.y: At top level: address.y:577:1: error: return type defaults to 'int' [-Wimplicit-int] 577 | prepDom(head, dom) | ^~~~~~~ address.y: In function 'prepDom': address.y:577:1: warning: old-style function definition [-Wold-style-definition] address.y: In function 'putdom': address.y:700:1: warning: old-style function definition [-Wold-style-definition] 700 | putdom(s, d) | ^~~~~~ address.y: In function 'panic': address.y:723:1: warning: old-style function definition [-Wold-style-definition] 723 | panic(s) | ^~~~~ 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.y: In function 'Afreeall': address.y:742:25: error: too many arguments to function 'Malloc'; expected 0, have 1 742 | Aheap = Malloc(AHEAPSIZE); | ^~~~~~ address.y:51:17: note: declared here 51 | extern char * Malloc(); | ^~~~~~ address.y: In function 'Amalloc': address.y:756:1: warning: old-style function definition [-Wold-style-definition] 756 | Amalloc(nbytes) | ^~~~~~~ address.y: In function 'parse822from': address.y:778:1: warning: old-style function definition [-Wold-style-definition] 778 | parse822from(line, user, host) | ^~~~~~~~~~~~ *** [address.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/mail/faces/work/faces bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/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