=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for sr-2.3.3nb9 echo "#" >paths.sh echo "# Created mechanically; DO NOT EDIT THIS FILE." >>paths.sh echo "#" >>paths.sh sed -n >>paths.sh >paths.sh echo >paths.tmp '/*' echo >>paths.tmp ' * Created mechanically; DO NOT EDIT THIS FILE.' echo >>paths.tmp ' */' sed >>paths.tmp e_opr) { ^ attest.c:76:13: warning: 123 enumeration values not handled in switch: 'O_BOGUS', 'O_LIST', 'O_SEQ'... [-Wswitch] switch (e->e_opr) { ^ attest.c:626:13: warning: 61 enumeration values not handled in switch: 'O_BOGUS', 'O_LIST', 'O_SEQ'... [-Wswitch] switch (e->e_opr) { ^ 4 warnings generated. cc -O3 -I/usr/X11R7/include -c dynamic.c In file included from dynamic.c:22: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ 1 warning generated. cc -O3 -I/usr/X11R7/include -c errors.c In file included from errors.c:5: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ 1 warning generated. cc -O3 -I/usr/X11R7/include -c fold.c In file included from fold.c:4: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ fold.c:31:13: warning: 147 enumeration values not handled in switch: 'O_BOGUS', 'O_LIST', 'O_SEQ'... [-Wswitch] switch (o) { /* certain parts of the tree should not be walked */ ^ fold.c:49:10: warning: 141 enumeration values not handled in switch: 'O_BOGUS', 'O_LIST', 'O_SEQ'... [-Wswitch] switch (o) { ^ fold.c:121:10: warning: 146 enumeration values not handled in switch: 'O_BOGUS', 'O_LIST', 'O_SEQ'... [-Wswitch] switch (o) { ^ fold.c:147:10: warning: 139 enumeration values not handled in switch: 'O_BOGUS', 'O_LIST', 'O_SEQ'... [-Wswitch] switch (o) { ^ 5 warnings generated. cc -O3 -I/usr/X11R7/include -c gdecl.c In file included from gdecl.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ 1 warning generated. cc -O3 -I/usr/X11R7/include -c gexpr.c In file included from gexpr.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ gexpr.c:179:14: warning: 16 enumeration values not handled in switch: 'T_BOGUS', 'T_VOID', 'T_ANY'... [-Wswitch] switch (t) { ^ gexpr.c:197:14: warning: 16 enumeration values not handled in switch: 'T_BOGUS', 'T_VOID', 'T_ANY'... [-Wswitch] switch (t) { ^ gexpr.c:340:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ gexpr.c:839:14: warning: 13 enumeration values not handled in switch: 'T_BOGUS', 'T_VOID', 'T_ANY'... [-Wswitch] switch (t) { ^ gexpr.c:824:13: warning: 14 enumeration values not handled in switch: 'T_BOGUS', 'T_VOID', 'T_ANY'... [-Wswitch] switch (e->e_sig->g_type) { /* switch on result type */ ^ 6 warnings generated. cc -O3 -I/usr/X11R7/include -c ginput.c In file included from ginput.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ 1 warning generated. cc -O3 -I/usr/X11R7/include -c gloop.c In file included from gloop.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ 1 warning generated. cc -O3 -I/usr/X11R7/include -c gmisc.c In file included from gmisc.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ gmisc.c:39:13: warning: 139 enumeration values not handled in switch: 'O_BOGUS', 'O_LIST', 'O_SEQ'... [-Wswitch] switch (e->e_opr) { ^ gmisc.c:257:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ gmisc.c:529:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 4 warnings generated. cc -O3 -I/usr/X11R7/include -c gparam.c In file included from gparam.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ gparam.c:163:25: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] if (m->m_pass != O_VAL & (!lvalue (a))) ~~~~~~~~~~~~~~~~~~~^ gparam.c:163:25: note: place parentheses around the '!=' expression to silence this warning if (m->m_pass != O_VAL & (!lvalue (a))) ^ ( ) gparam.c:163:25: note: place parentheses around the & expression to evaluate it first if (m->m_pass != O_VAL & (!lvalue (a))) ^ ( ) 2 warnings generated. cc -O3 -I/usr/X11R7/include -c gstmt.c In file included from gstmt.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ 1 warning generated. cc -O3 -I/usr/X11R7/include -c import.c In file included from import.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ 1 warning generated. echo '/* Created mechanically; DO NOT EDIT THIS FILE */' >tkflags.h echo '' >>tkflags.h awk '/^%t[^*]*\*[BEG + END]*\*/{printf("TKFLAGS(%s,%s)\n",$2,$4);}' >tkflags.h cc -O3 -I/usr/X11R7/include -c input.c In file included from input.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ 1 warning generated. cc -O3 -I/usr/X11R7/include -c list.c In file included from list.c:20: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ 1 warning generated. cc -O3 -I/usr/X11R7/include -c names.c In file included from names.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ 1 warning generated. cc -O3 -I/usr/X11R7/include -c node.c In file included from node.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ 1 warning generated. cc -O3 -I/usr/X11R7/include -c op.c In file included from op.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ op.c:247:11: warning: enumeration value 'I_SEM' not handled in switch [-Wswitch] switch (o->o_impl) { ^ 2 warnings generated. cc -O3 -I/usr/X11R7/include -c output.c In file included from output.c:8: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ output.c:76:6: warning: implicit declaration of function 'mkdir' is invalid in C99 [-Wimplicit-function-declaration] if (mkdir (ifdir, 0777) != 0 && errno != EEXIST) ^ output.c:249:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *fmt++) { ~~^~~~~~~~ output.c:249:14: note: place parentheses around the assignment to silence this warning while (c = *fmt++) { ^ ( ) output.c:249:14: note: use '==' to turn this assignment into an equality comparison while (c = *fmt++) { ^ == output.c:368:36: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s = va_arg (ap, char *); c = *s++; ) ~~^~~~~~ output.c:368:36: note: place parentheses around the assignment to silence this warning for (s = va_arg (ap, char *); c = *s++; ) ^ ( ) output.c:368:36: note: use '==' to turn this assignment into an equality comparison for (s = va_arg (ap, char *); c = *s++; ) ^ == output.c:472:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s = buf; c = *s++; ) /* write the characters */ ~~^~~~~~ output.c:472:21: note: place parentheses around the assignment to silence this warning for (s = buf; c = *s++; ) /* write the characters */ ^ ( ) output.c:472:21: note: use '==' to turn this assignment into an equality comparison for (s = buf; c = *s++; ) /* write the characters */ ^ == 5 warnings generated. cc -O3 -I/usr/X11R7/include -c params.c In file included from params.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ 1 warning generated. cc -O3 -I/usr/X11R7/include -c pregen.c In file included from pregen.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ 1 warning generated. cc -O3 -I/usr/X11R7/include -c presig.c In file included from presig.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ presig.c:463:13: warning: 52 enumeration values not handled in switch: 'PRE_BOGUS', 'PRE_lb', 'PRE_ub'... [-Wswitch] switch (e->e_l->e_sym->s_pre) { ^ 2 warnings generated. cc -O3 -E includer.c | sed 's/,/ ,/' | awk -f elabels.awk >print.h cc -O3 -I/usr/X11R7/include -c print.c In file included from print.c:6: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ print.c:36:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf (spacing); ^~~~~~~ print.c:53:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf (spacing); ^~~~~~~ print.c:58:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf (spacing); ^~~~~~~ print.c:93:24: warning: format specifies type 'unsigned int' but the argument has type 'struct node *' [-Wformat] printf ("%08X [?!]", e->e_l); ~~~~ ^~~~~~ print.c:146:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf (spacing); ^~~~~~~ print.c:180:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf (spacing); ^~~~~~~ print.c:213:13: warning: 4 enumeration values not handled in switch: 'K_BOGUS', 'K_FIELD', 'K_IMP'... [-Wswitch] switch (s->s_kind) { ^ 8 warnings generated. cc -O3 -I/usr/X11R7/include -c resource.c In file included from resource.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ resource.c:196:13: warning: 137 enumeration values not handled in switch: 'O_BOGUS', 'O_ID', 'O_SYM'... [-Wswitch] switch (e->e_opr) { ^ 2 warnings generated. cc -O3 -I/usr/X11R7/include -c signat.c In file included from signat.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ signat.c:329:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 2 warnings generated. cc -O3 -I/usr/X11R7/include -c symtab.c In file included from symtab.c:3: In file included from ./compiler.h:11: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ symtab.c:321:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (l->e_sym->s_kind == K_TYPE) ^ symtab.c:334:11: warning: 10 enumeration values not handled in switch: 'K_BOGUS', 'K_BLOCK', 'K_VAR'... [-Wswitch] switch (s->s_kind) { ^ 3 warnings generated. . ../paths.sh; cc -O3 -o sr main.o grammar.o tokens.o ../util.o alloc.o attest.o dynamic.o errors.o fold.o gdecl.o gexpr.o ginput.o gloop.o gmisc.o gparam.o gstmt.o import.o input.o list.o names.o node.o op.o output.o params.o pregen.o presig.o print.o resource.o signat.o symtab.o $LIBM $LIBC cd srl; make CC="cc" CFLAGS="-O3" cc -O3 -I/usr/X11R7/include -c main.c In file included from main.c:7: In file included from ./funcs.h:4: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ main.c:33:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^~~~ 2 warnings generated. cc -O3 -I/usr/X11R7/include -c limits.c In file included from limits.c:6: In file included from ./funcs.h:4: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ 1 warning generated. cc -O3 -I/usr/X11R7/include -c resource.c In file included from resource.c:6: In file included from ./funcs.h:4: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ 1 warning generated. cc -O3 -I/usr/X11R7/include -c gen.c In file included from gen.c:4: In file included from ./funcs.h:4: ./../util.h:20:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern spawn(); /* fork and exec */ ~~~~~~ ^ gen.c:26:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (exe_tail = strrchr (exe_file, '/')) /* strip path */ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ gen.c:26:18: note: place parentheses around the assignment to silence this warning if (exe_tail = strrchr (exe_file, '/')) /* strip path */ ^ ( ) gen.c:26:18: note: use '==' to turn this assignment into an equality comparison if (exe_tail = strrchr (exe_file, '/')) /* strip path */ ^ == 2 warnings generated. . ../paths.sh; cc -O3 -o srl main.o limits.o resource.o gen.o ../util.o $LIBC cd csw; make CC="cc" CFLAGS="-O3" cc -O3 -I/usr/X11R7/include -c cstest.c cstest.c:53:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main () ^~~~ 1 warning generated. cc -O3 -c netbsd.c ld -r -o asm.o netbsd.o /usr/lib/libpthread.a /usr/bin/ld: cannot find /usr/lib/libpthread.a: No such file or directory *** Error code 1 Stop. make: stopped in /usr/pkgsrc/work/lang/sr/work/csw *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/lang/sr/work *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/lang/sr *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/lang/sr