Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/x11vnc.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672388940.294802/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.edylmegd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.edylmegd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5d4d877d835c4a3cb375719ecdcee502', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672388940.294802/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.edylmegd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/x11vnc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1663027200 Wrote: /builddir/build/SRPMS/x11vnc-0.9.16-11.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/x11vnc.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672388940.294802/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.edylmegd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.edylmegd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'eab41dc13de440cc832b8014b918fb19', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672388940.294802/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.edylmegd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/x11vnc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1663027200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TBNdBo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf x11vnc-0.9.16 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/x11vnc-0.9.16.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd x11vnc-0.9.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (x11vnc-0.9.16-Respect-a-system-crypto-policy.patch):' Patch #0 (x11vnc-0.9.16-Respect-a-system-crypto-policy.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/enc.h patching file src/sslhelper.c Patch #1 (x11vnc-0.9.16-Convert-a-changelog-to-UTF-8.patch): + echo 'Patch #1 (x11vnc-0.9.16-Convert-a-changelog-to-UTF-8.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ChangeLog Patch #2 (x11vnc-0.9.16-Fix-build-with-fno-common.patch): + echo 'Patch #2 (x11vnc-0.9.16-Fix-build-with-fno-common.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/util.c patching file src/util.h + echo 'Patch #3 (x11vnc-0.9.16-src-cursor-fix-xfc-NULL-pointer-dereference.patch):' Patch #3 (x11vnc-0.9.16-src-cursor-fix-xfc-NULL-pointer-dereference.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/cursor.c Patch #4 (x11vnc-0.9.16-scan-limit-access-to-shared-memory-segments-to-curre.patch): + echo 'Patch #4 (x11vnc-0.9.16-scan-limit-access-to-shared-memory-segments-to-curre.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/scan.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.X2CoM2 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd x11vnc-0.9.16 + autoreconf -fi configure.ac:5: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:5: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:1125: AM_CONFIG_HEADER is expanded from... configure.ac:5: the top level configure.ac:444: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:444: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:444: the top level configure.ac:454: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:454: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:454: the top level configure.ac:456: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:456: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ax_type_socklen_t.m4:48: AX_TYPE_SOCKLEN_T is expanded from... configure.ac:456: the top level configure.ac:457: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:457: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:457: the top level configure.ac:10: installing './compile' configure.ac:432: installing './config.guess' configure.ac:432: installing './config.sub' configure.ac:3: installing './install-sh' configure.ac:3: installing './missing' Makefile.am: installing './INSTALL' src/Makefile.am: installing './depcomp' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-12-30 08:30:54.546245457 +0000 +++ ./configure 2022-12-30 08:30:55.137229692 +0000 @@ -1745,7 +1745,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-avahi --with-colormultipointer --with-crypto --with-dpms --with-fbdev --without-fbpm --without-macosx-native --with-ssl --with-uinput --without-v4l --with-x --without-xcomposite --with-xdamage --with-xfixes --with-xinerama --with-xkeyboard --with-xrandr --with-xrecord --without-xtrap checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for x86_64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for RAND_file_name in -lcrypto... yes checking for crypt... no checking for crypt in -lcrypt... yes checking for OPENSSL... yes checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for XGetImage in -lX11... yes checking for XShmGetImage in -lXext... yes checking for XReadScreen in -lXext... no checking for X11/extensions/readdisplay.h... no checking for DPMSForceLevel in -lXext... yes checking for XTestGrabControl in -lXtst... yes checking for XTestFakeKeyEvent in -lXtst... yes checking for XRecordEnableContextAsync in -lXtst... yes checking for X11/XKBlib.h... yes checking for XkbSelectEvents in -lX11... yes checking for XineramaQueryScreens in -lXinerama... yes checking for XRRSelectInput in -lXrandr... yes checking for XFixesGetCursorImage in -lXfixes... yes checking for XDamageQueryExtension in -lXdamage... yes checking for XI2... yes checking for XcursorImageLoadCursor in -lXcursor... yes checking for linux/fb.h... yes checking for linux/input.h... yes checking for linux/uinput.h... yes checking for OpenGL/OpenGL.h... no checking for avahi... yes checking for cairo... yes checking for LIBVNCSERVER... yes checking for LIBVNCCLIENT... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for arpa/inet.h... yes checking for endian.h... yes checking for fcntl.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stdlib.h... yes checking for string.h... yes checking for sys/endian.h... no checking for sys/socket.h... yes checking for sys/time.h... yes checking for sys/timeb.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for ws2tcpip.h... no checking for pwd.h... yes checking for sys/wait.h... yes checking for utmpx.h... yes checking for termios.h... yes checking for sys/ioctl.h... yes checking for sys/stropts.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for size_t... yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for socklen_t... yes checking for in_addr_t... checking for working memcmp... yes checking whether lstat correctly handles trailing slash... no checking whether stat accepts an empty string... yes checking for strftime... yes checking for vprintf... yes checking for fork... yes checking for vfork... yes checking for pid_t... yes checking for working fork... yes checking for working vfork... (cached) yes checking for gethostbyname in -lnsl... no checking for socket in -lsocket... no checking for ftime... yes checking for gethostbyname... (cached) yes checking for gethostname... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memmove... yes checking for memset... yes checking for mmap... yes checking for mkfifo... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strstr... yes checking for setsid... yes checking for setpgrp... yes checking for getpwuid... yes checking for getpwnam... yes checking for getspnam... yes checking for getuid... yes checking for geteuid... yes checking for setuid... yes checking for setgid... yes checking for seteuid... yes checking for setegid... yes checking for initgroups... yes checking for waitpid... yes checking for setutxent... yes checking for grantpt... yes checking for shmat... (cached) yes checking for shmget in -lcygipc... no checking for ApplicationServices/ApplicationServices.h... no checking for android/api-level.h... no checking for rpm sources path... NOT-FOUND checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating misc/Makefile config.status: creating misc/turbovnc/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j2 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-8to24.o `test -f '8to24.c' || echo './'`8to24.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-appshare.o `test -f 'appshare.c' || echo './'`appshare.c appshare.c: In function 'stop': appshare.c:533:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 533 | system(cmd); | ^~~~~~~~~~~ appshare.c:537:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 537 | system(cmd); | ^~~~~~~~~~~ appshare.c: In function 'launch': appshare.c:497:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 497 | system(cmd); | ^~~~~~~~~~~ appshare.c: In function 'handle_shell': appshare.c:1711:41: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1711 | system(str+1); | ^~~~~~~~~~~~~ appshare.c:1715:41: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1715 | system(cmd); | ^~~~~~~~~~~ appshare.c: In function 'appshare_cleanup': appshare.c:639:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 639 | system(cmd); | ^~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-avahi.o `test -f 'avahi.c' || echo './'`avahi.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' avahi.c: In function 'avahi_initialise': avahi.c:219:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 219 | if (db) fprintf(stderr, "in avahi_initialise\n"); | ^~ avahi.c:220:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 220 | if (_poll) { | ^~ avahi.c: In function '_avahi_entry_group_callback': avahi.c:260:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 260 | if (db) fprintf(stderr, "in _avahi_entry_group_callback %d 0x%p\n", state, svc); | ^~ avahi.c:261:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 261 | if (g != _group && _group != NULL) { | ^~ avahi.c:279:53: warning: passing argument 2 of '_avahi_create_services' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 279 | _avahi_create_services(new_name, svc->host, svc->port); | ~~~^~~~~~ avahi.c:252:54: note: expected 'char *' but argument is of type 'const char *' 252 | static void _avahi_create_services(char *name, char *host, | ~~~~~~^~~~ avahi.c: In function '_avahi_create_services': avahi.c:298:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 298 | if (db) fprintf(stderr, "in _avahi_create_services '%s' '%s' %d\n", name, host, port); | ^~ avahi.c:299:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 299 | svc->name = name; | ^~~ avahi.c: In function 'avahi_advertise': avahi.c:338:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 338 | if (db) fprintf(stderr, "in avahi_advertise: '%s' '%s' %d\n", name, host, port); | ^~ avahi.c:339:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 339 | if (!_client) { | ^~ avahi.c: In function 'avahi_reset': avahi.c:381:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 381 | if (db) fprintf(stderr, "in avahi_reset\n"); | ^~ avahi.c:382:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 382 | for (i=0; iinput, s, CILEN); | ^ connections.c:4460:41: warning: 'strncpy' specified bound 10 equals destination size [-Wstringop-truncation] 4460 | strncpy(cd->input, s, CILEN); | ^ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-help.o `test -f 'help.c' || echo './'`help.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-inet.o `test -f 'inet.c' || echo './'`inet.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-linuxfb.o `test -f 'linuxfb.c' || echo './'`linuxfb.c linuxfb.c: In function 'console_guess': linuxfb.c:156:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 156 | read(fd, tmp, 4); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-macosx.o `test -f 'macosx.c' || echo './'`macosx.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-macosxCG.o `test -f 'macosxCG.c' || echo './'`macosxCG.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-macosxCGP.o `test -f 'macosxCGP.c' || echo './'`macosxCGP.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-macosxCGS.o `test -f 'macosxCGS.c' || echo './'`macosxCGS.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-macosx_opengl.o `test -f 'macosx_opengl.c' || echo './'`macosx_opengl.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-options.o `test -f 'options.c' || echo './'`options.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-pm.o `test -f 'pm.c' || echo './'`pm.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-keyboard.o `test -f 'keyboard.c' || echo './'`keyboard.c keyboard.c: In function 'initialize_allowed_input': keyboard.c:2500:41: warning: 'strncpy' specified bound 10 equals destination size [-Wstringop-truncation] 2500 | strncpy(cd->input, | ^ keyboard.c:2492:41: warning: 'strncpy' specified bound 10 equals destination size [-Wstringop-truncation] 2492 | strncpy(cd->input, | ^ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-pointer.o `test -f 'pointer.c' || echo './'`pointer.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-rates.o `test -f 'rates.c' || echo './'`rates.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-scan.o `test -f 'scan.c' || echo './'`scan.c scan.c: In function 'initialize_polling_images': scan.c:453:13: warning: the comparison will always evaluate as 'true' for the address of 'sysname' will never be NULL [-Waddress] 453 | if (UT.sysname && strstr(UT.sysname, "Linux")) { | ^~ In file included from x11vnc.h:53, from scan.c:35: /usr/include/sys/utsname.h:51:10: note: 'sysname' declared here 51 | char sysname[_UTSNAME_SYSNAME_LENGTH]; | ^~~~~~~ scan.c: In function 'get_load': scan.c:2940:33: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2940 | read(d, tmp, 60); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-screen.o `test -f 'screen.c' || echo './'`screen.c screen.c: In function 'vnc_reflect_get_password': screen.c:1434:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1434 | fgets(p, 100, stdin); | ^~~~~~~~~~~~~~~~~~~~ screen.c:1439:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1439 | fgets(p, 100, f); | ^~~~~~~~~~~~~~~~ screen.c: In function 'initialize_raw_fb': screen.c:1773:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1773 | write(fd, (char *)vals, 4 * w); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:1795:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1795 | write(fd, (char *)val, 4 * w); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-selection.o `test -f 'selection.c' || echo './'`selection.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-remote.o `test -f 'remote.c' || echo './'`remote.c remote.c: In function 'send_remote_cmd': remote.c:158:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 158 | fgets(line, X11VNC_REMOTE_MAX, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ remote.c: In function 'check_httpdir': remote.c:362:25: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 362 | getcwd(cwd, 1024); | ^~~~~~~~~~~~~~~~~ remote.c: In function 'send_remote_cmd': remote.c:167:33: warning: 'strncpy' specified bound 65536 equals destination size [-Wstringop-truncation] 167 | strncpy(line, x11vnc_remote_str, | ^ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-solid.o `test -f 'solid.c' || echo './'`solid.c solid.c: In function 'solid_macosx': solid.c:1217:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1217 | write(fd, macosx_solid_background, strlen(macosx_solid_background)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solid.c: In function 'kde_no_animate': solid.c:1152:39: warning: '%s' directive writing up to 2147483646 bytes into a region of size between 2147483552 and 2147483634 [-Wformat-overflow=] 1152 | sprintf(cmd2, "(sleep 10; %s; %s; sleep 5; %s) &", kwinrc_off, cmd, kwinrc_on); | ^~ In file included from /usr/include/stdio.h:906, from /usr/include/rfb/rfb.h:41, from x11vnc.h:69, from solid.c:35: In function 'sprintf', inlined from 'kde_no_animate' at solid.c:1152:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 28 and 2147483837 bytes into a destination of size 2147483647 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-sslcmds.o `test -f 'sslcmds.c' || echo './'`sslcmds.c sslcmds.c: In function 'sslGenCA': sslcmds.c:604:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 604 | system(cmd); | ^~~~~~~~~~~ sslcmds.c: In function 'sslGenCert': sslcmds.c:640:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 640 | system(cmd); | ^~~~~~~~~~~ sslcmds.c: In function 'sslEncKey': sslcmds.c:730:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 730 | system(tca); | ^~~~~~~~~~~ sslcmds.c:744:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 744 | write(tmp_fd, genCert, strlen(genCert)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslcmds.c:758:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 758 | system(scr); | ^~~~~~~~~~~ sslcmds.c:855:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 855 | write(tmp_fd, genCert, strlen(genCert)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslcmds.c:871:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 871 | system(scr); | ^~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-uinput.o `test -f 'uinput.c' || echo './'`uinput.c uinput.c: In function 'check_uinput': uinput.c:138:13: warning: the comparison will always evaluate as 'true' for the address of 'release' will never be NULL [-Waddress] 138 | if (UT.release) { | ^~ In file included from x11vnc.h:53, from uinput.c:35: /usr/include/sys/utsname.h:57:10: note: 'release' declared here 57 | char release[_UTSNAME_RELEASE_LENGTH]; | ^~~~~~~ uinput.c: In function 'initialize_uinput': uinput.c:490:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 490 | write(fd, &udev, sizeof(udev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c: In function 'ptr_move': uinput.c:727:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 727 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:732:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 732 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:737:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 737 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c: In function 'button_click': uinput.c:983:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 983 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:988:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 988 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c: In function 'ptr_abs': uinput.c:780:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 780 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:785:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 785 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:791:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 791 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:797:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 797 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:804:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 804 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c: In function 'uinput_key_command': uinput.c:1261:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1261 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:1266:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1266 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-unixpw.o `test -f 'unixpw.c' || echo './'`unixpw.c unixpw.c: In function 'white_pixel': unixpw.c:361:30: warning: variable 'black_pix' set but not used [-Wunused-but-set-variable] 361 | static unsigned long black_pix = 0, white_pix = 1, set = 0; | ^~~~~~~~~ unixpw.c: In function 'black_pixel': unixpw.c:382:45: warning: variable 'white_pix' set but not used [-Wunused-but-set-variable] 382 | static unsigned long black_pix = 0, white_pix = 1, set = 0; | ^~~~~~~~~ unixpw.c: In function 'su_verify': unixpw.c:1055:21: warning: variable 'ttyfd' set but not used [-Wunused-but-set-variable] 1055 | int ttyfd; | ^~~~~ unixpw.c: In function 'unixpw_verify_screen': unixpw.c:1577:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1577 | if (db) fprintf(stderr, "unixpw_verify: '%s' '%s'\n", user, db > 1 ? pass : "********"); | ^~ unixpw.c:1578:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1578 | rfbLog("unixpw_verify: '%s'\n", user ? user : "(null)"); | ^~~~~~ unixpw.c: In function 'apply_opts': unixpw.c:2061:16: warning: variable 'notmode' set but not used [-Wunused-but-set-variable] 2061 | int i, notmode = 0; | ^~~~~~~ unixpw.c: In function 'try_to_be_nobody': unixpw.c:648:17: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 648 | setuid(pw->pw_uid); | ^~~~~~~~~~~~~~~~~~ unixpw.c:651:17: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 651 | seteuid(pw->pw_uid); | ^~~~~~~~~~~~~~~~~~~ unixpw.c:654:17: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 654 | setgid(pw->pw_gid); | ^~~~~~~~~~~~~~~~~~ unixpw.c:657:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 657 | setegid(pw->pw_gid); | ^~~~~~~~~~~~~~~~~~~ unixpw.c: In function 'su_verify': unixpw.c:1120:33: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1120 | system(nam); | ^~~~~~~~~~~ unixpw.c:1122:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1122 | write(tfd, "NOTTTY\n", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~~ unixpw.c:1127:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1127 | chdir("/"); | ^~~~~~~~~~ unixpw.c:1157:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1157 | write(2, "C", 1); | ^~~~~~~~~~~~~~~~ unixpw.c:1252:33: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1252 | system(cmd0); | ^~~~~~~~~~~~ unixpw.c:1254:33: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1254 | system(cmd0); | ^~~~~~~~~~~~ unixpw.c:1339:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1339 | write(fd, pass+k, 1); | ^~~~~~~~~~~~~~~~~~~~ unixpw.c:1343:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1343 | write(fd, pass, strlen(pass)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unixpw.c: In function 'check_unixpw_userprefs': unixpw.c:1541:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1541 | fgets(buf, 1024, f); | ^~~~~~~~~~~~~~~~~~~ unixpw.c: In function 'unixpw_accept': unixpw.c:2132:41: warning: 'strncpy' specified bound 10 equals destination size [-Wstringop-truncation] 2132 | strncpy(cd->input, q, CILEN); | ^ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-sslhelper.o `test -f 'sslhelper.c' || echo './'`sslhelper.c sslhelper.c: In function 'create_tmp_pem': sslhelper.c:268:31: warning: the comparison will always evaluate as 'true' for the address of 'sysname' will never be NULL [-Waddress] 268 | L = strdup(UT.sysname ? UT.sysname : "unknown-os"); | ^ In file included from x11vnc.h:53, from sslhelper.c:35: /usr/include/sys/utsname.h:51:10: note: 'sysname' declared here 51 | char sysname[_UTSNAME_SYSNAME_LENGTH]; | ^~~~~~~ sslhelper.c:269:58: warning: the comparison will always evaluate as 'true' for the address of 'nodename' will never be NULL [-Waddress] 269 | snprintf(line, sizeof line, "%s-%f", UT.nodename ? UT.nodename : | ^ /usr/include/sys/utsname.h:54:10: note: 'nodename' declared here 54 | char nodename[_UTSNAME_NODENAME_LENGTH]; | ^~~~~~~~ sslhelper.c: In function 'crl_callback': sslhelper.c:849:17: warning: 'X509_CRL_get_lastUpdate' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 849 | ASN1_UTCTIME_print(bio, X509_CRL_get_lastUpdate(crl)); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ssl.h:31, from sslhelper.c:730: /usr/include/openssl/x509.h:932:36: note: declared here 932 | OSSL_DEPRECATEDIN_1_1_0 ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:851:17: warning: 'X509_CRL_get_nextUpdate' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 851 | ASN1_UTCTIME_print(bio, X509_CRL_get_nextUpdate(crl)); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/x509.h:933:36: note: declared here 933 | OSSL_DEPRECATEDIN_1_1_0 ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:881:17: warning: 'X509_CRL_get_nextUpdate' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 881 | t=X509_CRL_get_nextUpdate(crl); | ^ /usr/include/openssl/x509.h:933:36: note: declared here 933 | OSSL_DEPRECATEDIN_1_1_0 ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'openssl_init': sslhelper.c:1067:9: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 1067 | rsa_512 = RSA_generate_key(512, RSA_F4, NULL, NULL); | ^~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:253:30: note: declared here 253 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ sslhelper.c:1076:9: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 1076 | rsa_1024 = RSA_generate_key(1024, RSA_F4, NULL, NULL); | ^~~~~~~~ /usr/include/openssl/rsa.h:253:30: note: declared here 253 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ sslhelper.c:1161:17: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1161 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from /usr/include/openssl/ssl.h:36: /usr/include/openssl/pem.h:469:1: note: declared here 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ sslhelper.c:1170:21: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1170 | 8*DH_size(dh), dnow()-ds); | ^ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:37: /usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ sslhelper.c:1171:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ sslhelper.c:1179:17: warning: 'SSL_CTX_use_RSAPrivateKey_file' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1179 | if (! SSL_CTX_use_RSAPrivateKey_file(ctx, openssl_pem, | ^~ /usr/include/openssl/ssl.h:1702:12: note: declared here 1702 | __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'add_anon_dh': sslhelper.c:1564:9: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1564 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ /usr/include/openssl/pem.h:469:1: note: declared here 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ sslhelper.c:1573:9: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1573 | rfbLog("loaded Diffie Hellman %d bits, %.3fs\n", 8*DH_size(dh), dnow()-ds); | ^~~~~~ /usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ sslhelper.c:1574:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1574 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ sslhelper.c: In function 'pr_ssl_info': sslhelper.c:1963:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1963 | c = SSL_get_current_cipher(ssl); | ^ sslhelper.c: In function 'ssl_helper_pid': sslhelper.c:3059:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3059 | if (db) fprintf(stderr, "ssl_helper_pid(%d, %d)\n", pid, sock); | ^~ sslhelper.c:3062:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3062 | set = 0; | ^~~ sslhelper.c: In function 'is_ssl_readable': sslhelper.c:3151:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3151 | if (db) fprintf(stderr, "tv_sec: %d - '%s'\n", (int) tv.tv_sec, last_get); | ^~ In file included from /usr/include/sys/select.h:30, from /usr/include/sys/types.h:179, from /usr/include/bits/socket.h:29, from /usr/include/sys/socket.h:33, from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from x11vnc.h:65: sslhelper.c:3153:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3153 | FD_ZERO(&rd); | ^~~~~~~ In file included from x11vnc.h:721: sslhelper.c: In function 'accept_openssl': util.h:83:9: warning: macro expands to multiple statements [-Wmultistatement-macros] 83 | _mysleep.tv_sec = (x) / 1000000; \ | ^~~~~~~~ util.h:88:16: note: in expansion of macro 'usleep2' 88 | #define usleep usleep2 | ^~~~~~~ sslhelper.c:3924:24: note: in expansion of macro 'usleep' 3924 | if (0) usleep(50 * 1000); | ^~~~~~ sslhelper.c:3924:17: note: some parts of macro expansion are not guarded by this 'if' clause 3924 | if (0) usleep(50 * 1000); | ^~ sslhelper.c:4076:29: warning: the address of 'rcookie' will always evaluate as 'true' [-Waddress] 4076 | if (rcookie && strstr(rcookie, "VncViewer.class")) { | ^~~~~~~ sslhelper.c: In function 'raw_make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' xfer': util.h:83:9: warning: macro expands to multiple statements [-Wmultistatement-macros] 83 | _mysleep.tv_sec = (x) / 1000000; \ | ^~~~~~~~ util.h:88:16: note: in expansion of macro 'usleep2' 88 | #define usleep usleep2 | ^~~~~~~ sslhelper.c:4331:25: note: in expansion of macro 'usleep' 4331 | if (db) usleep(50*1000); | ^~~~~~ sslhelper.c:4331:17: note: some parts of macro expansion are not guarded by this 'if' clause 4331 | if (db) usleep(50*1000); | ^~ In file included from sslhelper.c:4382: enc.h: In function 'load_client_auth': enc.h:1233:9: warning: 'd2i_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1233 | rsa = d2i_RSAPrivateKey(NULL, (const unsigned char **) ((void *) &contents), sb.st_size); | ^~~ In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:43, from /usr/include/openssl/x509.h:29: /usr/include/openssl/rsa.h:309:1: note: declared here 309 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1239:9: warning: 'RSA_check_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1239 | if (RSA_check_key(rsa) != 1) { | ^~ /usr/include/openssl/rsa.h:278:27: note: declared here 278 | OSSL_DEPRECATEDIN_3_0 int RSA_check_key(const RSA *); | ^~~~~~~~~~~~~ enc.h: In function 'securevnc_setup': enc.h:1385:9: warning: 'd2i_RSAPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1385 | rsa = d2i_RSAPublicKey(NULL, (const unsigned char **) &rsabuf, SECUREVNC_RSA_PUBKEY_SIZE); | ^~~ /usr/include/openssl/rsa.h:307:1: note: declared here 307 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1439:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1439 | encrypted_keybuf = (unsigned char*) calloc(RSA_size(rsa), 1); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ enc.h:1448:17: warning: 'RAND_pseudo_bytes' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 1448 | rc = RAND_pseudo_bytes((unsigned char *)keydata, SECUREVNC_RAND_KEY_SOURCE); | ^~ In file included from sslhelper.c:732: /usr/include/openssl/rand.h:79:29: note: declared here 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ^~~~~~~~~~~~~~~~~ enc.h:1452:85: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 1452 | fprintf(stderr, "securevnc_setup: seeding with RANDSTR len=%d\n", strlen(s)); | ~^ ~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld enc.h:1461:9: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1461 | n = RSA_public_encrypt(SECUREVNC_KEY_SIZE, keystr, encrypted_keybuf, rsa, RSA_PKCS1_PADDING); | ^ /usr/include/openssl/rsa.h:282:5: note: declared here 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ enc.h:1499:25: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 1499 | client_rsa = RSA_generate_key(2048, 0x10001, NULL, NULL); | ^~~~~~~~~~ /usr/include/openssl/rsa.h:253:30: note: declared here 253 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ enc.h:1554:17: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1554 | signature = (unsigned char *) calloc(RSA_size(client_rsa), 1); | ^~~~~~~~~ /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ enc.h:1555:17: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1555 | RSA_sign(NID_sha1, digest, ndig, signature, &nsig, client_rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:348:27: note: declared here 348 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ enc.h:1561:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1561 | RSA_free(client_rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ sslhelper.c: In function 'create_tmp_pem': sslhelper.c:346:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 346 | write(cnf_fd, str, strlen(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:505:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 505 | system(cmd); | ^~~~~~~~~~~ sslhelper.c: In function 'pem_passwd_callback': sslhelper.c:780:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 780 | system("stty -echo"); | ^~~~~~~~~~~~~~~~~~~~ sslhelper.c:783:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 783 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ sslhelper.c:786:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 786 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'add_anon_dh': sslhelper.c:1482:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1482 | write(cnf_fd, new_dh_params, strlen(new_dh_params)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:1536:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1536 | write(d, new_dh_params, strlen(new_dh_params)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:1544:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1544 | write(cnf_fd, fixed_dh_params, strlen(fixed_dh_params)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'accept_openssl': sslhelper.c:3621:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3621 | write(vncsock, tbuf, strlen(cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3627:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3627 | write(vncsock, tbuf, strlen(cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3701:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3701 | write(vncsock, cookie, strlen(cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3703:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3703 | write(vncsock, buf, n); | ^~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3775:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3775 | write(vncsock, tbuf, strlen(tbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3849:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3849 | write(vncsock, tbuf, strlen(tbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3896:49: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3896 | write(httpsock, buf, m); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3897:49: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3897 | write(httpsock, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3899:49: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3899 | write(httpsock, q, n-m); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3904:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3904 | write(httpsock, buf, n); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3919:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3919 | write(vncsock, cookie, strlen(cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3983:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 3983 | read(certret_fd, certret_str, sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:4006:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 4006 | read(dhret_fd, dhret_str, sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'watch_for_http_traffic': sslhelper.c:3254:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3254 | write(2, buf_a, *n_a); | ^~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'ssl_xfer': sslhelper.c:2316:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2316 | read(csock, tmp, 12); | ^~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'raw_xfer': sslhelper.c:4309:45: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 4309 | if (db > 1) write(2, buf, n); | ^~~~~~~~~~~~~~~~ sslhelper.c:4341:45: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 4341 | if (db > 1) write(2, buf, n); | ^~~~~~~~~~~~~~~~ enc.h: In function 'securevnc_setup': enc.h:1344:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1344 | read(server, (char *) &b1, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1345:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1345 | read(server, (char *) &b2, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1346:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1346 | read(server, (char *) &b3, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1347:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1347 | read(server, (char *) &b4, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1436:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1436 | write(2, to_viewer, 12); /* and first 12 bytes 'RFB ...' as message */ | ^~~~~~~~~~~~~~~~~~~~~~~ enc.h:1469:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1469 | write(server, encrypted_keybuf, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1479:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1479 | write(server, (char *)&zero, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1481:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1481 | write(server, (char *)&one, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1483:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1483 | write(server, (char *)&zero, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1484:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1484 | write(server, (char *)&zero, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1486:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1486 | write(server, (char *)&sig, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1488:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1488 | write(server, (char *)&zero, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1558:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1558 | write(server, signature, nsig); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1568:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1568 | write(viewer, to_viewer, to_viewer_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h: In function 'securevnc_server_rsa_save_dialog': enc.h:1110:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1110 | write(fileno(p), rsabuf, SECUREVNC_RSA_PUBKEY_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h: In function 'doloop': enc.h:2101:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2101 | system(cmd); | ^~~~~~~~~~~ sslhelper.c: In function 'accept_openssl': sslhelper.c:4073:33: warning: 'strncpy' output may be truncated copying 100 bytes from a string of length 255 [-Wstringop-truncation] 4073 | strncpy(last_get, rcookie, 100); | ^ In function 'doloop', inlined from '__enc_main' at enc.h:2112:4: enc.h:2086:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2086 | cmd[0] = '\0'; | ~~~~~~~^~~~~~ enc.h:2085:31: note: destination object of size 0 allocated by 'malloc' 2085 | cmd = (char *)malloc(len); | ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-user.o `test -f 'user.c' || echo './'`user.c user.c: In function 'do_run_cmd': user.c:2782:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2782 | if (db) fprintf(stderr, "line1=%s\n", line1); | ^~ user.c:2784:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2784 | if (strstr(line1, "DISPLAY=") != line1) { | ^~ user.c:2470:13: warning: variable 'internal_cmd' set but not used [-Wunused-but-set-variable] 2470 | int internal_cmd = 0; | ^~~~~~~~~~~~ user.c: In function 'setup_cmd': user.c:1905:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1905 | write(fd, find_display, strlen(find_display)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:1914:49: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1914 | system(com); | ^~~~~~~~~~~ user.c: In function 'vnc_redirect_timeout': user.c:1396:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1396 | write(2, "timeout: no clients connected.\n", 31); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function 'do_run_cmd': user.c:2511:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2511 | write(tmp_fd, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:2513:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2513 | write(tmp_fd, find_display, strlen(find_display)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:2576:37: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2576 | if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprintf(stderr, "res=%d n=%d\n", res, n);} | ^~~~~~~~~~~~~~~~~ user.c:2576:56: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2576 | if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprintf(stderr, "res=%d n=%d\n", res, n);} | ^~~~~~~~~~~~~~~~~ user.c:2681:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2681 | if (db) write(2, line, 100); | ^~~~~~~~~~~~~~~~~~~ user.c:2857:1: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2857 | write(2, xauth_raw_data, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function 'do_chvt': user.c:1405:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1405 | system(chvt); | ^~~~~~~~~~~~ user.c: In function 'do_vnc_redirect': user.c:1876:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1876 | write(vnc_redirect_sock, vnc_redirect_test, vnc_redirect_cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function 'lurk_loop': user.c:502:51: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] 502 | sprintf(dpystr, ":%d", dn); | ^~ In function 'lurk', inlined from 'lurk_loop' at user.c:543:7: user.c:502:49: note: directive argument in the range [0, 2147483647] 502 | sprintf(dpystr, ":%d", dn); | ^~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/rfb/rfb.h:41, from x11vnc.h:69, from user.c:35: In function 'sprintf', inlined from 'lurk' at user.c:502:5, inlined from 'lurk_loop' at user.c:543:7: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 3 and 12 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ user.c: In function 'do_run_cmd.constprop.0': user.c:2627:49: warning: 'strncpy' output may be truncated copying 100 bytes from a string of length 1023 [-Wstringop-truncation] 2627 | strncpy(line, line1, 100); | ^ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-util.o `test -f 'util.c' || echo './'`util.c util.c: In function 'set_env': util.c:240:15: warning: unused variable 'str' [-Wunused-variable] 240 | char *str; | ^~~ util.c: In function 'this_host': util.c:346:20: warning: the comparison will always evaluate as 'true' for the address of 'nodename' will never be NULL [-Waddress] 346 | } else if (UT.nodename) { | ^~ In file included from x11vnc.h:53, from util.c:36: /usr/include/sys/utsname.h:54:10: note: 'nodename' declared here 54 | char nodename[_UTSNAME_NODENAME_LENGTH]; | ^~~~~~~~ util.c: In function 'do_allinput': util.c:516:14: warning: variable 'usec0' set but not used [-Wunused-but-set-variable] 516 | long usec0; | ^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-v4l.o `test -f 'v4l.c' || echo './'`v4l.c v4l.c:1422:12: warning: 'lookup_station' defined but not used [-Wunused-function] 1422 | static int lookup_station(unsigned long freq) { | ^~~~~~~~~~~~~~ v4l.c:1409:22: warning: 'lookup_freq' defined but not used [-Wunused-function] 1409 | static unsigned long lookup_freq(int sta) { | ^~~~~~~~~~~ v4l.c:1067:12: warning: 'open_dev' defined but not used [-Wunused-function] 1067 | static int open_dev(char *dev) { | ^~~~~~~~ v4l.c:802:14: warning: 'v4l2_lu_palette' defined but not used [-Wunused-function] 802 | static char *v4l2_lu_palette(unsigned int fmt) { | ^~~~~~~~~~~~~~~ v4l.c:750:14: warning: 'v4l1_lu_palette' defined but not used [-Wunused-function] 750 | static char *v4l1_lu_palette(unsigned short palette) { | ^~~~~~~~~~~~~~~ v4l.c:436:12: warning: 'v4l1_dpct' defined but not used [-Wunused-function] 436 | static int v4l1_dpct(int old, int d) { | ^~~~~~~~~ v4l.c:234:13: warning: 'v4l1_set_input' defined but not used [-Wunused-function] 234 | static void v4l1_set_input(int fd, int which) { | ^~~~~~~~~~~~~~ v4l.c:214:13: warning: 'v4l1_setfreq' defined but not used [-Wunused-function] 214 | static void v4l1_setfreq(int fd, unsigned long freq, int verb) { | ^~~~~~~~~~~~ v4l.c:173:12: warning: 'v4l1_resize' defined but not used [-Wunused-function] 173 | static int v4l1_resize(int fd, int w, int h) { | ^~~~~~~~~~~ v4l.c:159:12: warning: 'v4l1_height' defined but not used [-Wunused-function] 159 | static int v4l1_height(int h) { | ^~~~~~~~~~~ v4l.c:146:12: warning: 'v4l1_width' defined but not used [-Wunused-function] 146 | static int v4l1_width(int w) { | ^~~~~~~~~~ v4l.c:134:12: warning: 'v4l1_val' defined but not used [-Wunused-function] 134 | static int v4l1_val(int pct) { | ^~~~~~~~ v4l.c:132:12: warning: 'last_channel' defined but not used [-Wunused-variable] 132 | static int last_channel = 0; | ^~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-win_utils.o `test -f 'win_utils.c' || echo './'`win_utils.c win_utils.c: In function 'snapshot_stack_list': win_utils.c:193:40: warning: variable 'last_free' set but not used [-Wunused-but-set-variable] 193 | static double last_snap = 0.0, last_free = 0.0; | ^~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-x11vnc.o `test -f 'x11vnc.c' || echo './'`x11vnc.c x11vnc.c: In function 'limit_shm': x11vnc.c:993:24: warning: the comparison will always evaluate as 'false' for the address of 'sysname' will never be NULL [-Waddress] 993 | if (UT.sysname == NULL) { | ^~ In file included from x11vnc.h:53, from x11vnc.c:135: /usr/include/sys/utsname.h:51:10: note: 'sysname' declared here 51 | char sysname[_UTSNAME_SYSNAME_LENGTH]; | ^~~~~~~ x11vnc.c: In function 'check_guess_auth_file': x11vnc.c:1960:21: warning: variable 'n' set but not used [-Wunused-but-set-variable] 1960 | int n; | ^ x11vnc.c: In function 'main': x11vnc.c:4638:22: warning: variable 'message' set but not used [-Wunused-but-set-variable] 4638 | char message[] = "-rfbauth, -passwdfile, -passwd password, " | ^~~~~~~ x11vnc.c: In function 'terminal_services': x11vnc.c:555:49: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 555 | system(dcmd); | ^~~~~~~~~~~~ x11vnc.c:562:49: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 562 | system(dcmd); | ^~~~~~~~~~~~ x11vnc.c: In function 'do_tsd': x11vnc.c:718:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 718 | system(cmd); | ^~~~~~~~~~~ x11vnc.c:729:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 729 | system(cmd); | ^~~~~~~~~~~ x11vnc.c: In function 'quick_pw': x11vnc.c:1381:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1381 | system("stty -echo"); | ^~~~~~~~~~~~~~~~~~~~ x11vnc.c:1384:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1384 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c:1387:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1387 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c: In function 'store_homedir_passwd': x11vnc.c:1760:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1760 | system("stty -echo"); | ^~~~~~~~~~~~~~~~~~~~ x11vnc.c:1763:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1763 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c:1771:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1771 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c:1775:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1775 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-userinput.o `test -f 'userinput.c' || echo './'`userinput.c userinput.c: In function 'initialize_scroll_term': userinput.c:759:23: warning: variable 's' set but not used [-Wunused-but-set-variable] 759 | char *s = scroll_good_all[n++]; | ^ userinput.c: In function 'direct_fb_copy': userinput.c:1074:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1074 | if (db) dtime0(&tm); | ^~ userinput.c:1076:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1076 | x1 = nfix(x1, dpy_x); | ^~ userinput.c: In function 'set_ypad': userinput.c:1306:37: warning: the address of 'xrecord_name_info' will always evaluate as 'true' [-Waddress] 1306 | if (!xrecord_set_by_keys || !xrecord_name_info) { | ^ userinput.c: In function 'push_scr_ev': userinput.c:1480:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1480 | if (db) fprintf(stderr, "ypad: %d dy[0]: %d ev_tot: %d\n", ypad, scr_ev[0].dy, ev_tot); | ^~ userinput.c:1482:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1482 | for (ev=0; ev < ev_tot; ev++) { | ^~~ userinput.c:1795:32: warning: variable 'trate' set but not used [-Wunused-but-set-variable] 1795 | double trate; | ^~~~~ In file included from x11vnc.h:721, from userinput.c:35: userinput.c: In function 'batch_copyregion': util.h:83:9: warning: macro expands to multiple statements [-Wmultistatement-macros] 83 | _mysleep.tv_sec = (x) / 1000000; \ | ^~~~~~~~ util.h:88:16: note: in expansion of macro 'usleep2' 88 | #define usleep usleep2 | ^~~~~~~ userinput.c:2081:34: note: in expansion of macro 'usleep' 2081 | if (use_threads) usleep(100 * 1000); | ^~~~~~ userinput.c:2081:17: note: some parts of macro expansion are not guarded by this 'if' clause 2081 | if (use_threads) usleep(100 * 1000); | ^~ userinput.c: In function 'fb_push': userinput.c:2180:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2180 | if (db) get_client_regions(&req0, &mod0, &cpy0, &ncli); | ^~ userinput.c:2182:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2182 | i = rfbGetClientIterator(screen); | ^ userinput.c: In function 'check_xrecord_keys': userinput.c:2555:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2555 | if (0) link = link_rate(&latency, &netrate); | ^~ userinput.c:2557:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2557 | gk = gk0 = got_keyboard_input; | ^~ userinput.c:2633:31: warning: variable 'last_scr_ev' set but not used [-Wunused-but-set-variable] 2633 | static double last_scr_ev = 0.0; | ^~~~~~~~~~~ userinput.c:2479:13: warning: variable 'link' set but not used [-Wunused-but-set-variable] 2479 | int link, latency, netrate; | ^~~~ userinput.c:2475:37: warning: variable 'scroll_rep' set but not used [-Wunused-but-set-variable] 2475 | int scr_cnt = 0, input = 0, scroll_rep; | ^~~~~~~~~~ userinput.c: In function 'check_xrecord_mouse': userinput.c:2725:23: warning: variable 'last_mouse_scroll' set but not used [-Wunused-but-set-variable] 2725 | static double last_mouse_scroll = 0.0; | ^~~~~~~~~~~~~~~~~ userinput.c: In function 'try_copyrect': userinput.c:3121:13: warning: variable 'db' set but not used [-Wunused-but-set-variable] 3121 | int db = 0; \ | ^~ userinput.c:3146:9: note: in expansion of macro 'DB_SET' 3146 | DB_SET | ^~~~~~ userinput.c: In function 'check_fixscreen': userinput.c:3560:31: warning: variable 'last' set but not used [-Wunused-but-set-variable] 3560 | static double last = 0.0; | ^~~~ userinput.c: In function 'ncache_pre_portions': userinput.c:3782:21: warning: variable 'bs_h' set but not used [-Wunused-but-set-variable] 3782 | int bs_h = cache_list[nidx].bs_h; | ^~~~ userinput.c:3781:21: warning: variable 'bs_w' set but not used [-Wunused-but-set-variable] 3781 | int bs_w = cache_list[nidx].bs_w; | ^~~~ userinput.c: In function 'ncache_post_portions': userinput.c:3965:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3965 | if (db && ncdb) fprintf(stderr, "FB_COPY: %.4f 3) sent_copyrect: su_restore: %d %d\n", dnow() - ntim, dx, dy); | ^~ userinput.c:3966:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3966 | if (cache_list[nidx].su_time == 0.0) { | ^~ userinput.c:3979:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3979 | if (db && ncdb) fprintf(stderr, "sent_copyrect: %.4f su_restore: done.\n", dnow() - ntim); | ^~ userinput.c:3980:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3980 | sraRgnDestroy(r0); | ^~~~~~~~~~~~~ userinput.c: In function 'check_wireframe': userinput.c:4413:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4413 | if (db) fprintf(stderr, "\n*** button down!! x: %d y: %d\n", cursor_x, cursor_y); | ^~ In file included from /usr/include/rfb/rfb.h:67, from x11vnc.h:69: util.h:113:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 113 | #define X_LOCK LOCK(x11Mutex) | ^~~~ userinput.c:4420:9: note: in expansion of macro 'X_LOCK' 4420 | X_LOCK; | ^~~~~~ userinput.c:4434:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4434 | if (db) fprintf(stderr, "a: %d wf: %.3f A: %d origfrm: 0x%lx\n", w*h, wireframe_frac, (dpy_x*dpy_y), frame); | ^~ userinput.c:4440:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4440 | if ((double) w*h < wireframe_frac * (dpy_x * dpy_y)) { | ^~ userinput.c:4444:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4444 | if (db) fprintf(stderr, " frame: x: %d y: %d w: %d h: %d px: %d py: %d fr: 0x%lx\n", x, y, w, h, px, py, frame); | ^~ userinput.c:4451:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4451 | try_it = near_wm_edge(x, y, w, h, px, py); | ^~~~~~ userinput.c:4358:23: warning: variable 'last_save_stacklist' set but not used [-Wunused-but-set-variable] 4358 | static time_t last_save_stacklist = 0; | ^~~~~~~~~~~~~~~~~~~ userinput.c: In function 'check_user_input3': userinput.c:5315:21: warning: variable 'got_input' set but not used [-Wunused-but-set-variable] 5315 | int got_input = 0; | ^~~~~~~~~ userinput.c:5274:36: warning: variable 'to' set but not used [-Wunused-but-set-variable] 5274 | double spin, spin_max, tm, to, dtm; | ^~ userinput.c: In function 'check_user_input4': userinput.c:5551:21: warning: variable 'got_input' set but not used [-Wunused-but-set-variable] 5551 | int got_input = 0; | ^~~~~~~~~ userinput.c:5439:20: warning: variable 'ssec' set but not used [-Wunused-but-set-variable] 5439 | static int ssec = 0, total_calls = 0; | ^~~~ userinput.c:5426:39: warning: variable 'rpe_last' set but not used [-Wunused-but-set-variablmake[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' e] 5426 | double spin, tm, to, tc, dtm, rpe_last; | ^~~~~~~~ userinput.c: In function 'snapshot_cache_list': userinput.c:5757:40: warning: variable 'last_free' set but not used [-Wunused-but-set-variable] 5757 | static double last_snap = 0.0, last_free = 0.0; | ^~~~~~~~~ userinput.c: In function 'bs_save': userinput.c:7134:22: warning: variable 'h' set but not used [-Wunused-but-set-variable] 7134 | int x, y, w, h; | ^ userinput.c:7134:19: warning: variable 'w' set but not used [-Wunused-but-set-variable] 7134 | int x, y, w, h; | ^ userinput.c: In function 'su_save': userinput.c:7240:22: warning: variable 'h' set but not used [-Wunused-but-set-variable] 7240 | int x, y, w, h; | ^ userinput.c:7240:19: warning: variable 'w' set but not used [-Wunused-but-set-variable] 7240 | int x, y, w, h; | ^ userinput.c: In function 'try_to_fix_resize_su': userinput.c:7787:28: warning: variable 'bh1' set but not used [-Wunused-but-set-variable] 7787 | int bx1, by1, bw1, bh1; | ^~~ userinput.c:7787:23: warning: variable 'bw1' set but not used [-Wunused-but-set-variable] 7787 | int bx1, by1, bw1, bh1; | ^~~ userinput.c:7787:18: warning: variable 'by1' set but not used [-Wunused-but-set-variable] 7787 | int bx1, by1, bw1, bh1; | ^~~ userinput.c:7787:13: warning: variable 'bx1' set but not used [-Wunused-but-set-variable] 7787 | int bx1, by1, bw1, bh1; | ^~~ userinput.c:7786:28: warning: variable 'sh1' set but not used [-Wunused-but-set-variable] 7786 | int sx1, sy1, sw1, sh1, dx, dy; | ^~~ userinput.c:7786:23: warning: variable 'sw1' set but not used [-Wunused-but-set-variable] 7786 | int sx1, sy1, sw1, sh1, dx, dy; | ^~~ userinput.c: In function 'try_to_fix_su': userinput.c:7921:13: warning: variable 'moved' set but not used [-Wunused-but-set-variable] 7921 | int moved = 0; | ^~~~~ userinput.c:7918:25: warning: variable 'h1' set but not used [-Wunused-but-set-variable] 7918 | int x1, y1, w1, h1; | ^~ userinput.c:7918:21: warning: variable 'w1' set but not used [-Wunused-but-set-variable] 7918 | int x1, y1, w1, h1; | ^~ userinput.c:7917:25: warning: variable 'h0' set but not used [-Wunused-but-set-variable] 7917 | int x0, y0, w0, h0; | ^~ userinput.c:7917:21: warning: variable 'w0' set but not used [-Wunused-but-set-variable] 7917 | int x0, y0, w0, h0; | ^~ userinput.c: In function 'try_to_synthesize_su': userinput.c:8466:25: warning: variable 'h3' set but not used [-Wunused-but-set-variable] 8466 | int x3, y3, w3, h3; | ^~ userinput.c:8466:21: warning: variable 'w3' set but not used [-Wunused-but-set-variable] 8466 | int x3, y3, w3, h3; | ^~ userinput.c:8464:25: warning: variable 'h1' set but not used [-Wunused-but-set-variable] 8464 | int x1, y1, w1, h1; | ^~ userinput.c:8464:21: warning: variable 'w1' set but not used [-Wunused-but-set-variable] 8464 | int x1, y1, w1, h1; | ^~ userinput.c:8463:25: warning: variable 'h0' set but not used [-Wunused-but-set-variable] 8463 | int x0, y0, w0, h0; | ^~ userinput.c:8463:21: warning: variable 'w0' set but not used [-Wunused-but-set-variable] 8463 | int x0, y0, w0, h0; | ^~ userinput.c: In function 'check_ncache': userinput.c:9259:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 9259 | if (ncdb) fprintf(stderr, "\n"); if (ncdb) rfbLog("IN check_ncache() %d events. %.4f\n", n, now - x11vnc_start); | ^~ userinput.c:9259:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 9259 | if (ncdb) fprintf(stderr, "\n"); if (ncdb) rfbLog("IN check_ncache() %d events. %.4f\n", n, now - x11vnc_start); | ^~ userinput.c:8894:25: warning: variable 'ttot' set but not used [-Wunused-but-set-variable] 8894 | int pixels = 0, ttot; | ^~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-x11vnc_defs.o `test -f 'x11vnc_defs.c' || echo './'`x11vnc_defs.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-xdamage.o `test -f 'xdamage.c' || echo './'`xdamage.c xdamage.c: In function 'record_desired_xdamage_rect': xdamage.c:92:13: warning: variable 'dt_x' set but not used [-Wunused-but-set-variable] 92 | int dt_x, dt_y, nt_x1, nt_y1, nt_x2, nt_y2, nt; | ^~~~ xdamage.c: In function 'collect_xdamage': xdamage.c:448:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 448 | if (0) XEventsQueued(dpy, QueuedAfterFlush); | ^~ xdamage.c:450:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 450 | come_back_for_more: | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-xi2_devices.o `test -f 'xi2_devices.c' || echo './'`xi2_devices.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-xevents.o `test -f 'xevents.c' || echo './'`xevents.c xevents.c: In function 'process_watch': xevents.c:612:23: warning: variable 'last_bust' set but not used [-Wunused-but-set-variable] 612 | static time_t last_bust = 0; | ^~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-xinerama.o `test -f 'xinerama.c' || echo './'`xinerama.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-xkb_bell.o `test -f 'xkb_bell.c' || echo './'`xkb_bell.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-xrandr.o `test -f 'xrandr.c' || echo './'`xrandr.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-xwrappers.o `test -f 'xwrappers.c' || echo './'`xwrappers.c xwrappers.c: In function 'XTestFakeKeyEvent_wr': xwrappers.c:1003:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1003 | else | ^~~~ xwrappers.c:1007:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1007 | if (regrab) { | ^~ xwrappers.c: In function 'xauth_raw': xwrappers.c:1428:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1428 | write(tmp_fd, xauth_raw_data, xauth_raw_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o x11vnc-xrecord.o `test -f 'xrecord.c' || echo './'`xrecord.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' xrecord.c: In function 'xrecord_watch': xrecord.c:2012:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2012 | if (db) fprintf(stderr, "rc_scroll: 0x%lx\n", rc_scroll); | ^~ xrecord.c:2013:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2013 | if (trapped_record_xerror) { | ^~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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-xi2_devices.o x11vnc-xinerama.o x11vnc-xkb_bell.o x11vnc-xrandr.o x11vnc-xrecord.o x11vnc-xwrappers.o -lvncserver -lvncclient -lssl -lcrypto -lcrypt -lXtst -lXtst -lXtst -lXext -lXinerama -lXrandr -lXfixes -lXdamage -lXcursor -lX11 -lavahi-common -lavahi-client -lXi -lcairo make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' Making all in misc Making all in turbovnc make[3]: Nothing to be done for 'all'. make[3]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/misc' /usr/bin/sed -e '/Will be substituted by Xdummy\.c/d' -e '/"XDUMMY_C"/r ./Xdummy.c' < Xdummy.in > Xdummy.tmp mv -f Xdummy.tmp Xdummy make[3]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/misc' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FvojRR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd x11vnc-0.9.16 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/bin' /usr/bin/install -p x11vnc '/builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[1]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' Making install in misc make[1]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/misc' Making install in turbovnc make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/misc/turbovnc' make[3]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/misc/turbovnc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/misc/turbovnc' make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/misc/turbovnc' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/misc' make[3]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/misc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/bin' /usr/bin/install -p Xdummy '/builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/misc' make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/misc' make[1]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/misc' make[1]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/share/applications' /usr/bin/install -p -m 644 x11vnc.desktop '/builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/share/applications' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/share/man/man1' /usr/bin/install -p -m 644 x11vnc.1 '/builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16' make[1]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16' + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.9.16-11.fc38 --unique-debug-suffix -0.9.16-11.fc38.x86_64 --unique-debug-src-base x11vnc-0.9.16-11.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/x11vnc-0.9.16 extracting debug info from /builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/bin/x11vnc original debug info size: 3452kB, size after compression: 2940kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 5540 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/Xdummy from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.IJr16M + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd x11vnc-0.9.16 + desktop-file-validate /builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64//usr/share/applications/x11vnc.desktop Processing files: x11vnc-0.9.16-11.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vXxb1y + umask 022 + cd /builddir/build/BUILD + cd x11vnc-0.9.16 + DOCDIR=/builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/share/doc/x11vnc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/share/doc/x11vnc + cp -pr ChangeLog /builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/share/doc/x11vnc + cp -pr NEWS /builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/share/doc/x11vnc + cp -pr README /builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/share/doc/x11vnc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.pJZrT0 + umask 022 + cd /builddir/build/BUILD + cd x11vnc-0.9.16 + LICENSEDIR=/builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/share/licenses/x11vnc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/share/licenses/x11vnc + cp -pr COPYING /builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64/usr/share/licenses/x11vnc + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(x11vnc.desktop) x11vnc = 0.9.16-11.fc38 x11vnc(x86-64) = 0.9.16-11.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh libX11.so.6()(64bit) libXcursor.so.1()(64bit) libXdamage.so.1()(64bit) libXext.so.6()(64bit) libXfixes.so.3()(64bit) libXi.so.6()(64bit) libXinerama.so.1()(64bit) libXrandr.so.2()(64bit) libXtst.so.6()(64bit) libavahi-client.so.3()(64bit) libavahi-common.so.3()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcairo.so.2()(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libvncclient.so.1()(64bit) libvncserver.so.1()(64bit) rtld(GNU_HASH) Obsoletes: x11vnc-javaviewers < 0.9.14-14 Processing files: x11vnc-debugsource-0.9.16-11.fc38.x86_64 Provides: x11vnc-debugsource = 0.9.16-11.fc38 x11vnc-debugsource(x86-64) = 0.9.16-11.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: x11vnc-debuginfo-0.9.16-11.fc38.x86_64 Provides: debuginfo(build-id) = 9855eb7dd0fb7519b441a919c254c9b1cf3eb4b0 x11vnc-debuginfo = 0.9.16-11.fc38 x11vnc-debuginfo(x86-64) = 0.9.16-11.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: x11vnc-debugsource(x86-64) = 0.9.16-11.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64 Wrote: /builddir/build/RPMS/x11vnc-debuginfo-0.9.16-11.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/x11vnc-0.9.16-11.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/x11vnc-debugsource-0.9.16-11.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dDFIGY + umask 022 + cd /builddir/build/BUILD + cd x11vnc-0.9.16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/x11vnc-0.9.16-11.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.7sdc1s + umask 022 + cd /builddir/build/BUILD + rm -rf x11vnc-0.9.16 x11vnc-0.9.16.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0