=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for spread-3.17.3nb13 --- user.to --- --- alarm.to --- --- events.to --- --- user.to --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -D_REENTRANT -c user.c -o user.to --- alarm.to --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -D_REENTRANT -c alarm.c -o alarm.to --- events.to --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -D_REENTRANT -c events.c -o events.to --- user.to --- user.c:256:10: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] ret = (int) fgets( mess, 200, stdin ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:283:10: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] ret = (int) fgets( mess, 200, stdin ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:100:17: warning: unused function 'ip_authenticate' [-Wunused-function] static int ip_authenticate( char * auth_data) ^ --- memory.to --- --- user.to --- 3 warnings generated. --- sp.to --- --- memory.to --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -D_REENTRANT -c memory.c -o memory.to --- sp.to --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -D_REENTRANT -c sp.c -o sp.to --- alarm.lo --- clang -pipe -Os -Wall -fPIC -I. -I. -c alarm.c -o alarm.lo --- sp.to --- sp.c:296:67: warning: passing 'sockopt_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockopt(s, SOL_SOCKET, SO_ERROR, (void *)&err, &elen) < 0) ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:708:76: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ sp.c:239:17: warning: variable 'ret_ioctl' set but not used [-Wunused-but-set-variable] int ret_ioctl; ^ sp.c:310:209: warning: variable 'err' is uninitialized when used here [-Wuninitialized] Alarmp( SPLOG_FATAL, SESSION, "connect_nointr_timeout: connect interrupted--but select does not indicate either error or connecting socket ready. Impossible condition (i.e. bug). ret= %d: %s\n", err, sock_strerror(sock_errno)); ^~~ sp.c:237:20: note: initialize the variable 'err' to silence this warning int err; ^ = 0 sp.c:348:65: warning: passing 'sockopt_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret= getsockopt( s, SOL_SOCKET, SO_SNDBUF, (void *)&on, &onlen ); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:708:76: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ sp.c:353:65: warning: passing 'sockopt_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret= getsockopt( s, SOL_SOCKET, SO_RCVBUF, (void *)&on, &onlen ); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:708:76: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ --- events.lo --- clang -pipe -Os -Wall -fPIC -I. -I. -c events.c -o events.lo --- memory.lo --- clang -pipe -Os -Wall -fPIC -I. -I. -c memory.c -o memory.lo --- sp.to --- 5 warnings generated. --- sp.lo --- clang -pipe -Os -Wall -fPIC -I. -I. -c sp.c -o sp.lo --- alarm.tlo --- clang -pipe -Os -Wall -fPIC -I. -I. -D_REENTRANT -c alarm.c -o alarm.tlo --- events.tlo --- clang -pipe -Os -Wall -fPIC -I. -I. -D_REENTRANT -c events.c -o events.tlo --- sp.lo --- sp.c:296:67: warning: passing 'sockopt_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockopt(s, SOL_SOCKET, SO_ERROR, (void *)&err, &elen) < 0) ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:708:76: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ sp.c:239:17: warning: variable 'ret_ioctl' set but not used [-Wunused-but-set-variable] int ret_ioctl; ^ sp.c:310:209: warning: variable 'err' is uninitialized when used here [-Wuninitialized] Alarmp( SPLOG_FATAL, SESSION, "connect_nointr_timeout: connect interrupted--but select does not indicate either error or connecting socket ready. Impossible condition (i.e. bug). ret= %d: %s\n", err, sock_strerror(sock_errno)); ^~~ sp.c:237:20: note: initialize the variable 'err' to silence this warning int err; ^ = 0 sp.c:348:65: warning: passing 'sockopt_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret= getsockopt( s, SOL_SOCKET, SO_SNDBUF, (void *)&on, &onlen ); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:708:76: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ sp.c:353:65: warning: passing 'sockopt_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret= getsockopt( s, SOL_SOCKET, SO_RCVBUF, (void *)&on, &onlen ); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:708:76: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ --- memory.tlo --- clang -pipe -Os -Wall -fPIC -I. -I. -D_REENTRANT -c memory.c -o memory.tlo --- sp.tlo --- clang -pipe -Os -Wall -fPIC -I. -I. -D_REENTRANT -c sp.c -o sp.tlo --- sp.lo --- 5 warnings generated. --- docs/SP_disconnect.3.out --- --- docs/SP_equal_group_ids.3.out --- --- docs/SP_error.3.out --- --- docs/SP_join.3.out --- --- sp.tlo --- sp.c:296:67: warning: passing 'sockopt_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockopt(s, SOL_SOCKET, SO_ERROR, (void *)&err, &elen) < 0) ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:708:76: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ sp.c:239:17: warning: variable 'ret_ioctl' set but not used [-Wunused-but-set-variable] int ret_ioctl; ^ --- docs/SP_leave.3.out --- --- sp.tlo --- sp.c:310:209: warning: variable 'err' is uninitialized when used here [-Wuninitialized] Alarmp( SPLOG_FATAL, SESSION, "connect_nointr_timeout: connect interrupted--but select does not indicate either error or connecting socket ready. Impossible condition (i.e. bug). ret= %d: %s\n", err, sock_strerror(sock_errno)); ^~~ sp.c:237:20: note: initialize the variable 'err' to silence this warning int err; ^ = 0 sp.c:348:65: warning: passing 'sockopt_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret= getsockopt( s, SOL_SOCKET, SO_SNDBUF, (void *)&on, &onlen ); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:708:76: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ sp.c:353:65: warning: passing 'sockopt_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret= getsockopt( s, SOL_SOCKET, SO_RCVBUF, (void *)&on, &onlen ); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:708:76: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ --- docs/SP_multicast.3.out --- --- docs/SP_multigroup_multicast.3.out --- --- docs/SP_multigroup_scat_multicast.3.out --- --- docs/SP_poll.3.out --- --- docs/SP_receive.3.out --- --- docs/SP_scat_multicast.3.out --- --- docs/SP_scat_receive.3.out --- --- docs/libsp.3.out --- --- docs/spread.1.out --- --- sp.tlo --- 5 warnings generated. --- docs/spuser.1.out --- --- docs/sptuser.1.out --- --- docs/spmonitor.1.out --- --- docs/spflooder.1.out --- --- spread.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c spread.c --- protocol.o --- --- session.o --- --- protocol.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c protocol.c --- session.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c session.c session.c:161:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] c = (char *) &ses->mbox; ^ ~~~~~~~~~~~~~~~~~~~ session.c:580:88: warning: passing 'sockopt_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret= getsockopt( Sessions[MAX_SESSIONS].mbox, SOL_SOCKET, SO_SNDBUF, (void *)&on, &onlen ); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:708:76: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ session.c:585:88: warning: passing 'sockopt_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret= getsockopt( Sessions[MAX_SESSIONS].mbox, SOL_SOCKET, SO_RCVBUF, (void *)&on, &onlen ); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:708:76: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ session.c:1826:26: warning: variable 'scat' set but not used [-Wunused-but-set-variable] scatter *scat; ^ --- groups.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c groups.c --- alarm.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c alarm.c --- groups.o --- groups.c:694:18: warning: variable 'p_ind1' set but not used [-Wunused-but-set-variable] int new_p_ind, p_ind1; ^ groups.c:1024:14: warning: variable 'p_ind1' set but not used [-Wunused-but-set-variable] int p_ind, p_ind1; ^ groups.c:1222:14: warning: variable 'p_ind1' set but not used [-Wunused-but-set-variable] int p_ind, p_ind1; ^ --- session.o --- 4 warnings generated. --- events.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c events.c --- memory.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c memory.c --- groups.o --- 3 warnings generated. --- membership.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c membership.c --- data_link.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c data_link.c --- network.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c network.c --- membership.o --- membership.c:383:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^ membership.c:1182:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^ membership.c:1223:9: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] int32 dummy; ^ membership.c:1241:9: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] int32 dummy; ^ --- status.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c status.c --- log.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c log.c --- flow_control.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c flow_control.c --- membership.o --- 4 warnings generated. --- message.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c message.c --- lex.yy.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c lex.yy.c lex.yy.c:1645:13: warning: unused function 'yyunput' [-Wunused-function] static void yyunput( int c, register char *yy_bp ) ^ lex.yy.c:1692:12: warning: function 'input' is not needed and will not be emitted [-Wunneeded-internal-declaration] static int input() ^ --- y.tab.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c y.tab.c --- configuration.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c configuration.c --- lex.yy.o --- 2 warnings generated. --- skiplist.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c skiplist.c --- configuration.o --- configuration.c:520:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int s,p,ret; ^ --- y.tab.o --- y.tab.c:3:1: warning: unused variable 'yyrcsid' [-Wunused-const-variable] yyrcsid[] = "$FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.28 2000/01/17 02:04:06 bde Exp $"; ^ --- skiplist.o --- skiplist.c:95:29: warning: incompatible function pointer types passing 'int (const void *, const void *)' to parameter of type 'SkiplistComparator' (aka 'int (*)(void *, void *)') [-Wincompatible-function-pointer-types] sl_set_compare(sl->index, indexing_comp, indexing_compk); ^~~~~~~~~~~~~ ./skiplist_p.h:78:53: note: passing argument to parameter here void sl_set_compare(Skiplist *sl, SkiplistComparator, ^ skiplist.c:95:44: warning: incompatible function pointer types passing 'int (const void *, const void *)' to parameter of type 'SkiplistComparator' (aka 'int (*)(void *, void *)') [-Wincompatible-function-pointer-types] sl_set_compare(sl->index, indexing_comp, indexing_compk); ^~~~~~~~~~~~~~ ./skiplist_p.h:79:25: note: passing argument to parameter here SkiplistComparator); ^ --- configuration.o --- 1 warning generated. --- acm.o --- --- y.tab.o --- 1 warning generated. --- acp-permit.o --- --- skiplist.o --- 2 warnings generated. --- acm.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c acm.c --- acp-permit.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c acp-permit.c --- auth-null.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c auth-null.c --- auth-ip.o --- --- sp.o --- --- auth-ip.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c auth-ip.c --- sp.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c sp.c --- user.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c user.c user.c:256:10: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] ret = (int) fgets( mess, 200, stdin ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:283:10: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] ret = (int) fgets( mess, 200, stdin ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:100:17: warning: unused function 'ip_authenticate' [-Wunused-function] static int ip_authenticate( char * auth_data) ^ --- sp.o --- sp.c:296:67: warning: passing 'sockopt_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockopt(s, SOL_SOCKET, SO_ERROR, (void *)&err, &elen) < 0) ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:708:76: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ sp.c:239:17: warning: variable 'ret_ioctl' set but not used [-Wunused-but-set-variable] int ret_ioctl; ^ sp.c:310:209: warning: variable 'err' is uninitialized when used here [-Wuninitialized] Alarmp( SPLOG_FATAL, SESSION, "connect_nointr_timeout: connect interrupted--but select does not indicate either error or connecting socket ready. Impossible condition (i.e. bug). ret= %d: %s\n", err, sock_strerror(sock_errno)); ^~~ sp.c:237:20: note: initialize the variable 'err' to silence this warning int err; ^ = 0 sp.c:348:65: warning: passing 'sockopt_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret= getsockopt( s, SOL_SOCKET, SO_SNDBUF, (void *)&on, &onlen ); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:708:76: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ sp.c:353:65: warning: passing 'sockopt_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret= getsockopt( s, SOL_SOCKET, SO_RCVBUF, (void *)&on, &onlen ); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:708:76: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ --- user.o --- 3 warnings generated. --- flooder.o --- --- monitor.o --- --- flooder.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c flooder.c --- monitor.o --- clang -pipe -Os -Wall -I. -I. -DHAVE_CONFIG_H -c monitor.c monitor.c:523:6: warning: variable 'proc_index' set but not used [-Wunused-but-set-variable] int proc_index; ^ --- sp.o --- 5 warnings generated. --- monitor.o --- monitor.c:675:6: warning: variable 'proc_index' set but not used [-Wunused-but-set-variable] int proc_index; ^ --- libtspread.a --- /usr/bin/ar rv libtspread.a alarm.to events.to memory.to sp.to --- libspread.dylib --- clang -dynamiclib -o libspread.1.0.dylib alarm.lo events.lo memory.lo sp.lo -L/opt/pkg/lib --- libtspread.a --- ar: creating archive libtspread.a --- monitor.o --- 2 warnings generated. --- libtspread.a --- a - alarm.to a - events.to a - memory.to a - sp.to ranlib libtspread.a --- docs/SP_connect.3.out --- --- libtspread.dylib --- clang -dynamiclib -o libtspread.1.0.dylib alarm.lo events.lo memory.lo sp.lo -L/opt/pkg/lib -lpthread --- spread --- clang -o spread spread.o protocol.o session.o groups.o alarm.o events.o memory.o membership.o data_link.o network.o status.o log.o flow_control.o message.o lex.yy.o y.tab.o configuration.o skiplist.o acm.o acp-permit.o auth-null.o auth-ip.o -L/opt/pkg/lib --- libspread.dylib --- ln -s -f libspread.1.0.dylib libspread.dylib --- libspread.a --- /usr/bin/ar rv libspread.a alarm.o events.o memory.o sp.o ar: creating archive libspread.a a - alarm.o a - events.o a - memory.o a - sp.o ranlib libspread.a --- libtspread.dylib --- ln -s -f libtspread.1.0.dylib libtspread.dylib --- spmonitor --- --- sptuser --- --- spuser --- --- spmonitor --- clang -o spmonitor monitor.o alarm.o events.o memory.o data_link.o lex.yy.o y.tab.o configuration.o skiplist.o acm.o -L/opt/pkg/lib --- sptuser --- clang -pthread -o sptuser user.to libtspread.a -L/opt/pkg/lib -lpthread --- spuser --- clang -o spuser user.o -L/opt/pkg/lib libspread.a --- spflooder --- clang -o spflooder flooder.o -L/opt/pkg/lib libspread.a => Creating /Users/pbulk/build/net/spread/work/.rc.d/spread