+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/isic-0.07/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/isic-0.07/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for isic-0.07 --- isic --- --- tcpsic --- --- udpsic --- --- icmpsic --- --- esic --- --- multisic --- --- isic6 --- --- tcpsic6 --- --- isic --- gcc -o isic isic.c -Wall -W -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/libnet11 `libnet-config --cflags` -DSTDC_HEADERS=1 -Du_int16_t=unsigned\ short -Du_int32_t=unsigned\ long -Din_addr_t=u_int32_t `libnet-config --defines` -DVERSION=\"0.07\" `libnet-config --libs` -L/opt/pkg/lib/libnet11 -Wl,-R/opt/pkg/lib --- tcpsic --- gcc -o tcpsic tcpsic.c -Wall -W -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/libnet11 `libnet-config --cflags` -DSTDC_HEADERS=1 -Du_int16_t=unsigned\ short -Du_int32_t=unsigned\ long -Din_addr_t=u_int32_t `libnet-config --defines` -DVERSION=\"0.07\" `libnet-config --libs` -L/opt/pkg/lib/libnet11 -Wl,-R/opt/pkg/lib --- udpsic --- gcc -o udpsic udpsic.c -Wall -W -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/libnet11 `libnet-config --cflags` -DSTDC_HEADERS=1 -Du_int16_t=unsigned\ short -Du_int32_t=unsigned\ long -Din_addr_t=u_int32_t `libnet-config --defines` -DVERSION=\"0.07\" `libnet-config --libs` -L/opt/pkg/lib/libnet11 -Wl,-R/opt/pkg/lib --- icmpsic --- gcc -o icmpsic icmpsic.c -Wall -W -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/libnet11 `libnet-config --cflags` -DSTDC_HEADERS=1 -Du_int16_t=unsigned\ short -Du_int32_t=unsigned\ long -Din_addr_t=u_int32_t `libnet-config --defines` -DVERSION=\"0.07\" `libnet-config --libs` -L/opt/pkg/lib/libnet11 -Wl,-R/opt/pkg/lib --- esic --- gcc -o esic esic.c -Wall -W -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/libnet11 `libnet-config --cflags` -DSTDC_HEADERS=1 -Du_int16_t=unsigned\ short -Du_int32_t=unsigned\ long -Din_addr_t=u_int32_t `libnet-config --defines` -DVERSION=\"0.07\" `libnet-config --libs` -L/opt/pkg/lib/libnet11 -Wl,-R/opt/pkg/lib --- multisic --- gcc -o multisic multisic.c -Wall -W -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/libnet11 `libnet-config --cflags` -DSTDC_HEADERS=1 -Du_int16_t=unsigned\ short -Du_int32_t=unsigned\ long -Din_addr_t=u_int32_t `libnet-config --defines` -DVERSION=\"0.07\" `libnet-config --libs` -L/opt/pkg/lib/libnet11 -Wl,-R/opt/pkg/lib --- isic6 --- gcc -o isic6 isic6.c -Wall -W -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/libnet11 `libnet-config --cflags` -DSTDC_HEADERS=1 -Du_int16_t=unsigned\ short -Du_int32_t=unsigned\ long -Din_addr_t=u_int32_t `libnet-config --defines` -DVERSION=\"0.07\" `libnet-config --libs` -L/opt/pkg/lib/libnet11 -Wl,-R/opt/pkg/lib --- tcpsic6 --- gcc -o tcpsic6 tcpsic6.c -Wall -W -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/libnet11 `libnet-config --cflags` -DSTDC_HEADERS=1 -Du_int16_t=unsigned\ short -Du_int32_t=unsigned\ long -Din_addr_t=u_int32_t `libnet-config --defines` -DVERSION=\"0.07\" `libnet-config --libs` -L/opt/pkg/lib/libnet11 -Wl,-R/opt/pkg/lib --- isic --- <command-line>: error: two or more data types in declaration specifiers <command-line>: error: two or more data types in declaration specifiers --- icmpsic --- <command-line>: error: two or more data types in declaration specifiers <command-line>: error: two or more data types in declaration specifiers --- tcpsic --- <command-line>: error: two or more data types in declaration specifiers <command-line>: error: two or more data types in declaration specifiers --- icmpsic --- <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:18: note: in expansion of macro 'u_int16_t' 38 | typedef uint16_t u_int16_t; | ^~~~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:18: note: in expansion of macro 'u_int16_t' 38 | typedef uint16_t u_int16_t; | ^~~~~~~~~ In file included from /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/libnet.h:119, from isic.h:7, from icmpsic.c:1: /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:1: warning: useless type name in empty declaration 38 | typedef uint16_t u_int16_t; | ^~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:18: note: in expansion of macro 'u_int32_t' 39 | typedef uint32_t u_int32_t; | ^~~~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:18: note: in expansion of macro 'u_int32_t' 39 | typedef uint32_t u_int32_t; | ^~~~~~~~~ In file included from /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/libnet.h:119, from isic.h:7, from icmpsic.c:1: /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:1: warning: useless type name in empty declaration 39 | typedef uint32_t u_int32_t; | ^~~~~~~ --- isic --- <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:18: note: in expansion of macro 'u_int16_t' 38 | typedef uint16_t u_int16_t; | ^~~~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:18: note: in expansion of macro 'u_int16_t' 38 | typedef uint16_t u_int16_t; | ^~~~~~~~~ In file included from /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/libnet.h:119, from isic.h:7, from isic.c:1: /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:1: warning: useless type name in empty declaration 38 | typedef uint16_t u_int16_t; | ^~~~~~~ <command-line>: error: two or more data types in declaration specifiers --- tcpsic --- <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:18: note: in expansion of macro 'u_int16_t' 38 | typedef uint16_t u_int16_t; | ^~~~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:18: note: in expansion of macro 'u_int16_t' 38 | typedef uint16_t u_int16_t; | ^~~~~~~~~ In file included from /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/libnet.h:119, from isic.h:7, from tcpsic.c:1: /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:1: warning: useless type name in empty declaration 38 | typedef uint16_t u_int16_t; | ^~~~~~~ <command-line>: error: two or more data types in declaration specifiers --- multisic --- <command-line>: error: two or more data types in declaration specifiers <command-line>: error: two or more data types in declaration specifiers --- isic --- /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:18: note: in expansion of macro 'u_int32_t' 39 | typedef uint32_t u_int32_t; | ^~~~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:18: note: in expansion of macro 'u_int32_t' 39 | typedef uint32_t u_int32_t; | ^~~~~~~~~ In file included from /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/libnet.h:119, from isic.h:7, from isic.c:1: /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:1: warning: useless type name in empty declaration 39 | typedef uint32_t u_int32_t; | ^~~~~~~ --- tcpsic --- /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:18: note: in expansion of macro 'u_int32_t' 39 | typedef uint32_t u_int32_t; | ^~~~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:18: note: in expansion of macro 'u_int32_t' 39 | typedef uint32_t u_int32_t; | ^~~~~~~~~ In file included from /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/libnet.h:119, from isic.h:7, from tcpsic.c:1: /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:1: warning: useless type name in empty declaration 39 | typedef uint32_t u_int32_t; | ^~~~~~~ --- isic --- In file included from isic.c:1: isic.h:26:2: error: #error Random IP generation broken: unexpected RAND_MAX. 26 | #error Random IP generation broken: unexpected RAND_MAX. | ^~~~~ isic.c: In function 'main': isic.c:232:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 232 | inet_ntoa(*((struct in_addr*) &src_ip ))); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ isic.c:234:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 234 | inet_ntoa(*((struct in_addr*) &dst_ip )), tos, | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- tcpsic --- In file included from tcpsic.c:1: isic.h:26:2: error: #error Random IP generation broken: unexpected RAND_MAX. 26 | #error Random IP generation broken: unexpected RAND_MAX. | ^~~~~ --- udpsic --- <command-line>: error: two or more data types in declaration specifiers <command-line>: error: two or more data types in declaration specifiers --- icmpsic --- In file included from icmpsic.c:1: isic.h:26:2: error: #error Random IP generation broken: unexpected RAND_MAX. 26 | #error Random IP generation broken: unexpected RAND_MAX. | ^~~~~ icmpsic.c: In function 'main': icmpsic.c:274:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 274 | inet_ntoa(*((struct in_addr*) &src_ip ))); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ icmpsic.c:276:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 276 | inet_ntoa(*((struct in_addr*) &dst_ip )), | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- multisic --- <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:18: note: in expansion of macro 'u_int16_t' 38 | typedef uint16_t u_int16_t; | ^~~~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:18: note: in expansion of macro 'u_int16_t' 38 | typedef uint16_t u_int16_t; | ^~~~~~~~~ In file included from /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/libnet.h:119, from isic.h:7, from multisic.c:1: /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:1: warning: useless type name in empty declaration 38 | typedef uint16_t u_int16_t; | ^~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:18: note: in expansion of macro 'u_int32_t' 39 | typedef uint32_t u_int32_t; | ^~~~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:18: note: in expansion of macro 'u_int32_t' 39 | typedef uint32_t u_int32_t; | ^~~~~~~~~ In file included from /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/libnet.h:119, from isic.h:7, from multisic.c:1: /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:1: warning: useless type name in empty declaration 39 | typedef uint32_t u_int32_t; | ^~~~~~~ --- icmpsic --- *** [icmpsic] Error code 1 bmake: stopped in /home/pbulk/build/net/isic/work/isic-0.07 --- tcpsic --- tcpsic.c: In function 'main': tcpsic.c:323:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 323 | inet_ntoa(*((struct in_addr*) &src_ip ))); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ tcpsic.c:325:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 325 | inet_ntoa(*((struct in_addr*) &dst_ip )), tos, | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- multisic --- In file included from multisic.c:1: isic.h:26:2: error: #error Random IP generation broken: unexpected RAND_MAX. 26 | #error Random IP generation broken: unexpected RAND_MAX. | ^~~~~ multisic.c: In function 'main': multisic.c:220:18: error: incompatible type for argument 2 of 'bcopy' 220 | bcopy(ea, ether->ether_shost, 6); | ~~~~~^~~~~~~~~~~~~ | | | struct ether_addr In file included from isic.h:1, from multisic.c:1: /usr/include/strings.h:44:33: note: expected 'void *' but argument is of type 'struct ether_addr' 44 | extern void bcopy(const void *, void *, size_t); | ^~~~~~ multisic.c:221:27: error: incompatible type for argument 2 of 'bcopy' 221 | } else bcopy(shost, ether->ether_shost, 6); | ~~~~~^~~~~~~~~~~~~ | | | struct ether_addr In file included from isic.h:1, from multisic.c:1: /usr/include/strings.h:44:33: note: expected 'void *' but argument is of type 'struct ether_addr' 44 | extern void bcopy(const void *, void *, size_t); | ^~~~~~ multisic.c:223:23: error: incompatible type for argument 2 of 'bcopy' 223 | bcopy(dhost, ether->ether_dhost, 3); | ~~~~~^~~~~~~~~~~~~ | | | struct ether_addr In file included from isic.h:1, from multisic.c:1: /usr/include/strings.h:44:33: note: expected 'void *' but argument is of type 'struct ether_addr' 44 | extern void bcopy(const void *, void *, size_t); | ^~~~~~ multisic.c:227:22: error: subscripted value is neither array nor pointer nor vector 227 | ether->ether_shost[0], ether->ether_shost[1], | ^ multisic.c:227:45: error: subscripted value is neither array nor pointer nor vector 227 | ether->ether_shost[0], ether->ether_shost[1], | ^ multisic.c:228:22: error: subscripted value is neither array nor pointer nor vector 228 | ether->ether_shost[2], ether->ether_shost[3], | ^ multisic.c:228:45: error: subscripted value is neither array nor pointer nor vector 228 | ether->ether_shost[2], ether->ether_shost[3], | ^ multisic.c:229:22: error: subscripted value is neither array nor pointer nor vector 229 | ether->ether_shost[4], ether->ether_shost[5]); | ^ multisic.c:229:45: error: subscripted value is neither array nor pointer nor vector 229 | ether->ether_shost[4], ether->ether_shost[5]); | ^ multisic.c:260:4: error: cannot convert to a pointer type 260 | ((u_int16_t *) ether->ether_shost)[0] = RAND16; | ^ multisic.c:261:4: error: cannot convert to a pointer type 261 | ((u_int16_t *) ether->ether_shost)[1] = RAND16; | ^ multisic.c:262:4: error: cannot convert to a pointer type 262 | ((u_int16_t *) ether->ether_shost)[2] = RAND16; | ^ multisic.c:299:21: error: subscripted value is neither array nor pointer nor vector 299 | ether->ether_dhost[3] = (dst_ip & 0x00007f00) >> 8; | ^ multisic.c:300:21: error: subscripted value is neither array nor pointer nor vector 300 | ether->ether_dhost[4] = (dst_ip & 0x00ff0000) >> 16; | ^ multisic.c:301:21: error: subscripted value is neither array nor pointer nor vector 301 | ether->ether_dhost[5] = (dst_ip & 0xff000000) >> 24; | ^ --- isic --- *** [isic] Error code 1 bmake: stopped in /home/pbulk/build/net/isic/work/isic-0.07 --- tcpsic6 --- <command-line>: error: two or more data types in declaration specifiers <command-line>: error: two or more data types in declaration specifiers --- isic6 --- <command-line>: error: two or more data types in declaration specifiers <command-line>: error: two or more data types in declaration specifiers --- udpsic --- <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:18: note: in expansion of macro 'u_int16_t' 38 | typedef uint16_t u_int16_t; | ^~~~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:18: note: in expansion of macro 'u_int16_t' 38 | typedef uint16_t u_int16_t; | ^~~~~~~~~ In file included from /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/libnet.h:119, from isic.h:7, from udpsic.c:1: /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:1: warning: useless type name in empty declaration 38 | typedef uint16_t u_int16_t; | ^~~~~~~ <command-line>: error: two or more data types in declaration specifiers --- multisic --- multisic.c:343:43: error: subscripted value is neither array nor pointer nor vector 343 | ether->ether_shost[0], ether->ether_shost[1], | ^ multisic.c:343:66: error: subscripted value is neither array nor pointer nor vector 343 | ether->ether_shost[0], ether->ether_shost[1], | ^ multisic.c:344:29: error: subscripted value is neither array nor pointer nor vector 344 | ether->ether_shost[2], ether->ether_shost[3], | ^ multisic.c:344:52: error: subscripted value is neither array nor pointer nor vector 344 | ether->ether_shost[2], ether->ether_shost[3], | ^ multisic.c:345:29: error: subscripted value is neither array nor pointer nor vector 345 | ether->ether_shost[4], ether->ether_shost[5]); --- udpsic --- /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:18: note: in expansion of macro 'u_int32_t' 39 | typedef uint32_t u_int32_t; | ^~~~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:18: note: in expansion of macro 'u_int32_t' 39 | typedef uint32_t u_int32_t; | ^~~~~~~~~ In file included from /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/libnet.h:119, from isic.h:7, from udpsic.c:1: /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:1: warning: useless type name in empty declaration 39 | typedef uint32_t u_int32_t; | ^~~~~~~ --- multisic --- | ^ multisic.c:345:52: error: subscripted value is neither array nor pointer nor vector 345 | ether->ether_shost[4], ether->ether_shost[5]); | ^ multisic.c:347:36: error: subscripted value is neither array nor pointer nor vector 347 | ether->ether_dhost[0], ether->ether_dhost[1], | ^ multisic.c:347:59: error: subscripted value is neither array nor pointer nor vector 347 | ether->ether_dhost[0], ether->ether_dhost[1], | ^ multisic.c:348:36: error: subscripted value is neither array nor pointer nor vector 348 | ether->ether_dhost[2], ether->ether_dhost[3], | ^ multisic.c:348:59: error: subscripted value is neither array nor pointer nor vector 348 | ether->ether_dhost[2], ether->ether_dhost[3], | ^ multisic.c:349:36: error: subscripted value is neither array nor pointer nor vector 349 | ether->ether_dhost[4], ether->ether_dhost[5]); | ^ multisic.c:349:59: error: subscripted value is neither array nor pointer nor vector 349 | ether->ether_dhost[4], ether->ether_dhost[5]); | ^ multisic.c:351:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 351 | inet_ntoa(*((struct in_addr*) &src_ip )), | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ multisic.c:354:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 354 | inet_ntoa(*((struct in_addr*) &dst_ip )), | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- tcpsic --- *** [tcpsic] Error code 1 bmake: stopped in /home/pbulk/build/net/isic/work/isic-0.07 --- udpsic --- In file included from udpsic.c:1: isic.h:26:2: error: #error Random IP generation broken: unexpected RAND_MAX. 26 | #error Random IP generation broken: unexpected RAND_MAX. | ^~~~~ --- tcpsic6 --- <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:18: note: in expansion of macro 'u_int16_t' 38 | typedef uint16_t u_int16_t; | ^~~~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:18: note: in expansion of macro 'u_int16_t' 38 | typedef uint16_t u_int16_t; | ^~~~~~~~~ In file included from /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/libnet.h:119, from isic.h:7, from tcpsic6.c:1: /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:1: warning: useless type name in empty declaration 38 | typedef uint16_t u_int16_t; | ^~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:18: note: in expansion of macro 'u_int32_t' 39 | typedef uint32_t u_int32_t; | ^~~~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:18: note: in expansion of macro 'u_int32_t' 39 | typedef uint32_t u_int32_t; | ^~~~~~~~~ In file included from /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/libnet.h:119, from isic.h:7, from tcpsic6.c:1: /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:1: warning: useless type name in empty declaration 39 | typedef uint32_t u_int32_t; | ^~~~~~~ --- multisic --- *** [multisic] Error code 1 bmake: stopped in /home/pbulk/build/net/isic/work/isic-0.07 --- udpsic --- udpsic.c: In function 'main': udpsic.c:292:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 292 | inet_ntoa(*((struct in_addr*) &src_ip )), | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ udpsic.c:295:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 295 | inet_ntoa(*((struct in_addr*) &dst_ip )), | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- isic6 --- <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:18: note: in expansion of macro 'u_int16_t' 38 | typedef uint16_t u_int16_t; | ^~~~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:18: note: in expansion of macro 'u_int16_t' 38 | typedef uint16_t u_int16_t; | ^~~~~~~~~ In file included from /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/libnet.h:119, from isic.h:7, from isic6.c:1: /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:1: warning: useless type name in empty declaration 38 | typedef uint16_t u_int16_t; | ^~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:18: note: in expansion of macro 'u_int32_t' 39 | typedef uint32_t u_int32_t; | ^~~~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:18: note: in expansion of macro 'u_int32_t' 39 | typedef uint32_t u_int32_t; | ^~~~~~~~~ In file included from /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/libnet.h:119, from isic.h:7, from isic6.c:1: /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:1: warning: useless type name in empty declaration 39 | typedef uint32_t u_int32_t; | ^~~~~~~ --- udpsic --- *** [udpsic] Error code 1 bmake: stopped in /home/pbulk/build/net/isic/work/isic-0.07 --- isic6 --- In file included from isic6.c:1: isic.h:26:2: error: #error Random IP generation broken: unexpected RAND_MAX. 26 | #error Random IP generation broken: unexpected RAND_MAX. | ^~~~~ --- esic --- <command-line>: error: two or more data types in declaration specifiers <command-line>: error: two or more data types in declaration specifiers --- tcpsic6 --- In file included from tcpsic6.c:1: isic.h:26:2: error: #error Random IP generation broken: unexpected RAND_MAX. 26 | #error Random IP generation broken: unexpected RAND_MAX. | ^~~~~ --- esic --- <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:18: note: in expansion of macro 'u_int16_t' 38 | typedef uint16_t u_int16_t; | ^~~~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:18: note: in expansion of macro 'u_int16_t' 38 | typedef uint16_t u_int16_t; | ^~~~~~~~~ In file included from /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/libnet.h:119, from isic.h:7, from esic.c:14: /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:1: warning: useless type name in empty declaration 38 | typedef uint16_t u_int16_t; | ^~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:18: note: in expansion of macro 'u_int32_t' 39 | typedef uint32_t u_int32_t; | ^~~~~~~~~ <command-line>: error: two or more data types in declaration specifiers /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:18: note: in expansion of macro 'u_int32_t' 39 | typedef uint32_t u_int32_t; | ^~~~~~~~~ In file included from /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/libnet.h:119, from isic.h:7, from esic.c:14: /home/pbulk/build/net/isic/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:1: warning: useless type name in empty declaration 39 | typedef uint32_t u_int32_t; | ^~~~~~~ --- tcpsic6 --- *** [tcpsic6] Error code 1 bmake: stopped in /home/pbulk/build/net/isic/work/isic-0.07 --- isic6 --- *** [isic6] Error code 1 bmake: stopped in /home/pbulk/build/net/isic/work/isic-0.07 --- esic --- In file included from esic.c:14: isic.h:26:2: error: #error Random IP generation broken: unexpected RAND_MAX. 26 | #error Random IP generation broken: unexpected RAND_MAX. | ^~~~~ esic.c: In function 'main': esic.c:162:15: error: incompatible type for argument 1 of 'memset' 162 | memset(ether->ether_dhost, 0xff, 6); | ~~~~~^~~~~~~~~~~~~ | | | struct ether_addr In file included from /usr/include/string.h:34, from /usr/include/strings.h:36, from isic.h:1, from esic.c:14: /usr/include/iso/string_iso.h:72:21: note: expected 'void *' but argument is of type 'struct ether_addr' 72 | extern void *memset(void *, int, size_t); | ^~~~~~ esic.c:163:25: error: incompatible type for argument 2 of 'bcopy' 163 | else bcopy(dhost, ether->ether_dhost, 6); | ~~~~~^~~~~~~~~~~~~ | | | struct ether_addr In file included from isic.h:1, from esic.c:14: /usr/include/strings.h:44:33: note: expected 'void *' but argument is of type 'struct ether_addr' 44 | extern void bcopy(const void *, void *, size_t); | ^~~~~~ esic.c:167:18: error: incompatible type for argument 2 of 'bcopy' 167 | bcopy(ea, ether->ether_shost, 6); | ~~~~~^~~~~~~~~~~~~ | | | struct ether_addr In file included from isic.h:1, from esic.c:14: /usr/include/strings.h:44:33: note: expected 'void *' but argument is of type 'struct ether_addr' 44 | extern void bcopy(const void *, void *, size_t); | ^~~~~~ esic.c:168:27: error: incompatible type for argument 2 of 'bcopy' 168 | } else bcopy(shost, ether->ether_shost, 6); | ~~~~~^~~~~~~~~~~~~ | | | struct ether_addr In file included from isic.h:1, from esic.c:14: /usr/include/strings.h:44:33: note: expected 'void *' but argument is of type 'struct ether_addr' 44 | extern void bcopy(const void *, void *, size_t); | ^~~~~~ esic.c:179:22: error: subscripted value is neither array nor pointer nor vector 179 | ether->ether_dhost[0], ether->ether_dhost[1], | ^ esic.c:179:45: error: subscripted value is neither array nor pointer nor vector 179 | ether->ether_dhost[0], ether->ether_dhost[1], | ^ esic.c:180:22: error: subscripted value is neither array nor pointer nor vector 180 | ether->ether_dhost[2], ether->ether_dhost[3], | ^ esic.c:180:45: error: subscripted value is neither array nor pointer nor vector 180 | ether->ether_dhost[2], ether->ether_dhost[3], | ^ esic.c:181:22: error: subscripted value is neither array nor pointer nor vector 181 | ether->ether_dhost[4], ether->ether_dhost[5]); | ^ esic.c:181:45: error: subscripted value is neither array nor pointer nor vector 181 | ether->ether_dhost[4], ether->ether_dhost[5]); | ^ esic.c:185:22: error: subscripted value is neither array nor pointer nor vector 185 | ether->ether_shost[0], ether->ether_shost[1], | ^ esic.c:185:45: error: subscripted value is neither array nor pointer nor vector 185 | ether->ether_shost[0], ether->ether_shost[1], | ^ esic.c:186:22: error: subscripted value is neither array nor pointer nor vector 186 | ether->ether_shost[2], ether->ether_shost[3], | ^ esic.c:186:45: error: subscripted value is neither array nor pointer nor vector 186 | ether->ether_shost[2], ether->ether_shost[3], | ^ esic.c:187:22: error: subscripted value is neither array nor pointer nor vector 187 | ether->ether_shost[4], ether->ether_shost[5]); | ^ esic.c:187:45: error: subscripted value is neither array nor pointer nor vector 187 | ether->ether_shost[4], ether->ether_shost[5]); | ^ esic.c:199:4: error: cannot convert to a pointer type 199 | ((u_int16_t *) ether->ether_shost)[0] = RAND16; | ^ esic.c:200:4: error: cannot convert to a pointer type 200 | ((u_int16_t *) ether->ether_shost)[1] = RAND16; | ^ esic.c:201:4: error: cannot convert to a pointer type 201 | ((u_int16_t *) ether->ether_shost)[2] = RAND16; | ^ esic.c:204:4: error: cannot convert to a pointer type 204 | ((u_int16_t *) ether->ether_dhost)[0] = RAND16; | ^ esic.c:205:4: error: cannot convert to a pointer type 205 | ((u_int16_t *) ether->ether_dhost)[1] = RAND16; | ^ esic.c:206:4: error: cannot convert to a pointer type 206 | ((u_int16_t *) ether->ether_dhost)[2] = RAND16; | ^ esic.c:229:23: error: subscripted value is neither array nor pointer nor vector 229 | ether->ether_shost[0], ether->ether_shost[1], | ^ esic.c:229:46: error: subscripted value is neither array nor pointer nor vector 229 | ether->ether_shost[0], ether->ether_shost[1], | ^ esic.c:230:23: error: subscripted value is neither array nor pointer nor vector 230 | ether->ether_shost[2], ether->ether_shost[3], | ^ esic.c:230:46: error: subscripted value is neither array nor pointer nor vector 230 | ether->ether_shost[2], ether->ether_shost[3], | ^ esic.c:231:23: error: subscripted value is neither array nor pointer nor vector 231 | ether->ether_shost[4], ether->ether_shost[5]); | ^ esic.c:231:46: error: subscripted value is neither array nor pointer nor vector 231 | ether->ether_shost[4], ether->ether_shost[5]); | ^ esic.c:233:23: error: subscripted value is neither array nor pointer nor vector 233 | ether->ether_dhost[0], ether->ether_dhost[1], | ^ esic.c:233:46: error: subscripted value is neither array nor pointer nor vector 233 | ether->ether_dhost[0], ether->ether_dhost[1], | ^ esic.c:234:23: error: subscripted value is neither array nor pointer nor vector 234 | ether->ether_dhost[2], ether->ether_dhost[3], | ^ esic.c:234:46: error: subscripted value is neither array nor pointer nor vector 234 | ether->ether_dhost[2], ether->ether_dhost[3], | ^ esic.c:235:23: error: subscripted value is neither array nor pointer nor vector 235 | ether->ether_dhost[4], ether->ether_dhost[5]); | ^ esic.c:235:46: error: subscripted value is neither array nor pointer nor vector 235 | ether->ether_dhost[4], ether->ether_dhost[5]); | ^ esic.c: In function 'usage': esic.c:358:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 358 | (char *) (index(name, '/') == NULL) | ^ *** [esic] Error code 1 bmake: stopped in /home/pbulk/build/net/isic/work/isic-0.07 8 errors bmake: stopped in /home/pbulk/build/net/isic/work/isic-0.07 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/isic *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/isic