=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for tcl-scotty-2.1.11nb19 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ./../tnm/generic/tnmJob.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmJob.c -fPIC -DPIC -o .libs/tnmJob.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmJob.c -o tnmJob.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -DTKINEDLIB=\"/usr/pkg/lib/tcl/tkined1.4.11\" ./../tnm/generic/tnmIned.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -DTKINEDLIB=\"/usr/pkg/lib/tcl/tkined1.4.11\" ./../tnm/generic/tnmIned.c -fPIC -DPIC -o .libs/tnmIned.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -DTKINEDLIB=\"/usr/pkg/lib/tcl/tkined1.4.11\" ./../tnm/generic/tnmIned.c -o tnmIned.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ./../tnm/generic/tnmSyslog.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmSyslog.c -fPIC -DPIC -o .libs/tnmSyslog.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmSyslog.c -o tnmSyslog.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ./../tnm/generic/tnmIcmp.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmIcmp.c -fPIC -DPIC -o .libs/tnmIcmp.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmIcmp.c -o tnmIcmp.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ./../tnm/generic/tnmDns.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmDns.c -fPIC -DPIC -o .libs/tnmDns.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmDns.c -o tnmDns.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ./../tnm/generic/tnmEvent.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmEvent.c -fPIC -DPIC -o .libs/tnmEvent.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmEvent.c -o tnmEvent.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ./../tnm/generic/tnmUdp.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmUdp.c -fPIC -DPIC -o .libs/tnmUdp.o ./../tnm/generic/tnmUdp.c:184:31: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] usock->sock = Tcl_GetFile((ClientData) sock, TNM_SOCKET_FD); ^ ./../tnm/generic/tnmUdp.c:245:31: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] usock->sock = Tcl_GetFile((ClientData) sock, TNM_SOCKET_FD); ^ ./../tnm/generic/tnmUdp.c:490:54: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] rc = getsockname(sock, (struct sockaddr *) &server, &length); ^~~~~~~ /usr/include/sys/socket.h:624:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ ./../tnm/generic/tnmUdp.c:622:10: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &optlen) == -1) { ^~~~~~~ /usr/include/sys/socket.h:625:72: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ ./../tnm/generic/tnmUdp.c:712:28: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] usock->sock = Tcl_GetFile((ClientData) sock, TNM_SOCKET_FD); ^ 5 warnings generated. libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmUdp.c -o tnmUdp.o >/dev/null 2>&1 cp ./../tnm/generic/mount.x . rpcgen mount.x cp ./../tnm/generic/ether.x . rpcgen ether.x cp ./../tnm/generic/rstat.x . rpcgen rstat.x cp ./../tnm/generic/pcnfsd.x . rpcgen pcnfsd.x /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ./../tnm/generic/tnmSunRpc.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmSunRpc.c -fPIC -DPIC -o .libs/tnmSunRpc.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmSunRpc.c -o tnmSunRpc.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ./../tnm/generic/tnmNtp.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmNtp.c -fPIC -DPIC -o .libs/tnmNtp.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmNtp.c -o tnmNtp.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ./../tnm/generic/tnmRpc.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmRpc.c -fPIC -DPIC -o .libs/tnmRpc.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmRpc.c -o tnmRpc.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ./../tnm/generic/tnmHttp.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmHttp.c -fPIC -DPIC -o .libs/tnmHttp.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmHttp.c -o tnmHttp.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ./../tnm/generic/tnmNetdb.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmNetdb.c -fPIC -DPIC -o .libs/tnmNetdb.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmNetdb.c -o tnmNetdb.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ./../unix/tnmUnixInit.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../unix/tnmUnixInit.c -fPIC -DPIC -o .libs/tnmUnixInit.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../unix/tnmUnixInit.c -o tnmUnixInit.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ./../unix/tnmUnixLog.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../unix/tnmUnixLog.c -fPIC -DPIC -o .libs/tnmUnixLog.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../unix/tnmUnixLog.c -o tnmUnixLog.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ./../unix/tnmUnixSocket.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../unix/tnmUnixSocket.c -fPIC -DPIC -o .libs/tnmUnixSocket.o ./../unix/tnmUnixSocket.c:66:48: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] int n = recvfrom(s, buf, len, flags, from, fromlen); ^~~~~~~ /usr/include/sys/socket.h:628:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 1 warning generated. libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../unix/tnmUnixSocket.c -o tnmUnixSocket.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -DNTPING=\"/usr/pkg/bin/ntping\" ./../unix/tnmUnixIcmp.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -DNTPING=\"/usr/pkg/bin/ntping\" ./../unix/tnmUnixIcmp.c -fPIC -DPIC -o .libs/tnmUnixIcmp.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -DNTPING=\"/usr/pkg/bin/ntping\" ./../unix/tnmUnixIcmp.c -o tnmUnixIcmp.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include mount_clnt.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic mount_clnt.c -fPIC -DPIC -o .libs/mount_clnt.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic mount_clnt.c -o mount_clnt.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include mount_xdr.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic mount_xdr.c -fPIC -DPIC -o .libs/mount_xdr.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic mount_xdr.c -o mount_xdr.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ether_clnt.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ether_clnt.c -fPIC -DPIC -o .libs/ether_clnt.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ether_clnt.c -o ether_clnt.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ether_xdr.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ether_xdr.c -fPIC -DPIC -o .libs/ether_xdr.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ether_xdr.c -o ether_xdr.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include rstat_clnt.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic rstat_clnt.c -fPIC -DPIC -o .libs/rstat_clnt.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic rstat_clnt.c -o rstat_clnt.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include rstat_xdr.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic rstat_xdr.c -fPIC -DPIC -o .libs/rstat_xdr.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic rstat_xdr.c -o rstat_xdr.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include pcnfsd_clnt.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic pcnfsd_clnt.c -fPIC -DPIC -o .libs/pcnfsd_clnt.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic pcnfsd_clnt.c -o pcnfsd_clnt.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include pcnfsd_xdr.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic pcnfsd_xdr.c -fPIC -DPIC -o .libs/pcnfsd_xdr.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic pcnfsd_xdr.c -o pcnfsd_xdr.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -DTNMLIB=\"/usr/pkg/lib/tcl/tnm2.1.11\" ./../tnm/generic/tnmInit.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -DTNMLIB=\"/usr/pkg/lib/tcl/tnm2.1.11\" ./../tnm/generic/tnmInit.c -fPIC -DPIC -o .libs/tnmInit.o ./../tnm/generic/tnmInit.c:385:9: warning: implicit declaration of function 'Tnm_GdmoInit' is invalid in C99 [-Wimplicit-function-declaration] if (Tnm_GdmoInit(interp) != TCL_OK) { ^ 1 warning generated. libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -DTNMLIB=\"/usr/pkg/lib/tcl/tnm2.1.11\" ./../tnm/generic/tnmInit.c -o tnmInit.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include ./../tnm/generic/tnmUtil.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmUtil.c -fPIC -DPIC -o .libs/tnmUtil.o ./../tnm/generic/tnmUtil.c:243:8: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *value = (config->getOption)(interp, object, elemPtr->key); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../tnm/generic/tnmUtil.c:297:11: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] value = (config->getOption)(interp, object, option); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../tnm/generic/tnmUtil.c:537:46: warning: cast to 'char *' from smaller integer type 'in_addr_t' (aka 'unsigned int') [-Wint-to-pointer-cast] hostEntry = Tcl_FindHashEntry(hostTable, (char *) addr->sin_addr.s_addr); ^ ./../tnm/generic/tnmUtil.c:547:6: warning: cast to 'char *' from smaller integer type 'in_addr_t' (aka 'unsigned int') [-Wint-to-pointer-cast] (char *) addr->sin_addr.s_addr, ^ 4 warnings generated. libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../tnm/generic/tnmUtil.c -o tnmUtil.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/snmp ./../tnm/snmp/tnmAsn1.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmAsn1.c -fPIC -DPIC -o .libs/tnmAsn1.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmAsn1.c -o tnmAsn1.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/snmp ./../tnm/snmp/tnmMD5.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmMD5.c -fPIC -DPIC -o .libs/tnmMD5.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmMD5.c -o tnmMD5.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/snmp -DSTRAPS=\"/usr/pkg/bin/straps\" ./../tnm/snmp/tnmSnmpNet.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp -DSTRAPS=\"/usr/pkg/bin/straps\" ./../tnm/snmp/tnmSnmpNet.c -fPIC -DPIC -o .libs/tnmSnmpNet.o ./../tnm/snmp/tnmSnmpNet.c:406:29: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] mgrSocket = Tcl_GetFile((ClientData) sock, TNM_SOCKET_FD); ^ ./../tnm/snmp/tnmSnmpNet.c:535:30: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] trapSocket = Tcl_GetFile((ClientData) trap_sock, TNM_SOCKET_FD); ^ ./../tnm/snmp/tnmSnmpNet.c:616:32: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *) &sname, &namelen) == -1) { ^~~~~~~~ /usr/include/sys/socket.h:624:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ ./../tnm/snmp/tnmSnmpNet.c:648:40: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] session->agentSocket = Tcl_GetFile((ClientData) session->agentSock, ^ ./../tnm/snmp/tnmSnmpNet.c:690:32: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *) &sname, &namelen) == -1) { ^~~~~~~~ /usr/include/sys/socket.h:624:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 5 warnings generated. libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp -DSTRAPS=\"/usr/pkg/bin/straps\" ./../tnm/snmp/tnmSnmpNet.c -o tnmSnmpNet.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpUtil.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmSnmpUtil.c -fPIC -DPIC -o .libs/tnmSnmpUtil.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmSnmpUtil.c -o tnmSnmpUtil.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpInst.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmSnmpInst.c -fPIC -DPIC -o .libs/tnmSnmpInst.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmSnmpInst.c -o tnmSnmpInst.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpSend.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmSnmpSend.c -fPIC -DPIC -o .libs/tnmSnmpSend.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmSnmpSend.c -o tnmSnmpSend.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpRecv.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmSnmpRecv.c -fPIC -DPIC -o .libs/tnmSnmpRecv.o ./../tnm/snmp/tnmSnmpRecv.c:928:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] statPtr - &snmpStats.usecStatsUnsupportedQoS + 1, *statPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../tnm/snmp/tnmSnmpRecv.c:931:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] statPtr - &snmpStats.snmpStatsPackets + 1, *statPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmSnmpRecv.c -o tnmSnmpRecv.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpAgent.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmSnmpAgent.c -fPIC -DPIC -o .libs/tnmSnmpAgent.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmSnmpAgent.c -o tnmSnmpAgent.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpTcl.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmSnmpTcl.c -fPIC -DPIC -o .libs/tnmSnmpTcl.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmSnmpTcl.c -o tnmSnmpTcl.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/snmp ./../tnm/snmp/tnmMibQuery.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmMibQuery.c -fPIC -DPIC -o .libs/tnmMibQuery.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmMibQuery.c -o tnmMibQuery.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/snmp ./../tnm/snmp/tnmMibParser.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmMibParser.c -fPIC -DPIC -o .libs/tnmMibParser.o ./../tnm/snmp/tnmMibParser.c:1073:6: warning: address of array 'convention' will always evaluate to 'true' [-Wpointer-bool-conversion] if (convention && *convention) { ^~~~~~~~~~ ~~ 1 warning generated. libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmMibParser.c -o tnmMibParser.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/snmp ./../tnm/snmp/tnmMibTree.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmMibTree.c -fPIC -DPIC -o .libs/tnmMibTree.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmMibTree.c -o tnmMibTree.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/snmp ./../tnm/snmp/tnmMibFrozen.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmMibFrozen.c -fPIC -DPIC -o .libs/tnmMibFrozen.o ./../tnm/snmp/tnmMibFrozen.c:226:2: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] Tcl_SetHashValue(entryPtr, poolOffset); ^ /var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include/tcl.h:2577:55: note: expanded from macro 'Tcl_SetHashValue' #define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value)) ^ ./../tnm/snmp/tnmMibFrozen.c:317:16: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] en.label = (char *) PoolGetOffset(enumPtr->label); ^ ./../tnm/snmp/tnmMibFrozen.c:318:18: warning: cast to 'Tnm_MibEnum *' (aka 'struct Tnm_MibEnum *') from smaller integer type 'int' [-Wint-to-pointer-cast] en.nextPtr = (Tnm_MibEnum *) (enumPtr->nextPtr ? 1 : 0); ^ ./../tnm/snmp/tnmMibFrozen.c:349:15: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] tc.name = (char *) PoolGetOffset(tcPtr->name); ^ ./../tnm/snmp/tnmMibFrozen.c:350:19: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] tc.fileName = (char *) PoolGetOffset(tcPtr->fileName); ^ ./../tnm/snmp/tnmMibFrozen.c:351:21: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] tc.moduleName = (char *) PoolGetOffset(tcPtr->moduleName); ^ ./../tnm/snmp/tnmMibFrozen.c:352:22: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] tc.displayHint = (char *) PoolGetOffset(tcPtr->displayHint); ^ ./../tnm/snmp/tnmMibFrozen.c:355:16: warning: cast to 'Tnm_MibEnum *' (aka 'struct Tnm_MibEnum *') from smaller integer type 'int' [-Wint-to-pointer-cast] tc.enumList = (Tnm_MibEnum *) (*i + 1); ^ ./../tnm/snmp/tnmMibFrozen.c:358:18: warning: cast to 'Tnm_MibTC *' (aka 'struct Tnm_MibTC *') from smaller integer type 'int' [-Wint-to-pointer-cast] tc.nextPtr = (Tnm_MibTC *) (tcPtr->nextPtr ? 1 : 0); ^ ./../tnm/snmp/tnmMibFrozen.c:389:16: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] no.label = (char *) PoolGetOffset(nodePtr->label); ^ ./../tnm/snmp/tnmMibFrozen.c:390:21: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] no.parentName = (char *) PoolGetOffset(nodePtr->parentName); ^ ./../tnm/snmp/tnmMibFrozen.c:391:19: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] no.fileName = (char *) PoolGetOffset(nodePtr->fileName); ^ ./../tnm/snmp/tnmMibFrozen.c:392:21: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] no.moduleName = (char *) PoolGetOffset(nodePtr->moduleName); ^ ./../tnm/snmp/tnmMibFrozen.c:393:16: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] no.index = (char *) PoolGetOffset(nodePtr->index); ^ ./../tnm/snmp/tnmMibFrozen.c:396:10: warning: cast to 'Tnm_MibTC *' (aka 'struct Tnm_MibTC *') from smaller integer type 'int' [-Wint-to-pointer-cast] no.tc = (Tnm_MibTC *) ++(*i); ^ ./../tnm/snmp/tnmMibFrozen.c:398:18: warning: cast to 'Tnm_MibNode *' (aka 'struct Tnm_MibNode *') from smaller integer type 'int' [-Wint-to-pointer-cast] no.nextPtr = (Tnm_MibNode *) (nodePtr->nextPtr ? 1 : 0); ^ 16 warnings generated. libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmMibFrozen.c -o tnmMibFrozen.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/snmp ./../tnm/snmp/tnmMibTcl.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmMibTcl.c -fPIC -DPIC -o .libs/tnmMibTcl.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/snmp ./../tnm/snmp/tnmMibTcl.c -o tnmMibTcl.o >/dev/null 2>&1 /usr/bin/yacc -d ./../tnm/gdmo/tnmGdmoParser.y mv -f y.tab.c tnmGdmoParser.c mv -f y.tab.h tnmGdmoParser.h /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/gdmo tnmGdmoParser.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/gdmo tnmGdmoParser.c -fPIC -DPIC -o .libs/tnmGdmoParser.o y.tab.c:2194:18: warning: implicit declaration of function 'yylex' is invalid in C99 [-Wimplicit-function-declaration] yychar = YYLEX; ^ y.tab.c:1249:16: note: expanded from macro 'YYLEX' # define YYLEX yylex() ^ y.tab.c:4076:22: warning: implicit declaration of function 'yylex' is invalid in C99 [-Wimplicit-function-declaration] yychar = YYLEX; ^ y.tab.c:1249:16: note: expanded from macro 'YYLEX' # define YYLEX yylex() ^ 2 warnings generated. libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/gdmo tnmGdmoParser.c -o tnmGdmoParser.o >/dev/null 2>&1 /usr/bin/lex ./../tnm/gdmo/tnmGdmoScan.l mv -f lex.yy.c tnmGdmoScan.c /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/gdmo tnmGdmoScan.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/gdmo tnmGdmoScan.c -fPIC -DPIC -o .libs/tnmGdmoScan.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/gdmo tnmGdmoScan.c -o tnmGdmoScan.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I./../tnm/gdmo ./../tnm/gdmo/tnmGdmoTcl.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/gdmo ./../tnm/gdmo/tnmGdmoTcl.c -fPIC -DPIC -o .libs/tnmGdmoTcl.o ./../tnm/gdmo/tnmGdmoTcl.c:1532:5: warning: implicit declaration of function 'yyrestart' is invalid in C99 [-Wimplicit-function-declaration] yyrestart(fin); ^ ./../tnm/gdmo/tnmGdmoTcl.c:1533:9: warning: implicit declaration of function 'yyparse' is invalid in C99 [-Wimplicit-function-declaration] if (yyparse()) { ^ ./../tnm/gdmo/tnmGdmoTcl.c:1565:36: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] return option_class(interp, argc, argv); ^~~~ ./../tnm/gdmo/tnmGdmoTcl.c:1567:35: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] return option_pckg(interp, argc, argv); ^~~~ ./../tnm/gdmo/tnmGdmoTcl.c:1569:36: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] return option_param(interp, argc, argv); ^~~~ ./../tnm/gdmo/tnmGdmoTcl.c:1571:39: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] return option_namebind(interp, argc, argv); ^~~~ ./../tnm/gdmo/tnmGdmoTcl.c:1573:35: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] return option_attr(interp, argc, argv); ^~~~ ./../tnm/gdmo/tnmGdmoTcl.c:1575:36: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] return option_group(interp, argc, argv); ^~~~ ./../tnm/gdmo/tnmGdmoTcl.c:1577:37: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] return option_action(interp, argc, argv); ^~~~ ./../tnm/gdmo/tnmGdmoTcl.c:1626:36: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] return option_class(interp, argc, argv); ^~~~ ./../tnm/gdmo/tnmGdmoTcl.c:1628:35: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] return option_pckg(interp, argc, argv); ^~~~ ./../tnm/gdmo/tnmGdmoTcl.c:1630:36: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] return option_param(interp, argc, argv); ^~~~ ./../tnm/gdmo/tnmGdmoTcl.c:1632:39: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] return option_namebind(interp, argc, argv); ^~~~ ./../tnm/gdmo/tnmGdmoTcl.c:1634:35: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] return option_attr(interp, argc, argv); ^~~~ ./../tnm/gdmo/tnmGdmoTcl.c:1636:36: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] return option_group(interp, argc, argv); ^~~~ ./../tnm/gdmo/tnmGdmoTcl.c:1638:37: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] return option_action(interp, argc, argv); ^~~~ 16 warnings generated. libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic -I./../tnm/gdmo ./../tnm/gdmo/tnmGdmoTcl.c -o tnmGdmoTcl.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=link clang tnmJob.lo tnmIned.lo tnmSyslog.lo tnmIcmp.lo tnmDns.lo tnmEvent.lo tnmUdp.lo tnmSunRpc.lo tnmNtp.lo tnmRpc.lo tnmHttp.lo tnmNetdb.lo tnmUnixInit.lo tnmUnixLog.lo tnmUnixSocket.lo tnmUnixIcmp.lo mount_clnt.lo mount_xdr.lo ether_clnt.lo ether_xdr.lo rstat_clnt.lo rstat_xdr.lo pcnfsd_clnt.lo pcnfsd_xdr.lo tnmInit.lo tnmUtil.lo tnmAsn1.lo tnmMD5.lo tnmSnmpNet.lo tnmSnmpUtil.lo tnmSnmpInst.lo tnmSnmpSend.lo tnmSnmpRecv.lo tnmSnmpAgent.lo tnmSnmpTcl.lo tnmMibQuery.lo tnmMibParser.lo tnmMibTree.lo tnmMibFrozen.lo tnmMibTcl.lo tnmGdmoParser.lo tnmGdmoScan.lo tnmGdmoTcl.lo -o libtnm.la -Wl,-R/usr/pkg/lib -lrpcsvc -lz -lpthread -lm -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ltcl86 -lm -rpath /usr/pkg/lib -version-info 1:0 libtool: link: clang -shared -fPIC -DPIC .libs/tnmJob.o .libs/tnmIned.o .libs/tnmSyslog.o .libs/tnmIcmp.o .libs/tnmDns.o .libs/tnmEvent.o .libs/tnmUdp.o .libs/tnmSunRpc.o .libs/tnmNtp.o .libs/tnmRpc.o .libs/tnmHttp.o .libs/tnmNetdb.o .libs/tnmUnixInit.o .libs/tnmUnixLog.o .libs/tnmUnixSocket.o .libs/tnmUnixIcmp.o .libs/mount_clnt.o .libs/mount_xdr.o .libs/ether_clnt.o .libs/ether_xdr.o .libs/rstat_clnt.o .libs/rstat_xdr.o .libs/pcnfsd_clnt.o .libs/pcnfsd_xdr.o .libs/tnmInit.o .libs/tnmUtil.o .libs/tnmAsn1.o .libs/tnmMD5.o .libs/tnmSnmpNet.o .libs/tnmSnmpUtil.o .libs/tnmSnmpInst.o .libs/tnmSnmpSend.o .libs/tnmSnmpRecv.o .libs/tnmSnmpAgent.o .libs/tnmSnmpTcl.o .libs/tnmMibQuery.o .libs/tnmMibParser.o .libs/tnmMibTree.o .libs/tnmMibFrozen.o .libs/tnmMibTcl.o .libs/tnmGdmoParser.o .libs/tnmGdmoScan.o .libs/tnmGdmoTcl.o -lrpcsvc -lz -lpthread -L/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/lib -ltcl86 -lm -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-soname -Wl,libtnm.so.1 -o .libs/libtnm.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libtnm.so.1" && ln -s "libtnm.so.1.0.0" "libtnm.so.1") libtool: link: (cd ".libs" && rm -f "libtnm.so" && ln -s "libtnm.so.1.0.0" "libtnm.so") libtool: link: ar cru .libs/libtnm.a tnmJob.o tnmIned.o tnmSyslog.o tnmIcmp.o tnmDns.o tnmEvent.o tnmUdp.o tnmSunRpc.o tnmNtp.o tnmRpc.o tnmHttp.o tnmNetdb.o tnmUnixInit.o tnmUnixLog.o tnmUnixSocket.o tnmUnixIcmp.o mount_clnt.o mount_xdr.o ether_clnt.o ether_xdr.o rstat_clnt.o rstat_xdr.o pcnfsd_clnt.o pcnfsd_xdr.o tnmInit.o tnmUtil.o tnmAsn1.o tnmMD5.o tnmSnmpNet.o tnmSnmpUtil.o tnmSnmpInst.o tnmSnmpSend.o tnmSnmpRecv.o tnmSnmpAgent.o tnmSnmpTcl.o tnmMibQuery.o tnmMibParser.o tnmMibTree.o tnmMibFrozen.o tnmMibTcl.o tnmGdmoParser.o tnmGdmoScan.o tnmGdmoTcl.o libtool: link: ranlib .libs/libtnm.a libtool: link: ( cd ".libs" && rm -f "libtnm.la" && ln -s "../libtnm.la" "libtnm.la" ) /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -I. -DHAVE_CONFIG_H ./../tnm/ntping/ntping.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -I. -DHAVE_CONFIG_H ./../tnm/ntping/ntping.c -fPIC -DPIC -o .libs/ntping.o ./../tnm/ntping/ntping.c:542:24: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] (unsigned) id, (int) id, (unsigned) port, (int) port); ^~~~~~~~ ./../tnm/ntping/ntping.c:542:51: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] (unsigned) id, (int) id, (unsigned) port, (int) port); ^~~~~~~~~~ ./../tnm/ntping/ntping.c:559:8: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] (int) job->u.trace.port); ^~~~~~~~~~~~~~~~~~~~~~~ ./../tnm/ntping/ntping.c:574:11: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] ntohl (ip->ip_src.s_addr)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/netinet/in.h:119:18: note: expanded from macro 'ntohl' #define ntohl(x) __ntohl(x) ^~~~~~~~~~ /usr/include/x86/endian.h:128:20: note: expanded from macro '__ntohl' #define __ntohl(x) __bswap32(x) ^~~~~~~~~~~~ /usr/include/x86/endian.h:77:2: note: expanded from macro '__bswap32' (__builtin_constant_p(x) ? \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../tnm/ntping/ntping.c:687:34: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *) &sfrom, &fromlen); ^~~~~~~~ /usr/include/sys/socket.h:628:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ ./../tnm/ntping/ntping.c:782:38: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] job->u.tstamp = ntohl (((int32 *) icp->icmp_data) [1]) - ^ ~ /usr/include/netinet/in.h:119:26: note: expanded from macro 'ntohl' #define ntohl(x) __ntohl(x) ^ /usr/include/x86/endian.h:128:30: note: expanded from macro '__ntohl' #define __ntohl(x) __bswap32(x) ^ /usr/include/x86/endian.h:78:53: note: expanded from macro '__bswap32' __bswap32_gen((__uint32_t)(x)) : __bswap32_var(x)) ^ /usr/include/netinet/ip_icmp.h:114:3: note: array 'id_data' declared here char id_data[1]; ^ ./../tnm/ntping/ntping.c:903:27: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (char *) &opt_ttl, &opt_ttl_len) < 0) ^~~~~~~~~~~~ /usr/include/sys/socket.h:625:72: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ ./../tnm/ntping/ntping.c:934:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ./../tnm/ntping/ntping.c:996:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ./../tnm/ntping/ntping.c:1403:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] time_diff(tv_start, tv_now)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../tnm/ntping/ntping.c:148:27: note: expanded from macro 'time_diff' #define time_diff(t1,t2) (timediff2(t1,t2) <= 0 ? 1 : timediff2(t1,t2)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../tnm/ntping/ntping.c:1638:61: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname (ipsock, (struct sockaddr *) &tmp_addr, &ta_len) < 0) ^~~~~~~ /usr/include/sys/socket.h:624:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ ./../tnm/ntping/ntping.c:1645:7: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] (int) src_port); ^~~~~~~~~~~~~~ ./../tnm/ntping/ntping.c:1678:9: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] sexy (src_port)); ^~~~~~~~~~~~~~~ 13 warnings generated. libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -I. -DHAVE_CONFIG_H ./../tnm/ntping/ntping.c -o ntping.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=link clang -lpthread -lrt -o ntping ntping.o -lrpcsvc -lz -lpthread -lm libtool: link: clang -o ntping ntping.o -lrt -lrpcsvc -lz -lpthread -lm /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -I. ./../tnm/snmp/straps.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -I. ./../tnm/snmp/straps.c -fPIC -DPIC -o .libs/straps.o ./../tnm/snmp/straps.c:296:57: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] rc = accept(serv_s, (struct sockaddr *) &daddr, &dlen); ^~~~~ /usr/include/sys/socket.h:615:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ ./../tnm/snmp/straps.c:307:34: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *) &laddr, &llen)) < 0) { ^~~~~ /usr/include/sys/socket.h:628:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ ./../tnm/snmp/straps.c:336:34: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *) &laddr, &llen)) < 0) { ^~~~~ /usr/include/sys/socket.h:628:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 3 warnings generated. libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -I. ./../tnm/snmp/straps.c -o straps.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=link clang -lpthread -lrt -o straps straps.o -lrpcsvc -lz -lpthread -lm libtool: link: clang -o straps straps.o -lrt -lrpcsvc -lz -lpthread -lm /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=compile clang -c -O2 -I/usr/pkg/include -I/usr/include -fPIC -I. -I./../tnm/generic -I/usr/pkg/include -I. -I./../tnm/generic -I/usr/pkg/include ./../unix/scotty.c libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../unix/scotty.c -fPIC -DPIC -o .libs/scotty.o libtool: compile: clang -c -O2 -I/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/include -fPIC -I. -I./../tnm/generic ./../unix/scotty.c -o scotty.o >/dev/null 2>&1 /var/pkgsrc/work/net/tcl-scotty/work/.cwrapper/bin/libtool --mode=link clang -lpthread -lrt -o scotty scotty.o -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ltcl86 -lrpcsvc -lz -lpthread -lm -lm libtool: link: clang -o scotty scotty.o -Wl,-rpath -Wl,/usr/pkg/lib -lrt -L/var/pkgsrc/work/net/tcl-scotty/work/.buildlink/lib -ltcl86 -lrpcsvc -lz -lpthread -lm