build started at Fri Nov 30 14:04:47 UTC 2012 port directory: /usr/ports/japanese/prn building for: 10.0-CURRENT amd64 maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/japanese/prn/Makefile 300896 2012-07-14 13:54:48Z beat $ ---Begin Environment--- OSVERSION=1000025 UNAME_v=FreeBSD 10.0-CURRENT UNAME_r=10.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HTTP_PROXY=http://10.56.1.1:8080 PKG_EXT=txz FORCE_PACKAGE=yes http_proxy=http://10.56.1.1:8080 tpid=24021 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKG_DELETE=/usr/local/sbin/pkg delete -y -f PKG_ADD=/usr/local/sbin/pkg add PWD=/usr/local/etc/poudriere.d LOGS=/pdata/logs HOME=/root USER=root SKIPSANITY=0 LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- ================================================= ===> ja-prn-1.0 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /usr/ports/packages/All/pkg-1.0.2.txz Installing pkg-1.0.2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of ja-prn-1.0 ====================================================================== ===> Cleaning for ja-prn-1.0 ================================================= ====================================================================== ================================================= ===> ja-prn-1.0 depends on file: /usr/local/sbin/pkg - found => prn.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/prn.tar.gz prn.tar.gz 0 B 0 Bps ====================================================================== ================================================= ===> ja-prn-1.0 depends on file: /usr/local/sbin/pkg - found => SHA256 Checksum OK for prn.tar.gz. ====================================================================== ================================================= ===> ja-prn-1.0 depends on file: /usr/local/sbin/pkg - found ===> Extracting for ja-prn-1.0 ===> ja-prn-1.0 depends on file: /usr/local/sbin/pkg - found => SHA256 Checksum OK for prn.tar.gz. ====================================================================== ================================================= ===> Patching for ja-prn-1.0 ===> Applying FreeBSD patches for ja-prn-1.0 ====================================================================== ================================================= ===> Configuring for ja-prn-1.0 ====================================================================== ================================================= ===> Building for ja-prn-1.0 cc -O -DKCCPATH=\"/usr/local/bin/kcc\" -DCMTPATH=\"/usr/local/bin/cmt\" -DPSPATH=\"/usr/local/bin/psconv\" -c prn.c prn.c:269:21: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] if ((tabstop = atoi(*v + 1)) < 1) ^ prn.c:381:33: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] if ((outp = fdopen(outd == 1 ? dup(outd) : outd, "w")) ^ prn.c:418:6: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ prn.c:418:6: note: please include the header or explicitly provide a declaration for 'exit' prn.c:425:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(ind); ^ prn.c:481:17: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] if ((pid = wait(&ret)) > 0) { ^ prn.c:577:26: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s || width == 0 && length == 0) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~ prn.c:577:26: note: place parentheses around the '&&' expression to silence this warning if (*s || width == 0 && length == 0) ^ ( ) prn.c:599:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if (col == 2 && str[1] == 'H' || col > 2) ~~~~~~~~~^~~~~~~~~~~~~~~~ ~~ prn.c:599:18: note: place parentheses around the '&&' expression to silence this warning if (col == 2 && str[1] == 'H' || col > 2) ^ ( ) prn.c:646:9: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration] if (pipe(piped)) { ^ prn.c:650:16: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] if ((pid = fork()) < 0) { ^ prn.c:666:2: warning: implicit declaration of function 'execv' is invalid in C99 [-Wimplicit-function-declaration] execv(filter[0], filter); ^ prn.c:933:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 11 warnings generated. cc -O -DKCCPATH=\"/usr/local/bin/kcc\" -DCMTPATH=\"/usr/local/bin/cmt\" -DPSPATH=\"/usr/local/bin/psconv\" -c euc.c euc.c:59:43: warning: '&' within '|' [-Wbitwise-op-parentheses] return c1 << 8 | *(u_char *) (*s)++ & 0x7f; ~ ~~~~~~~~~~~~~~~~~~~^~~~~~ euc.c:59:43: note: place parentheses around the '&' expression to silence this warning return c1 << 8 | *(u_char *) (*s)++ & 0x7f; ^ ( ) euc.c:89:21: warning: '&' within '|' [-Wbitwise-op-parentheses] return cc << 8 | c & 0x7f; ~ ~~^~~~~~ euc.c:89:21: note: place parentheses around the '&' expression to silence this warning return cc << 8 | c & 0x7f; ^ ( ) euc.c:142:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register c; ~~~~~~~~ ^ euc.c:167:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ euc.c:167:14: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) euc.c:167:14: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == euc.c:208:31: warning: implicit declaration of function 'toupper' is invalid in C99 [-Wimplicit-function-declaration] for (; (c = (*s1 < 0x80 ? toupper(*s1) : *s1) ^ euc.c:225:27: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' if ((euc = (char_t *) malloc(sizeof (char_t) * (strlen(s) + 1))) ^ euc.c:225:27: note: please include the header or explicitly provide a declaration for 'malloc' euc.c:225:53: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' if ((euc = (char_t *) malloc(sizeof (char_t) * (strlen(s) + 1))) ^ euc.c:225:53: note: please include the header or explicitly provide a declaration for 'strlen' euc.c:231:23: warning: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' return (char_t *) realloc(euc, sizeof (char_t) * (w - euc)); ^ euc.c:231:23: note: please include the header or explicitly provide a declaration for 'realloc' euc.c:244:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dup = (char_t *) malloc(sizeof (char_t) * (streuclen(s) + 1))) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ euc.c:244:13: note: place parentheses around the assignment to silence this warning if (dup = (char_t *) malloc(sizeof (char_t) * (streuclen(s) + 1))) ^ ( ) euc.c:244:13: note: use '==' to turn this assignment into an equality comparison if (dup = (char_t *) malloc(sizeof (char_t) * (streuclen(s) + 1))) ^ == 9 warnings generated. ar rcv euc.a euc.o a - euc.o ranlib euc.a cc -O -DKCCPATH=\"/usr/local/bin/kcc\" -DCMTPATH=\"/usr/local/bin/cmt\" -DPSPATH=\"/usr/local/bin/psconv\" -o prn prn.o euc.a cc -O -DKCCPATH=\"/usr/local/bin/kcc\" -DCMTPATH=\"/usr/local/bin/cmt\" -DPSPATH=\"/usr/local/bin/psconv\" -DLIBPATH=\"/usr/local/lib/prn\" -c cmt.c cmt.c:88:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(c, v) ^~~~ cmt.c:190:26: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' if ((deffile = (char *) malloc(sizeof (LIBPATH) ^ cmt.c:190:26: note: please include the header or explicitly provide a declaration for 'malloc' cmt.c:200:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ cmt.c:200:2: note: please include the header or explicitly provide a declaration for 'exit' cmt.c:229:7: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] if (isatty(fileno(stdin))) ^ cmt.c:231:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ cmt.c:290:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(ss); ^ cmt.c:335:28: warning: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' if ((buf = (char_t *) realloc(buf, ^ cmt.c:335:28: note: please include the header or explicitly provide a declaration for 'realloc' cmt.c:528:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (kwd = getstr("kw")) ~~~~^~~~~~~~~~~~~~ cmt.c:528:10: note: place parentheses around the assignment to silence this warning if (kwd = getstr("kw")) ^ ( ) cmt.c:528:10: note: use '==' to turn this assignment into an equality comparison if (kwd = getstr("kw")) ^ == cmt.c:532:2: warning: implicit declaration of function 'qsort' is invalid in C99 [-Wimplicit-function-declaration] qsort(kwdtable, numkwd, sizeof (char_t **), sortfunc); ^ cmt.c:537:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pkwd = getstr("pw")) ~~~~~^~~~~~~~~~~~~~ cmt.c:537:11: note: place parentheses around the assignment to silence this warning if (pkwd = getstr("pw")) ^ ( ) cmt.c:537:11: note: use '==' to turn this assignment into an equality comparison if (pkwd = getstr("pw")) ^ == cmt.c:915:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (str = getstr(name)) { ~~~~^~~~~~~~~~~~~~ cmt.c:915:13: note: place parentheses around the assignment to silence this warning if (str = getstr(name)) { ^ ( ) cmt.c:915:13: note: use '==' to turn this assignment into an equality comparison if (str = getstr(name)) { ^ == cmt.c:916:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = regcomp(str, oc)) { ~~^~~~~~~~~~~~~~~~~~ cmt.c:916:8: note: place parentheses around the assignment to silence this warning if (r = regcomp(str, oc)) { ^ ( ) cmt.c:916:8: note: use '==' to turn this assignment into an equality comparison if (r = regcomp(str, oc)) { ^ == 12 warnings generated. cc -O -DKCCPATH=\"/usr/local/bin/kcc\" -DCMTPATH=\"/usr/local/bin/cmt\" -DPSPATH=\"/usr/local/bin/psconv\" -c defs.c defs.c:79:3: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' malloc(sizeof (char_t) * (entsize = BUFSIZ))) == NULL) ^ defs.c:79:3: note: please include the header or explicitly provide a declaration for 'malloc' defs.c:94:27: warning: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' if ((entry = (char_t *) realloc(entry, ^ defs.c:94:27: note: please include the header or explicitly provide a declaration for 'realloc' 2 warnings generated. yacc -d reg.y mv y.tab.c reg.c cc -O -DKCCPATH=\"/usr/local/bin/kcc\" -DCMTPATH=\"/usr/local/bin/cmt\" -DPSPATH=\"/usr/local/bin/psconv\" -c reg.c reg.y:278:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yyerror(s) ^~~~~~~ reg.y:282:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ reg.y:300:31: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' if ((n = (union regexp *) malloc(sizeof (struct node))) == NULL) ^ reg.y:300:31: note: please include the header or explicitly provide a declaration for 'malloc' reg.y:546:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ss = match(s, p->closure.expr)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ reg.y:546:13: note: place parentheses around the assignment to silence this warning if (ss = match(s, p->closure.expr)) ^ ( ) reg.y:546:13: note: use '==' to turn this assignment into an equality comparison if (ss = match(s, p->closure.expr)) ^ == reg.y:547:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ss = iteration(ss, p)) ~~~^~~~~~~~~~~~~~~~~~ reg.y:547:10: note: place parentheses around the assignment to silence this warning if (ss = iteration(ss, p)) ^ ( ) reg.y:547:10: note: use '==' to turn this assignment into an equality comparison if (ss = iteration(ss, p)) ^ == reg.y:551:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ss = iteration(s, p)) ~~~^~~~~~~~~~~~~~~~~ reg.y:551:13: note: place parentheses around the assignment to silence this warning if (ss = iteration(s, p)) ^ ( ) reg.y:551:13: note: use '==' to turn this assignment into an equality comparison if (ss = iteration(s, p)) ^ == reg.y:555:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ss = match(s, p->closure.expr)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ reg.y:555:13: note: place parentheses around the assignment to silence this warning if (ss = match(s, p->closure.expr)) ^ ( ) reg.y:555:13: note: use '==' to turn this assignment into an equality comparison if (ss = match(s, p->closure.expr)) ^ == reg.y:556:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ss = match(ss, p->node.next)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ reg.y:556:10: note: place parentheses around the assignment to silence this warning if (ss = match(ss, p->node.next)) ^ ( ) reg.y:556:10: note: use '==' to turn this assignment into an equality comparison if (ss = match(ss, p->node.next)) ^ == reg.y:563:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ss = match(s, p->alter.expr[0])) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ reg.y:563:13: note: place parentheses around the assignment to silence this warning if (ss = match(s, p->alter.expr[0])) ^ ( ) reg.y:563:13: note: use '==' to turn this assignment into an equality comparison if (ss = match(s, p->alter.expr[0])) ^ == reg.y:564:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ss = match(ss, p->node.next)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ reg.y:564:10: note: place parentheses around the assignment to silence this warning if (ss = match(ss, p->node.next)) ^ ( ) reg.y:564:10: note: use '==' to turn this assignment into an equality comparison if (ss = match(ss, p->node.next)) ^ == reg.y:566:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ss = match(s, p->alter.expr[1])) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ reg.y:566:13: note: place parentheses around the assignment to silence this warning if (ss = match(s, p->alter.expr[1])) { ^ ( ) reg.y:566:13: note: use '==' to turn this assignment into an equality comparison if (ss = match(s, p->alter.expr[1])) { ^ == reg.y:575:6: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ reg.y:575:6: note: please include the header or explicitly provide a declaration for 'exit' reg.y:593:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = match(str, p->closure.expr)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reg.y:593:11: note: place parentheses around the assignment to silence this warning if (s = match(str, p->closure.expr)) ^ ( ) reg.y:593:11: note: use '==' to turn this assignment into an equality comparison if (s = match(str, p->closure.expr)) ^ == reg.y:594:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = iteration(s, p)) ~~^~~~~~~~~~~~~~~~~ reg.y:594:8: note: place parentheses around the assignment to silence this warning if (s = iteration(s, p)) ^ ( ) reg.y:594:8: note: use '==' to turn this assignment into an equality comparison if (s = iteration(s, p)) ^ == reg.y:596:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = match(str, p->closure.next)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reg.y:596:11: note: place parentheses around the assignment to silence this warning if (s = match(str, p->closure.next)) ^ ( ) reg.y:596:11: note: use '==' to turn this assignment into an equality comparison if (s = match(str, p->closure.next)) ^ == reg.y:641:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(p->class.list); ^ In file included from y.tab.c:819: /usr/include/stdlib.h:93:7: error: conflicting types for 'free' void free(void *); ^ reg.y:641:3: note: previous implicit declaration is here free(p->class.list); ^ 16 warnings and 1 error generated. *** [reg.o] Error code 1 Stop in /wrkdirs/usr/ports/japanese/prn/work/prn. *** [do-build] Error code 1 Stop in /usr/ports/japanese/prn. *** [/wrkdirs/usr/ports/japanese/prn/work/.build_done.prn._usr_local] Error code 1 Stop in /usr/ports/japanese/prn. ===> Cleaning for ja-prn-1.0 build of /usr/ports/japanese/prn ended at Fri Nov 30 14:05:17 UTC 2012