+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/icecast-1.3.12nb17/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/icecast-1.3.12nb17/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for icecast-1.3.12nb17 /opt/pkg/bin/bmake all-recursive Making all in src Making all in authenticate gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I../../src -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c user.c In file included from user.c:61: ../../src/sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from user.c:49: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | In file included from user.c:66: user.c: In function 'parse_user_authentication_file': ../../src/memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ user.c:88:4: note: in expansion of macro 'nfree' 88 | nfree(userfile); | ^~~~~ user.c:87:3: note: some parts of macro expansion are not guarded by this 'if' clause 87 | if (userfile) | ^~ In file included from user.c:66: ../../src/memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ user.c:103:3: note: in expansion of macro 'nfree' 103 | nfree(userfile); | ^~~~~ user.c:102:2: note: some parts of macro expansion are not guarded by this 'if' clause 102 | if (userfile) | ^~ In file included from user.c:66: user.c: In function 'runtime_add_user': ../../src/memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ user.c:131:4: note: in expansion of macro 'nfree' 131 | nfree(userfile); | ^~~~~ user.c:130:3: note: some parts of macro expansion are not guarded by this 'if' clause 130 | if (userfile) | ^~ In file included from user.c:66: ../../src/memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ user.c:139:3: note: in expansion of macro 'nfree' 139 | nfree(userfile); | ^~~~~ user.c:138:2: note: some parts of macro expansion are not guarded by this 'if' clause 138 | if (userfile) | ^~ gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I../../src -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c group.c In file included from group.c:67: ../../src/sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from group.c:50: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | In file included from group.c:71: group.c: In function 'parse_group_authentication_file': ../../src/memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ group.c:94:4: note: in expansion of macro 'nfree' 94 | nfree(groupfile); | ^~~~~ group.c:93:3: note: some parts of macro expansion are not guarded by this 'if' clause 93 | if (groupfile) | ^~ In file included from group.c:71: ../../src/memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ group.c:109:3: note: in expansion of macro 'nfree' 109 | nfree(groupfile); | ^~~~~ group.c:108:2: note: some parts of macro expansion are not guarded by this 'if' clause 108 | if (groupfile) | ^~ In file included from group.c:71: group.c: In function 'runtime_add_group': ../../src/memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ group.c:295:4: note: in expansion of macro 'nfree' 295 | nfree(groupfile); | ^~~~~ group.c:294:3: note: some parts of macro expansion are not guarded by this 'if' clause 294 | if (groupfile) | ^~ In file included from group.c:71: ../../src/memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ group.c:303:3: note: in expansion of macro 'nfree' 303 | nfree(groupfile); | ^~~~~ group.c:302:2: note: some parts of macro expansion are not guarded by this 'if' clause 302 | if (groupfile) | ^~ In file included from group.c:71: group.c: In function 'runtime_add_group_with_user': ../../src/memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ group.c:337:4: note: in expansion of macro 'nfree' 337 | nfree(groupfile); | ^~~~~ group.c:336:3: note: some parts of macro expansion are not guarded by this 'if' clause 336 | if (groupfile) | ^~ In file included from group.c:71: ../../src/memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ group.c:345:3: note: in expansion of macro 'nfree' 345 | nfree(groupfile); | ^~~~~ group.c:344:2: note: some parts of macro expansion are not guarded by this 'if' clause 344 | if (groupfile) | ^~ gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I../../src -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c basic.c In file included from basic.c:66: ../../src/sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from basic.c:51: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I../../src -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c mount.c In file included from mount.c:61: ../../src/sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from mount.c:49: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | In file included from mount.c:65: mount.c: In function 'parse_mount_authentication_file': ../../src/memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ mount.c:88:4: note: in expansion of macro 'nfree' 88 | nfree(mountfile); | ^~~~~ mount.c:87:3: note: some parts of macro expansion are not guarded by this 'if' clause 87 | if (mountfile) | ^~ In file included from mount.c:65: ../../src/memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ mount.c:103:3: note: in expansion of macro 'nfree' 103 | nfree(mountfile); | ^~~~~ mount.c:102:2: note: some parts of macro expansion are not guarded by this 'if' clause 102 | if (mountfile) | ^~ In file included from mount.c:65: mount.c: In function 'runtime_add_mount_with_group': ../../src/memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ mount.c:280:4: note: in expansion of macro 'nfree' 280 | nfree(mountfile); | ^~~~~ mount.c:279:3: note: some parts of macro expansion are not guarded by this 'if' clause 279 | if (mountfile) | ^~ In file included from mount.c:65: ../../src/memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ mount.c:288:3: note: in expansion of macro 'nfree' 288 | nfree(mountfile); | ^~~~~ mount.c:287:2: note: some parts of macro expansion are not guarded by this 'if' clause 287 | if (mountfile) | ^~ In file included from mount.c:65: mount.c: In function 'runtime_add_mount': ../../src/memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ mount.c:317:4: note: in expansion of macro 'nfree' 317 | nfree(mountfile); | ^~~~~ mount.c:316:3: note: some parts of macro expansion are not guarded by this 'if' clause 316 | if (mountfile) | ^~ In file included from mount.c:65: ../../src/memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ mount.c:325:3: note: in expansion of macro 'nfree' 325 | nfree(mountfile); | ^~~~~ mount.c:324:2: note: some parts of macro expansion are not guarded by this 'if' clause 324 | if (mountfile) | ^~ rm -f libauthenticate.a ar cru libauthenticate.a basic.o user.o group.o mount.o ranlib libauthenticate.a gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c vsnprintf.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c dir.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c match.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c avl.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c logtime.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c admin.c In file included from admin.c:76: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from admin.c:54: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | admin.c: In function 'admin_write': admin.c:519:51: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] 519 | if (!req || !fmt || !req->con || !req->con->type == admin_e) | ^~ admin.c:519:51: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] admin.c:519:35: note: add parentheses around left hand side expression to silence this warning 519 | if (!req || !fmt || !req->con || !req->con->type == admin_e) | ^~~~~~~~~~~~~~~ | ( ) admin.c: In function 'admin_write_line': admin.c:560:51: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] 560 | if (!req || !fmt || !req->con || !req->con->type == admin_e) | ^~ admin.c:560:51: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] admin.c:560:35: note: add parentheses around left hand side expression to silence this warning 560 | if (!req || !fmt || !req->con || !req->con->type == admin_e) | ^~~~~~~~~~~~~~~ | ( ) admin.c: In function 'admin_login': admin.c:121:4: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 121 | strncpy(line, expr, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c alias.c In file included from alias.c:59: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from alias.c:47: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | alias.c: In function 'del_alias': alias.c:201:31: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] 201 | snprintf(full, BUFSIZE, "%s:%d%s", res->name->host, res->name->port, res->name->path); | ^~ alias.c:201:3: note: 'snprintf' output between 3 and 16395 bytes into a destination of size 8192 201 | snprintf(full, BUFSIZE, "%s:%d%s", res->name->host, res->name->port, res->name->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c commandline.c In file included from commandline.c:55: commandline.c: In function 'parse_directory_args_only': memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ commandline.c:106:8: note: in expansion of macro 'nfree' 106 | nfree (info.etcdir); | ^~~~~ commandline.c:105:6: note: some parts of macro expansion are not guarded by this 'if' clause 105 | if (info.etcdir) | ^~ In file included from commandline.c:55: commandline.c: In function 'parse_args': memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ commandline.c:138:6: note: in expansion of macro 'nfree' 138 | nfree (info.configfile); | ^~~~~ commandline.c:137:7: note: some parts of macro expansion are not guarded by this 'if' clause 137 | if (info.configfile) | ^~ In file included from commandline.c:55: memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ commandline.c:149:6: note: in expansion of macro 'nfree' 149 | nfree (info.encoder_pass); | ^~~~~ commandline.c:148:7: note: some parts of macro expansion are not guarded by this 'if' clause 148 | if (info.encoder_pass) | ^~ In file included from commandline.c:55: memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ commandline.c:158:6: note: in expansion of macro 'nfree' 158 | nfree (info.logfilename); | ^~~~~ commandline.c:157:7: note: some parts of macro expansion are not guarded by this 'if' clause 157 | if (info.logfilename) | ^~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c directory.c In file included from directory.c:59: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from directory.c:48: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | In file included from directory.c:64: directory.c: In function 'directory_touch_xa': memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ directory.c:116:18: note: in expansion of macro 'nfree' 116 | if (url_p[c]) nfree(url_p[c]); | ^~~~~ directory.c:116:4: note: some parts of macro expansion are not guarded by this 'if' clause 116 | if (url_p[c]) nfree(url_p[c]); | ^~ In file included from directory.c:64: memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ directory.c:146:18: note: in expansion of macro 'nfree' 146 | if (url_p[c]) nfree(url_p[c]); | ^~~~~ directory.c:146:4: note: some parts of macro expansion are not guarded by this 'if' clause 146 | if (url_p[c]) nfree(url_p[c]); | ^~ In file included from directory.c:64: directory.c: In function 'directory_add': memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ directory.c:246:17: note: in expansion of macro 'nfree' 246 | if (url_p[c]) nfree(url_p[c]); | ^~~~~ directory.c:246:3: note: some parts of macro expansion are not guarded by this 'if' clause 246 | if (url_p[c]) nfree(url_p[c]); | ^~ In file included from directory.c:64: memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ directory.c:256:18: note: in expansion of macro 'nfree' 256 | if (url_p[c]) nfree(url_p[c]); | ^~~~~ directory.c:256:4: note: some parts of macro expansion are not guarded by this 'if' clause 256 | if (url_p[c]) nfree(url_p[c]); | ^~ directory.c:216:8: warning: variable 'response' set but not used [-Wunused-but-set-variable] 216 | char *response; | ^~~~~~~~ directory.c: In function 'directory_touch': directory.c:304:8: warning: variable 'response' set but not used [-Wunused-but-set-variable] 304 | char *response, *title; | ^~~~~~~~ directory.c: In function 'directory_remove': directory.c:369:8: warning: variable 'response' set but not used [-Wunused-but-set-variable] 369 | char *response; | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c ice_string.c In file included from ice_string.c:61: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from ice_string.c:48: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | ice_string.c: In function 'safe_strcat': ice_string.c:337:6: warning: unused variable 'size' [-Wunused-variable] 337 | int size = 0; | ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c memory.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c restrict.c In file included from restrict.c:62: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from restrict.c:50: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c threads.c threads.c: In function 'thread_exit_c': threads.c:445:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 445 | pthread_exit((void *)val); | ^ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c timer.c In file included from timer.c:71: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from timer.c:51: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | timer.c: In function 'write_hourly_stats': timer.c:371:2: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 371 | strncpy(cct, connect_average (stat->client_connect_time, stat->client_connections + info.num_clients, timebuf), BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timer.c:372:2: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 372 | strncpy(sct, connect_average (stat->source_connect_time, stat->source_connections + info.num_sources, timebuf), BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timer.c: In function 'write_daily_stats': timer.c:426:2: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 426 | strncpy(cct, connect_average (stat->client_connect_time, stat->client_connections + info.num_clients, timebuf), BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timer.c:427:2: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 427 | strncpy(sct, connect_average (stat->source_connect_time, stat->source_connections + info.num_sources, timebuf), BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c log.c In file included from log.c:62: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from log.c:49: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c static.c In file included from static.c:69: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from static.c:56: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | static.c: In function 'send_file_to_socket': static.c:237:8: warning: unused variable 'suffix' [-Wunused-variable] 237 | char *suffix; | ^~~~~~ static.c:235:14: warning: unused variable 'buf' [-Wunused-variable] 235 | struct stat buf; | ^~~ static.c: In function 'send_file': static.c:169:13: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 169 | filename = strncpy(buff, info.staticdir, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c vars.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c connection.c In file included from connection.c:68: ice_resolv.h:33: warning: "SOCK_NONBLOCK" redefined 33 | #define SOCK_NONBLOCK 1 | In file included from connection.c:52: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c http.c In file included from http.c:72: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from http.c:55: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | http.c: In function 'http_admin_command': http.c:582:21: warning: comparison between 'contype_t' {aka 'enum contype_e'} and 'enum ' [-Wenum-compare] 582 | (source->type != encoder_e) && | ^~ http.c: In function 'http_include': http.c:1043:14: warning: variable 'res' set but not used [-Wunused-but-set-variable] 1043 | const char *res; | ^~~ http.c: In function 'display_admin_page': http.c:618:3: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 618 | strncpy(commandstr, commandptr, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c ice_resolv.c In file included from ice_resolv.c:72: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from ice_resolv.c:50: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c sock.c In file included from sock.c:76: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from sock.c:51: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | sock.c: In function 'sock_get_server_socket': sock.c:870:8: warning: variable 'buf' set but not used [-Wunused-but-set-variable] 870 | char *buf; | ^~~ sock.c: In function 'sock_connect_wto': sock.c:1035:3: warning: 'memcpy' forming offset [16, 19] is out of the bounds [0, 16] of object 'server' with type 'struct sockaddr_in' [-Warray-bounds] 1035 | memcpy(&server.sin_addr, &sin.sin_addr, sizeof (sin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sock.c:979:26: note: 'server' declared here 979 | struct sockaddr_in sin, server; | ^~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c utility.c In file included from utility.c:69: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from /usr/include/netdb.h:79, from utility.c:49: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | In file included from utility.c:83: utility.c: In function 'free_con': memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ utility.c:535:3: note: in expansion of macro 'nfree' 535 | nfree (con->sin); | ^~~~~ utility.c:534:2: note: some parts of macro expansion are not guarded by this 'if' clause 534 | if (con->sin) | ^~ utility.c: In function 'print_source_verbose': utility.c:253:3: warning: 'strncpy' output may be truncated copying 8192 bytes from a string of length 16383 [-Wstringop-truncation] 253 | strncpy (buf, buf2, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ utility.c: In function 'build_request': utility.c:1414:5: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 1414 | strncpy (hostbuf, line, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utility.c:1388:39: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 1388 | snprintf (req->path, BUFSIZE, "/%s", pathbuf); | ^ utility.c:1388:5: note: 'snprintf' output between 2 and 8193 bytes into a destination of size 8192 1388 | snprintf (req->path, BUFSIZE, "/%s", pathbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utility.c:1391:5: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 1391 | strncpy (req->host, info.server_name, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utility.c:1350:7: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 1350 | strncpy (req->path, lineptr, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utility.c:1325:4: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 1325 | strncpy (req->host, info.server_name, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c avl_functions.c In file included from avl_functions.c:63: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from avl_functions.c:47: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | avl_functions.c: In function 'compare_directories': avl_functions.c:310:15: warning: passing argument 2 of 'snprintf' makes integer from pointer without a cast [-Wint-conversion] 310 | snprintf(s2, "%s:%d", dir2->host, dir2->port); | ^~~~~~~ | | | char * In file included from /usr/include/stdio.h:151, from avl_functions.c:34: /usr/include/iso/stdio_c99.h:82:43: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'char *' 82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD, | ^~~~~~ avl_functions.c: In function 'compare_relays': avl_functions.c:159:33: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] 159 | snprintf (cfirst, BUFSIZE, "%s:%d%s", r1->req.host, r1->req.port, r1->req.path); | ^~ avl_functions.c:159:2: note: 'snprintf' output between 3 and 16395 bytes into a destination of size 8192 159 | snprintf (cfirst, BUFSIZE, "%s:%d%s", r1->req.host, r1->req.port, r1->req.path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ avl_functions.c:160:34: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] 160 | snprintf (csecond, BUFSIZE, "%s:%d%s", r2->req.host, r2->req.port, r2->req.path); | ^~ avl_functions.c:160:2: note: 'snprintf' output between 3 and 16395 bytes into a destination of size 8192 160 | snprintf (csecond, BUFSIZE, "%s:%d%s", r2->req.host, r2->req.port, r2->req.path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ avl_functions.c: In function 'compare_aliases': avl_functions.c:191:31: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] 191 | snprintf (full, BUFSIZE, "%s:%d%s", a1->name->host, a1->name->port, a1->name->path); | ^~ avl_functions.c:191:2: note: 'snprintf' output between 3 and 16395 bytes into a destination of size 8192 191 | snprintf (full, BUFSIZE, "%s:%d%s", a1->name->host, a1->name->port, a1->name->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ avl_functions.c:192:32: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] 192 | snprintf (full2, BUFSIZE, "%s:%d%s", a2->name->host, a2->name->port, a2->name->path); | ^~ avl_functions.c:192:2: note: 'snprintf' output between 3 and 16395 bytes into a destination of size 8192 192 | snprintf (full2, BUFSIZE, "%s:%d%s", a2->name->host, a2->name->port, a2->name->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c item.c In file included from item.c:67: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from item.c:52: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c client.c In file included from client.c:77: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from client.c:60: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | client.c:93:13: warning: 'client_send_fake_file' declared 'static' but never defined [-Wunused-function] 93 | static void client_send_fake_file (connection_t *con); | ^~~~~~~~~~~~~~~~~~~~~ client.c: In function 'client_login': client.c:136:4: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 136 | strncpy(line, expr, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c pool.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c relay.c In file included from relay.c:67: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from relay.c:51: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | In file included from relay.c:71: relay.c: In function 'relay_dispose': memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ relay.c:391:3: note: in expansion of macro 'nfree' 391 | nfree (relay->password); | ^~~~~ relay.c:390:2: note: some parts of macro expansion are not guarded by this 'if' clause 390 | if (relay->password) | ^~ relay.c: In function 'relay_add_pull_to_list': relay.c:124:42: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] 124 | snprintf(new->localmount, BUFSIZE, "%s:%d%s", new->req.host, new->req.port, new->req.path); | ^~ relay.c:124:3: note: 'snprintf' output 3 or more bytes (assuming 8194) into a destination of size 8192 124 | snprintf(new->localmount, BUFSIZE, "%s:%d%s", new->req.host, new->req.port, new->req.path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c: In function 'relay_add_push_to_list': relay.c:177:2: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 177 | strncpy(relay->localmount, con->food.source->audiocast.mount, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:180:2: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 180 | strncpy (password, info.encoder_pass, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:181:2: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 181 | strncpy (url, source->audiocast.url, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:182:2: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 182 | strncpy (description, source->audiocast.description, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:183:2: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 183 | strncpy (name, source->audiocast.name, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:184:2: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 184 | strncpy (genre, source->audiocast.genre, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:185:2: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 185 | strncpy (mimetype, source->audiocast.streammimetype, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:202:5: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 202 | strncpy(carg, arg, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:195:4: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 195 | strncpy(buf, arg, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c: In function 'login_as_client_on_server': relay.c:709:29: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] 709 | snprintf(buf, BUFSIZE, "%s:%d%s", req->host, req->port, req->path); | ^~ relay.c:709:2: note: 'snprintf' output between 3 and 16395 bytes into a destination of size 8192 709 | snprintf(buf, BUFSIZE, "%s:%d%s", req->host, req->port, req->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c source.c In file included from source.c:69: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from source.c:51: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | source.c: In function 'source_login': source.c:381:31: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 381 | if (!con->food.source->type == puller_e) | ^~ source.c:381:7: note: add parentheses around left hand side expression to silence this warning 381 | if (!con->food.source->type == puller_e) | ^~~~~~~~~~~~~~~~~~~~~~~ | ( ) source.c:99:6: warning: variable 'need_lock' set but not used [-Wunused-but-set-variable] 99 | int need_lock = 1; | ^~~~~~~~~ source.c: In function 'put_source': source.c:521:12: warning: variable 'sin_len' set but not used [-Wunused-but-set-variable] 521 | socklen_t sin_len; | ^~~~~~~ source.c: In function 'find_mount_with_req': source.c:611:33: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] 611 | snprintf(pathbuf, BUFSIZE, "%s:%d%s", req->host[0] ? req->host : "localhost", req->port, req->path); | ^~ source.c:611:2: note: 'snprintf' output between 3 and 16395 bytes into a destination of size 8192 611 | snprintf(pathbuf, BUFSIZE, "%s:%d%s", req->host[0] ? req->host : "localhost", req->port, req->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source.c: In function 'source_login': source.c:159:4: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 159 | strncpy (line, expr, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c commands.c In file included from commands.c:61: sock.h:45: warning: "SOCK_NONBLOCK" redefined 45 | #define SOCK_NONBLOCK 1 | In file included from commands.c:52: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | In file included from commands.c:76: commands.c: In function 'parse_config_file': memory.h:33:18: warning: macro expands to multiple statements [-Wmultistatement-macros] 33 | #define nfree(x) n_free (x,__LINE__,__FILE__) ; x=NULL | ^~~~~~ commands.c:651:5: note: in expansion of macro 'nfree' 651 | nfree(*(char **)(se->setting)); | ^~~~~ commands.c:650:4: note: some parts of macro expansion are not guarded by this 'if' clause 650 | if (*(char **)(se->setting) != NULL) | ^~ commands.c: In function 'com_stats': commands.c:1225:20: warning: variable 'verb' set but not used [-Wunused-but-set-variable] 1225 | unsigned long int verb = 0; | ^~~~ commands.c: In function 'com_admins': commands.c:771:3: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 771 | strncpy(pattern, arg, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'com_list': commands.c:1821:3: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 1821 | strncpy(pattern, arg, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'com_listeners': commands.c:1119:3: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 1119 | strncpy(pattern, arg, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'com_dir': commands.c:1452:4: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 1452 | strncpy(host, arg, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:1416:3: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 1416 | strncpy(type, arg, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'com_kick': commands.c:1544:3: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 1544 | strncpy(buf, arg, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'com_modify': commands.c:2409:3: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 2409 | strncpy(carg, arg, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'com_pause': commands.c:2179:3: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 2179 | strncpy(cid, arg, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'com_unpause': commands.c:2217:3: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 2217 | strncpy(cid, arg, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'com_relay': commands.c:1894:3: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 1894 | strncpy(command, arg, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'com_alias': commands.c:1980:3: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 1980 | strncpy(type, arg, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'com_ping': commands.c:2894:3: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 2894 | strncpy(host, arg, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'com_sources': commands.c:1005:5: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 1005 | strncpy(pattern, arg, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'handle_admin_command': commands.c:708:5: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 708 | strncpy(comstr, command, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'com_restrict': commands.c:2265:3: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 2265 | strncpy(type, arg, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'com_auth_add': commands.c:2560:3: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 2560 | strncpy(firstarg, arg, BUFSIZE); /* Just adding a group or mount with no users / groups */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c interpreter.c In file included from /home/pbulk/build/audio/icecast1/work/.buildlink/include/python3.10/Python.h:8, from interpreter.c:62: /home/pbulk/build/audio/icecast1/work/.buildlink/include/python3.10/pyconfig.h:1624: warning: "_GNU_SOURCE" redefined 1624 | #define _GNU_SOURCE 1 | In file included from interpreter.c:29: definitions.h:42: note: this is the location of the previous definition 42 | # define _GNU_SOURCE | gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -c main.c In file included from main.c:72: ice_resolv.h:33: warning: "SOCK_NONBLOCK" redefined 33 | #define SOCK_NONBLOCK 1 | In file included from main.c:51: /usr/include/sys/socket.h:128: note: this is the location of the previous definition 128 | #define SOCK_NONBLOCK 0x100000 /* like O_NONBLOCK */ | main.c: In function 'clean_shutdown': main.c:544:9: warning: type defaults to 'int' in declaration of 'main_shutting_down' [-Wimplicit-int] 544 | static main_shutting_down = 0; | ^~~~~~~~~~~~~~~~~~ main.c: In function 'sig_child': main.c:692:8: warning: variable 'pid' set but not used [-Wunused-but-set-variable] 692 | pid_t pid; | ^~~ gcc -I/opt/pkg/include/readline -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -Wall -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lintl -liconv -lnsl -lsocket -o icecast main.o client.o admin.o source.o connection.o log.o directory.o commands.o sock.o threads.o logtime.o commandline.o utility.o avl.o avl_functions.o match.o relay.o timer.o alias.o restrict.o static.o http.o ice_string.o dir.o vars.o memory.o ice_resolv.o item.o pool.o interpreter.o vsnprintf.o authenticate/libauthenticate.a -lwrap -lpython -ldl -lm Making all in conf Making all in templates Making all in doc