=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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 x11vnc-0.9.13nb28
--- all-recursive ---
Making all in misc
--- all-recursive ---
Making all in turbovnc
--- ../../../aclocal.m4 ---
cd ../../.. && /usr/bin/make  am--refresh
--- am--refresh ---
--- ./Makefile.in ---
--- am--refresh ---
--- ../../aclocal.m4 ---
cd ../.. && /usr/bin/make  am--refresh
--- am--refresh ---
--- ./Makefile.in ---
--- am--refresh ---
--- ../aclocal.m4 ---
--- x11vnc-8to24.o ---
--- x11vnc-appshare.o ---
--- x11vnc-avahi.o ---
--- x11vnc-cleanup.o ---
--- x11vnc-connections.o ---
--- x11vnc-cursor.o ---
--- x11vnc-gui.o ---
--- x11vnc-help.o ---
--- x11vnc-inet.o ---
--- x11vnc-keyboard.o ---
--- x11vnc-linuxfb.o ---
--- x11vnc-macosx.o ---
--- x11vnc-macosxCG.o ---
--- x11vnc-macosxCGP.o ---
--- x11vnc-macosxCGS.o ---
--- ../aclocal.m4 ---
cd .. && /usr/bin/make  am--refresh
--- x11vnc-8to24.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-8to24.o -MD -MP -MF ".deps/x11vnc-8to24.Tpo" -c -o x11vnc-8to24.o `test -f '8to24.c' || echo './'`8to24.c;  then mv -f ".deps/x11vnc-8to24.Tpo" ".deps/x11vnc-8to24.Po"; else rm -f ".deps/x11vnc-8to24.Tpo"; exit 1; fi
--- x11vnc-appshare.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-appshare.o -MD -MP -MF ".deps/x11vnc-appshare.Tpo" -c -o x11vnc-appshare.o `test -f 'appshare.c' || echo './'`appshare.c;  then mv -f ".deps/x11vnc-appshare.Tpo" ".deps/x11vnc-appshare.Po"; else rm -f ".deps/x11vnc-appshare.Tpo"; exit 1; fi
--- x11vnc-avahi.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-avahi.o -MD -MP -MF ".deps/x11vnc-avahi.Tpo" -c -o x11vnc-avahi.o `test -f 'avahi.c' || echo './'`avahi.c;  then mv -f ".deps/x11vnc-avahi.Tpo" ".deps/x11vnc-avahi.Po"; else rm -f ".deps/x11vnc-avahi.Tpo"; exit 1; fi
--- x11vnc-cleanup.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-cleanup.o -MD -MP -MF ".deps/x11vnc-cleanup.Tpo" -c -o x11vnc-cleanup.o `test -f 'cleanup.c' || echo './'`cleanup.c;  then mv -f ".deps/x11vnc-cleanup.Tpo" ".deps/x11vnc-cleanup.Po"; else rm -f ".deps/x11vnc-cleanup.Tpo"; exit 1; fi
--- x11vnc-cursor.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-cursor.o -MD -MP -MF ".deps/x11vnc-cursor.Tpo" -c -o x11vnc-cursor.o `test -f 'cursor.c' || echo './'`cursor.c;  then mv -f ".deps/x11vnc-cursor.Tpo" ".deps/x11vnc-cursor.Po"; else rm -f ".deps/x11vnc-cursor.Tpo"; exit 1; fi
--- x11vnc-connections.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-connections.o -MD -MP -MF ".deps/x11vnc-connections.Tpo" -c -o x11vnc-connections.o `test -f 'connections.c' || echo './'`connections.c;  then mv -f ".deps/x11vnc-connections.Tpo" ".deps/x11vnc-connections.Po"; else rm -f ".deps/x11vnc-connections.Tpo"; exit 1; fi
--- x11vnc-keyboard.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-keyboard.o -MD -MP -MF ".deps/x11vnc-keyboard.Tpo" -c -o x11vnc-keyboard.o `test -f 'keyboard.c' || echo './'`keyboard.c;  then mv -f ".deps/x11vnc-keyboard.Tpo" ".deps/x11vnc-keyboard.Po"; else rm -f ".deps/x11vnc-keyboard.Tpo"; exit 1; fi
--- x11vnc-linuxfb.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-linuxfb.o -MD -MP -MF ".deps/x11vnc-linuxfb.Tpo" -c -o x11vnc-linuxfb.o `test -f 'linuxfb.c' || echo './'`linuxfb.c;  then mv -f ".deps/x11vnc-linuxfb.Tpo" ".deps/x11vnc-linuxfb.Po"; else rm -f ".deps/x11vnc-linuxfb.Tpo"; exit 1; fi
--- ../aclocal.m4 ---
--- am--refresh ---
--- x11vnc-help.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-help.o -MD -MP -MF ".deps/x11vnc-help.Tpo" -c -o x11vnc-help.o `test -f 'help.c' || echo './'`help.c;  then mv -f ".deps/x11vnc-help.Tpo" ".deps/x11vnc-help.Po"; else rm -f ".deps/x11vnc-help.Tpo"; exit 1; fi
--- x11vnc-macosxCGP.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-macosxCGP.o -MD -MP -MF ".deps/x11vnc-macosxCGP.Tpo" -c -o x11vnc-macosxCGP.o `test -f 'macosxCGP.c' || echo './'`macosxCGP.c;  then mv -f ".deps/x11vnc-macosxCGP.Tpo" ".deps/x11vnc-macosxCGP.Po"; else rm -f ".deps/x11vnc-macosxCGP.Tpo"; exit 1; fi
--- x11vnc-macosxCGS.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-macosxCGS.o -MD -MP -MF ".deps/x11vnc-macosxCGS.Tpo" -c -o x11vnc-macosxCGS.o `test -f 'macosxCGS.c' || echo './'`macosxCGS.c;  then mv -f ".deps/x11vnc-macosxCGS.Tpo" ".deps/x11vnc-macosxCGS.Po"; else rm -f ".deps/x11vnc-macosxCGS.Tpo"; exit 1; fi
--- x11vnc-macosx.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-macosx.o -MD -MP -MF ".deps/x11vnc-macosx.Tpo" -c -o x11vnc-macosx.o `test -f 'macosx.c' || echo './'`macosx.c;  then mv -f ".deps/x11vnc-macosx.Tpo" ".deps/x11vnc-macosx.Po"; else rm -f ".deps/x11vnc-macosx.Tpo"; exit 1; fi
--- x11vnc-inet.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-inet.o -MD -MP -MF ".deps/x11vnc-inet.Tpo" -c -o x11vnc-inet.o `test -f 'inet.c' || echo './'`inet.c;  then mv -f ".deps/x11vnc-inet.Tpo" ".deps/x11vnc-inet.Po"; else rm -f ".deps/x11vnc-inet.Tpo"; exit 1; fi
--- x11vnc-macosxCG.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-macosxCG.o -MD -MP -MF ".deps/x11vnc-macosxCG.Tpo" -c -o x11vnc-macosxCG.o `test -f 'macosxCG.c' || echo './'`macosxCG.c;  then mv -f ".deps/x11vnc-macosxCG.Tpo" ".deps/x11vnc-macosxCG.Po"; else rm -f ".deps/x11vnc-macosxCG.Tpo"; exit 1; fi
--- x11vnc-gui.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-gui.o -MD -MP -MF ".deps/x11vnc-gui.Tpo" -c -o x11vnc-gui.o `test -f 'gui.c' || echo './'`gui.c;  then mv -f ".deps/x11vnc-gui.Tpo" ".deps/x11vnc-gui.Po"; else rm -f ".deps/x11vnc-gui.Tpo"; exit 1; fi
--- x11vnc-macosx_opengl.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-macosx_opengl.o -MD -MP -MF ".deps/x11vnc-macosx_opengl.Tpo" -c -o x11vnc-macosx_opengl.o `test -f 'macosx_opengl.c' || echo './'`macosx_opengl.c;  then mv -f ".deps/x11vnc-macosx_opengl.Tpo" ".deps/x11vnc-macosx_opengl.Po"; else rm -f ".deps/x11vnc-macosx_opengl.Tpo"; exit 1; fi
--- x11vnc-options.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-options.o -MD -MP -MF ".deps/x11vnc-options.Tpo" -c -o x11vnc-options.o `test -f 'options.c' || echo './'`options.c;  then mv -f ".deps/x11vnc-options.Tpo" ".deps/x11vnc-options.Po"; else rm -f ".deps/x11vnc-options.Tpo"; exit 1; fi
--- x11vnc-pm.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-pm.o -MD -MP -MF ".deps/x11vnc-pm.Tpo" -c -o x11vnc-pm.o `test -f 'pm.c' || echo './'`pm.c;  then mv -f ".deps/x11vnc-pm.Tpo" ".deps/x11vnc-pm.Po"; else rm -f ".deps/x11vnc-pm.Tpo"; exit 1; fi
--- x11vnc-pointer.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-pointer.o -MD -MP -MF ".deps/x11vnc-pointer.Tpo" -c -o x11vnc-pointer.o `test -f 'pointer.c' || echo './'`pointer.c;  then mv -f ".deps/x11vnc-pointer.Tpo" ".deps/x11vnc-pointer.Po"; else rm -f ".deps/x11vnc-pointer.Tpo"; exit 1; fi
--- x11vnc-rates.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-rates.o -MD -MP -MF ".deps/x11vnc-rates.Tpo" -c -o x11vnc-rates.o `test -f 'rates.c' || echo './'`rates.c;  then mv -f ".deps/x11vnc-rates.Tpo" ".deps/x11vnc-rates.Po"; else rm -f ".deps/x11vnc-rates.Tpo"; exit 1; fi
--- x11vnc-keyboard.o ---
keyboard.c:330:18: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
                                        KeySym ks = XKeycodeToKeysym(dpy, key, 0);
                                                    ^
/data/scratch/x11/x11vnc/work/.buildlink/include/X11/Xlib.h:1687:15: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here
extern KeySym XKeycodeToKeysym(
              ^
--- x11vnc-remote.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-remote.o -MD -MP -MF ".deps/x11vnc-remote.Tpo" -c -o x11vnc-remote.o `test -f 'remote.c' || echo './'`remote.c;  then mv -f ".deps/x11vnc-remote.Tpo" ".deps/x11vnc-remote.Po"; else rm -f ".deps/x11vnc-remote.Tpo"; exit 1; fi
--- x11vnc-keyboard.o ---
keyboard.c:603:10: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
                ksym = XKeycodeToKeysym(dpy, kc, 0);
                       ^
/data/scratch/x11/x11vnc/work/.buildlink/include/X11/Xlib.h:1687:15: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here
extern KeySym XKeycodeToKeysym(
              ^
--- x11vnc-scan.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-scan.o -MD -MP -MF ".deps/x11vnc-scan.Tpo" -c -o x11vnc-scan.o `test -f 'scan.c' || echo './'`scan.c;  then mv -f ".deps/x11vnc-scan.Tpo" ".deps/x11vnc-scan.Po"; else rm -f ".deps/x11vnc-scan.Tpo"; exit 1; fi
--- x11vnc-keyboard.o ---
keyboard.c:1690:26: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
                                s1 = XKeysymToString(XKeycodeToKeysym(dpy,
                                                     ^
/data/scratch/x11/x11vnc/work/.buildlink/include/X11/Xlib.h:1687:15: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here
extern KeySym XKeycodeToKeysym(
              ^
--- x11vnc-screen.o ---
--- x11vnc-keyboard.o ---
keyboard.c:1944:19: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
                                                KeySym ks = XKeycodeToKeysym(dpy, kc_f[l], j);
                                                            ^
/data/scratch/x11/x11vnc/work/.buildlink/include/X11/Xlib.h:1687:15: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here
extern KeySym XKeycodeToKeysym(
              ^
keyboard.c:2005:26: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
                        str = XKeysymToString(XKeycodeToKeysym(dpy,kc_f[l],0));
                                              ^
/data/scratch/x11/x11vnc/work/.buildlink/include/X11/Xlib.h:1687:15: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here
extern KeySym XKeycodeToKeysym(
              ^
--- x11vnc-screen.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-screen.o -MD -MP -MF ".deps/x11vnc-screen.Tpo" -c -o x11vnc-screen.o `test -f 'screen.c' || echo './'`screen.c;  then mv -f ".deps/x11vnc-screen.Tpo" ".deps/x11vnc-screen.Po"; else rm -f ".deps/x11vnc-screen.Tpo"; exit 1; fi
--- x11vnc-inet.o ---
inet.c:730:46: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        fd = accept(sock, (struct sockaddr *)&addr, &fromlen);
                                                    ^~~~~~~~
/usr/include/sys/socket.h:646:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
--- x11vnc-selection.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-selection.o -MD -MP -MF ".deps/x11vnc-selection.Tpo" -c -o x11vnc-selection.o `test -f 'selection.c' || echo './'`selection.c;  then mv -f ".deps/x11vnc-selection.Tpo" ".deps/x11vnc-selection.Po"; else rm -f ".deps/x11vnc-selection.Tpo"; exit 1; fi
--- x11vnc-solid.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-solid.o -MD -MP -MF ".deps/x11vnc-solid.Tpo" -c -o x11vnc-solid.o `test -f 'solid.c' || echo './'`solid.c;  then mv -f ".deps/x11vnc-solid.Tpo" ".deps/x11vnc-solid.Po"; else rm -f ".deps/x11vnc-solid.Tpo"; exit 1; fi
--- x11vnc-sslcmds.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-sslcmds.o -MD -MP -MF ".deps/x11vnc-sslcmds.Tpo" -c -o x11vnc-sslcmds.o `test -f 'sslcmds.c' || echo './'`sslcmds.c;  then mv -f ".deps/x11vnc-sslcmds.Tpo" ".deps/x11vnc-sslcmds.Po"; else rm -f ".deps/x11vnc-sslcmds.Tpo"; exit 1; fi
--- x11vnc-sslhelper.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-sslhelper.o -MD -MP -MF ".deps/x11vnc-sslhelper.Tpo" -c -o x11vnc-sslhelper.o `test -f 'sslhelper.c' || echo './'`sslhelper.c;  then mv -f ".deps/x11vnc-sslhelper.Tpo" ".deps/x11vnc-sslhelper.Po"; else rm -f ".deps/x11vnc-sslhelper.Tpo"; exit 1; fi
--- x11vnc-uinput.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-uinput.o -MD -MP -MF ".deps/x11vnc-uinput.Tpo" -c -o x11vnc-uinput.o `test -f 'uinput.c' || echo './'`uinput.c;  then mv -f ".deps/x11vnc-uinput.Tpo" ".deps/x11vnc-uinput.Po"; else rm -f ".deps/x11vnc-uinput.Tpo"; exit 1; fi
--- x11vnc-inet.o ---
1 warning generated.
--- x11vnc-unixpw.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-unixpw.o -MD -MP -MF ".deps/x11vnc-unixpw.Tpo" -c -o x11vnc-unixpw.o `test -f 'unixpw.c' || echo './'`unixpw.c;  then mv -f ".deps/x11vnc-unixpw.Tpo" ".deps/x11vnc-unixpw.Po"; else rm -f ".deps/x11vnc-unixpw.Tpo"; exit 1; fi
--- x11vnc-pointer.o ---
pointer.c:428:33: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
                                char *str = XKeysymToString(XKeycodeToKeysym(
                                                            ^
/data/scratch/x11/x11vnc/work/.buildlink/include/X11/Xlib.h:1687:15: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here
extern KeySym XKeycodeToKeysym(
              ^
--- x11vnc-user.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-user.o -MD -MP -MF ".deps/x11vnc-user.Tpo" -c -o x11vnc-user.o `test -f 'user.c' || echo './'`user.c;  then mv -f ".deps/x11vnc-user.Tpo" ".deps/x11vnc-user.Po"; else rm -f ".deps/x11vnc-user.Tpo"; exit 1; fi
--- x11vnc-scan.o ---
scan.c:453:9: warning: address of array 'UT.sysname' will always evaluate to 'true' [-Wpointer-bool-conversion]
        if (UT.sysname && strstr(UT.sysname, "Linux")) {
            ~~~^~~~~~~ ~~
--- x11vnc-screen.o ---
screen.c:1131:6: warning: variable 'w' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
        if (! geom || *geom == '\0') {
            ^~~~~~~~~~~~~~~~~~~~~~~
screen.c:1136:11: note: uninitialized use occurs here
        w = nabs(w);
                 ^
screen.c:1131:2: note: remove the 'if' if its condition is always false
        if (! geom || *geom == '\0') {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
screen.c:1131:6: warning: variable 'w' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized]
        if (! geom || *geom == '\0') {
            ^~~~~~
screen.c:1136:11: note: uninitialized use occurs here
        w = nabs(w);
                 ^
screen.c:1131:6: note: remove the '||' if its condition is always false
        if (! geom || *geom == '\0') {
            ^~~~~~~~~
screen.c:1129:7: note: initialize the variable 'w' to silence this warning
        int w, h;
             ^
              = 0
screen.c:1131:6: warning: variable 'h' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
        if (! geom || *geom == '\0') {
            ^~~~~~~~~~~~~~~~~~~~~~~
screen.c:1137:11: note: uninitialized use occurs here
        h = nabs(h);
                 ^
screen.c:1131:2: note: remove the 'if' if its condition is always false
        if (! geom || *geom == '\0') {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
screen.c:1131:6: warning: variable 'h' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized]
        if (! geom || *geom == '\0') {
            ^~~~~~
screen.c:1137:11: note: uninitialized use occurs here
        h = nabs(h);
                 ^
screen.c:1131:6: note: remove the '||' if its condition is always false
        if (! geom || *geom == '\0') {
            ^~~~~~~~~
screen.c:1129:10: note: initialize the variable 'h' to silence this warning
        int w, h;
                ^
                 = 0
screen.c:1281:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                psave = pixels;
                      ^ ~~~~~~
screen.c:1282:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                pixels = pixels64;
                       ^ ~~~~~~~~
screen.c:1803:7: warning: variable 'val' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
                if (strstr(n, "0x")) {
                    ^~~~~~~~~~~~~~~
screen.c:1808:7: note: uninitialized use occurs here
                if (val == 0) {
                    ^~~
screen.c:1803:3: note: remove the 'if' if its condition is always true
                if (strstr(n, "0x")) {
                ^~~~~~~~~~~~~~~~~~~~~
screen.c:1801:31: note: initialize the variable 'val' to silence this warning
                unsigned int vals[1024], val;
                                            ^
                                             = 0
--- x11vnc-sslhelper.o ---
sslhelper.c:268:16: warning: address of array 'UT.sysname' will always evaluate to 'true' [-Wpointer-bool-conversion]
        L = strdup(UT.sysname ? UT.sysname : "unknown-os");
                   ~~~^~~~~~~ ~
sslhelper.c:269:35: warning: address of array 'UT.nodename' will always evaluate to 'true' [-Wpointer-bool-conversion]
        snprintf(line, 1024, "%s-%f", UT.nodename ? UT.nodename :
                                      ~~~^~~~~~~~ ~
--- x11vnc-userinput.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-userinput.o -MD -MP -MF ".deps/x11vnc-userinput.Tpo" -c -o x11vnc-userinput.o `test -f 'userinput.c' || echo './'`userinput.c;  then mv -f ".deps/x11vnc-userinput.Tpo" ".deps/x11vnc-userinput.Po"; else rm -f ".deps/x11vnc-userinput.Tpo"; exit 1; fi
--- x11vnc-util.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-util.o -MD -MP -MF ".deps/x11vnc-util.Tpo" -c -o x11vnc-util.o `test -f 'util.c' || echo './'`util.c;  then mv -f ".deps/x11vnc-util.Tpo" ".deps/x11vnc-util.Po"; else rm -f ".deps/x11vnc-util.Tpo"; exit 1; fi
--- x11vnc-v4l.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-v4l.o -MD -MP -MF ".deps/x11vnc-v4l.Tpo" -c -o x11vnc-v4l.o `test -f 'v4l.c' || echo './'`v4l.c;  then mv -f ".deps/x11vnc-v4l.Tpo" ".deps/x11vnc-v4l.Po"; else rm -f ".deps/x11vnc-v4l.Tpo"; exit 1; fi
--- x11vnc-sslhelper.o ---
sslhelper.c:1905:4: warning: assigning to 'SSL_CIPHER *' (aka 'struct ssl_cipher_st *') from 'const SSL_CIPHER *' (aka 'const struct ssl_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        c = SSL_get_current_cipher(ssl);
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslhelper.c:4044:8: warning: address of array 'rcookie' will always evaluate to 'true' [-Wpointer-bool-conversion]
                        if (rcookie && strstr(rcookie, "VncViewer.class")) {
                            ^~~~~~~ ~~
--- x11vnc-unixpw.o ---
unixpw.c:602:6: warning: implicit declaration of function 'openpty' is invalid in C99 [-Wimplicit-function-declaration]
        if (openpty(&fd, &sfd, slave_str, NULL, NULL) < 0) {
            ^
--- x11vnc-pointer.o ---
1 warning generated.
--- x11vnc-win_utils.o ---
--- x11vnc-uinput.o ---
uinput.c:173:13: warning: unused function 'init_key_tracker' [-Wunused-function]
--- x11vnc-win_utils.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-win_utils.o -MD -MP -MF ".deps/x11vnc-win_utils.Tpo" -c -o x11vnc-win_utils.o `test -f 'win_utils.c' || echo './'`win_utils.c;  then mv -f ".deps/x11vnc-win_utils.Tpo" ".deps/x11vnc-win_utils.Po"; else rm -f ".deps/x11vnc-win_utils.Tpo"; exit 1; fi
--- x11vnc-uinput.o ---
static void init_key_tracker(void) {
            ^
uinput.c:92:12: warning: unused variable 'fd' [-Wunused-variable]
static int fd = -1;
           ^
uinput.c:112:14: warning: unused variable 'devs' [-Wunused-variable]
static char *devs[] = {
             ^
uinput.c:236:12: warning: unused function 'get_bustype' [-Wunused-function]
static int get_bustype(char *s) {
           ^
uinput.c:303:13: warning: unused function 'load_tslib_cal' [-Wunused-function]
static void load_tslib_cal(void) {
            ^
uinput.c:743:13: warning: unused function 'apply_tslib' [-Wunused-function]
static void apply_tslib(int *x, int *y) {
            ^
--- x11vnc-x11vnc.o ---
--- x11vnc-sslhelper.o ---
In file included from sslhelper.c:4354:
./enc.h:1410:70: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                        fprintf(stderr, "securevnc_setup: seeding with RANDSTR len=%d\n", strlen(s));
                                                                                   ~~     ^~~~~~~~~
                                                                                   %lu
--- x11vnc-x11vnc.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-x11vnc.o -MD -MP -MF ".deps/x11vnc-x11vnc.Tpo" -c -o x11vnc-x11vnc.o `test -f 'x11vnc.c' || echo './'`x11vnc.c;  then mv -f ".deps/x11vnc-x11vnc.Tpo" ".deps/x11vnc-x11vnc.Po"; else rm -f ".deps/x11vnc-x11vnc.Tpo"; exit 1; fi
--- x11vnc-x11vnc_defs.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-x11vnc_defs.o -MD -MP -MF ".deps/x11vnc-x11vnc_defs.Tpo" -c -o x11vnc-x11vnc_defs.o `test -f 'x11vnc_defs.c' || echo './'`x11vnc_defs.c;  then mv -f ".deps/x11vnc-x11vnc_defs.Tpo" ".deps/x11vnc-x11vnc_defs.Po"; else rm -f ".deps/x11vnc-x11vnc_defs.Tpo"; exit 1; fi
--- x11vnc-userinput.o ---
userinput.c:1308:31: warning: address of array 'xrecord_name_info' will always evaluate to 'true' [-Wpointer-bool-conversion]
        if (!xrecord_set_by_keys || !xrecord_name_info) {
                                    ~^~~~~~~~~~~~~~~~~
--- x11vnc-xdamage.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-xdamage.o -MD -MP -MF ".deps/x11vnc-xdamage.Tpo" -c -o x11vnc-xdamage.o `test -f 'xdamage.c' || echo './'`xdamage.c;  then mv -f ".deps/x11vnc-xdamage.Tpo" ".deps/x11vnc-xdamage.Po"; else rm -f ".deps/x11vnc-xdamage.Tpo"; exit 1; fi
--- x11vnc-uinput.o ---
6 warnings generated.
--- x11vnc-xevents.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-xevents.o -MD -MP -MF ".deps/x11vnc-xevents.Tpo" -c -o x11vnc-xevents.o `test -f 'xevents.c' || echo './'`xevents.c;  then mv -f ".deps/x11vnc-xevents.Tpo" ".deps/x11vnc-xevents.Po"; else rm -f ".deps/x11vnc-xevents.Tpo"; exit 1; fi
--- x11vnc-util.o ---
util.c:343:16: warning: address of array 'UT.nodename' will always evaluate to 'true' [-Wpointer-bool-conversion]
        } else if (UT.nodename) {
               ~~  ~~~^~~~~~~~
--- x11vnc-v4l.o ---
v4l.c:134:12: warning: unused function 'v4l1_val' [-Wunused-function]
static int v4l1_val(int pct) {
           ^
v4l.c:146:12: warning: unused function 'v4l1_width' [-Wunused-function]
static int v4l1_width(int w) {
           ^
v4l.c:159:12: warning: unused function 'v4l1_height' [-Wunused-function]
static int v4l1_height(int h) {
           ^
v4l.c:173:12: warning: unused function 'v4l1_resize' [-Wunused-function]
static int v4l1_resize(int fd, int w, int h) {
           ^
v4l.c:214:13: warning: unused function 'v4l1_setfreq' [-Wunused-function]
static void v4l1_setfreq(int fd, unsigned long freq, int verb) {
            ^
v4l.c:234:13: warning: unused function 'v4l1_set_input' [-Wunused-function]
static void v4l1_set_input(int fd, int which) {
            ^
v4l.c:436:12: warning: unused function 'v4l1_dpct' [-Wunused-function]
static int v4l1_dpct(int old, int d) {
           ^
v4l.c:750:14: warning: unused function 'v4l1_lu_palette' [-Wunused-function]
static char *v4l1_lu_palette(unsigned short palette) {
             ^
v4l.c:802:14: warning: unused function 'v4l2_lu_palette' [-Wunused-function]
static char *v4l2_lu_palette(unsigned int fmt) {
             ^
v4l.c:1067:12: warning: unused function 'open_dev' [-Wunused-function]
static int open_dev(char *dev) {
           ^
v4l.c:1409:22: warning: unused function 'lookup_freq' [-Wunused-function]
static unsigned long lookup_freq(int sta) {
                     ^
v4l.c:1422:12: warning: unused function 'lookup_station' [-Wunused-function]
static int lookup_station(unsigned long freq) {
           ^
v4l.c:132:12: warning: unused variable 'last_channel' [-Wunused-variable]
static int last_channel = 0;
           ^
--- x11vnc-keyboard.o ---
5 warnings generated.
--- x11vnc-xinerama.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-xinerama.o -MD -MP -MF ".deps/x11vnc-xinerama.Tpo" -c -o x11vnc-xinerama.o `test -f 'xinerama.c' || echo './'`xinerama.c;  then mv -f ".deps/x11vnc-xinerama.Tpo" ".deps/x11vnc-xinerama.Po"; else rm -f ".deps/x11vnc-xinerama.Tpo"; exit 1; fi
--- x11vnc-xkb_bell.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-xkb_bell.o -MD -MP -MF ".deps/x11vnc-xkb_bell.Tpo" -c -o x11vnc-xkb_bell.o `test -f 'xkb_bell.c' || echo './'`xkb_bell.c;  then mv -f ".deps/x11vnc-xkb_bell.Tpo" ".deps/x11vnc-xkb_bell.Po"; else rm -f ".deps/x11vnc-xkb_bell.Tpo"; exit 1; fi
--- x11vnc-x11vnc.o ---
x11vnc.c:992:9: warning: comparison of array 'UT.sysname' equal to a null pointer is always false [-Wtautological-pointer-compare]
        if (UT.sysname == NULL) {
            ~~~^~~~~~~    ~~~~
--- x11vnc-xrandr.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-xrandr.o -MD -MP -MF ".deps/x11vnc-xrandr.Tpo" -c -o x11vnc-xrandr.o `test -f 'xrandr.c' || echo './'`xrandr.c;  then mv -f ".deps/x11vnc-xrandr.Tpo" ".deps/x11vnc-xrandr.Po"; else rm -f ".deps/x11vnc-xrandr.Tpo"; exit 1; fi
--- x11vnc-x11vnc.o ---
x11vnc.c:5776:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                        if (isupper(c)) {
                                            ^~~~~~~~~~
/usr/include/sys/ctype_inline.h:57:44: note: expanded from macro 'isupper'
#define isupper(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_U))
                                                ^~~~
x11vnc.c:5789:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                        if (isupper(c)) {
                                            ^~~~~~~~~~
/usr/include/sys/ctype_inline.h:57:44: note: expanded from macro 'isupper'
#define isupper(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_U))
                                                ^~~~
--- x11vnc-util.o ---
1 warning generated.
--- x11vnc-xrecord.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-xrecord.o -MD -MP -MF ".deps/x11vnc-xrecord.Tpo" -c -o x11vnc-xrecord.o `test -f 'xrecord.c' || echo './'`xrecord.c;  then mv -f ".deps/x11vnc-xrecord.Tpo" ".deps/x11vnc-xrecord.Po"; else rm -f ".deps/x11vnc-xrecord.Tpo"; exit 1; fi
--- x11vnc-v4l.o ---
13 warnings generated.
--- x11vnc-xevents.o ---
xevents.c:1141:29: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
                                                str = XKeysymToString(XKeycodeToKeysym(dpy, i, 0));
                                                                      ^
/data/scratch/x11/x11vnc/work/.buildlink/include/X11/Xlib.h:1687:15: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here
extern KeySym XKeycodeToKeysym(
              ^
--- x11vnc-unixpw.o ---
1 warning generated.
--- x11vnc-xwrappers.o ---
if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -MT x11vnc-xwrappers.o -MD -MP -MF ".deps/x11vnc-xwrappers.Tpo" -c -o x11vnc-xwrappers.o `test -f 'xwrappers.c' || echo './'`xwrappers.c;  then mv -f ".deps/x11vnc-xwrappers.Tpo" ".deps/x11vnc-xwrappers.Po"; else rm -f ".deps/x11vnc-xwrappers.Tpo"; exit 1; fi
--- ./Makefile.in ---
--- am--refresh ---
--- x11vnc-xwrappers.o ---
xwrappers.c:854:31: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
                char *str = XKeysymToString(XKeycodeToKeysym(dpy, key, 0));
                                            ^
/data/scratch/x11/x11vnc/work/.buildlink/include/X11/Xlib.h:1687:15: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here
extern KeySym XKeycodeToKeysym(
              ^
xwrappers.c:910:31: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
                char *str = XKeysymToString(XKeycodeToKeysym(dpy, key, 0));
                                            ^
/data/scratch/x11/x11vnc/work/.buildlink/include/X11/Xlib.h:1687:15: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here
extern KeySym XKeycodeToKeysym(
              ^
--- x11vnc-scan.o ---
1 warning generated.
--- x11vnc-screen.o ---
7 warnings generated.
--- x11vnc-xwrappers.o ---
2 warnings generated.
--- x11vnc-xevents.o ---
1 warning generated.
--- x11vnc-sslhelper.o ---
5 warnings generated.
--- x11vnc-userinput.o ---
1 warning generated.
--- x11vnc-x11vnc.o ---
3 warnings generated.
--- x11vnc ---
clang  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -o x11vnc  x11vnc-8to24.o x11vnc-appshare.o  x11vnc-avahi.o x11vnc-cleanup.o  x11vnc-connections.o x11vnc-cursor.o  x11vnc-gui.o x11vnc-help.o  x11vnc-inet.o x11vnc-keyboard.o  x11vnc-linuxfb.o x11vnc-macosx.o  x11vnc-macosxCG.o x11vnc-macosxCGP.o  x11vnc-macosxCGS.o x11vnc-macosx_opengl.o  x11vnc-options.o x11vnc-pm.o  x11vnc-pointer.o x11vnc-rates.o  x11vnc-remote.o x11vnc-scan.o  x11vnc-screen.o x11vnc-selection.o  x11vnc-solid.o x11vnc-sslcmds.o  x11vnc-sslhelper.o x11vnc-uinput.o  x11vnc-unixpw.o x11vnc-user.o  x11vnc-userinput.o x11vnc-util.o  x11vnc-v4l.o x11vnc-win_utils.o  x11vnc-x11vnc.o x11vnc-x11vnc_defs.o  x11vnc-xdamage.o x11vnc-xevents.o  x11vnc-xinerama.o x11vnc-xkb_bell.o  x11vnc-xrandr.o x11vnc-xrecord.o  x11vnc-xwrappers.o -Xlinker -R/usr/pkg/lib  -L/usr/pkg/lib -lvncserver -lvncclient -lpthread -lz -lpng -ljpeg -lssl -lcrypto -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgcrypt -lgpg-error -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgnutls -lssl -lcrypto -lcrypt  -lXtst -lXtst -lXtst  -lXext -lXinerama -lXrandr -lXfixes -lXdamage -lX11    -lutil  -lz
/usr/bin/ld: cannot find -lpng
/usr/bin/ld: cannot find -ljpeg
/usr/bin/ld: cannot find -lgcrypt
/usr/bin/ld: cannot find -lgpg-error
/usr/bin/ld: cannot find -lgnutls
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** [x11vnc] Error code 1

make[1]: stopped in /data/scratch/x11/x11vnc/work/x11vnc-0.9.13/x11vnc
1 error

make[1]: stopped in /data/scratch/x11/x11vnc/work/x11vnc-0.9.13/x11vnc
*** [all-recursive] Error code 1

make: stopped in /data/scratch/x11/x11vnc/work/x11vnc-0.9.13/x11vnc
1 error

make: stopped in /data/scratch/x11/x11vnc/work/x11vnc-0.9.13/x11vnc
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/x11/x11vnc
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/x11/x11vnc
