=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for 7plus-225nb1 gcc -c -O2 -Wall -pedantic -ansi -D__unix__ 7plus.c gcc -c -O2 -Wall -pedantic -ansi -D__unix__ encode.c gcc -c -O2 -Wall -pedantic -ansi -D__unix__ correct.c In file included from correct.c:1: ./7plus.h:369:3: error: unknown type name 'ulong' ulong timestamp; ^ ./7plus.h:371:3: error: unknown type name 'ulong' ulong lines_ok[4090]; ^ In file included from 7plus.c:91: ./7plus.h:369:3: error: unknown type name 'ulong' ulong timestamp; ^ ./7plus.h:371:3: error: ./7plus.h:412:1: error: unknown type name 'ulong' ulong read_ulong (FILE *in); ^ unknown type name 'ulong' ulong lines_ok[4090]; ^ ./7plus.h:414:34: error: unknown type name 'ulong' void write_ulong (FILE *out, ulong val); ^ ./7plus.h:418:58: error: unknown type name 'ulong' int copy_file (const char *to, const char *from, ulong timestamp); ^ ./7plus.h:419:64: error: unknown type name 'ulong' void replace (const char *oldfil, const char *newfil, ulong timestamp); ^ In file included from encode.c:1: ./7plus.h:369:3: error: unknown type name 'ulong' ulong timestamp; ^ ./7plus.h:448:2: error: unknown type name 'ulong' ulong get_filetime (const char *filename); ^ ./7plus.h:./7plus.h:449:44: error: unknown type name 'ulong' void set_filetime (const char *filename, ulong ftimestamp); ^ ./7plus.h:412:1: error: unknown type name 'ulong' ulong read_ulong (FILE *in); ^ 371:3: error: unknown type name 'ulong' ulong lines_ok[4090]; ^ ./7plus.h:414:34: error: unknown type name 'ulong' void write_ulong (FILE *out, ulong val); ^ ./7plus.h:412:1: error: unknown type name 'ulong' ulong read_ulong (FILE *in); ^ ./7plus.h:418:58: error: unknown type name 'ulong' int copy_file (const char *to, const char *from, ulong timestamp); ^ ./7plus.h:419:64: error: unknown type name 'ulong' void replace (const char *oldfil, const char *newfil, ulong timestamp); ^ ./7plus.h:414:34: error: unknown type name 'ulong' void write_ulong (FILE *out, ulong val); ^ ./7plus.h:448:2: error: unknown type name 'ulong' ulong get_filetime (const char *filename); ^ ./7plus.h:418:58: error: unknown type name 'ulong' int copy_file (const char *to, const char *from, ulong timestamp); ^ ./7plus.h:449:44: error: unknown type name 'ulong' correct.c:28:8: error: expected ';' after expression void set_filetime (const char *filename, ulong ftimestamp); ^ ulong ftimestamp; ^ ; ./7plus.h:419:64: error: unknown type name 'ulong' void replace (const char *oldfil, const char *newfil, ulong timestamp); ^ correct.c:28:3: error: use of undeclared identifier 'ulong' ulong ftimestamp; ^ ./7plus.h:448:2: error: unknown type name 'ulong' ulong get_filetime (const char *filename); ^ ./7plus.h:449:44: error: unknown type name 'ulong' void set_filetime (const char *filename, ulong ftimestamp); ^ correct.c:28:12: error: use of undeclared identifier 'ftimestamp' ulong ftimestamp; ^ correct.c:31:3: error: use of undeclared identifier 'ftimestamp' ftimestamp = 0UL; ^ encode.c:16:8: error: expected ';' after expression ulong ftimestamp, ftstamp0 , after[16], *af, h; ^ ; encode.c:16:3: error: use of undeclared identifier 'ulong' ulong ftimestamp, ftstamp0 , after[16], *af, h; ^ encode.c:16:12: error: use of undeclared identifier 'ftimestamp' ulong ftimestamp, ftstamp0 , after[16], *af, h; ^ encode.c:16:24: error: use of undeclared identifier 'ftstamp0' ulong ftimestamp, ftstamp0 , after[16], *af, h; ^ encode.c:16:35: error: use of undeclared identifier 'after' ulong ftimestamp, ftstamp0 , after[16], *af, h; ^ encode.c:16:47: error: use of undeclared identifier 'af' ulong ftimestamp, ftstamp0 , after[16], *af, h; ^ encode.c:16:51: error: use of undeclared identifier 'h' ulong ftimestamp, ftstamp0 , after[16], *af, h; ^ encode.c:31:3: error: use of undeclared identifier 'ftimestamp' ftimestamp = ftstamp0 = 0UL; ^ 7plus.c:604:29: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] endstr = (char *) malloc ((int) strlen (argv[i]) +1); ^ 7plus.c:604:29: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc' encode.c:31:16: error: use of undeclared identifier 'ftstamp0' ftimestamp = ftstamp0 = 0UL; ^ encode.c:42:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink (_7PLUS_FLS); ^ correct.c:196:68: error: use of undeclared identifier 'ftimestamp' orgname, &binbytes, filename, &ftimestamp); ^ 7plus.c:694:8: warning: implicit declaration of function 'isatty' [-Wimplicit-function-declaration] if (!isatty (fileno (o))) ^ 7plus.c:734:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (o, help[i++]); ^~~~~~~~~ correct.c:209:45: warning: address of array 'dum' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!mcrc(line, 0) || !corrpart || !dum) ~^~~ 7plus.c:734:19: note: treat the string as an argument to avoid this fprintf (o, help[i++]); ^ "%s", correct.c:241:7: error: use of undeclared identifier 'ftimestamp' ftimestamp = 0UL; ^ encode.c:82:7: error: use of undeclared identifier 'ftstamp0' ftstamp0 = 0UL; ^ 7plus.c:746:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (21); ^ 7plus.c:746:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' 7plus.c:751:3: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration] free (s); ^ 7plus.c:correct.c:253:29: error: use of undeclared identifier 'ftimestamp' indexfile, &ftimestamp) != 2) ^ 751:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'free' correct.c:254:15: error: use of undeclared identifier 'ftimestamp' ftimestamp = 0UL; ^ correct.c:269:46: error: use of undeclared identifier 'ftimestamp' if ((ftimestamp && idxptr->timestamp && (ftimestamp != idxptr->timestamp)) ^ correct.c:269:10: error: use of undeclared identifier 'ftimestamp' if ((ftimestamp && idxptr->timestamp && (ftimestamp != idxptr->timestamp)) ^ encode.c:167:4: error: use of undeclared identifier 'ftimestamp' ftimestamp = get_filetime (q); ^ 5 warnings and 8 errors generated. correct.c:392:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink (newname); encode.c:180 ^ :5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (20); ^ encode.c:180:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' correct.c:454:4: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink (indexfile); ^ 3 warnings and 18 errors generated. encode.c:270:34: warning: address of array 'searchbin' will always evaluate to 'true' [-Wpointer-bool-conversion] sprintf (filename, "%s%s", searchbin?searchbin:"", _7PLUS_FLS); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ encode.c:320:40: warning: address of array 'searchbin' will always evaluate to 'true' [-Wpointer-bool-conversion] sprintf (filename, "%s%s%s", searchbin?searchbin:"", ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ encode.c:335:44: warning: address of array 'searchbin' will always evaluate to 'true' [-Wpointer-bool-conversion] sprintf (filename, "%s%s.p%02x", searchbin?searchbin:"", ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ encode.c:355:40: warning: address of array 'searchbin' will always evaluate to 'true' [-Wpointer-bool-conversion] sprintf (filename, "%s%s%s", searchbin?searchbin:"", ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ gmake: *** [netbsd.mak:28: 7plus.o] Error 1 gmake: *** Waiting for unfinished jobs.... fatal error: too many errors emitted, stopping now [-ferror-limit=] gmake: *** [netbsd.mak:28: correct.o] Error 1 6 warnings and 20 errors generated. gmake: *** [netbsd.mak:28: encode.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/ham/7plus *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/ham/7plus