=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for newsqueak-20000211 --- all --- (cd lib9 && CFLAGS=-pipe\ -Os\ -Wall\ \ -fno-strict-aliasing\ -DPREFIX=\\"/opt/pkg\\" /opt/pkg/bin/bmake all) || exit 1 --- charstod.o --- --- doprint.o --- --- fatal.o --- --- charstod.o --- clang -pipe -Os -Wall -fno-strict-aliasing -DPREFIX=\"/opt/pkg\" -I../include -c charstod.c --- doprint.o --- clang -pipe -Os -Wall -fno-strict-aliasing -DPREFIX=\"/opt/pkg\" -I../include -c doprint.c --- fatal.o --- clang -pipe -Os -Wall -fno-strict-aliasing -DPREFIX=\"/opt/pkg\" -I../include -c fatal.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); ^ --- 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); ^ --- doprint.o --- ../include/lib9.h:100:2: error: unknown type name 'va_list' --- charstod.o --- ../include/lib9.h:100:2: error: unknown type name 'va_list' va_list ap; ^ --- doprint.o --- va_list ap; ^ --- fatal.o --- ../include/lib9.h:100:2: error: unknown type name 'va_list' va_list ap; ^ --- charstod.o --- ../include/lib9.h:116:1: error: unknown type name 'ulong'; did you mean 'long'? ulong getcallerpc(void *firstarg); ^~~~~ long --- doprint.o --- ../include/lib9.h:116:1: error: unknown type name 'ulong'; did you mean 'long'? --- fatal.o --- ../include/lib9.h:116:1: error: unknown type name 'ulong'; did you mean 'long'? --- doprint.o --- ulong getcallerpc(void *firstarg); ^~~~~ long --- fatal.o --- ulong getcallerpc(void *firstarg); ^~~~~ long fatal.c:6:5: error: use of undeclared identifier 'va_list' va_list arg; ^ --- charstod.o --- 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' --- fatal.o --- fatal.c:8:5: warning: implicitly declaring library function 'va_start' with type 'void (__builtin_va_list &, ...)' [-Wimplicit-function-declaration] --- charstod.o --- #define pow10(n) (pow(10.0, (double)(n))) ^ --- fatal.o --- va_start(arg, fmt); ^ --- charstod.o --- charstod.c:66:8: note: include the header or explicitly provide a declaration for 'pow' --- fatal.o --- fatal.c:8:5: note: include the header or explicitly provide a declaration for 'va_start' --- charstod.o --- ../include/lib9.h:98:19: note: expanded from macro 'pow10' #define pow10(n) (pow(10.0, (double)(n))) ^ --- fatal.o --- fatal.c:8:14: error: use of undeclared identifier 'arg' va_start(arg, fmt); ^ --- charstod.o --- 1 warning and 3 errors generated. --- doprint.o --- doprint.c:163:45: error: unknown type name 'va_list' --- fatal.o --- fatal.c:9:20: error: use of undeclared identifier 'arg' fprint(2, fmt, arg); ^ --- doprint.o --- doprint(char *s, char *es, const char *fmt, va_list argp) ^ --- fatal.o --- fatal.c:10:5: warning: implicitly declaring library function 'va_end' with type 'void (__builtin_va_list &)' [-Wimplicit-function-declaration] va_end(arg); ^ fatal.c:10:5: note: include the header or explicitly provide a declaration for 'va_end' --- doprint.o --- 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' --- fatal.o --- 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 --- 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 --- 3 warnings and 7 errors generated. --- 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:327:14: error: expected ';' after expression v = (ulong)va_arg(arg->ap, void*); ^ ; doprint.c:327:30: error: expected expression 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 --- charstod.o --- *** [charstod.o] Error code 1 bmake[1]: stopped in /Users/pbulk/build/lang/newsqueak/work/lib9 --- doprint.o --- v = va_arg(arg->ap, int); ^ doprint.c:343:23: error: expected expression v = va_arg(arg->ap, unsigned); ^ --- fatal.o --- *** [fatal.o] Error code 1 bmake[1]: stopped in /Users/pbulk/build/lang/newsqueak/work/lib9 --- 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:360:16: error: expected ';' after expression n = (uvlong)vl % b; ^ ; fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated. *** [doprint.o] Error code 1 bmake[1]: stopped in /Users/pbulk/build/lang/newsqueak/work/lib9 3 errors bmake[1]: stopped in /Users/pbulk/build/lang/newsqueak/work/lib9 *** [all] Error code 1 bmake: stopped in /Users/pbulk/build/lang/newsqueak/work 1 error bmake: stopped in /Users/pbulk/build/lang/newsqueak/work *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/lang/newsqueak *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/lang/newsqueak