D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/x11vnc-0.9.16-6.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.j0fzCY
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build
+ test -d /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4oQ1WX
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build
+ rm -rf x11vnc-0.9.16
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/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 .
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/x11vnc-0.9.16-Fix-build-with-fno-common.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/x11vnc-0.9.16-CVE-2020-29074.patch
+ sed -i -e 's,AM_INIT_AUTOMAKE.*,AM_INIT_AUTOMAKE(\[subdir-objects\]),' configure.ac
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sm85mK
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build
+ cd x11vnc-0.9.16
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ autoreconf -vfi
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
configure.ac:5: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.ac:5: You should use the 'AC_CONFIG_HEADERS' macro instead.
aclocal.m4:1087: 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:663: 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:702: 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:2845: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: 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:2845: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: 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
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
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'
autoreconf: Leaving directory '.'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-system-libvncserver --without-tightvnc-filetransfer
configure: WARNING: unrecognized options: --with-system-libvncserver, --without-tightvnc-filetransfer
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
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 xargs -n works... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for x86_64-mageia-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-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-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 >= 1.0.0... 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... yes
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 FBPMForceLevel in -lXext... 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 XCompositeQueryExtension in -lXcomposite... no
checking for xi >= 1.2.99 inputproto >= 1.9.99.9... yes
checking for XcursorImageLoadCursor in -lXcursor... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking for vfork.h... no
checking for linux/videodev.h... no
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... no
checking for cairo... no
checking for libvncserver >= 0.9.8... yes
checking for libvncclient >= 0.9.8... yes
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-mageia-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... (cached) yes
checking for string.h... (cached) yes
checking for sys/endian.h... no
checking for sys/socket.h... yes
checking for sys/time.h... (cached) yes
checking for sys/timeb.h... yes
checking for syslog.h... yes
checking for unistd.h... (cached) 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... yes
checking whether stat accepts an empty string... no
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
configure: WARNING: unrecognized options: --with-system-libvncserver, --without-tightvnc-filetransfer
+ /usr/bin/make -O -j16 V=1 VERBOSE=1
/usr/bin/make  all-recursive
Making all in src
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-macosxCG.o `test -f 'macosxCG.c' || echo './'`macosxCG.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-avahi.o `test -f 'avahi.c' || echo './'`avahi.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-macosxCGP.o `test -f 'macosxCGP.c' || echo './'`macosxCGP.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-macosxCGS.o `test -f 'macosxCGS.c' || echo './'`macosxCGS.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-help.o `test -f 'help.c' || echo './'`help.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-macosx_opengl.o `test -f 'macosx_opengl.c' || echo './'`macosx_opengl.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-macosx.o `test -f 'macosx.c' || echo './'`macosx.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-options.o `test -f 'options.c' || echo './'`options.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-cleanup.o `test -f 'cleanup.c' || echo './'`cleanup.c
cleanup.c: In function 'crash_shell':
cleanup.c:511:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  511 |                         system(cmd);
      |                         ^~~~~~~~~~~
cleanup.c:517:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  517 |                         system(cmd);
      |                         ^~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-gui.o `test -f 'gui.c' || echo './'`gui.c
gui.c: In function 'do_gui':
gui.c:754:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  754 |                 write(fd, gui_code, strlen(gui_code));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:811:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  811 |                 system(cmd);
      |                 ^~~~~~~~~~~
gui.c:818:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  818 |                         fgets(line, 128, fp);
      |                         ^~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-pm.o `test -f 'pm.c' || echo './'`pm.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-inet.o `test -f 'inet.c' || echo './'`inet.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-selection.o `test -f 'selection.c' || echo './'`selection.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-cursor.o `test -f 'cursor.c' || echo './'`cursor.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-8to24.o `test -f '8to24.c' || echo './'`8to24.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-rates.o `test -f 'rates.c' || echo './'`rates.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-uinput.o `test -f 'uinput.c' || echo './'`uinput.c
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 '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-pointer.o `test -f 'pointer.c' || echo './'`pointer.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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:970,
                 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: '__builtin___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 '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-x11vnc_defs.o `test -f 'x11vnc_defs.c' || echo './'`x11vnc_defs.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-v4l.o `test -f 'v4l.c' || echo './'`v4l.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-keyboard.o `test -f 'keyboard.c' || echo './'`keyboard.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-util.o `test -f 'util.c' || echo './'`util.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-xdamage.o `test -f 'xdamage.c' || echo './'`xdamage.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-xi2_devices.o `test -f 'xi2_devices.c' || echo './'`xi2_devices.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-win_utils.o `test -f 'win_utils.c' || echo './'`win_utils.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-xkb_bell.o `test -f 'xkb_bell.c' || echo './'`xkb_bell.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-xrandr.o `test -f 'xrandr.c' || echo './'`xrandr.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-xinerama.o `test -f 'xinerama.c' || echo './'`xinerama.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-connections.o `test -f 'connections.c' || echo './'`connections.c
connections.c: In function 'run_user_command':
connections.c:644:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  644 |                         write(tmp_fd, input, len);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
connections.c:670:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  670 |                                 write(fileno(output), line, k+1);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c:691:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  691 |                 write(fileno(ph), input, len);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c: In function 'do_reverse_connect':
connections.c:2720:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 2720 |                         write(vncsock, prestring, prestring_len);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c:2792:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 2792 |                                 write(sock, prestring, prestring_len);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c:2803:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 2803 |                         write(sock, prestring, prestring_len);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c: In function 'pconnect':
connections.c:2249:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 2249 |         write(psock, req, strlen(req));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c:2253:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 2253 |                 write(psock, t, strlen(t));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c:2266:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 2266 |         write(psock, req, strlen(req));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c: In function 'socks_proxy':
connections.c:2148:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 2148 |         write(sock, buf, len);
      |         ^~~~~~~~~~~~~~~~~~~~~
connections.c: In function 'socks5_proxy':
connections.c:2023:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 2023 |         write(sock, buf, 3);
      |         ^~~~~~~~~~~~~~~~~~~
connections.c:2051:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 2051 |         write(sock, buf, len+2);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
connections.c:2074:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
 2074 |                 read(sock, reply+4, 4 + 2);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c:2078:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
 2078 |                 read(sock, reply+5, (int) reply[4] + 2);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c:2080:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
 2080 |                 read(sock, reply+4, 16 + 2);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c: In function 'check_gui_inputs':
connections.c:3807:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 3807 |                                 write(fd, "\n", 1);
      |                                 ^~~~~~~~~~~~~~~~~~
connections.c: In function 'start_client_info_sock':
connections.c:4258:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 4258 |                         write(sock, "COOKIE:", strlen("COOKIE:"));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c:4259:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 4259 |                         write(sock, cookie, strlen(cookie));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c:4260:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 4260 |                         write(sock, "\n", strlen("\n"));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c:4261:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 4261 |                         write(sock, "none\n", strlen("none\n"));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c:4262:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 4262 |                         write(sock, "none\n", strlen("none\n"));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c:4263:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 4263 |                         write(sock, lst, strlen(lst));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c:4264:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 4264 |                         write(sock, "\n", strlen("\n"));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c: In function 'send_client_info':
connections.c:4317:32: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 4317 |                         if (0) write(sock, "\n", 1);
      |                                ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
                 from /usr/include/rfb/rfb.h:41,
                 from x11vnc.h:69,
                 from connections.c:35:
In function 'snprintf',
    inlined from 'get_repeater_string' at connections.c:2577:4:
/usr/include/bits/stdio2.h:68:10: warning: null destination pointer [-Wformat-truncation=]
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-unixpw.o `test -f 'unixpw.c' || echo './'`unixpw.c
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);
      |                                 ^~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-xevents.o `test -f 'xevents.c' || echo './'`xevents.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-user.o `test -f 'user.c' || echo './'`user.c
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:970,
                 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: '__builtin___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 ());
      |                                   ~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-scan.o `test -f 'scan.c' || echo './'`scan.c
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 '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-xrecord.o `test -f 'xrecord.c' || echo './'`xrecord.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-xwrappers.o `test -f 'xwrappers.c' || echo './'`xwrappers.c
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 '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-sslhelper.o `test -f 'sslhelper.c' || echo './'`sslhelper.c
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:32,
                 from sslhelper.c:730:
/usr/include/openssl/x509.h:939:36: note: declared here
  939 | 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:940:36: note: declared here
  940 | 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:940:36: note: declared here
  940 | 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:264:30: note: declared here
  264 | 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:264:30: note: declared here
  264 | 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:37:
/usr/include/openssl/pem.h:473:1: note: declared here
  473 | 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:31,
                 from /usr/include/openssl/x509.h:37:
/usr/include/openssl/dh.h:214:27: note: declared here
  214 | 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:211:28: note: declared here
  211 | 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:1733:12: note: declared here
 1733 | __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:473:1: note: declared here
  473 | 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:214:27: note: declared here
  214 | 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:211:28: note: declared here
  211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
sslhelper.c: In function 'pr_ssl_info':
sslhelper.c:1966:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1966 |         c = SSL_get_current_cipher(ssl);
      |           ^
In file included from sslhelper.c:4385:
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:44,
                 from /usr/include/openssl/x509.h:29:
/usr/include/openssl/rsa.h:320:1: note: declared here
  320 | 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:289:27: note: declared here
  289 | 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:318:1: note: declared here
  318 | 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:215:27: note: declared here
  215 | 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:293:5: note: declared here
  293 | 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:264:30: note: declared here
  264 | 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:215:27: note: declared here
  215 | 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:359:27: note: declared here
  359 | 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:304:28: note: declared here
  304 | 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:3624:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 3624 |                         write(vncsock, tbuf, strlen(cookie));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslhelper.c:3630:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 3630 |                         write(vncsock, tbuf, strlen(cookie));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslhelper.c:3704:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 3704 |                                 write(vncsock, cookie, strlen(cookie));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslhelper.c:3706:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 3706 |                                         write(vncsock, buf, n);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~
sslhelper.c:3778:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 3778 |                                 write(vncsock, tbuf, strlen(tbuf));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslhelper.c:3852:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 3852 |                         write(vncsock, tbuf, strlen(tbuf));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslhelper.c:3899:49: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 3899 |                                                 write(httpsock, buf, m);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~
sslhelper.c:3900:49: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 3900 |                                                 write(httpsock, s, strlen(s));
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslhelper.c:3902:49: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 3902 |                                                 write(httpsock, q, n-m);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~
sslhelper.c:3907:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 3907 |                                         write(httpsock, buf, n);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~
sslhelper.c:3922:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 3922 |                 write(vncsock, cookie, strlen(cookie));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslhelper.c:3986:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
 3986 |                         read(certret_fd, certret_str, sbuf.st_size);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslhelper.c:4009:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
 4009 |                         read(dhret_fd, dhret_str, sbuf.st_size);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslhelper.c: In function 'watch_for_http_traffic':
sslhelper.c:3257:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 3257 |                 write(2, buf_a, *n_a);
      |                 ^~~~~~~~~~~~~~~~~~~~~
sslhelper.c: In function 'ssl_xfer':
sslhelper.c:2319:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
 2319 |                 read(csock, tmp, 12);
      |                 ^~~~~~~~~~~~~~~~~~~~
sslhelper.c: In function 'raw_xfer':
sslhelper.c:4312:45: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 4312 |                                 if (db > 1) write(2, buf, n);
      |                                             ^~~~~~~~~~~~~~~~
sslhelper.c:4344:45: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 4344 |                                 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:2102:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
 2102 |                         system(cmd);
      |                         ^~~~~~~~~~~
In file included from /usr/include/features.h:511,
                 from /usr/include/unistd.h:25,
                 from x11vnc.h:51,
                 from sslhelper.c:35:
In function 'read',
    inlined from 'add_anon_dh' at sslhelper.c:1528:10,
    inlined from 'switch_to_anon_dh' at sslhelper.c:1602:7:
/usr/include/bits/unistd.h:32:10: warning: '__read_alias' specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   32 |   return __glibc_fortify (read, __nbytes, sizeof (char),
      |          ^~~~~~~~~~~~~~~
/usr/include/bits/unistd-decl.h: In function 'switch_to_anon_dh':
/usr/include/bits/unistd-decl.h:29:16: note: in a call to function '__read_alias' declared with attribute 'access (write_only, 2, 3)'
   29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf,
      |                ^~~~~~~~~~~~~~~~~~
In function 'doloop',
    inlined from '__enc_main' at enc.h:2113:4:
enc.h:2087:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 2087 |                 cmd[0] = '\0';
      |                 ~~~~~~~^~~~~~
enc.h:2086:31: note: destination object of size 0 allocated by 'malloc'
 2086 |                 cmd = (char *)malloc(len);
      |                               ^~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-x11vnc.o `test -f 'x11vnc.c' || echo './'`x11vnc.c
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 '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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);
      |                         ^~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc -DHAVE_CONFIG_H -I. -I..      -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x11vnc-userinput.o `test -f 'userinput.c' || echo './'`userinput.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -lX11 -lXi  
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-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 '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-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 '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/misc'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.lqJqpr
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build
+ mkdir /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT
+ cd x11vnc-0.9.16
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
Making install in src
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/bin'
  /usr/bin/install -p x11vnc '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/src'
Making install in misc
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/misc'
Making install in turbovnc
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/misc/turbovnc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-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 '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/misc/turbovnc'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/misc/turbovnc'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/misc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/misc'
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/bin'
 /usr/bin/install -p Xdummy '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/bin'
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/misc'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/misc'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/misc'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/share/applications'
 /usr/bin/install -p -m 644 x11vnc.desktop '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/share/applications'
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/share/man/man1'
 /usr/bin/install -p -m 644 x11vnc.1 '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/share/man/man1'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16'
+ rm -fr /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/include
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.9.16-6.mga10 --unique-debug-suffix -0.9.16-6.mga10.x86_64 --unique-debug-src-base x11vnc-0.9.16-6.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16
find-debuginfo: starting

Extracting debug info from 1 files
DWARF-compressing 1 files
sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/x11vnc-0.9.16-6.mga10.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
mangling shebang in /usr/bin/Xdummy from /bin/sh to #!/usr/bin/sh
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: x11vnc-0.9.16-6.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pWalih
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build
+ cd x11vnc-0.9.16
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/share/doc/x11vnc
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/share/doc/x11vnc
+ cp -pr /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/AUTHORS /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/share/doc/x11vnc
+ cp -pr /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/ChangeLog /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/share/doc/x11vnc
+ cp -pr /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/NEWS /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/share/doc/x11vnc
+ cp -pr /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/README /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/share/doc/x11vnc
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.W1Qo1R
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build
+ cd x11vnc-0.9.16
+ LICENSEDIR=/home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/share/licenses/x11vnc
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/share/licenses/x11vnc
+ cp -pr /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/x11vnc-0.9.16/COPYING /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT/usr/share/licenses/x11vnc
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: application() application(x11vnc.desktop) x11vnc = 0.9.16-6.mga10 x11vnc(x86-64) = 0.9.16-6.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libX11.so.6()(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) 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) libcrypt.so.1()(64bit) libcrypt.so.1(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)
Processing files: x11vnc-debugsource-0.9.16-6.mga10.x86_64
Provides: x11vnc-debugsource = 0.9.16-6.mga10 x11vnc-debugsource(x86-64) = 0.9.16-6.mga10
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-6.mga10.x86_64
Provides: debuginfo(build-id) = 44277d4dcd359aee597e96120e26017c5554503c x11vnc-debuginfo = 0.9.16-6.mga10 x11vnc-debuginfo(x86-64) = 0.9.16-6.mga10
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-6.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/x11vnc-debuginfo-0.9.16-6.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/x11vnc-0.9.16-6.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/x11vnc-debugsource-0.9.16-6.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.crEjmR
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build
+ test -d /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/x11vnc-0.9.16-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!