=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for newsqueak-20000211 --- all --- (cd lib9 && CFLAGS=-O2\ -Wall\ \ -fno-strict-aliasing\ -DPREFIX=\\"/opt/pkg\\" /opt/pkg/bin/bmake all) || exit 1 --- charstod.o --- --- doprint.o --- --- fatal.o --- --- misc.o --- --- nan.o --- --- print.o --- --- rune.o --- --- utflen.o --- --- charstod.o --- clang -O2 -Wall -fno-strict-aliasing -DPREFIX=\"/opt/pkg\" -I../include -c charstod.c --- doprint.o --- clang -O2 -Wall -fno-strict-aliasing -DPREFIX=\"/opt/pkg\" -I../include -c doprint.c --- fatal.o --- clang -O2 -Wall -fno-strict-aliasing -DPREFIX=\"/opt/pkg\" -I../include -c fatal.c --- misc.o --- clang -O2 -Wall -fno-strict-aliasing -DPREFIX=\"/opt/pkg\" -I../include -c misc.c --- nan.o --- clang -O2 -Wall -fno-strict-aliasing -DPREFIX=\"/opt/pkg\" -I../include -c nan.c --- print.o --- clang -O2 -Wall -fno-strict-aliasing -DPREFIX=\"/opt/pkg\" -I../include -c print.c --- rune.o --- clang -O2 -Wall -fno-strict-aliasing -DPREFIX=\"/opt/pkg\" -I../include -c rune.c --- utflen.o --- clang -O2 -Wall -fno-strict-aliasing -DPREFIX=\"/opt/pkg\" -I../include -c utflen.c --- charstod.o --- In file included from charstod.c:7: ../include/lib9.h:87:51: error: unknown type name 'va_list' char* doprint(char *s, char *es, const char *fmt, va_list argp); ^ ../include/lib9.h:100:2: error: unknown type name 'va_list' va_list ap; ^ ../include/lib9.h:116:1: error: unknown type name 'ulong'; did you mean 'long'? ulong getcallerpc(void *firstarg); ^~~~~ long charstod.c:66:8: warning: implicitly declaring library function 'pow' with type 'double (double, double)' [-Wimplicit-function-declaration] dem = pow10(exp); ^ ../include/lib9.h:98:19: note: expanded from macro 'pow10' #define pow10(n) (pow(10.0, (double)(n))) ^ charstod.c:66:8: note: include the header or explicitly provide a declaration for 'pow' ../include/lib9.h:98:19: note: expanded from macro 'pow10' #define pow10(n) (pow(10.0, (double)(n))) ^ 1 warning and 3 errors generated. --- utflen.o --- In file included from utflen.c:7: ../include/lib9.h:87:51: error: unknown type name 'va_list' char* doprint(char *s, char *es, const char *fmt, va_list argp); ^ ../include/lib9.h:100:2: error: unknown type name 'va_list' va_list ap; ^ ../include/lib9.h:116:1: error: unknown type name 'ulong'; did you mean 'long'? ulong getcallerpc(void *firstarg); ^~~~~ long utflen.c:18:9: error: use of undeclared identifier 'uchar'; did you mean 'char'? c = *(uchar*)s; ^~~~~ char utflen.c:18:9: error: expected expression 5 errors generated. --- charstod.o --- *** [charstod.o] Error code 1 bmake[1]: stopped in /opt/work/lang/newsqueak/work/lib9 --- utflen.o --- *** [utflen.o] Error code 1 bmake[1]: stopped in /opt/work/lang/newsqueak/work/lib9 --- doprint.o --- In file included from doprint.c:7: ../include/lib9.h:87:51: error: unknown type name 'va_list' char* doprint(char *s, char *es, const char *fmt, va_list argp); ^ --- fatal.o --- In file included from fatal.c:2: ../include/lib9.h:87:51: error: unknown type name 'va_list' char* doprint(char *s, char *es, const char *fmt, va_list argp); ^ ../include/lib9.h:100:2: error: unknown type name 'va_list' va_list ap; ^ ../include/lib9.h:116:1: error: unknown type name 'ulong'; did you mean 'long'? ulong getcallerpc(void *firstarg); ^~~~~ long --- doprint.o --- ../include/lib9.h:100:2: error: unknown type name 'va_list' va_list ap; ^ --- fatal.o --- fatal.c:6:5: error: use of undeclared identifier 'va_list' va_list arg; ^ fatal.c:8:5: warning: implicitly declaring library function 'va_start' with type 'void (__builtin_va_list &, ...)' [-Wimplicit-function-declaration] va_start(arg, fmt); ^ fatal.c:8:5: note: include the header or explicitly provide a declaration for 'va_start' fatal.c:8:14: error: use of undeclared identifier 'arg' va_start(arg, fmt); ^ fatal.c:9:20: error: use of undeclared identifier 'arg' fprint(2, fmt, arg); ^ fatal.c:10:5: warning: implicitly declaring library function 'va_end' with type 'void (__builtin_va_list &)' [-Wimplicit-function-declaration] va_end(arg); ^ --- misc.o --- misc.c:9:2: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(s, strerror(errno)); ^ misc.c:9:2: note: include the header or explicitly provide a declaration for 'strcpy' --- fatal.o --- fatal.c:10:5: note: include the header or explicitly provide a declaration for 'va_end' fatal.c:10:12: error: use of undeclared identifier 'arg' va_end(arg); ^ fatal.c:13:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ fatal.c:13:5: note: include the header or explicitly provide a declaration for 'exit' --- doprint.o --- ../include/lib9.h:116:1: error: unknown type name 'ulong'; did you mean 'long'? ulong getcallerpc(void *firstarg); ^~~~~ long --- fatal.o --- 3 warnings and 7 errors generated. --- doprint.o --- doprint.c:163:45: error: unknown type name 'va_list' doprint(char *s, char *es, const char *fmt, va_list argp) ^ doprint.c:170:2: warning: implicitly declaring library function 'va_copy' with type 'void (__builtin_va_list &, __builtin_va_list &)' [-Wimplicit-function-declaration] va_copy(argwrap.ap, argp); ^ doprint.c:170:2: note: include the header or explicitly provide a declaration for 'va_copy' doprint.c:258:7: warning: implicit declaration of function 'va_arg' is invalid in C99 [-Wimplicit-function-declaration] n = va_arg(argwrap.ap, int); ^ doprint.c:258:26: error: expected expression n = va_arg(argwrap.ap, int); ^ --- fatal.o --- *** [fatal.o] Error code 1 bmake[1]: stopped in /opt/work/lang/newsqueak/work/lib9 --- doprint.o --- doprint.c:283:2: error: use of undeclared identifier 'vlong'; did you mean 'long'? vlong vl; ^~~~~ long doprint.c:319:8: warning: implicit declaration of function 'va_arg' is invalid in C99 [-Wimplicit-function-declaration] vl = va_arg(arg->ap, vlong); ^ doprint.c:319:24: error: use of undeclared identifier 'vlong' vl = va_arg(arg->ap, vlong); ^ doprint.c:323:24: error: use of undeclared identifier 'uvlong' vl = va_arg(arg->ap, uvlong); ^ doprint.c:327:8: error: use of undeclared identifier 'ulong'; did you mean 'long'? v = (ulong)va_arg(arg->ap, void*); ^~~~~ long doprint.c:327:5: error: assigning to 'long' from incompatible type '' v = (ulong)va_arg(arg->ap, void*); ^ ~~~~~~~ doprint.c:331:23: error: expected expression v = va_arg(arg->ap, long); ^ doprint.c:335:23: error: use of undeclared identifier 'ulong' v = va_arg(arg->ap, ulong); ^ doprint.c:339:23: error: expected expression v = va_arg(arg->ap, int); ^ doprint.c:343:23: error: expected expression v = va_arg(arg->ap, unsigned); ^ --- misc.o --- 1 warning generated. --- doprint.o --- doprint.c:360:9: error: use of undeclared identifier 'uvlong'; did you mean 'long'? n = (uvlong)vl % b; ^~~~~~ long doprint.c:360:6: error: assigning to 'int' from incompatible type '' n = (uvlong)vl % b; ^ ~~~~~~~~ doprint.c:362:9: error: use of undeclared identifier 'ulong'; did you mean 'long'? n = (ulong)v % b; ^~~~~ long doprint.c:362:6: error: assigning to 'int' from incompatible type '' n = (ulong)v % b; ^ ~~~~~~~ doprint.c:373:10: error: use of undeclared identifier 'uvlong'; did you mean 'long'? vl = (uvlong)vl / b; ^~~~~~ long fatal error: too many errors emitted, stopping now [-ferror-limit=] --- print.o --- In file included from print.c:7: ../include/lib9.h:87:51: error: unknown type name 'va_list' char* doprint(char *s, char *es, const char *fmt, va_list argp); ^ ../include/lib9.h:100:2: error: unknown type name 'va_list' va_list ap; ^ ../include/lib9.h:116:1: error: unknown type name 'ulong'; did you mean 'long'? ulong getcallerpc(void *firstarg); ^~~~~ long --- doprint.o --- 3 warnings and 20 errors generated. --- print.o --- print.c:18:2: error: use of undeclared identifier 'va_list' va_list arg; ^ print.c:21:2: warning: implicitly declaring library function 'va_start' with type 'void (__builtin_va_list &, ...)' [-Wimplicit-function-declaration] va_start(arg, fmt); ^ print.c:21:2: note: include the header or explicitly provide a declaration for 'va_start' print.c:21:11: error: use of undeclared identifier 'arg' va_start(arg, fmt); ^ print.c:22:36: error: use of undeclared identifier 'arg' out = doprint(buf, buf+SIZE, fmt, arg); ^ print.c:23:2: warning: implicitly declaring library function 'va_end' with type 'void (__builtin_va_list &)' [-Wimplicit-function-declaration] va_end(arg); ^ print.c:23:2: note: include the header or explicitly provide a declaration for 'va_end' print.c:23:9: error: use of undeclared identifier 'arg' va_end(arg); ^ print.c:24:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] --- nan.o --- In file included from nan.c:7: ../include/lib9.h:87:51: error: unknown type name 'va_list' --- print.o --- n = write(1, buf, (long)(out-buf)); ^ --- nan.o --- char* doprint(char *s, char *es, const char *fmt, va_list argp); ^ ../include/lib9.h:100:2: error: unknown type name 'va_list' va_list ap; ^ --- print.o --- print.c:27:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] --- nan.o --- ../include/lib9.h:116:1: error: unknown type name 'ulong'; did you mean 'long'? ulong getcallerpc(void *firstarg); ^~~~~ long --- print.o --- exits(errmsg); ^ ../include/lib9.h:15:20: note: expanded from macro 'exits' #define exits(v) exit(v!=nil) ^ print.c:27:4: note: include the header or explicitly provide a declaration for 'exit' ../include/lib9.h:15:20: note: expanded from macro 'exits' #define exits(v) exit(v!=nil) ^ --- nan.o --- nan.c:19:3: error: unknown type name 'uint32_t' uint32_t x[2]; ^ --- doprint.o --- *** [doprint.o] Error code 1 bmake[1]: stopped in /opt/work/lang/newsqueak/work/lib9 --- nan.o --- nan.c:33:3: error: unknown type name 'uint32_t' uint32_t x[2]; ^ nan.c:48:3: error: unknown type name 'uint32_t' uint32_t x[2]; ^ nan.c:64:3: error: unknown type name 'uint32_t' uint32_t x[2]; ^ 7 errors generated. --- print.o --- print.c:37:2: error: use of undeclared identifier 'va_list' va_list arg; ^ print.c:40:11: error: use of undeclared identifier 'arg' va_start(arg, fmt); ^ print.c:41:36: error: use of undeclared identifier 'arg' out = doprint(buf, buf+SIZE, fmt, arg); ^ print.c:42:9: error: use of undeclared identifier 'arg' va_end(arg); ^ print.c:43:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] n = write(f, buf, (long)(out-buf)); ^ print.c:56:2: error: use of undeclared identifier 'va_list' va_list arg; ^ print.c:60:11: error: use of undeclared identifier 'arg' va_start(arg, fmt); ^ print.c:61:36: error: use of undeclared identifier 'arg' out = doprint(buf, buf+SIZE, fmt, arg); ^ print.c:62:9: error: use of undeclared identifier 'arg' va_end(arg); ^ print.c:71:2: error: use of undeclared identifier 'va_list' va_list arg; ^ print.c:75:11: error: use of undeclared identifier 'arg' va_start(arg, fmt); ^ print.c:76:35: error: use of undeclared identifier 'arg' out = doprint(buf, buf+len, fmt, arg); ^ print.c:77:9: error: use of undeclared identifier 'arg' va_end(arg); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 5 warnings and 20 errors generated. --- nan.o --- *** [nan.o] Error code 1 bmake[1]: stopped in /opt/work/lang/newsqueak/work/lib9 --- print.o --- *** [print.o] Error code 1 bmake[1]: stopped in /opt/work/lang/newsqueak/work/lib9 --- rune.o --- In file included from rune.c:7: ../include/lib9.h:87:51: error: unknown type name 'va_list' char* doprint(char *s, char *es, const char *fmt, va_list argp); ^ ../include/lib9.h:100:2: error: unknown type name 'va_list' va_list ap; ^ ../include/lib9.h:116:1: error: unknown type name 'ulong'; did you mean 'long'? ulong getcallerpc(void *firstarg); ^~~~~ long rune.c:43:8: error: use of undeclared identifier 'uchar'; did you mean 'char'? c = *(uchar*)str; ^~~~~ char rune.c:43:8: error: expected expression rune.c:53:9: error: use of undeclared identifier 'uchar'; did you mean 'char'? c1 = *(uchar*)(str+1) ^ Tx; ^~~~~ char rune.c:53:9: error: expected expression rune.c:70:9: error: use of undeclared identifier 'uchar'; did you mean 'char'? c2 = *(uchar*)(str+2) ^ Tx; ^~~~~ char rune.c:70:9: error: expected expression rune.c:159:9: error: use of undeclared identifier 'uchar'; did you mean 'char'? c = *(uchar*)str; ^~~~~ char rune.c:159:9: error: expected expression 11 errors generated. *** [rune.o] Error code 1 bmake[1]: stopped in /opt/work/lang/newsqueak/work/lib9 7 errors bmake[1]: stopped in /opt/work/lang/newsqueak/work/lib9 *** [all] Error code 1 bmake: stopped in /opt/work/lang/newsqueak/work 1 error bmake: stopped in /opt/work/lang/newsqueak/work *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/lang/newsqueak *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/lang/newsqueak