=> Bootstrap dependency digest>=20010302: found digest-20160304 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for xdm3d-1.0nb7 --- all --- --- auth.o --- --- daemon.o --- --- server.o --- --- dpylist.o --- --- dm.o --- --- error.o --- --- file.o --- --- netaddr.o --- --- reset.o --- --- resource.o --- --- protodpy.o --- --- policy.o --- --- session.o --- --- socket.o --- --- streams.o --- --- all --- making all in ./config... --- auth.o --- rm -f auth.o --- daemon.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c daemon.c --- server.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c server.c --- dpylist.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c dpylist.c --- error.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c error.c --- netaddr.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c netaddr.c --- file.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c file.c --- streams.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c streams.c --- socket.o --- rm -f socket.o --- auth.o --- clang -c -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -DBSD44SOCKETS auth.c --- policy.o --- rm -f policy.o --- reset.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c reset.c --- socket.o --- clang -c -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -DBSD44SOCKETS socket.c --- policy.o --- clang -c -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT policy.c --- resource.o --- rm -f resource.o --- all --- --- xdm-config --- --- resource.o --- clang -c -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT '-DDEF_SERVER_LINE=":0 local /usr/pkg/bin/X :0"' '-DXRDB_PROGRAM="/usr/pkg/bin/xrdb"' '-DDEF_SESSION="/usr/pkg/bin/xterm -ls"' '-DDEF_USER_PATH="/bin:/usr/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin"' '-DDEF_SYSTEM_PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/bin"' '-DDEF_SYSTEM_SHELL="/bin/sh"' '-DDEF_FAILSAFE_CLIENT="/usr/pkg/bin/xterm"' '-DDEF_XDM_CONFIG="/usr/pkg/share/xdm3d/xdm-config"' '-DDEF_CHOOSER="/usr/pkg/share/xdm3d/chooser"' '-DDEF_AUTH_DIR="/usr/pkg/share/xdm3d"' '-DDEF_GREETER_LIB="/usr/pkg/share/xdm3d/libXdmGreet.so"' resource.c --- all --- rm -f xdm-config --- dm.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c dm.c --- protodpy.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c protodpy.c --- all --- clang-cpp -traditional -DXDMDIR=/usr/pkg/lib/X11/xdm xdm-config --- session.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c session.c session.c:93:2: warning: incompatible pointer types initializing 'int (*)()' with an expression of type 'void (struct display *)' [-Wincompatible-pointer-types] SessionPingFailed, ^~~~~~~~~~~~~~~~~ session.c:94:2: warning: incompatible pointer types initializing 'int (*)()' with an expression of type 'void (char *, ...)' [-Wincompatible-pointer-types] Debug, ^~~~~ session.c:95:2: warning: incompatible pointer types initializing 'int (*)()' with an expression of type 'void (int)' [-Wincompatible-pointer-types] RegisterCloseOnFork, ^~~~~~~~~~~~~~~~~~~ session.c:96:2: warning: incompatible pointer types initializing 'int (*)()' with an expression of type 'void (struct display *, Display *)' (aka 'void (struct display *, struct _XDisplay *)') [-Wincompatible-pointer-types] SecureDisplay, ^~~~~~~~~~~~~ session.c:97:2: warning: incompatible pointer types initializing 'int (*)()' with an expression of type 'void (struct display *, Display *)' (aka 'void (struct display *, struct _XDisplay *)') [-Wincompatible-pointer-types] UnsecureDisplay, ^~~~~~~~~~~~~~~ session.c:98:2: warning: incompatible pointer types initializing 'int (*)()' with an expression of type 'void (int)' [-Wincompatible-pointer-types] ClearCloseOnFork, ^~~~~~~~~~~~~~~~ session.c:99:2: warning: incompatible pointer types initializing 'int (*)()' with an expression of type 'void (struct display *)' [-Wincompatible-pointer-types] SetupDisplay, ^~~~~~~~~~~~ session.c:100:2: warning: incompatible pointer types initializing 'int (*)()' with an expression of type 'void (char *, ...)' [-Wincompatible-pointer-types] LogError, ^~~~~~~~ session.c:101:2: warning: incompatible pointer types initializing 'int (*)()' with an expression of type 'void (struct display *, int, int)' [-Wincompatible-pointer-types] SessionExit, ^~~~~~~~~~~ session.c:102:2: warning: incompatible pointer types initializing 'int (*)()' with an expression of type 'void (struct display *, Display *)' (aka 'void (struct display *, struct _XDisplay *)') [-Wincompatible-pointer-types] DeleteXloginResources, ^~~~~~~~~~~~~~~~~~~~~ session.c:107:2: warning: incompatible pointer types initializing 'int (*)()' with an expression of type 'void (char **)' [-Wincompatible-pointer-types] printEnv, ^~~~~~~~ session.c:109:2: warning: incompatible pointer types initializing 'int (*)()' with an expression of type 'void (char *, ...)' [-Wincompatible-pointer-types] LogOutOfMem, ^~~~~~~~~~~ --- server.o --- server.c:298:47: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getpeername (fd, (struct sockaddr *) buf, &len); ^~~~ /usr/include/sys/socket.h:650:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ --- util.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c util.c --- xdmcp.o --- rm -f xdmcp.o clang -c -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -DBSD44SOCKETS xdmcp.c --- auth.o --- auth.c:900:23: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] if (ConvertAddr (&ifr->ifr_addr, &len, &addr) < 0) ^~~~~~~~~~~~~~ ./dm.h:431:30: note: passing argument to parameter 'saddr' here int ConvertAddr(XdmcpNetaddr saddr, int *len, char **addr); ^ --- mitauth.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c mitauth.c --- genauth.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c genauth.c --- access.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c access.c --- choose.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c choose.c --- session.o --- 12 warnings generated. --- xdmauth.o --- --- server.o --- 1 warning generated. --- xdmauth.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c xdmauth.c --- xdmshell.o --- --- sessreg.o --- --- xdmshell.o --- rm -f xdmshell.o --- sessreg.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c sessreg.c --- xdmshell.o --- clang -c -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -DHAS_VFORK xdmshell.c --- chooser.o --- rm -f chooser.o clang -c -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -DBSD44SOCKETS chooser.c --- xdm._man --- rm -f xdm._man if test -z "" ; then cd `dirname xdm` && ln -s `basename xdm.man` `basename xdm._man`; else clang-cpp -undef -traditional -D__apploaddir__=/usr/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xdm.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xdm._man; fi --- sessreg._man --- rm -f sessreg._man if test -z "" ; then cd `dirname sessreg` && ln -s `basename sessreg.man` `basename sessreg._man`; else clang-cpp -undef -traditional -D__apploaddir__=/usr/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < sessreg.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >sessreg._man; fi --- greet.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c greet.c --- verify.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c verify.c --- Login.o --- clang -O2 -fno-strict-aliasing -I/usr/pkg/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DBINDIR=\"/usr/pkg/bin\" -DXDMDIR=\"/usr/pkg/share/xdm3d\" -DHASXDMAUTH -DTCPCONN -DUNIXCONN -DGREET_USER_STATIC -DOSMAJORVERSION=7 -DOSMINORVERSION=99 -DHAS_SETUSERCONTEXT -I/usr/pkg/include -c Login.c --- xdmcp.o --- xdmcp.c:183:35: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] XdmcpFlush (xdmcpFd, &buffer, addr, addrlen); ^~~~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:130:67: note: passing argument to parameter 'to' here extern int XdmcpFlush(int fd, XdmcpBufferPtr buffer, XdmcpNetaddr to, int tolen); ^ xdmcp.c:194:24: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] data = NetaddrPort(from, &length); ^~~~ ./dm.h:429:31: note: passing argument to parameter here char *NetaddrPort(XdmcpNetaddr, int *); ^ xdmcp.c:199:26: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] family = ConvertAddr(from, &length, &data); ^~~~ ./dm.h:431:30: note: passing argument to parameter 'saddr' here int ConvertAddr(XdmcpNetaddr saddr, int *len, char **addr); ^ xdmcp.c:218:26: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] family = ConvertAddr(from, &length, &(addr.data)); ^~~~ ./dm.h:431:30: note: passing argument to parameter 'saddr' here int ConvertAddr(XdmcpNetaddr saddr, int *len, char **addr); ^ xdmcp.c:218:41: warning: incompatible pointer types passing 'CARD8Ptr *' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] family = ConvertAddr(from, &length, &(addr.data)); ^~~~~~~~~~~~ ./dm.h:431:54: note: passing argument to parameter 'addr' here int ConvertAddr(XdmcpNetaddr saddr, int *len, char **addr); ^ xdmcp.c:332:39: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] if (!XdmcpFill (xdmcpFd, &buffer, &addr, &addrlen)) { ^~~~~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:141:66: note: passing argument to parameter 'from' here extern int XdmcpFill(int fd, XdmcpBufferPtr buffer, XdmcpNetaddr from, int *fromlen); ^ xdmcp.c:350:21: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] broadcast_respond (&addr, addrlen, header.length); ^~~~~ xdmcp.c:90:48: note: passing argument to parameter 'from' here static void broadcast_respond(struct sockaddr *from, int fromlen, int length); ^ xdmcp.c:353:17: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] query_respond (&addr, addrlen, header.length); ^~~~~ xdmcp.c:89:44: note: passing argument to parameter 'from' here static void query_respond(struct sockaddr *from, int fromlen, int length); ^ xdmcp.c:356:20: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] indirect_respond (&addr, addrlen, header.length); ^~~~~ xdmcp.c:241:35: note: passing argument to parameter 'from' here indirect_respond(struct sockaddr *from, int fromlen, int length) ^ xdmcp.c:359:19: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] forward_respond (&addr, addrlen, header.length); ^~~~~ xdmcp.c:91:46: note: passing argument to parameter 'from' here static void forward_respond(struct sockaddr *from, int fromlen, int length); ^ xdmcp.c:362:19: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] request_respond (&addr, addrlen, header.length); ^~~~~ xdmcp.c:96:46: note: passing argument to parameter 'from' here static void request_respond(struct sockaddr *from, int fromlen, int length); ^ xdmcp.c:365:10: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] manage (&addr, addrlen, header.length); ^~~~~ xdmcp.c:105:37: note: passing argument to parameter 'from' here static void manage(struct sockaddr *from, int fromlen, int length); ^ xdmcp.c:368:14: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] send_alive (&addr, addrlen, header.length); ^~~~~ xdmcp.c:107:41: note: passing argument to parameter 'from' here static void send_alive(struct sockaddr *from, int fromlen, int length); ^ xdmcp.c:691:35: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] XdmcpFlush (xdmcpFd, &buffer, from, fromlen); ^~~~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:130:67: note: passing argument to parameter 'to' here extern int XdmcpFlush(int fd, XdmcpBufferPtr buffer, XdmcpNetaddr to, int tolen); ^ xdmcp.c:712:35: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] XdmcpFlush (xdmcpFd, &buffer, from, fromlen); ^~~~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:130:67: note: passing argument to parameter 'to' here extern int XdmcpFlush(int fd, XdmcpBufferPtr buffer, XdmcpNetaddr to, int tolen); ^ xdmcp.c:726:29: warning: expression which evaluates to zero treated as a null pointer constant of type 'time_t *' (aka 'long *') [-Wnon-literal-null-conversion] globalSessionID = (time((Time_t)0)&0x7fff) * 16000; ^~~~~~~~~ xdmcp.c:792:27: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] pdpy = FindProtoDisplay (from, fromlen, displayNumber); ^~~~ ./dm.h:449:51: note: passing argument to parameter here struct protoDisplay *FindProtoDisplay(XdmcpNetaddr, int, CARD16); ^ xdmcp.c:810:30: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] pdpy = NewProtoDisplay (from, fromlen, displayNumber, ^~~~ ./dm.h:450:50: note: passing argument to parameter here struct protoDisplay *NewProtoDisplay(XdmcpNetaddr, int, CARD16, ^ xdmcp.c:902:35: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] XdmcpFlush (xdmcpFd, &buffer, to, tolen); ^~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:130:67: note: passing argument to parameter 'to' here extern int XdmcpFlush(int fd, XdmcpBufferPtr buffer, XdmcpNetaddr to, int tolen); ^ xdmcp.c:922:35: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] XdmcpFlush (xdmcpFd, &buffer, to, tolen); ^~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:130:67: note: passing argument to parameter 'to' here extern int XdmcpFlush(int fd, XdmcpBufferPtr buffer, XdmcpNetaddr to, int tolen); ^ xdmcp.c:955:27: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] pdpy = FindProtoDisplay (from, fromlen, displayNumber); ^~~~ ./dm.h:449:51: note: passing argument to parameter here struct protoDisplay *FindProtoDisplay(XdmcpNetaddr, int, CARD16); ^ xdmcp.c:968:32: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] && (d = FindDisplayByAddress(from, fromlen, displayNumber)) ^~~~ ./dm.h:407:50: note: passing argument to parameter here struct display *FindDisplayByAddress(XdmcpNetaddr, int, CARD16); ^ xdmcp.c:1077:18: warning: incompatible pointer types passing 'XdmcpNetaddr' (aka 'char *') to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] send_failed (d->from, d->fromlen, d->name, d->sessionID, reason); ^~~~~~~ xdmcp.c:108:42: note: passing argument to parameter 'from' here static void send_failed(struct sockaddr *from, int fromlen, char *name, ^ xdmcp.c:1099:35: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] XdmcpFlush (xdmcpFd, &buffer, from, fromlen); ^~~~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:130:67: note: passing argument to parameter 'to' here extern int XdmcpFlush(int fd, XdmcpBufferPtr buffer, XdmcpNetaddr to, int tolen); ^ xdmcp.c:1113:35: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] XdmcpFlush (xdmcpFd, &buffer, from, fromlen); ^~~~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:130:67: note: passing argument to parameter 'to' here extern int XdmcpFlush(int fd, XdmcpBufferPtr buffer, XdmcpNetaddr to, int tolen); ^ xdmcp.c:1134:29: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] d = FindDisplayByAddress (from, fromlen, displayNumber); ^~~~ ./dm.h:407:50: note: passing argument to parameter here struct display *FindDisplayByAddress(XdmcpNetaddr, int, CARD16); ^ xdmcp.c:1151:36: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] XdmcpFlush (xdmcpFd, &buffer, from, fromlen); ^~~~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:130:67: note: passing argument to parameter 'to' here extern int XdmcpFlush(int fd, XdmcpBufferPtr buffer, XdmcpNetaddr to, int tolen); ^ xdmcp.c:1282:10: warning: implicit declaration of function 'HostnameToNetworkAddress' is invalid in C99 [-Wimplicit-function-declaration] if (!HostnameToNetworkAddress (hostname, connectionType, connectionAddress)) ^ --- auth.o --- 1 warning generated. --- choose.o --- choose.c:192:25: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (GetChooserAddr (addr_buf, &addr_len) == -1) ^~~~~~~~ ./dm.h:489:26: note: passing argument to parameter 'addr' here int GetChooserAddr(char *addr, int *lenp); ^ --- xdmauth.o --- xdmauth.c:187:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] XdmcpWrap (xdmcpauth->data, &pdpy->key, xdmcpauth->data, 8); ^~~~~~~~~~~~~~~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:158:38: note: passing argument to parameter 'input' here extern void XdmcpWrap(unsigned char *input, unsigned char *wrapper, unsigned char *output, int bytes); ^ xdmauth.c:187:33: warning: incompatible pointer types passing 'XdmAuthKeyRec *' (aka 'struct _XdmAuthKey *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] XdmcpWrap (xdmcpauth->data, &pdpy->key, xdmcpauth->data, 8); ^~~~~~~~~~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:158:60: note: passing argument to parameter 'wrapper' here extern void XdmcpWrap(unsigned char *input, unsigned char *wrapper, unsigned char *output, int bytes); ^ xdmauth.c:187:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] XdmcpWrap (xdmcpauth->data, &pdpy->key, xdmcpauth->data, 8); ^~~~~~~~~~~~~~~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:158:84: note: passing argument to parameter 'output' here extern void XdmcpWrap(unsigned char *input, unsigned char *wrapper, unsigned char *output, int bytes); ^ xdmauth.c:277:44: warning: incompatible pointer types passing 'XdmAuthKeyRec *' (aka 'struct _XdmAuthKey *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] XdmcpUnwrap (authenticationData->data, &pdpy->key, ^~~~~~~~~~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:159:62: note: passing argument to parameter 'wrapper' here extern void XdmcpUnwrap(unsigned char *input, unsigned char *wrapper, unsigned char *output, int bytes); ^ xdmauth.c:284:42: warning: incompatible pointer types passing 'XdmAuthKeyRec *' (aka 'struct _XdmAuthKey *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] XdmcpWrap (authenticationData->data, &pdpy->key, ^~~~~~~~~~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:158:60: note: passing argument to parameter 'wrapper' here extern void XdmcpWrap(unsigned char *input, unsigned char *wrapper, unsigned char *output, int bytes); ^ --- sessreg.o --- sessreg.c:435:11: warning: incompatible pointer to integer conversion passing 'FILE *' (aka 'struct __sFILE *') to parameter of type 'int' [-Wint-conversion] sysnerr (ttys = fopen (ttys_file, "r"), ttys_file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sessreg.c:194:13: note: passing argument to parameter 'x' here sysnerr(int x, char *s) ^ sessreg.c:445:11: warning: incompatible pointer to integer conversion passing 'FILE *' (aka 'struct __sFILE *') to parameter of type 'int' [-Wint-conversion] sysnerr (servers = fopen (servers_file, "r"), servers_file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sessreg.c:194:13: note: passing argument to parameter 'x' here sysnerr(int x, char *s) ^ --- chooser.o --- chooser.c:281:43: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] XdmcpFlush (socketFD, &directBuffer, hosts->addr, hosts->addrlen); ^~~~~~~~~~~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:130:67: note: passing argument to parameter 'to' here extern int XdmcpFlush(int fd, XdmcpBufferPtr buffer, XdmcpNetaddr to, int tolen); ^ chooser.c:283:46: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] XdmcpFlush (socketFD, &broadcastBuffer, hosts->addr, hosts->addrlen); ^~~~~~~~~~~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:130:67: note: passing argument to parameter 'to' here extern int XdmcpFlush(int fd, XdmcpBufferPtr buffer, XdmcpNetaddr to, int tolen); ^ chooser.c:515:40: warning: incompatible pointer types passing 'struct sockaddr *' to parameter of type 'XdmcpNetaddr' (aka 'char *') [-Wincompatible-pointer-types] if (!XdmcpFill (socketFD, &buffer, &addr, &addrlen)) ^~~~~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xdmcp.h:141:66: note: passing argument to parameter 'from' here extern int XdmcpFill(int fd, XdmcpBufferPtr buffer, XdmcpNetaddr from, int *fromlen); ^ --- greet.o --- greet.c:135:58: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] XGetGeometry(dpy,XtWindow(login),&a,&b,&c,&width,&height,&e,&f); ^~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xlib.h:2628:44: note: passing argument to parameter here unsigned int* /* border_width_return */, ^ greet.c:135:61: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] XGetGeometry(dpy,XtWindow(login),&a,&b,&c,&width,&height,&e,&f); ^~ /data/scratch/x11/xdm3d/work/.buildlink/include/X11/Xlib.h:2630:1: note: passing argument to parameter here ); ^ greet.c:154:2: warning: implicit declaration of function 'XtMoveWidget' is invalid in C99 [-Wimplicit-function-declaration] XtMoveWidget(toplevel, (int)((double)rand() / ((double)RAND_MAX + 1) * scn_width),(int)((double)rand() / ((double)RAND_MAX + 1) * scn_height)); ^ greet.c:410:6: warning: implicit declaration of function 'Verify' is invalid in C99 [-Wimplicit-function-declaration] if (Verify (d, greet, verify)) ^ --- choose.o --- 1 warning generated. --- sessreg.o --- 2 warnings generated. --- sessreg --- rm -f sessreg --- xdmauth.o --- 5 warnings generated. --- sessreg --- clang -o sessreg -O2 -fno-strict-aliasing -L/usr/pkg/lib sessreg.o -lutil -Wl,-rpath,/usr/pkg/lib --- xdmshell --- rm -f xdmshell clang -o xdmshell -O2 -fno-strict-aliasing -L/usr/pkg/lib xdmshell.o -lutil -Wl,-rpath,/usr/pkg/lib --- xdmcp.o --- 28 warnings generated. --- greet.o --- 4 warnings generated. --- chooser.o --- 3 warnings generated. --- chooser --- rm -f chooser clang -o chooser -O2 -fno-strict-aliasing -L/usr/pkg/lib chooser.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lXdmcp -lutil -Wl,-rpath,/usr/pkg/lib --- xdm --- rm -f xdm clang -o xdm -O2 -fno-strict-aliasing -L/usr/pkg/lib auth.o daemon.o server.o dpylist.o dm.o error.o file.o netaddr.o reset.o resource.o protodpy.o policy.o session.o socket.o streams.o util.o xdmcp.o mitauth.o genauth.o access.o choose.o xdmauth.o greet.o verify.o Login.o -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXext -lX11 -lXau -lXdmcp -lcrypt -lutil -Wl,-rpath,/usr/pkg/lib auth.o: In function `SaveServerAuthorizations': auth.c:(.text+0x42d): warning: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp()