=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for icecast-1.3.12nb17 --- all-recursive-am --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- all-recursive --- Making all in authenticate --- user.o --- --- group.o --- --- basic.o --- --- group.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I../../src -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c group.c --- user.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I../../src -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c user.c --- basic.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I../../src -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c basic.c --- user.o --- user.c:301:18: warning: call to undeclared library function 'strdup' with type 'char *(const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] outuser->name = strdup(user); ^ user.c:301:18: note: include the header or explicitly provide a declaration for 'strdup' 1 warning generated. --- mount.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I../../src -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c mount.c --- libauthenticate.a --- rm -f libauthenticate.a ar cru libauthenticate.a basic.o user.o group.o mount.o ranlib libauthenticate.a --- vsnprintf.o --- --- dir.o --- --- match.o --- --- vsnprintf.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c vsnprintf.c --- dir.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c dir.c --- match.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c match.c --- avl.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c avl.c --- logtime.o --- --- admin.o --- --- logtime.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c logtime.c --- admin.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c admin.c admin.c:505:2: warning: call to undeclared library function 'vsnprintf' with type 'int (char *, unsigned long, const char *, __builtin_va_list)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] vsnprintf(buf, BUFSIZE, fmt, ap); ^ admin.c:505:2: note: include the header or explicitly provide a declaration for 'vsnprintf' admin.c:519:35: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!req || !fmt || !req->con || !req->con->type == admin_e) ^ ~~ admin.c:519:35: note: add parentheses after the '!' to evaluate the comparison first if (!req || !fmt || !req->con || !req->con->type == admin_e) ^ ( ) admin.c:519:35: note: add parentheses around left hand side expression to silence this warning if (!req || !fmt || !req->con || !req->con->type == admin_e) ^ ( ) admin.c:519:51: warning: result of comparison of constant 'admin_e' (2) with boolean expression is always false [-Wtautological-constant-out-of-range-compare] if (!req || !fmt || !req->con || !req->con->type == admin_e) ~~~~~~~~~~~~~~~ ^ ~~~~~~~ admin.c:560:35: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!req || !fmt || !req->con || !req->con->type == admin_e) ^ ~~ admin.c:560:35: note: add parentheses after the '!' to evaluate the comparison first if (!req || !fmt || !req->con || !req->con->type == admin_e) ^ ( ) admin.c:560:35: note: add parentheses around left hand side expression to silence this warning if (!req || !fmt || !req->con || !req->con->type == admin_e) ^ ( ) admin.c:560:51: warning: result of comparison of constant 'admin_e' (2) with boolean expression is always false [-Wtautological-constant-out-of-range-compare] if (!req || !fmt || !req->con || !req->con->type == admin_e) ~~~~~~~~~~~~~~~ ^ ~~~~~~~ --- alias.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c alias.c --- admin.o --- 5 warnings generated. --- commandline.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c commandline.c --- directory.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c directory.c --- alias.o --- alias.c:201:3: warning: call to undeclared library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] snprintf(full, BUFSIZE, "%s:%d%s", res->name->host, res->name->port, res->name->path); ^ alias.c:201:3: note: include the header or explicitly provide a declaration for 'snprintf' 1 warning generated. --- ice_string.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c ice_string.c --- directory.o --- directory.c:101:3: warning: call to undeclared library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] snprintf(s, 65535, "GET /%s?", ds->path); ^ directory.c:101:3: note: include the header or explicitly provide a declaration for 'snprintf' --- memory.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c memory.c --- directory.o --- 1 warning generated. --- restrict.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c restrict.c --- ice_string.o --- ice_string.c:478:3: warning: call to undeclared library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] snprintf(buf, BUFSIZE, "%lu days, %lu hours, %lu minutes", days, hours, remains); ^ ice_string.c:478:3: note: include the header or explicitly provide a declaration for 'snprintf' ice_string.c:608:9: warning: call to undeclared library function 'strcasecmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return strcasecmp (s1, s2); ^ ice_string.c:608:9: note: include the header or explicitly provide a declaration for 'strcasecmp' ice_string.c:638:2: warning: call to undeclared library function 'vsnprintf' with type 'int (char *, unsigned long, const char *, __builtin_va_list)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] vsnprintf(buff, BUFSIZE, fmt, ap); ^ ice_string.c:638:2: note: include the header or explicitly provide a declaration for 'vsnprintf' --- memory.o --- memory.c:190:8: warning: call to undeclared library function 'strdup' with type 'char *(const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] buf = strdup (ptr); ^ memory.c:190:8: note: include the header or explicitly provide a declaration for 'strdup' memory.c:245:3: warning: call to undeclared library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] snprintf(res, sz, "%s%s", first, second); ^ memory.c:245:3: note: include the header or explicitly provide a declaration for 'snprintf' 2 warnings generated. --- ice_string.o --- 3 warnings generated. --- threads.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c threads.c --- timer.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c timer.c --- log.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c log.c --- threads.o --- threads.c:445:15: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] pthread_exit((void *)val); ^~~~~~~~~~~ --- timer.o --- timer.c:720:2: warning: call to undeclared library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] snprintf(buf2, 256, fmt, val); ^ timer.c:720:2: note: include the header or explicitly provide a declaration for 'snprintf' --- threads.o --- 1 warning generated. --- static.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c static.c --- timer.o --- 1 warning generated. --- vars.o --- --- log.o --- log.c:134:2: warning: call to undeclared library function 'vsnprintf' with type 'int (char *, unsigned long, const char *, __builtin_va_list)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] vsnprintf(buf, BUFSIZE, fmt, ap); ^ log.c:134:2: note: include the header or explicitly provide a declaration for 'vsnprintf' --- vars.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c vars.c --- log.o --- 1 warning generated. --- connection.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c connection.c --- static.o --- static.c:94:2: warning: call to undeclared library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] snprintf(fullpath, BUFSIZE, "%s%c%s", info.staticdir ? info.staticdir : "", *directory ? '/' : '\0', &directory[6]); ^ static.c:94:2: note: include the header or explicitly provide a declaration for 'snprintf' 1 warning generated. --- http.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c http.c --- ice_resolv.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c ice_resolv.c --- connection.o --- connection.c:158:5: warning: call to undeclared library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] snprintf(newline, BUFSIZE+20, "SOURCE %s %s\n%s", pass, next_mount_point(), line); ^ connection.c:158:5: note: include the header or explicitly provide a declaration for 'snprintf' --- http.o --- http.c:184:2: warning: call to undeclared library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] snprintf (template_file, BUFSIZE, "%d.html", code); ^ http.c:184:2: note: include the header or explicitly provide a declaration for 'snprintf' http.c:519:20: warning: address of array 'req->path' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!req || !req->path) ~~~~~~^~~~ http.c:683:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ((*(http_command->func)) (&comreq)); ^ http.c:691:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ((*(http_command->func)) (&comreq)); ^ http.c:894:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpptr = ((*(ht->func)) (line, clicon, sourcecon, nextptr + 1, fd, variables)); ^ --- connection.o --- 1 warning generated. --- http.o --- http.c:165:19: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] htf http_even (), http_odd(); ^ void http.c:945:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] http_odd (char *command, connection_t *clicon, connection_t *sourcecon, const char *ptr, int fd, vartree_t *variables) ^ http.c:165:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] htf http_even (), http_odd(); ^ void http.c:991:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] http_even (char *command, connection_t *clicon, connection_t *sourcecon, const char *ptr, int fd, vartree_t *variables) ^ http.c:164:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] const char * http_include (); ^ void http.c:1037:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] http_include (char *command, connection_t *clicon, connection_t *sourcecon, const char *ptr, int fd, vartree_t *variables) ^ http.c:163:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] const char * http_foreach (); ^ void http.c:1126:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] http_foreach (char *command, connection_t *clicon, connection_t *sourcecon, const char *ptr, int fd, vartree_t *variables) ^ --- sock.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c sock.c --- ice_resolv.o --- ice_resolv.c:239:7: warning: call to undeclared function 'inet_aton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (inet_aton (host, &addr)) ^ 1 warning generated. --- utility.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.10 -I/opt/pkg/include -c utility.c --- sock.o --- sock.c:605:2: warning: call to undeclared library function 'vsnprintf' with type 'int (char *, unsigned long, const char *, __builtin_va_list)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] vsnprintf(buff, BUFSIZE, fmt, ap); ^ sock.c:605:2: note: include the header or explicitly provide a declaration for 'vsnprintf' sock.c:918:8: warning: call to undeclared function 'inet_aton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (inet_aton ^ sock.c:942:38: error: no member named 'h_addr' in 'struct hostent' *(struct in_addr *) hostinfoptr->h_addr; ~~~~~~~~~~~ ^ sock.c:943:45: error: no member named 'h_addr' in 'struct hostent' memcpy((void *) &localaddr, hostinfoptr->h_addr, ~~~~~~~~~~~ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ sock.c:1028:7: warning: call to undeclared function 'inet_aton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (inet_aton(hostname, (struct in_addr *) &sin.sin_addr) == ^ sock.c:1047:34: error: no member named 'h_addr' in 'struct hostent' memcpy(&server.sin_addr, host->h_addr, host->h_length); ~~~~ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ sock.c:1035:3: warning: 'memcpy' will always overflow; destination buffer has size 12, but size argument is 16 [-Wbuiltin-memcpy-chk-size] memcpy(&server.sin_addr, &sin.sin_addr, sizeof (sin)); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:63:3: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^ --- http.o --- 13 warnings generated. --- sock.o --- sock.c:1202:7: warning: call to undeclared function 'inet_aton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!inet_aton("130.240.1.1", (struct in_addr *) &sin.sin_addr)) { ^ 5 warnings and 3 errors generated. *** [sock.o] Error code 1 bmake[3]: stopped in /Users/pbulk/build/audio/icecast1/work/icecast-1.3.12/src --- utility.o --- utility.c:160:2: warning: call to undeclared library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] snprintf (buf, BUFSIZE, "Admin %ld\t[%s] connected for %s. %d commands issued.\tFlags:", con->id, ^ utility.c:160:2: note: include the header or explicitly provide a declaration for 'snprintf' utility.c:1512:2: warning: 'snprintf' size argument is too large; destination buffer has size 30, but size argument is 8192 [-Wfortify-source] snprintf (apan, BUFSIZE, "icy_%d", count); ^ utility.c:1542:13: warning: call to undeclared library function 'strdup' with type 'char *(const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] mt->file = strdup(file); ^ utility.c:1542:13: note: include the header or explicitly provide a declaration for 'strdup' 3 warnings generated. 1 error bmake[3]: stopped in /Users/pbulk/build/audio/icecast1/work/icecast-1.3.12/src *** [all-recursive] Error code 1 bmake[2]: stopped in /Users/pbulk/build/audio/icecast1/work/icecast-1.3.12/src 1 error bmake[2]: stopped in /Users/pbulk/build/audio/icecast1/work/icecast-1.3.12/src *** [all-recursive] Error code 1 bmake[1]: stopped in /Users/pbulk/build/audio/icecast1/work/icecast-1.3.12 1 error bmake[1]: stopped in /Users/pbulk/build/audio/icecast1/work/icecast-1.3.12 *** [all-recursive-am] Error code 2 bmake: stopped in /Users/pbulk/build/audio/icecast1/work/icecast-1.3.12 1 error bmake: stopped in /Users/pbulk/build/audio/icecast1/work/icecast-1.3.12 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/audio/icecast1 *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/audio/icecast1