+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/wap-utils-1.3.2nb11/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/wap-utils-1.3.2nb11/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for wap-utils-1.3.2nb11 --- ./stamp-h.in --- cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. --- stamp-h --- cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/bash ./config.status creating config.h config.h is unchanged --- config.h --- --- all-recursive-am --- /usr/pkg/bin/bmake all-recursive --- all-recursive --- Making all in intl Making all in lib --- reset.o --- --- snmp.o --- --- reset.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/include -I/usr/pkg/include/ncurses -Wall -W -c reset.c --- snmp.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/include -I/usr/pkg/include/ncurses -Wall -W -c snmp.c snmp.c: In function 'snmp': snmp.c:154:5: warning: pointer targets in passing argument 1 of 'ber' differ in signedness [-Wpointer-sign] len = ber(message, varbindlist, num, type); ^ snmp.c:49:5: note: expected 'char *' but argument is of type 'unsigned char *' int ber(char *message, varbind * varbindlist, int num, int type) ^ snmp.c:171:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] start = buf; ^ --- reset.o --- reset.c: In function 'SysReset': reset.c:36:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = sysReset; ^ reset.c:38:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = &enable; ^ reset.c:45:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = operESSID; ^ --- libap.a --- rm -f libap.a ar cru libap.a reset.o snmp.o ranlib libap.a Making all in src --- ap-config.o --- --- aps.o --- --- ap-config.o --- cc -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/usr/include -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/include -I/usr/pkg/include/ncurses -Wall -W -c ap-config.c --- aps.o --- cc -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/usr/include -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/include -I/usr/pkg/include/ncurses -Wall -W -c aps.c aps.c: In function 'APs': aps.c:88:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = bridgeOperationalMode; ^ aps.c:90:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = bridgeOperationalMode; ^ aps.c:122:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = bridgeOperationalMode; ^ aps.c:126:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = &c; ^ aps.c:141:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = KnownAP; ^ aps.c:144:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = value; ^ aps.c:223:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[2].oid = bridgeRemoteBridgeBSSID; ^ aps.c:225:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[2].value = ap[j-1].mac; ^ aps.c:228:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = operESSIDLength; ^ aps.c:230:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = (char *) &ap[j-1].essid_len; ^ aps.c:233:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[1].oid = operESSID; ^ aps.c:235:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[1].value = ap[j-1].essid; ^ aps.c:274:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = bridgeOperationalMode; ^ aps.c:276:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = (char *) &bridge_mode; ^ --- ap_search.o --- cc -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/usr/include -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/include -I/usr/pkg/include/ncurses -Wall -W -c ap_search.c --- auth_mac.o --- cc -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/usr/include -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/include -I/usr/pkg/include/ncurses -Wall -W -c auth_mac.c --- ap_search.o --- ap_search.c: In function 'ap_search': ap_search.c:58:42: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char message[1024], *comm = community, *start; ^ ap_search.c:127:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = Wireless[ap_type]; ^ ap_search.c:134:5: warning: pointer targets in passing argument 1 of 'ber' differ in signedness [-Wpointer-sign] len = ber(message, varbinds, 1, GET); ^ In file included from ap_search.c:31:0: ../lib/ap-utils.h:283:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int ber(char *, varbind *, int, int); ^ ap_search.c:139:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] strerror(errno)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/string.h:25, from ap_search.c:20: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ap_search.c:140:2: warning: pointer targets in passing argument 1 of 'print_help' differ in signedness [-Wpointer-sign] print_help(message); ^ In file included from ap_search.c:31:0: ../lib/ap-utils.h:256:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void print_help(char *); ^ ap_search.c:155:9: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] &client_len)) == -1) ^ In file included from /usr/include/sys/socket.h:281:0, from /usr/include/netinet/in.h:24, from ap_search.c:23: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^ ap_search.c:188:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(message, "%5s %15s", ap_types[ap_type], inet_ntoa(from.sin_addr)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/string.h:25, from ap_search.c:20: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ap_search.c:189:6: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, i+1, 0, message); ^ In file included from ap_search.c:30:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ ap_search.c:203:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] community = comm; ^ --- auth_mac.o --- auth_mac.c: In function 'AuthMAC': auth_mac.c:71:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = EnableAuthMAC; ^ auth_mac.c:96:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = AutorizedMac; ^ auth_mac.c:98:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = (char *) &get; ^ auth_mac.c:216:3: warning: pointer targets in passing argument 3 of 'get_mac' differ in signedness [-Wpointer-sign] get_mac(1, 15, curr->addr); ^ In file included from auth_mac.c:20:0: ../lib/ap-utils.h:260:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void get_mac(int, int, char *); ^ auth_mac.c:225:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = EnableAuthMAC; ^ auth_mac.c:228:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = (char *) &auth_mac_hw; ^ auth_mac.c:243:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = AutorizedMac; ^ auth_mac.c:245:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = (char *) &get; ^ auth_mac.c: In function 'nwn_auth_mac': auth_mac.c:324:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = Mac; ^ auth_mac.c:326:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = Mac; ^ auth_mac.c:341:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = Mac; ^ auth_mac.c:343:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = Mac; ^ auth_mac.c:346:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[1].oid = MacAllow; ^ auth_mac.c:348:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[1].value = Mac; ^ auth_mac.c:351:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[2].oid = MacRowStatus; ^ auth_mac.c:353:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[2].value = Mac; ^ auth_mac.c:377:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = Mac; ^ auth_mac.c:379:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = Mac; ^ auth_mac.c:455:6: warning: pointer targets in passing argument 3 of 'get_mac' differ in signedness [-Wpointer-sign] get_mac(1, 20, curr->addr); ^ In file included from auth_mac.c:20:0: ../lib/ap-utils.h:260:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void get_mac(int, int, char *); ^ auth_mac.c:471:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = Mac; ^ auth_mac.c:473:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = Mac; ^ auth_mac.c:484:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = MacRowStatus; ^ auth_mac.c:486:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = &destroy; ^ auth_mac.c:493:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = Mac; ^ auth_mac.c:495:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = Mac; ^ auth_mac.c:513:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = MacRowStatus; ^ auth_mac.c:515:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = &create; ^ auth_mac.c:518:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[1].oid = Mac; ^ auth_mac.c:520:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[1].value = auth_enable; ^ auth_mac.c:523:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[2].oid = MacAllow; ^ auth_mac.c:525:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[2].value = &allow; ^ auth_mac.c:544:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = MacRowStatus; ^ auth_mac.c:546:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = &create; ^ auth_mac.c:549:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[1].oid = Mac; ^ auth_mac.c:554:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[2].oid = MacAllow; ^ auth_mac.c:556:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[2].value = &allow; ^ --- bridge.o --- cc -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/usr/include -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/include -I/usr/pkg/include/ncurses -Wall -W -c bridge.c bridge.c: In function 'briging': bridge.c:131:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = IPFilter; ^ bridge.c:132:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[1].oid = PrimaryPort; ^ bridge.c:133:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[2].oid = operDHCP; ^ bridge.c:134:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[3].oid = operEthernetAddress; ^ bridge.c:135:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[4].oid = operIPAddress; ^ bridge.c:136:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[5].oid = operIPMask; ^ bridge.c:137:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[6].oid = operGateway; ^ bridge.c:138:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[7].oid = bridgeOperationalMode; ^ bridge.c:139:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[8].oid = sysTrapSwitch; ^ bridge.c:140:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[9].oid = bridgeRemoteBridgeBSSID; ^ bridge.c:154:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] varbinds[3].value[5] & 0xFF); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:155:5: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 0, 0, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:166:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(message, PR_PORT, ports[primary_port - 1]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:167:2: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 4, 0, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:173:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] *(varbinds[1].value + 4) & 0xFF, *(varbinds[1].value + 5) & 0xFF); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:186:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] *(RemoteBSSID + 4) & 0xFF, *(RemoteBSSID + 5) & 0xFF); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:187:2: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 7, 0, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:193:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(message, "[I] IP: %s", inet_ntoa(ip)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:194:5: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 1, 0, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:195:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(message, _("[N] Netmask: %s"), inet_ntoa(mask)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:196:5: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 1, 24, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:197:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(message, _("[G] Gateway %s"), inet_ntoa(gw)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:198:5: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 2, 0, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:199:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(message, IP_FILTER, (filter == 1) ? ON : OFF); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:200:5: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 3, 0, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:201:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(message, DHCP, (dhcp == 1) ? ON : OFF); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:202:5: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 5, 0, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:203:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(message, OPER, bridge_modes[bridge_mode - 1]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:204:5: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 6, 0, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:205:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(message, TRAPS, (traps == 1) ? ON : OFF); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:206:5: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 8, 0, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:215:6: warning: pointer targets in passing argument 1 of 'get_value' differ in signedness [-Wpointer-sign] get_value(message, 1, 8, 16); ^ In file included from bridge.c:28:0: ../lib/ap-utils.h:259:13: note: expected 'char *' but argument is of type 'unsigned char *' extern int get_value(char *, int, int, int); ^ bridge.c:216:6: warning: pointer targets in passing argument 1 of 'inet_aton' differ in signedness [-Wpointer-sign] if (!(inet_aton(message, &ip))) { ^ In file included from bridge.c:27:0: /usr/include/arpa/inet.h:73:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW; ^ bridge.c:225:6: warning: pointer targets in passing argument 1 of 'get_value' differ in signedness [-Wpointer-sign] get_value(message, 1, 37, 16); ^ In file included from bridge.c:28:0: ../lib/ap-utils.h:259:13: note: expected 'char *' but argument is of type 'unsigned char *' extern int get_value(char *, int, int, int); ^ bridge.c:226:6: warning: pointer targets in passing argument 1 of 'inet_aton' differ in signedness [-Wpointer-sign] if (!(inet_aton(message, &mask))) { ^ In file included from bridge.c:27:0: /usr/include/arpa/inet.h:73:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW; ^ bridge.c:235:6: warning: pointer targets in passing argument 1 of 'get_value' differ in signedness [-Wpointer-sign] get_value(message, 2, 12, 16); ^ In file included from bridge.c:28:0: ../lib/ap-utils.h:259:13: note: expected 'char *' but argument is of type 'unsigned char *' extern int get_value(char *, int, int, int); ^ bridge.c:236:6: warning: pointer targets in passing argument 1 of 'inet_aton' differ in signedness [-Wpointer-sign] if (!(inet_aton(message, &gw))) { ^ In file included from bridge.c:27:0: /usr/include/arpa/inet.h:73:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW; ^ bridge.c:247:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(message, IP_FILTER, (filter == 1) ? ON : OFF); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:248:6: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 3, 0, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:256:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(message, TRAPS, (traps == 1) ? ON : OFF); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:257:6: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 8, 0, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:267:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(message, PR_PORT, ports[primary_port - 1]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:268:3: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 4, 0, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:277:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(message, DHCP, (dhcp == 1) ? ON : OFF); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:278:6: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 5, 0, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:285:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(message, OPER, bridge_modes[bridge_mode - 1]); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:287:6: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 6, 0, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:295:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] *(RemoteBSSID + 5) & 0xFF); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:296:3: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 7, 0, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:303:6: warning: pointer targets in passing argument 3 of 'get_mac' differ in signedness [-Wpointer-sign] get_mac(7, 21, RemoteBSSID); ^ In file included from bridge.c:28:0: ../lib/ap-utils.h:260:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void get_mac(int, int, char *); ^ bridge.c:313:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] *(RemoteBSSID + 4) & 0xFF, *(RemoteBSSID + 5) & 0xFF); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from bridge.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ bridge.c:314:2: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] mvwaddstr(main_sub, 7, 0, message); ^ In file included from bridge.c:22:0: /home/pbulk/build/net/wap-utils/work/.buildlink/include/ncurses/ncurses.h:844:28: note: expected 'const char *' but argument is of type 'unsigned char *' extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ ^ bridge.c:322:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[i].oid = IPFilter; ^ bridge.c:325:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[i].value = (char *) &filter; ^ bridge.c:330:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[i].oid = PrimaryPort; ^ bridge.c:333:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[i].value = (char *) &primary_port; ^ bridge.c:338:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[i].oid = operDHCP; ^ bridge.c:341:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[i].value = (char *) &dhcp; ^ bridge.c:346:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[i].oid = operIPAddress; ^ bridge.c:349:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[i].value = (char *) &ip.s_addr; ^ bridge.c:355:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[i].oid = operIPMask; ^ bridge.c:358:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[i].value = (char *) &mask.s_addr; ^ bridge.c:364:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[i].oid = operGateway; ^ bridge.c:367:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[i].value = (char *) &gw.s_addr; ^ bridge.c:373:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[i].oid = sysTrapSwitch; ^ bridge.c:381:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[i].oid = bridgeOperationalMode; ^ bridge.c:383:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[i].value = (char *) &bridge_mode; ^ bridge.c:389:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[i].oid = bridgeRemoteBridgeBSSID; ^ --- cmd.o --- cc -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/usr/include -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/include -I/usr/pkg/include/ncurses -Wall -W -c cmd.c cmd.c: In function 'defaults': cmd.c:66:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = sysLoadDefaults; ^ cmd.c:68:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = &enable; ^ cmd.c: In function 'SysUpload': cmd.c:129:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].oid = sysUpload; ^ cmd.c:131:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] varbinds[0].value = &enable; ^ --- common.o --- cc -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/usr/include -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/include -I/usr/pkg/include/ncurses -Wall -W -c common.c --- file.o --- --- common.o --- common.c: In function 'auth': common.c:123:2: warning: pointer targets in passing argument 1 of 'get_value' differ in signedness [-Wpointer-sign] get_value(message, 1, 26, 16); ^ In file included from common.c:31:0: ../lib/ap-utils.h:259:13: note: expected 'char *' but argument is of type 'unsigned char *' extern int get_value(char *, int, int, int); ^ common.c:124:5: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] } while ((i = inet_addr(message)) == -1); ^ In file included from common.c:27:0: /usr/include/arpa/inet.h:34:18: note: expected 'const char *' but argument is of type 'unsigned char *' extern in_addr_t inet_addr (const char *__cp) __THROW; ^ common.c:125:5: warning: pointer targets in passing argument 1 of 'print_bottom' differ in signedness [-Wpointer-sign] print_bottom(message); ^ In file included from common.c:31:0: ../lib/ap-utils.h:255:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void print_bottom(char *); ^ common.c:150:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] i = strlen(message) + 1; ^ In file included from common.c:22:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ common.c:152:5: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(community, message, i); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from common.c:21: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ common.c:180:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(message, "%s/.ap-config", home_dir); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from common.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ common.c:181:2: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if ((fd = open(message, O_CREAT | O_WRONLY | O_APPEND, 0600)) != -1) { ^ In file included from /usr/include/fcntl.h:306:0, from common.c:29: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ common.c:182:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(message, "%s:%s:%d\n", inet_ntoa(ap_ip), community, ap_type); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from common.c:21: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ common.c:183:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] write(fd, message, strlen(message)); ^ In file included from common.c:22:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ common.c:183:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, message, strlen(message)); ^ common.c: In function 'exit_shell': common.c:205:11: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("sh"); ^ --- file.o --- cc -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/usr/include -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/include -I/usr/pkg/include/ncurses -Wall -W -c file.c --- input.o --- cc -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I../lib -I../intl -I.. -I/usr/include -I/usr/pkg/include/ncurses -pipe -O2 -I/usr/include -I/usr/pkg/include/ncurses -Wall -W -c input.c --- file.o --- file.c: In function 'get_opts': file.c:303:23: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buf, strlen(buf)); ^ file.c: In function 'save_Stations': file.c:343:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, message, 13); ^ --- input.o --- input.c: In function 'menu_choose': input.c:81:43: error: invalid application of 'sizeof' to incomplete type 'ITEM' ITEM **menu_item = calloc(num, sizeof(ITEM)), **ip = menu_item; ^ *** [input.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/net/wap-utils/work/ap-utils-1.3.2/src 1 error bmake[2]: stopped in /home/pbulk/build/net/wap-utils/work/ap-utils-1.3.2/src *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/net/wap-utils/work/ap-utils-1.3.2 1 error bmake[1]: stopped in /home/pbulk/build/net/wap-utils/work/ap-utils-1.3.2 *** [all-recursive-am] Error code 2 bmake: stopped in /home/pbulk/build/net/wap-utils/work/ap-utils-1.3.2 1 error bmake: stopped in /home/pbulk/build/net/wap-utils/work/ap-utils-1.3.2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/wap-utils *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/wap-utils