=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for cfengine-3.15.2nb12 Making all in libntech Making all in libcompat CC generic_at.lo In file included from generic_at.c:25: In file included from ../libutils/platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC getopt.lo getopt.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] exchange (argv) ^ getopt.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _getopt_initialize (optstring) ^ getopt.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _getopt_internal (argc, argv, optstring, longopts, longind, long_only) ^ getopt.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt (argc, argv, optstring) ^ In file included from getopt.c:79: ./getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int getopt (); ^ 5 warnings generated. CC getopt1.lo getopt1.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt_long (argc, argv, options, long_options, opt_index) ^ getopt1.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt_long_only (argc, argv, options, long_options, opt_index) ^ 2 warnings generated. CC memrchr.lo CC memdup.lo CC strchrnul.lo CC closefrom.lo In file included from closefrom.c:25: In file included from ../libutils/platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC rpl_ctime.lo In file included from rpl_ctime.c:25: In file included from ../libutils/platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC strrstr.lo CCLD libcompat.la Making all in libutils CC alloc.lo In file included from alloc.c:26: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC array_map.lo In file included from array_map.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC buffer.lo In file included from buffer.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC cleanup.lo In file included from cleanup.c:27: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC csv_writer.lo In file included from csv_writer.c:25: In file included from ./csv_writer.h:32: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC csv_parser.lo In file included from csv_parser.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC file_lib.lo In file included from file_lib.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ In file included from file_lib.c:32: ./definitions.h:61:2: warning: invalid preprocessing directive, did you mean '#elif'? [-Wunknown-directives] #elseif __Solaris__ ^~~~~~ elif 2 warnings generated. CC hash_map.lo In file included from hash_map.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC ip_address.lo In file included from ip_address.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC json.lo In file included from json.c:25: In file included from ./logging.h:30: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC json-utils.lo In file included from json-utils.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC json-yaml.lo In file included from json-yaml.c:26: In file included from ./logging.h:30: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC known_dirs.lo In file included from known_dirs.c:25: In file included from ./known_dirs.h:28: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ In file included from known_dirs.c:26: ./definitions.h:61:2: warning: invalid preprocessing directive, did you mean '#elif'? [-Wunknown-directives] #elseif __Solaris__ ^~~~~~ elif 2 warnings generated. CC list.lo In file included from list.c:27: In file included from ./list.h:29: In file included from ./refcount.h:28: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC logging.lo In file included from logging.c:25: In file included from ./logging.h:30: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC man.lo In file included from man.c:25: In file included from ./man.h:28: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC map.lo In file included from map.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC misc_lib.lo In file included from misc_lib.c:25: In file included from ./misc_lib.h:28: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC mustache.lo In file included from mustache.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC mutex.lo In file included from mutex.c:25: In file included from ./mutex.h:28: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC passopenfile.lo In file included from passopenfile.c:24: In file included from ./passopenfile.h:73: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC path.lo In file included from path.c:1: In file included from ./path.h:28: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC proc_keyvalue.lo In file included from proc_keyvalue.c:25: In file included from ./proc_keyvalue.h:28: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC queue.lo In file included from queue.c:26: In file included from ./queue.h:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC rb-tree.lo In file included from rb-tree.c:24: In file included from ./rb-tree.h:27: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC refcount.lo In file included from refcount.c:26: In file included from ./refcount.h:28: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC ring_buffer.lo In file included from ring_buffer.c:24: In file included from ./ring_buffer.h:27: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC sequence.lo In file included from sequence.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC string_sequence.lo In file included from string_sequence.c:1: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC set.lo In file included from set.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC stack.lo In file included from stack.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC threaded_stack.lo In file included from threaded_stack.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC statistics.lo In file included from statistics.c:27: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC string_lib.lo In file included from string_lib.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ In file included from string_lib.c:33: ./definitions.h:61:2: warning: invalid preprocessing directive, did you mean '#elif'? [-Wunknown-directives] #elseif __Solaris__ ^~~~~~ elif 2 warnings generated. CC threaded_deque.lo In file included from threaded_deque.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC threaded_queue.lo In file included from threaded_queue.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC unicode.lo CC version_comparison.lo CC writer.lo In file included from writer.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC xml_writer.lo In file included from xml_writer.c:25: In file included from ./xml_writer.h:28: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC encode.lo In file included from encode.c:26: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC libcrypto-compat.lo In file included from libcrypto-compat.c:11: In file included from ./libcrypto-compat.h:4: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ 1 warning generated. CC hash.lo In file included from hash.c:25: In file included from ./platform.h:94: ./../libcompat/getopt.h:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int getopt (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:509:6: note: conflicting prototype is here int getopt(int, char * const [], const char *) __DARWIN_ALIAS(getopt); ^ In file included from hash.c:33: ./hash.h:64:28: error: unknown type name 'RSA' Hash *HashNewFromKey(const RSA *rsa, HashMethod method); ^ ./hash.h:163:23: error: unknown type name 'RSA' void HashPubKey(const RSA *key, unsigned char digest[EVP_MAX_MD_SIZE + 1], HashMethod type); ^ hash.c:214:28: error: unknown type name 'RSA' Hash *HashNewFromKey(const RSA *rsa, HashMethod method) ^ hash.c:226:5: error: call to undeclared function 'RSA_get0_key'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RSA_get0_key(rsa, &n, &e, NULL); ^ hash.c:531:11: error: unknown type name 'RSA' const RSA *const key, ^ hash.c:567:9: error: call to undeclared function 'RSA_get0_key'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RSA_get0_key(key, &n, &e, NULL); ^ 1 warning and 6 errors generated. gmake[4]: *** [Makefile:633: hash.lo] Error 1 gmake[3]: *** [Makefile:639: all-recursive] Error 1 gmake[2]: *** [Makefile:546: all] Error 2 gmake[1]: *** [Makefile:704: all-recursive] Error 1 gmake: *** [Makefile:593: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/sysutils/cfengine3 *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/sysutils/cfengine3