+ 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/packit-1.0nb4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/packit-1.0nb4/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for packit-1.0nb4 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- init.o --- --- define_defaults.o --- --- error.o --- --- injection.o --- --- init.o --- source='init.c' object='init.o' libtool=no depfile='.deps/init.Po' tmpdepfile='.deps/init.TPo' depmode=gcc3 /bin/sh ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/opt/pkg/include/libnet11 -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libnet11 -I/opt/pkg/include -Wall -I/opt/pkg/include -c `test -f 'init.c' || echo './'`init.c --- define_defaults.o --- source='define_defaults.c' object='define_defaults.o' libtool=no depfile='.deps/define_defaults.Po' tmpdepfile='.deps/define_defaults.TPo' depmode=gcc3 /bin/sh ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/opt/pkg/include/libnet11 -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libnet11 -I/opt/pkg/include -Wall -I/opt/pkg/include -c `test -f 'define_defaults.c' || echo './'`define_defaults.c --- error.o --- source='error.c' object='error.o' libtool=no depfile='.deps/error.Po' tmpdepfile='.deps/error.TPo' depmode=gcc3 /bin/sh ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/opt/pkg/include/libnet11 -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libnet11 -I/opt/pkg/include -Wall -I/opt/pkg/include -c `test -f 'error.c' || echo './'`error.c --- injection.o --- source='injection.c' object='injection.o' libtool=no depfile='.deps/injection.Po' tmpdepfile='.deps/injection.TPo' depmode=gcc3 /bin/sh ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/opt/pkg/include/libnet11 -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libnet11 -I/opt/pkg/include -Wall -I/opt/pkg/include -c `test -f 'injection.c' || echo './'`injection.c --- define_defaults.o --- In file included from globals.h:28, from define_defaults.h:26, from define_defaults.c:23: ../config.h:182:18: error: two or more data types in declaration specifiers 182 | #define u_int8_t unsigned char | ^~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:37:18: note: in expansion of macro 'u_int8_t' 37 | typedef uint8_t u_int8_t; | ^~~~~~~~ ../config.h:182:27: error: two or more data types in declaration specifiers 182 | #define u_int8_t unsigned char | ^~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:37:18: note: in expansion of macro 'u_int8_t' 37 | typedef uint8_t u_int8_t; | ^~~~~~~~ In file included from /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/libnet.h:119, from globals.h:31: /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:37:1: warning: useless type name in empty declaration 37 | typedef uint8_t u_int8_t; | ^~~~~~~ ../config.h:173:19: error: two or more data types in declaration specifiers 173 | #define u_int16_t unsigned short | ^~~~~~~~ /home/pbulk/build/net/packit/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; | ^~~~~~~~~ ../config.h:173:28: error: two or more data types in declaration specifiers 173 | #define u_int16_t unsigned short | ^~~~~ /home/pbulk/build/net/packit/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; | ^~~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:1: warning: useless type name in empty declaration 38 | typedef uint16_t u_int16_t; | ^~~~~~~ ../config.h:176:19: error: two or more data types in declaration specifiers 176 | #define u_int32_t unsigned int | ^~~~~~~~ /home/pbulk/build/net/packit/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; | ^~~~~~~~~ ../config.h:176:28: error: two or more data types in declaration specifiers 176 | #define u_int32_t unsigned int | ^~~ /home/pbulk/build/net/packit/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; | ^~~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:1: warning: useless type name in empty declaration 39 | typedef uint32_t u_int32_t; | ^~~~~~~ ../config.h:179:19: error: two or more data types in declaration specifiers 179 | #define u_int64_t unsigned long long | ^~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:40:18: note: in expansion of macro 'u_int64_t' 40 | typedef uint64_t u_int64_t; | ^~~~~~~~~ ../config.h:179:28: error: two or more data types in declaration specifiers 179 | #define u_int64_t unsigned long long | ^~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:40:18: note: in expansion of macro 'u_int64_t' 40 | typedef uint64_t u_int64_t; | ^~~~~~~~~ ../config.h:179:33: error: two or more data types in declaration specifiers 179 | #define u_int64_t unsigned long long | ^~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:40:18: note: in expansion of macro 'u_int64_t' 40 | typedef uint64_t u_int64_t; | ^~~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:40:1: warning: useless type name in empty declaration 40 | typedef uint64_t u_int64_t; | ^~~~~~~ --- init.o --- In file included from globals.h:28, from init.h:26, from init.c:23: ../config.h:182:18: error: two or more data types in declaration specifiers 182 | #define u_int8_t unsigned char | ^~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:37:18: note: in expansion of macro 'u_int8_t' 37 | typedef uint8_t u_int8_t; | ^~~~~~~~ ../config.h:182:27: error: two or more data types in declaration specifiers 182 | #define u_int8_t unsigned char | ^~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:37:18: note: in expansion of macro 'u_int8_t' 37 | typedef uint8_t u_int8_t; | ^~~~~~~~ In file included from /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/libnet.h:119, from globals.h:31: /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:37:1: warning: useless type name in empty declaration 37 | typedef uint8_t u_int8_t; | ^~~~~~~ ../config.h:173:19: error: two or more data types in declaration specifiers 173 | #define u_int16_t unsigned short | ^~~~~~~~ /home/pbulk/build/net/packit/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; | ^~~~~~~~~ ../config.h:173:28: error: two or more data types in declaration specifiers 173 | #define u_int16_t unsigned short | ^~~~~ /home/pbulk/build/net/packit/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; | ^~~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:1: warning: useless type name in empty declaration 38 | typedef uint16_t u_int16_t; | ^~~~~~~ ../config.h:176:19: error: two or more data types in declaration specifiers 176 | #define u_int32_t unsigned int | ^~~~~~~~ /home/pbulk/build/net/packit/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; | ^~~~~~~~~ ../config.h:176:28: error: two or more data types in declaration specifiers 176 | #define u_int32_t unsigned int | ^~~ /home/pbulk/build/net/packit/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; | ^~~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:1: warning: useless type name in empty declaration 39 | typedef uint32_t u_int32_t; | ^~~~~~~ ../config.h:179:19: error: two or more data types in declaration specifiers 179 | #define u_int64_t unsigned long long | ^~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:40:18: note: in expansion of macro 'u_int64_t' 40 | typedef uint64_t u_int64_t; | ^~~~~~~~~ ../config.h:179:28: error: two or more data types in declaration specifiers 179 | #define u_int64_t unsigned long long | ^~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:40:18: note: in expansion of macro 'u_int64_t' 40 | typedef uint64_t u_int64_t; | ^~~~~~~~~ ../config.h:179:33: error: two or more data types in declaration specifiers 179 | #define u_int64_t unsigned long long | ^~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:40:18: note: in expansion of macro 'u_int64_t' 40 | typedef uint64_t u_int64_t; | ^~~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:40:1: warning: useless type name in empty declaration 40 | typedef uint64_t u_int64_t; | ^~~~~~~ --- define_defaults.o --- In file included from /usr/include/sys/socket.h:67, from /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/libnet.h:79: inject_defs.h:39:15: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token 39 | u_int8_t *s_addr; /* src address string */ | ^~~~~~ inject_defs.h:134:15: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token 134 | u_int8_t *s_addr; /* source ethernet address string */ | ^~~~~~ --- injection.o --- In file included from globals.h:28, from injection.h:26, from injection.c:23: ../config.h:182:18: error: two or more data types in declaration specifiers 182 | #define u_int8_t unsigned char | ^~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:37:18: note: in expansion of macro 'u_int8_t' 37 | typedef uint8_t u_int8_t; | ^~~~~~~~ ../config.h:182:27: error: two or more data types in declaration specifiers 182 | #define u_int8_t unsigned char | ^~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:37:18: note: in expansion of macro 'u_int8_t' 37 | typedef uint8_t u_int8_t; | ^~~~~~~~ --- define_defaults.o --- define_defaults.c: In function 'define_injection_defaults': --- injection.o --- In file included from /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/libnet.h:119, from globals.h:31: /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:37:1: warning: useless type name in empty declaration 37 | typedef uint8_t u_int8_t; | ^~~~~~~ ../config.h:173:19: error: two or more data types in declaration specifiers 173 | #define u_int16_t unsigned short | ^~~~~~~~ /home/pbulk/build/net/packit/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; | ^~~~~~~~~ --- define_defaults.o --- define_defaults.c:34:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 34 | s_d_port = "0"; | ^ --- injection.o --- ../config.h:173:28: error: two or more data types in declaration specifiers 173 | #define u_int16_t unsigned short | ^~~~~ /home/pbulk/build/net/packit/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; | ^~~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:1: warning: useless type name in empty declaration 38 | typedef uint16_t u_int16_t; | ^~~~~~~ ../config.h:176:19: error: two or more data types in declaration specifiers 176 | #define u_int32_t unsigned int | ^~~~~~~~ /home/pbulk/build/net/packit/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; | ^~~~~~~~~ ../config.h:176:28: error: two or more data types in declaration specifiers 176 | #define u_int32_t unsigned int | ^~~ /home/pbulk/build/net/packit/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; | ^~~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:1: warning: useless type name in empty declaration 39 | typedef uint32_t u_int32_t; | ^~~~~~~ ../config.h:179:19: error: two or more data types in declaration specifiers 179 | #define u_int64_t unsigned long long | ^~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:40:18: note: in expansion of macro 'u_int64_t' 40 | typedef uint64_t u_int64_t; | ^~~~~~~~~ ../config.h:179:28: error: two or more data types in declaration specifiers 179 | #define u_int64_t unsigned long long | ^~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:40:18: note: in expansion of macro 'u_int64_t' 40 | typedef uint64_t u_int64_t; | ^~~~~~~~~ ../config.h:179:33: error: two or more data types in declaration specifiers 179 | #define u_int64_t unsigned long long | ^~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:40:18: note: in expansion of macro 'u_int64_t' 40 | typedef uint64_t u_int64_t; | ^~~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:40:1: warning: useless type name in empty declaration 40 | typedef uint64_t u_int64_t; | ^~~~~~~ --- init.o --- In file included from /usr/include/sys/socket.h:67, from /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/libnet.h:79: inject_defs.h:39:15: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token 39 | u_int8_t *s_addr; /* src address string */ | ^~~~~~ inject_defs.h:134:15: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token 134 | u_int8_t *s_addr; /* source ethernet address string */ | ^~~~~~ init.c: In function 'injection_struct_init': init.c:29:11: error: 'struct enethdr_opts' has no member named 'd_addr' 29 | ehdr_o.d_addr = NULL; | ^ init.c:30:11: error: 'struct enethdr_opts' has no member named 'S_un' 30 | ehdr_o.s_addr = NULL; | ^ init.c:34:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 34 | ahdr_o.s_paddr = IPV4_DEFAULT; | ^ init.c:35:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 35 | ahdr_o.s_eaddr = ETH_DEFAULT; | ^ init.c:36:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 36 | ahdr_o.r_paddr = IPV4_DEFAULT; | ^ init.c:37:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 37 | ahdr_o.r_eaddr = ETH_DEFAULT; | ^ --- error.o --- In file included from globals.h:28, from error.h:26, from error.c:23: ../config.h:182:18: error: two or more data types in declaration specifiers 182 | #define u_int8_t unsigned char | ^~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:37:18: note: in expansion of macro 'u_int8_t' 37 | typedef uint8_t u_int8_t; | ^~~~~~~~ ../config.h:182:27: error: two or more data types in declaration specifiers 182 | #define u_int8_t unsigned char | ^~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:37:18: note: in expansion of macro 'u_int8_t' 37 | typedef uint8_t u_int8_t; | ^~~~~~~~ In file included from /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/libnet.h:119, from globals.h:31: /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:37:1: warning: useless type name in empty declaration 37 | typedef uint8_t u_int8_t; | ^~~~~~~ ../config.h:173:19: error: two or more data types in declaration specifiers 173 | #define u_int16_t unsigned short | ^~~~~~~~ /home/pbulk/build/net/packit/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; | ^~~~~~~~~ ../config.h:173:28: error: two or more data types in declaration specifiers 173 | #define u_int16_t unsigned short | ^~~~~ /home/pbulk/build/net/packit/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; | ^~~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:38:1: warning: useless type name in empty declaration 38 | typedef uint16_t u_int16_t; | ^~~~~~~ ../config.h:176:19: error: two or more data types in declaration specifiers 176 | #define u_int32_t unsigned int | ^~~~~~~~ /home/pbulk/build/net/packit/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; | ^~~~~~~~~ ../config.h:176:28: error: two or more data types in declaration specifiers 176 | #define u_int32_t unsigned int | ^~~ /home/pbulk/build/net/packit/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; | ^~~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:39:1: warning: useless type name in empty declaration 39 | typedef uint32_t u_int32_t; | ^~~~~~~ ../config.h:179:19: error: two or more data types in declaration specifiers 179 | #define u_int64_t unsigned long long | ^~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:40:18: note: in expansion of macro 'u_int64_t' 40 | typedef uint64_t u_int64_t; | ^~~~~~~~~ ../config.h:179:28: error: two or more data types in declaration specifiers 179 | #define u_int64_t unsigned long long | ^~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:40:18: note: in expansion of macro 'u_int64_t' 40 | typedef uint64_t u_int64_t; | ^~~~~~~~~ ../config.h:179:33: error: two or more data types in declaration specifiers 179 | #define u_int64_t unsigned long long | ^~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:40:18: note: in expansion of macro 'u_int64_t' 40 | typedef uint64_t u_int64_t; | ^~~~~~~~~ /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-types.h:40:1: warning: useless type name in empty declaration 40 | typedef uint64_t u_int64_t; | ^~~~~~~ --- define_defaults.o --- *** [define_defaults.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/net/packit/work/packit-1.0/src --- injection.o --- In file included from /usr/include/sys/socket.h:67, from /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/libnet.h:79: inject_defs.h:39:15: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token 39 | u_int8_t *s_addr; /* src address string */ | ^~~~~~ --- error.o --- In file included from /usr/include/sys/socket.h:67, from /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/libnet.h:79: inject_defs.h:39:15: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token 39 | u_int8_t *s_addr; /* src address string */ | ^~~~~~ inject_defs.h:134:15: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token 134 | u_int8_t *s_addr; /* source ethernet address string */ | ^~~~~~ --- injection.o --- inject_defs.h:134:15: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token 134 | u_int8_t *s_addr; /* source ethernet address string */ | ^~~~~~ --- error.o --- error.c: In function 'fatal_error': error.c:35:41: warning: pointer targets in passing argument 3 of 'vsnprintf' differ in signedness [-Wpointer-sign] 35 | vsnprintf(error_buf, ERRBUF_MAXLEN, err, va); | ^~~ | | | unsigned char * In file included from /usr/include/stdio.h:151, from /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/libnet.h:63: /usr/include/iso/stdio_c99.h:84:52: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD, | ^ --- init.o --- *** [init.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/net/packit/work/packit-1.0/src --- injection.o --- injection.c: In function 'injection_init': injection.c:60:19: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 60 | if(strstr(s_d_port, "-")) | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:34, from /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/libnet.h:64: /usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern char *strstr(const char *, const char *); | ^~~~~~~~~~~~ injection.c:65:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 65 | fatal_error("Invalid port range: %s", s_d_port); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../config.h:182:18: note: expected 'unsigned char *' but argument is of type 'char *' 182 | #define u_int8_t unsigned char error.h:34:18: note: in expansion of macro 'u_int8_t' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~ injection.c:70:34: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 70 | d_port = (u_int16_t)atoi(s_d_port); | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/stdlib.h:41, from /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/libnet.h:68: /usr/include/iso/stdlib_iso.h:124:17: note: expected 'const char *' but argument is of type 'unsigned char *' 124 | extern int atoi(const char *); | ^~~~~~~~~~~~ injection.c:73:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 73 | if(!device && (device = pcap_lookupdev(error_buf)) == NULL) | ^~ In file included from /home/pbulk/build/net/packit/work/.buildlink/include/pcap.h:43, from globals.h:34: /home/pbulk/build/net/packit/work/.buildlink/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ injection.c:73:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 73 | if(!device && (device = pcap_lookupdev(error_buf)) == NULL) | ^ injection.c:74:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 74 | fatal_error("Device lookup failure: Are you root?"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../config.h:182:18: note: expected 'unsigned char *' but argument is of type 'char *' 182 | #define u_int8_t unsigned char error.h:34:18: note: in expansion of macro 'u_int8_t' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~ injection.c:76:15: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 76 | if(strstr(device, "any")) strcpy(device, "lo"); | ^~~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern char *strstr(const char *, const char *); | ^~~~~~~~~~~~ injection.c:76:38: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 76 | if(strstr(device, "any")) strcpy(device, "lo"); | ^~~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'unsigned char *' 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ injection.c:83:40: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 83 | if((pkt_d = libnet_init(init_type, device, error_buf)) == NULL) | ^~~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/libnet.h:124: /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/./libnet/libnet-functions.h:64:39: note: expected 'char *' but argument is of type 'unsigned char *' 64 | libnet_init(int injection_type, char *device, char *err_buf); | ~~~~~~^~~~~~ injection.c:84:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 84 | fatal_error("Unable to initialize packet injection"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../config.h:182:18: note: expected 'unsigned char *' but argument is of type 'char *' 182 | #define u_int8_t unsigned char error.h:34:18: note: in expansion of macro 'u_int8_t' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~ injection.c: In function 'with_response': injection.c:124:30: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 124 | if((pkt = pcap_open_live(device, 1500, 1, READ_TIMEOUT, error_buf)) == NULL) | ^~~~~~ | | | unsigned char * /home/pbulk/build/net/packit/work/.buildlink/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'unsigned char *' 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ injection.c:125:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 125 | fatal_error("Unable to open device: %s", error_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../config.h:182:18: note: expected 'unsigned char *' but argument is of type 'char *' 182 | #define u_int8_t unsigned char error.h:34:18: note: in expansion of macro 'u_int8_t' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~ injection.c:127:23: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 127 | if(pcap_lookupnet(device, &localnet, &netmask, error_buf) < 0) | ^~~~~~ | | | unsigned char * /home/pbulk/build/net/packit/work/.buildlink/include/pcap/pcap.h:447:32: note: expected 'const char *' but argument is of type 'unsigned char *' 447 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~~~~~~~ injection.c:153:30: error: 'struct ip4hdr_opts' has no member named 'S_un' 153 | ip4hdr_o.s_addr, ip4hdr_o.d_addr, d_port, s_port, ip4hdr_o.id); | ^ injection.c:153:47: error: 'struct ip4hdr_opts' has no member named 'd_addr' 153 | ip4hdr_o.s_addr, ip4hdr_o.d_addr, d_port, s_port, ip4hdr_o.id); | ^ injection.c:145:27: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 145 | snprintf(ufilter, 1024, | ^~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:151, from /home/pbulk/build/net/packit/work/.buildlink/include/libnet11/libnet.h:63: /usr/include/iso/stdio_c99.h:82:21: note: expected 'char * restrict' but argument is of type 'unsigned char *' 82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD, | ^ injection.c:166:30: error: 'struct ip4hdr_opts' has no member named 'S_un' 166 | ip4hdr_o.s_addr, ip4hdr_o.d_addr, d_port, s_port, ip4hdr_o.id); | ^ injection.c:166:47: error: 'struct ip4hdr_opts' has no member named 'd_addr' 166 | ip4hdr_o.s_addr, ip4hdr_o.d_addr, d_port, s_port, ip4hdr_o.id); | ^ injection.c:158:27: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 158 | snprintf(ufilter, 1024, | ^~~~~~~ | | | unsigned char * /usr/include/iso/stdio_c99.h:82:21: note: expected 'char * restrict' but argument is of type 'unsigned char *' 82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD, | ^ injection.c:179:30: error: 'struct ip4hdr_opts' has no member named 'S_un' 179 | ip4hdr_o.s_addr, htons(i4hdr_o.id), htons(i4hdr_o.seqn), | ^ injection.c:171:27: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 171 | snprintf(ufilter, 1024, | ^~~~~~~ | | | unsigned char * /usr/include/iso/stdio_c99.h:82:21: note: expected 'char * restrict' but argument is of type 'unsigned char *' 82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD, | ^ injection.c:191:36: warning: pointer targets in passing argument 3 of 'pcap_compile' differ in signedness [-Wpointer-sign] 191 | if(pcap_compile(pkt, &bpf, filter, 0, netmask) < 0) | ^~~~~~ | | | unsigned char * /home/pbulk/build/net/packit/work/.buildlink/include/pcap/pcap.h:662:62: note: expected 'const char *' but argument is of type 'unsigned char *' 662 | PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, | ^~~~~~~~~~~~ injection.c:195:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 195 | fatal_error("Unable to set packet filters: %s", pcap_geterr(pkt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../config.h:182:18: note: expected 'unsigned char *' but argument is of type 'char *' 182 | #define u_int8_t unsigned char error.h:34:18: note: in expansion of macro 'u_int8_t' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~ injection.c:202:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 202 | fatal_error("Unable to determine datalink type: %s", pcap_geterr(pkt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../config.h:182:18: note: expected 'unsigned char *' but argument is of type 'char *' 182 | #define u_int8_t unsigned char error.h:34:18: note: in expansion of macro 'u_int8_t' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~ injection.c:210:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 210 | fatal_error("Unable to change to blocking mode: %s", error_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../config.h:182:18: note: expected 'unsigned char *' but argument is of type 'char *' 182 | #define u_int8_t unsigned char error.h:34:18: note: in expansion of macro 'u_int8_t' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~ injection.c:217:62: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] 217 | print_separator(1, 2, (p_mode == M_TRACE) ? "HOP %d" : "SND %d", inj_cnt); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | char * ../config.h:182:18: note: expected 'unsigned char *' but argument is of type 'char *' 182 | #define u_int8_t unsigned char utils.h:31:32: note: in expansion of macro 'u_int8_t' 31 | void print_separator(int, int, u_int8_t *, ...); | ^~~~~~~~ injection.c:221:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 221 | fatal_error("Unable to inject packet"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../config.h:182:18: note: expected 'unsigned char *' but argument is of type 'char *' 182 | #define u_int8_t unsigned char error.h:34:18: note: in expansion of macro 'u_int8_t' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~ injection.c:244:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 244 | fatal_error("Unable to inject packet"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../config.h:182:18: note: expected 'unsigned char *' but argument is of type 'char *' 182 | #define u_int8_t unsigned char error.h:34:18: note: in expansion of macro 'u_int8_t' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~ injection.c:269:69: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] 269 | print_separator((p_mode == M_TRACE) ? 0 : 1, 1, "No Response From Peer"); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../config.h:182:18: note: expected 'unsigned char *' but argument is of type 'char *' 182 | #define u_int8_t unsigned char utils.h:31:32: note: in expansion of macro 'u_int8_t' 31 | void print_separator(int, int, u_int8_t *, ...); | ^~~~~~~~ injection.c: In function 'without_response': injection.c:327:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 327 | fatal_error("Unable to inject packet"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../config.h:182:18: note: expected 'unsigned char *' but argument is of type 'char *' 182 | #define u_int8_t unsigned char error.h:34:18: note: in expansion of macro 'u_int8_t' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~ injection.c:331:35: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] 331 | print_separator(1, 2, "SND %ld", inj_cnt); | ^~~~~~~~~ | | | char * ../config.h:182:18: note: expected 'unsigned char *' but argument is of type 'char *' 182 | #define u_int8_t unsigned char utils.h:31:32: note: in expansion of macro 'u_int8_t' 31 | void print_separator(int, int, u_int8_t *, ...); | ^~~~~~~~ --- error.o --- *** [error.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/net/packit/work/packit-1.0/src --- injection.o --- *** [injection.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/net/packit/work/packit-1.0/src bmake[2]: 4 errors bmake[2]: stopped making "all" in /home/pbulk/build/net/packit/work/packit-1.0/src *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /home/pbulk/build/net/packit/work/packit-1.0 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /home/pbulk/build/net/packit/work/packit-1.0 *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/net/packit/work/packit-1.0 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/net/packit/work/packit-1.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/packit *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/packit