=> 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 icecast-1.3.12nb15 --- 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 --- --- mount.o --- --- user.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I../../src -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c user.c --- group.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I../../src -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c group.c --- basic.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I../../src -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c basic.c --- mount.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I../../src -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c mount.c --- user.o --- user.c:301:18: warning: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-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. --- 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 --- --- avl.o --- --- logtime.o --- --- admin.o --- --- alias.o --- --- commandline.o --- --- vsnprintf.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c vsnprintf.c --- dir.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c dir.c --- match.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c match.c --- avl.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c avl.c --- logtime.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c logtime.c --- alias.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c alias.c --- admin.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c admin.c --- commandline.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c commandline.c --- directory.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c directory.c --- alias.o --- alias.c:201:3: warning: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-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' --- ice_string.o --- --- memory.o --- --- admin.o --- admin.c:505:2: warning: implicitly declaring library function 'vsnprintf' with type 'int (char *, unsigned long, const char *, __builtin_va_list)' [-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) ~~~~~~~~~~~~~~~ ^ ~~~~~~~ --- ice_string.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c ice_string.c --- memory.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c memory.c --- restrict.o --- --- threads.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c threads.c --- restrict.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c restrict.c --- alias.o --- 1 warning generated. --- timer.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c timer.c --- directory.o --- directory.c:101:3: warning: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-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' --- admin.o --- 5 warnings generated. --- log.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c log.c --- memory.o --- memory.c:190:8: warning: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-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: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-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' --- ice_string.o --- ice_string.c:478:3: warning: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-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: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)' [-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: implicitly declaring library function 'vsnprintf' with type 'int (char *, unsigned long, const char *, __builtin_va_list)' [-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 --- 2 warnings generated. --- threads.o --- threads.c:445:15: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] pthread_exit((void *)val); ^ --- static.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c static.c --- vars.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c vars.c --- directory.o --- 1 warning generated. --- connection.o --- --- http.o --- --- timer.o --- timer.c:720:2: warning: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-Wimplicit-function-declaration] snprintf(buf2, 256, fmt, val); ^ timer.c:720:2: note: include the header or explicitly provide a declaration for 'snprintf' --- connection.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c connection.c --- http.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c http.c --- threads.o --- 1 warning generated. --- ice_resolv.o --- --- static.o --- static.c:94:2: warning: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-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' --- ice_resolv.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c ice_resolv.c --- ice_string.o --- 3 warnings generated. --- log.o --- log.c:134:2: warning: implicitly declaring library function 'vsnprintf' with type 'int (char *, unsigned long, const char *, __builtin_va_list)' [-Wimplicit-function-declaration] vsnprintf(buf, BUFSIZE, fmt, ap); ^ log.c:134:2: note: include the header or explicitly provide a declaration for 'vsnprintf' --- sock.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c sock.c --- static.o --- 1 warning generated. --- utility.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c utility.c --- avl_functions.o --- --- connection.o --- connection.c:158:5: warning: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-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' --- avl_functions.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c avl_functions.c --- ice_resolv.o --- ice_resolv.c:239:7: warning: implicit declaration of function 'inet_aton' is invalid in C99 [-Wimplicit-function-declaration] if (inet_aton (host, &addr)) ^ --- http.o --- http.c:184:2: warning: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-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) ~~~~~~^~~~ --- ice_resolv.o --- 1 warning generated. --- item.o --- --- log.o --- 1 warning generated. --- item.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c item.c --- client.o --- --- sock.o --- sock.c:605:2: warning: implicitly declaring library function 'vsnprintf' with type 'int (char *, unsigned long, const char *, __builtin_va_list)' [-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: implicit declaration of function 'inet_aton' is invalid in C99 [-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/MacOSX.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: implicit declaration of function 'inet_aton' is invalid in C99 [-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/MacOSX.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/MacOSX.sdk/usr/include/secure/_string.h:63:3: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^ sock.c:1202:7: warning: implicit declaration of function 'inet_aton' is invalid in C99 [-Wimplicit-function-declaration] if (!inet_aton("130.240.1.1", (struct in_addr *) &sin.sin_addr)) { ^ 5 warnings and 3 errors generated. --- client.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -I/usr/include/readline -I/opt/pkg/include/python3.7 -I/opt/pkg/include -O2 -I/opt/pkg/include/python3.7 -I/opt/pkg/include -c client.c --- timer.o --- 1 warning generated. --- sock.o --- *** [sock.o] Error code 1 bmake[3]: stopped in /opt/work/audio/icecast1/work/icecast-1.3.12/src --- utility.o --- utility.c:160:2: warning: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-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' --- connection.o --- 1 warning generated. --- avl_functions.o --- avl_functions.c:155:22: warning: address of array 'r1->req.host' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!r1 || !r1->req.host || !r1->req.path || !r2 || !r2->req.host || !r2->req.path) { ~~~~~~~~~^~~~ avl_functions.c:155:39: warning: address of array 'r1->req.path' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!r1 || !r1->req.host || !r1->req.path || !r2 || !r2->req.host || !r2->req.path) { ~~~~~~~~~^~~~ avl_functions.c:155:63: warning: address of array 'r2->req.host' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!r1 || !r1->req.host || !r1->req.path || !r2 || !r2->req.host || !r2->req.path) { ~~~~~~~~~^~~~ avl_functions.c:155:80: warning: address of array 'r2->req.path' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!r1 || !r1->req.host || !r1->req.path || !r2 || !r2->req.host || !r2->req.path) { ~~~~~~~~~^~~~ avl_functions.c:159:2: warning: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-Wimplicit-function-declaration] snprintf (cfirst, BUFSIZE, "%s:%d%s", r1->req.host, r1->req.port, r1->req.path); ^ avl_functions.c:159:2: note: include the header or explicitly provide a declaration for 'snprintf' avl_functions.c:185:57: warning: address of array 'a1->name->host' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!a1 || !a2 || !a1->name || !a2->name || !a1->name->host || !a1->name->path || !a2->name->host || !a2->name->path) ~~~~~~~~~~~^~~~ avl_functions.c:185:76: warning: address of array 'a1->name->path' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!a1 || !a2 || !a1->name || !a2->name || !a1->name->host || !a1->name->path || !a2->name->host || !a2->name->path) ~~~~~~~~~~~^~~~ avl_functions.c:185:95: warning: address of array 'a2->name->host' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!a1 || !a2 || !a1->name || !a2->name || !a1->name->host || !a1->name->path || !a2->name->host || !a2->name->path) ~~~~~~~~~~~^~~~ avl_functions.c:185:114: warning: address of array 'a2->name->path' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!a1 || !a2 || !a1->name || !a2->name || !a1->name->host || !a1->name->path || !a2->name->host || !a2->name->path) ~~~~~~~~~~~^~~~ --- utility.o --- 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: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Wimplicit-function-declaration] mt->file = strdup(file); ^ utility.c:1542:13: note: include the header or explicitly provide a declaration for 'strdup' --- avl_functions.o --- avl_functions.c:310:15: warning: incompatible pointer to integer conversion passing 'char [6]' to parameter of type 'unsigned long' [-Wint-conversion] snprintf(s2, "%s:%d", dir2->host, dir2->port); ^~~~~~~ --- item.o --- item.c:110:5: warning: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-Wimplicit-function-declaration] snprintf(valuefirst, BUFSIZE, "%s", (char *)item->value); ^ item.c:110:5: note: include the header or explicitly provide a declaration for 'snprintf' --- client.o --- client.c:500:6: warning: implicitly declaring library function 'strncasecmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (strncasecmp (val, "winamp", 6) == 0) ^ client.c:500:6: note: include the header or explicitly provide a declaration for 'strncasecmp' client.c:626:4: warning: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-Wimplicit-function-declaration] snprintf (length, sizeof (length), "%ld", source->info.streamlength); ^ client.c:626:4: note: include the header or explicitly provide a declaration for 'snprintf' --- avl_functions.o --- 10 warnings generated. --- item.o --- 1 warning generated. --- client.o --- 2 warnings generated. --- http.o --- 2 warnings generated. --- utility.o --- 3 warnings generated. 1 error bmake[3]: stopped in /opt/work/audio/icecast1/work/icecast-1.3.12/src *** [all-recursive] Error code 1 bmake[2]: stopped in /opt/work/audio/icecast1/work/icecast-1.3.12/src 1 error bmake[2]: stopped in /opt/work/audio/icecast1/work/icecast-1.3.12/src *** [all-recursive] Error code 1 bmake[1]: stopped in /opt/work/audio/icecast1/work/icecast-1.3.12 1 error bmake[1]: stopped in /opt/work/audio/icecast1/work/icecast-1.3.12 *** [all-recursive-am] Error code 2 bmake: stopped in /opt/work/audio/icecast1/work/icecast-1.3.12 1 error bmake: stopped in /opt/work/audio/icecast1/work/icecast-1.3.12 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/audio/icecast1 *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/audio/icecast1