Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/x11vnc.spec'], chrootPath='/var/lib/mock/f33-build-155029-43369/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/x11vnc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: extra tokens at the end of %endif directive in line 83: %endif # EL.ppc Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Wrote: /builddir/build/SRPMS/x11vnc-0.9.14-12.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/x11vnc.spec'], chrootPath='/var/lib/mock/f33-build-155029-43369/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/x11vnc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: extra tokens at the end of %endif directive in line 83: %endif # EL.ppc Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZhREBZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf x11vnc-0.9.14 + /usr/bin/gzip -dc /builddir/build/SOURCES/x11vnc-0.9.14-dev.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd x11vnc-0.9.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (x11vnc-0.9.8-disableRpath.patch):' Patch #1 (x11vnc-0.9.8-disableRpath.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .rpath --fuzz=0 patching file configure Hunk #1 succeeded at 4193 (offset 10 lines). Hunk #2 succeeded at 4243 (offset 10 lines). Hunk #3 succeeded at 4295 (offset 10 lines). Hunk #4 succeeded at 6717 (offset 12 lines). Hunk #5 succeeded at 7038 (offset 12 lines). Hunk #6 succeeded at 8081 (offset 171 lines). Hunk #7 succeeded at 8122 (offset 171 lines). Hunk #8 succeeded at 8203 (offset 171 lines). Hunk #9 succeeded at 8484 (offset 171 lines). + find -name '*.c' -o -name '*.h' -exec /usr/bin/chmod 0644 '{}' ';' + for file in README AUTHORS + iconv -f ISO-8859-1 -t UTF-8 README + touch --reference README README.new + mv README.new README + for file in README AUTHORS + iconv -f ISO-8859-1 -t UTF-8 AUTHORS + touch --reference AUTHORS AUTHORS.new + mv AUTHORS.new AUTHORS + find -name '*.jar' -exec rm '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hPkTn1 + umask 022 + cd /builddir/build/BUILD + cd x11vnc-0.9.14 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-system-libvncserver --without-tightvnc-filetransfer checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking whether gcc and cc understand -c and -o together... yes checking whether make sets $(MAKE)... (cached) yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for ar... /usr/bin/ar checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking thenonexistentheader.h usability... no checking thenonexistentheader.h presence... no checking for thenonexistentheader.h... no checking for X... no checking for XGetImage in -lX11... yes checking for XShmGetImage in -lXext... yes checking for XReadScreen in -lXext... no checking for X11/extensions/readdisplay.h... no checking for 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 crypt... no checking for crypt in -lcrypt... yes checking for RAND_file_name in -lcrypto... yes checking for SSL_library_init in -lssl... no configure: WARNING: ========================================================================== *** The openssl encryption library libssl.so was not found. *** An x11vnc built this way will not support SSL encryption. To enable SSL install the necessary development packages (perhaps it is named something like libssl-dev) and run configure again. ========================================================================== checking linux/videodev.h usability... no checking linux/videodev.h presence... no checking for linux/videodev.h... no checking linux/fb.h usability... yes checking linux/fb.h presence... yes checking for linux/fb.h... yes checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking for linux/uinput.h... yes checking OpenGL/OpenGL.h usability... no checking OpenGL/OpenGL.h presence... no checking for OpenGL/OpenGL.h... no checking for avahi... yes checking for system libvncserver... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for jpeg_CreateCompress in -ljpeg... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for deflate in -lz... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_mutex_lock in -lpthread... yes checking for pthread_mutex_lock in -lpthread... (cached) yes checking for __thread... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for ANSI C header files... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking ws2tcpip.h usability... no checking ws2tcpip.h presence... no checking for ws2tcpip.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/stropts.h usability... no checking sys/stropts.h presence... no 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 whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for socklen_t... yes checking for stdint-types....... "(putting them into rfb/rfbint.h)" checking for uintptr_t... yes checking for uint64_t... yes ... seen our uintptr_t in stdint.h (uint64_t too) creating rfb/rfbint.h : _RFB_RFBINT_H checking for int_least32_t... yes checking for int_fast32_t... yes ..adding include stdint.h ... seen good stdint.h inttypes ... seen good uint64_t ... DONE rfb/rfbint.h checking for in_addr_t... checking for working memcmp... yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for pid_t... yes checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... 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... 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... yes checking for shmget in -lcygipc... no checking ApplicationServices/ApplicationServices.h usability... no checking ApplicationServices/ApplicationServices.h presence... no checking for ApplicationServices/ApplicationServices.h... no checking for rpm sources path... NOT-FOUND with-system-libvncserver: moving aside headers rfb.h rfbclient.h rfbproto.h rfbregion.h rfbint.h with-system-libvncserver: moving rfb/rfb.h to rfb/rfb.h.ORIG with-system-libvncserver: moving rfb/rfbclient.h to rfb/rfbclient.h.ORIG with-system-libvncserver: moving rfb/rfbproto.h to rfb/rfbproto.h.ORIG with-system-libvncserver: moving rfb/rfbregion.h to rfb/rfbregion.h.ORIG with-system-libvncserver: moving rfb/rfbint.h to rfb/rfbint.h.ORIG with-system-libvncserver: *NOTE* move them back manually to start over. configure: creating ./config.status config.status: creating Makefile config.status: creating libvncserver/Makefile config.status: creating classes/Makefile config.status: creating classes/ssl/Makefile config.status: creating libvncclient/Makefile config.status: creating x11vnc.spec config.status: creating x11vnc/Makefile config.status: creating x11vnc/misc/Makefile config.status: creating x11vnc/misc/turbovnc/Makefile config.status: creating rfbconfig.h config.status: executing rfb/rfbconfig.h commands config.status: creating rfb/rfbconfig.h - prefix LIBVNCSERVER for rfbconfig.h defines config.status: executing depfiles commands + pushd classes/ssl/src ~/build/BUILD/x11vnc-0.9.14/classes/ssl/src ~/build/BUILD/x11vnc-0.9.14 + /usr/bin/make -j4 rm -rf *.jar */*.class javac is /usr/bin/javac jar is /usr/bin/jar jarsigner is /usr/bin/jarsigner cd ./tight || exit 1; javac -target 1.4 -source 1.4 *.java; jar cvf ../VncViewer.jar *.class warning: [options] bootstrap class path not set in conjunction with -source 1.4 warning: [options] source value 1.4 is obsolete and will be removed in a future release warning: [options] target value 1.4 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 4 warnings added manifest adding: AuthPanel.class(in = 4744) (out= 2696)(deflated 43%) adding: AuthUnixLoginPanel.class(in = 3963) (out= 2216)(deflated 44%) adding: Base64Coder.class(in = 1951) (out= 1220)(deflated 37%) adding: BrowserCertsDialog.class(in = 3375) (out= 1786)(deflated 47%) adding: ButtonPanel.class(in = 2971) (out= 1635)(deflated 44%) adding: CapabilityInfo.class(in = 1188) (out= 641)(deflated 46%) adding: CapsContainer.class(in = 1888) (out= 996)(deflated 47%) adding: CertInfo.class(in = 1354) (out= 833)(deflated 38%) adding: ClientCertDialog.class(in = 1864) (out= 1054)(deflated 43%) adding: ClipboardFrame.class(in = 2499) (out= 1251)(deflated 49%) adding: DesCipher.class(in = 7822) (out= 4100)(deflated 47%) adding: HTTPConnectSocket.class(in = 1254) (out= 720)(deflated 42%) adding: HTTPConnectSocketFactory.class(in = 1909) (out= 956)(deflated 49%) adding: OptionsFrame.class(in = 7193) (out= 3803)(deflated 47%) adding: ProxyDialog.class(in = 2671) (out= 1527)(deflated 42%) adding: ProxyPasswdDialog.class(in = 2684) (out= 1514)(deflated 43%) adding: RecordingFrame.class(in = 5916) (out= 3140)(deflated 46%) adding: ReloginPanel.class(in = 1361) (out= 769)(deflated 43%) adding: RfbProto.class(in = 19993) (out= 10085)(deflated 49%) adding: SSLSocketToMe$1.class(in = 783) (out= 480)(deflated 38%) adding: SSLSocketToMe$2.class(in = 2482) (out= 1181)(deflated 52%) adding: SSLSocketToMe$3.class(in = 2513) (out= 1197)(deflated 52%) adding: SSLSocketToMe$4.class(in = 2412) (out= 1132)(deflated 53%) adding: SSLSocketToMe.class(in = 21927) (out= 11181)(deflated 49%) adding: SessionRecorder.class(in = 2614) (out= 1344)(deflated 48%) adding: SocketFactory.class(in = 317) (out= 188)(deflated 40%) adding: TrustDialog.class(in = 6359) (out= 3464)(deflated 45%) adding: VncCanvas.class(in = 22211) (out= 11342)(deflated 48%) adding: VncViewer.class(in = 16986) (out= 8986)(deflated 47%) cd ./tight || exit 1; \ rm -f *.class; \ mv VncViewer.java VncViewer.java.SSL; \ sed -e 's/disableSSL = false/disableSSL = true/' VncViewer.java.SSL > VncViewer.java; \ javac -target 1.4 -source 1.4 *.java; jar cvf ../VncViewerNOSSL.jar *.class; \ mv VncViewer.java.SSL VncViewer.java; warning: [options] bootstrap class path not set in conjunction with -source 1.4 warning: [options] source value 1.4 is obsolete and will be removed in a future release warning: [options] target value 1.4 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 4 warnings added manifest adding: AuthPanel.class(in = 4744) (out= 2696)(deflated 43%) adding: AuthUnixLoginPanel.class(in = 3963) (out= 2216)(deflated 44%) adding: Base64Coder.class(in = 1951) (out= 1220)(deflated 37%) adding: BrowserCertsDialog.class(in = 3375) (out= 1786)(deflated 47%) adding: ButtonPanel.class(in = 2971) (out= 1635)(deflated 44%) adding: CapabilityInfo.class(in = 1188) (out= 641)(deflated 46%) adding: CapsContainer.class(in = 1888) (out= 996)(deflated 47%) adding: CertInfo.class(in = 1354) (out= 833)(deflated 38%) adding: ClientCertDialog.class(in = 1864) (out= 1054)(deflated 43%) adding: ClipboardFrame.class(in = 2499) (out= 1251)(deflated 49%) adding: DesCipher.class(in = 7822) (out= 4100)(deflated 47%) adding: HTTPConnectSocket.class(in = 1254) (out= 720)(deflated 42%) adding: HTTPConnectSocketFactory.class(in = 1909) (out= 956)(deflated 49%) adding: OptionsFrame.class(in = 7193) (out= 3803)(deflated 47%) adding: ProxyDialog.class(in = 2671) (out= 1527)(deflated 42%) adding: ProxyPasswdDialog.class(in = 2684) (out= 1514)(deflated 43%) adding: RecordingFrame.class(in = 5916) (out= 3140)(deflated 46%) adding: ReloginPanel.class(in = 1361) (out= 769)(deflated 43%) adding: RfbProto.class(in = 19993) (out= 10085)(deflated 49%) adding: SSLSocketToMe$1.class(in = 783) (out= 480)(deflated 38%) adding: SSLSocketToMe$2.class(in = 2482) (out= 1181)(deflated 52%) adding: SSLSocketToMe$3.class(in = 2513) (out= 1197)(deflated 52%) adding: SSLSocketToMe$4.class(in = 2412) (out= 1132)(deflated 53%) adding: SSLSocketToMe.class(in = 21927) (out= 11181)(deflated 49%) adding: SessionRecorder.class(in = 2614) (out= 1344)(deflated 48%) adding: SocketFactory.class(in = 317) (out= 188)(deflated 40%) adding: TrustDialog.class(in = 6359) (out= 3464)(deflated 45%) adding: VncCanvas.class(in = 22211) (out= 11342)(deflated 48%) adding: VncViewer.class(in = 16986) (out= 8986)(deflated 47%) cd ./ultra || exit 1; javac -target 1.4 -source 1.4 *.java; jar cvf ../UltraViewerSSL.jar *.class warning: [options] bootstrap class path not set in conjunction with -source 1.4 warning: [options] source value 1.4 is obsolete and will be removed in a future release warning: [options] target value 1.4 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 4 warnings added manifest adding: AuthPanel.class(in = 2845) (out= 1603)(deflated 43%) adding: Base64Coder.class(in = 1951) (out= 1220)(deflated 37%) adding: BrowserCertsDialog.class(in = 3375) (out= 1786)(deflated 47%) adding: ButtonPanel.class(in = 3555) (out= 1980)(deflated 44%) adding: CertInfo.class(in = 1354) (out= 833)(deflated 38%) adding: ClientCertDialog.class(in = 1864) (out= 1054)(deflated 43%) adding: ClipboardFrame.class(in = 2499) (out= 1252)(deflated 49%) adding: DH.class(in = 2400) (out= 1458)(deflated 39%) adding: DesCipher.class(in = 8241) (out= 4325)(deflated 47%) adding: FTPFrame$1.class(in = 763) (out= 534)(deflated 30%) adding: FTPFrame$2.class(in = 611) (out= 428)(deflated 29%) adding: FTPFrame$3.class(in = 1061) (out= 626)(deflated 40%) adding: FTPFrame$4.class(in = 1061) (out= 635)(deflated 40%) adding: FTPFrame.class(in = 29661) (out= 14369)(deflated 51%) adding: OptionsFrame.class(in = 6864) (out= 3606)(deflated 47%) adding: ProxyDialog.class(in = 2671) (out= 1527)(deflated 42%) adding: ProxyPasswdDialog.class(in = 2684) (out= 1514)(deflated 43%) adding: RecordingFrame.class(in = 5906) (out= 3137)(deflated 46%) adding: RfbProto.class(in = 31945) (out= 16318)(deflated 48%) adding: SSLSocketToMe$1.class(in = 783) (out= 480)(deflated 38%) adding: SSLSocketToMe$2.class(in = 2482) (out= 1181)(deflated 52%) adding: SSLSocketToMe$3.class(in = 2513) (out= 1197)(deflated 52%) adding: SSLSocketToMe$4.class(in = 2412) (out= 1132)(deflated 53%) adding: SSLSocketToMe.class(in = 21927) (out= 11181)(deflated 49%) adding: SessionRecorder.class(in = 2614) (out= 1344)(deflated 48%) adding: TextViewer$1.class(in = 508) (out= 357)(deflated 29%) adding: TextViewer$2.class(in = 486) (out= 337)(deflated 30%) adding: TextViewer.class(in = 4325) (out= 2395)(deflated 44%) adding: TrustDialog.class(in = 6359) (out= 3464)(deflated 45%) adding: VncCanvas.class(in = 22711) (out= 11543)(deflated 49%) adding: VncViewer$1.class(in = 845) (out= 551)(deflated 34%) adding: VncViewer.class(in = 20666) (out= 11054)(deflated 46%) cp -p VncViewer.jar SignedVncViewer.jar cp -p UltraViewerSSL.jar SignedUltraViewerSSL.jar jarsigner -keystore ./keystore0 -storepass abcdef SignedVncViewer.jar swkey jar signed. Warning: The signer's certificate is self-signed. jarsigner -keystore ./keystore0 -storepass abcdef SignedUltraViewerSSL.jar swkey jar signed. Warning: The signer's certificate is self-signed. + for jarfile in *.jar + ln -s src/SignedUltraViewerSSL.jar ../ + ln -s ssl/src/SignedUltraViewerSSL.jar ../../ + for jarfile in *.jar + ln -s src/SignedVncViewer.jar ../ + ln -s ssl/src/SignedVncViewer.jar ../../ + for jarfile in *.jar + ln -s src/UltraViewerSSL.jar ../ + ln -s ssl/src/UltraViewerSSL.jar ../../ + for jarfile in *.jar + ln -s src/VncViewer.jar ../ + ln -s ssl/src/VncViewer.jar ../../ + for jarfile in *.jar + ln -s src/VncViewerNOSSL.jar ../ + ln -s ssl/src/VncViewerNOSSL.jar ../../ + popd ~/build/BUILD/x11vnc-0.9.14 + /usr/bin/make -j4 /usr/bin/make all-recursive make[1]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.14' Making all in x11vnc make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.14/x11vnc' Making all in misc make[3]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/misc' Making all in turbovnc make[4]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/misc/turbovnc' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/misc/turbovnc' make[4]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/misc' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/misc' make[3]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/misc' make[3]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.14/x11vnc' gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-8to24.o `test -f '8to24.c' || echo './'`8to24.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-appshare.o `test -f 'appshare.c' || echo './'`appshare.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-avahi.o `test -f 'avahi.c' || echo './'`avahi.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-cleanup.o `test -f 'cleanup.c' || echo './'`cleanup.c appshare.c: In function 'stop': appshare.c:533:2: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 533 | system(cmd); | ^~~~~~~~~~~ appshare.c:537:2: 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:2: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 497 | system(cmd); | ^~~~~~~~~~~ avahi.c: In function 'avahi_initialise': avahi.c:219:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 219 | if (db) fprintf(stderr, "in avahi_initialise\n"); | ^~ avahi.c:220:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 220 | if (_poll) { | ^~ avahi.c: In function '_avahi_entry_group_callback': avahi.c:260:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 260 | if (db) fprintf(stderr, "in _avahi_entry_group_callback %d 0x%p\n", state, svc); | ^~ avahi.c:261:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 261 | if (g != _group && _group != NULL) { | ^~ avahi.c:279:39: warning: passing argument 2 of '_avahi_create_services' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 279 | _avahi_create_services(new_name, svc->host, svc->port); | ~~~^~~~~~ avahi.c:252:54: note: expected 'char *' but argument is of type 'const char *' 252 | static void _avahi_create_services(char *name, char *host, | ~~~~~~^~~~ avahi.c: In function '_avahi_create_services': avahi.c:298:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 298 | if (db) fprintf(stderr, "in _avahi_create_services '%s' '%s' %d\n", name, host, port); | ^~ avahi.c:299:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 299 | svc->name = name; | ^~~ avahi.c: In function 'avahi_advertise': avahi.c:338:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 338 | if (db) fprintf(stderr, "in avahi_advertise: '%s' '%s' %d\n", name, host, port); | ^~ avahi.c:339:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 339 | if (!_client) { | ^~ avahi.c: In function 'avahi_reset': avahi.c:381:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 381 | if (db) fprintf(stderr, "in avahi_reset\n"); | ^~ avahi.c:382:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 382 | for (i=0; i 1) write(2, buf, n); | ^~~~~~~~~~~~~~~~ sslhelper.c:4369:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 4369 | if (db > 1) write(2, buf, n); | ^~~~~~~~~~~~~~~~ In file included from sslhelper.c:4410: enc.h: In function 'doloop': enc.h:2050:4: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2050 | system(cmd); | ^~~~~~~~~~~ At top level: sslhelper.c:4412:13: warning: 'symmetric_encryption_xfer' defined but not used [-Wunused-function] 4412 | static void symmetric_encryption_xfer(int csock, int s_in, int s_out) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sslhelper.c:4410: enc.h:612:13: warning: 'enc_raw_xfer' defined but not used [-Wunused-function] 612 | static void enc_raw_xfer(int sock_fr, int sock_to) { | ^~~~~~~~~~~~ In file included from sslhelper.c:4410: enc.h:318:14: warning: 'securevnc_file' defined but not used [-Wunused-variable] 318 | static char *securevnc_file = NULL; | ^~~~~~~~~~~~~~ enc.h:317:12: warning: 'securevnc_arc4' defined but not used [-Wunused-variable] 317 | static int securevnc_arc4 = 0; | ^~~~~~~~~~~~~~ enc.h:316:12: warning: 'securevnc' defined but not used [-Wunused-variable] 316 | static int securevnc = 0; | ^~~~~~~~~ enc.h:284:12: warning: 'ivec_size' defined but not used [-Wunused-variable] 284 | static int ivec_size = IVEC; | ^~~~~~~~~ enc.h:283:12: warning: 'salt_size' defined but not used [-Wunused-variable] 283 | static int salt_size = SALT; | ^~~~~~~~~ enc.h:275:12: warning: 'keydata_len' defined but not used [-Wunused-variable] 275 | static int keydata_len; | ^~~~~~~~~~~ enc.h:274:13: warning: 'keydata' defined but not used [-Wunused-variable] 274 | static char keydata[1024]; | ^~~~~~~ enc.h:270:12: warning: 'pw_in' defined but not used [-Wunused-variable] 270 | static int pw_in = 0; /* pw=.... read in */ | ^~~~~ enc.h:269:12: warning: 'nomd' defined but not used [-Wunused-variable] 269 | static int nomd = 0; /* use the keydata directly, no md5 or salt */ | ^~~~ enc.h:268:12: warning: 'noultra' defined but not used [-Wunused-variable] 268 | static int noultra = 0; /* manage salt/iv differently from ultradsm */ | ^~~~~~~ enc.h:267:12: warning: 'msrc4_sc' defined but not used [-Wunused-variable] 267 | static int msrc4_sc = 0; /* enables workaround for SC I/II */ | ^~~~~~~~ enc.h:266:12: warning: 'reverse' defined but not used [-Wunused-variable] 266 | static int reverse = 0; /* listening connection */ | ^~~~~~~ enc.h:265:14: warning: 'cipher' defined but not used [-Wunused-variable] 265 | static char *cipher = NULL; /* name of cipher, e.g. "aesv2" */ | ^~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-unixpw.o `test -f 'unixpw.c' || echo './'`unixpw.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-user.o `test -f 'user.c' || echo './'`user.c unixpw.c: In function 'white_pixel': unixpw.c:361:23: warning: variable 'black_pix' set but not used [-Wunused-but-set-variable] 361 | static unsigned long black_pix = 0, white_pix = 1, set = 0; | ^~~~~~~~~ unixpw.c: In function 'black_pixel': unixpw.c:382:38: warning: variable 'white_pix' set but not used [-Wunused-but-set-variable] 382 | static unsigned long black_pix = 0, white_pix = 1, set = 0; | ^~~~~~~~~ In file included from /usr/include/string.h:495, from /usr/include/rfb/rfb.h:43, from x11vnc.h:65, from sslhelper.c:35: In function 'strncpy', inlined from 'accept_openssl' at sslhelper.c:4097:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 100 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unixpw.c: In function 'su_verify': unixpw.c:1059:7: warning: variable 'ttyfd' set but not used [-Wunused-but-set-variable] 1059 | int ttyfd; | ^~~~~ unixpw.c:1356:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 1356 | if (db) fprintf(stderr, "\nwriting input len: %d\n", strlen(input)); | ~^ ~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld unixpw.c: In function 'unixpw_verify_screen': unixpw.c:1587:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1587 | if (db) fprintf(stderr, "unixpw_verify: '%s' '%s'\n", user, db > 1 ? pass : "********"); | ^~ unixpw.c:1588:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1588 | rfbLog("unixpw_verify: '%s'\n", user ? user : "(null)"); | ^~~~~~ unixpw.c: In function 'apply_opts': unixpw.c:2071:9: warning: variable 'notmode' set but not used [-Wunused-but-set-variable] 2071 | int i, notmode = 0; | ^~~~~~~ unixpw.c: In function 'try_to_be_nobody': unixpw.c:648:3: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 648 | setuid(pw->pw_uid); | ^~~~~~~~~~~~~~~~~~ unixpw.c:651:3: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 651 | seteuid(pw->pw_uid); | ^~~~~~~~~~~~~~~~~~~ unixpw.c:654:3: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 654 | setgid(pw->pw_gid); | ^~~~~~~~~~~~~~~~~~ unixpw.c:657:3: 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:1124:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1124 | system(nam); | ^~~~~~~~~~~ unixpw.c:1126:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1126 | write(tfd, "NOTTTY\n", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~~ unixpw.c:1131:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1131 | chdir("/"); | ^~~~~~~~~~ unixpw.c:1161:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1161 | write(2, "C", 1); | ^~~~~~~~~~~~~~~~ unixpw.c:1256:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1256 | system(cmd0); | ^~~~~~~~~~~~ unixpw.c:1258:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1258 | system(cmd0); | ^~~~~~~~~~~~ unixpw.c:1343:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1343 | write(fd, pass+k, 1); | ^~~~~~~~~~~~~~~~~~~~ unixpw.c:1347:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1347 | write(fd, pass, strlen(pass)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unixpw.c:1357:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1357 | write(fd, input, strlen(input)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unixpw.c: In function 'check_unixpw_userprefs': unixpw.c:1551:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1551 | fgets(buf, 1024, f); | ^~~~~~~~~~~~~~~~~~~ user.c: In function 'do_run_cmd': user.c:2779:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2779 | if (db) fprintf(stderr, "line1=%s\n", line1); | ^~ user.c:2781:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2781 | if (strstr(line1, "DISPLAY=") != line1) { | ^~ user.c:2467:6: warning: variable 'internal_cmd' set but not used [-Wunused-but-set-variable] 2467 | int internal_cmd = 0; | ^~~~~~~~~~~~ user.c: In function 'setup_cmd': user.c:1902:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1902 | write(fd, find_display, strlen(find_display)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:1911:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1911 | system(com); | ^~~~~~~~~~~ user.c: In function 'vnc_redirect_timeout': user.c:1395:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1395 | write(2, "timeout: no clients connected.\n", 31); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function 'do_run_cmd': user.c:2508:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2508 | write(tmp_fd, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:2510:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2510 | write(tmp_fd, find_display, strlen(find_display)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:2573:37: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2573 | if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprintf(stderr, "res=%d n=%d\n", res, n);} | ^~~~~~~~~~~~~~~~~ user.c:2573:56: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2573 | if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprintf(stderr, "res=%d n=%d\n", res, n);} | ^~~~~~~~~~~~~~~~~ user.c:2678:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2678 | if (db) write(2, line, 100); | ^~~~~~~~~~~~~~~~~~~ user.c:2854:1: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2854 | write(2, xauth_raw_data, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function 'do_chvt': user.c:1404:2: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1404 | system(chvt); | ^~~~~~~~~~~~ user.c: In function 'do_vnc_redirect': user.c:1873:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1873 | write(vnc_redirect_sock, vnc_redirect_test, vnc_redirect_cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function 'get_login_list': user.c:207:19: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] 207 | sprintf(tmp, ":%d", d); | ^~ user.c:207:17: note: directive argument in the range [-2147483648, 999] 207 | sprintf(tmp, ":%d", d); | ^~~~~ In file included from /usr/include/stdio.h:871, from /usr/include/rfb/rfb.h:41, from x11vnc.h:65, from user.c:35: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 13 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-userinput.o `test -f 'userinput.c' || echo './'`userinput.c In file included from /usr/include/string.h:495, from /usr/include/rfb/rfb.h:43, from x11vnc.h:65, from unixpw.c:46: In function 'strncpy', inlined from 'apply_opts' at unixpw.c:2142:6, inlined from 'unixpw_accept' at unixpw.c:2156:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 10 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from /usr/include/rfb/rfb.h:43, from x11vnc.h:65, from user.c:35: In function 'strncpy', inlined from 'do_run_cmd.constprop' at user.c:2624:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 100 bytes from a string of length 1023 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userinput.c: In function 'initialize_scroll_term': userinput.c:761:9: warning: variable 's' set but not used [-Wunused-but-set-variable] 761 | char *s = scroll_good_all[n++]; | ^ userinput.c: In function 'direct_fb_copy': userinput.c:1076:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1076 | if (db) dtime0(&tm); | ^~ userinput.c:1078:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1078 | x1 = nfix(x1, dpy_x); | ^~ userinput.c: In function 'set_ypad': userinput.c:1308:30: warning: the address of 'xrecord_name_info' will always evaluate as 'true' [-Waddress] 1308 | if (!xrecord_set_by_keys || !xrecord_name_info) { | ^ userinput.c: In function 'push_scr_ev': userinput.c:1482:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1482 | if (db) fprintf(stderr, "ypad: %d dy[0]: %d ev_tot: %d\n", ypad, scr_ev[0].dy, ev_tot); | ^~ userinput.c:1484:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1484 | for (ev=0; ev < ev_tot; ev++) { | ^~~ userinput.c:1797:11: warning: variable 'trate' set but not used [-Wunused-but-set-variable] 1797 | double trate; | ^~~~~ In file included from x11vnc.h:698, from userinput.c:35: userinput.c: In function 'batch_copyregion': util.h:83:2: warning: macro expands to multiple statements [-Wmultistatement-macros] 83 | _mysleep.tv_sec = (x) / 1000000; \ | ^~~~~~~~ util.h:88:16: note: in expansion of macro 'usleep2' 88 | #define usleep usleep2 | ^~~~~~~ userinput.c:2123:20: note: in expansion of macro 'usleep' 2123 | if (use_threads) usleep(100 * 1000); | ^~~~~~ userinput.c:2123:3: note: some parts of macro expansion are not guarded by this 'if' clause 2123 | if (use_threads) usleep(100 * 1000); | ^~ userinput.c: In function 'fb_push': userinput.c:2240:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2240 | if (db) get_client_regions(&req0, &mod0, &cpy0, &ncli); | ^~ userinput.c:2242:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2242 | i = rfbGetClientIterator(screen); | ^ userinput.c: In function 'check_xrecord_keys': userinput.c:2615:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2615 | if (0) link = link_rate(&latency, &netrate); | ^~ userinput.c:2617:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2617 | gk = gk0 = got_keyboard_input; | ^~ userinput.c:2693:17: warning: variable 'last_scr_ev' set but not used [-Wunused-but-set-variable] 2693 | static double last_scr_ev = 0.0; | ^~~~~~~~~~~ userinput.c:2539:6: warning: variable 'link' set but not used [-Wunused-but-set-variable] 2539 | int link, latency, netrate; | ^~~~ userinput.c:2535:30: warning: variable 'scroll_rep' set but not used [-Wunused-but-set-variable] 2535 | int scr_cnt = 0, input = 0, scroll_rep; | ^~~~~~~~~~ userinput.c: In function 'check_xrecord_mouse': userinput.c:2785:16: warning: variable 'last_mouse_scroll' set but not used [-Wunused-but-set-variable] 2785 | static double last_mouse_scroll = 0.0; | ^~~~~~~~~~~~~~~~~ userinput.c: In function 'try_copyrect': userinput.c:3181:6: warning: variable 'db' set but not used [-Wunused-but-set-variable] 3181 | int db = 0; \ | ^~ userinput.c:3206:2: note: in expansion of macro 'DB_SET' 3206 | DB_SET | ^~~~~~ userinput.c: In function 'check_fixscreen': userinput.c:3620:17: warning: variable 'last' set but not used [-Wunused-but-set-variable] 3620 | static double last = 0.0; | ^~~~ userinput.c: In function 'ncache_pre_portions': userinput.c:3842:7: warning: variable 'bs_h' set but not used [-Wunused-but-set-variable] 3842 | int bs_h = cache_list[nidx].bs_h; | ^~~~ userinput.c:3841:7: warning: variable 'bs_w' set but not used [-Wunused-but-set-variable] 3841 | int bs_w = cache_list[nidx].bs_w; | ^~~~ userinput.c: In function 'ncache_post_portions': userinput.c:4025:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4025 | if (db && ncdb) fprintf(stderr, "FB_COPY: %.4f 3) sent_copyrect: su_restore: %d %d\n", dnow() - ntim, dx, dy); | ^~ userinput.c:4026:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4026 | if (cache_list[nidx].su_time == 0.0) { | ^~ userinput.c:4039:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4039 | if (db && ncdb) fprintf(stderr, "sent_copyrect: %.4f su_restore: done.\n", dnow() - ntim); | ^~ userinput.c:4040:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4040 | sraRgnDestroy(r0); | ^~~~~~~~~~~~~ userinput.c: In function 'check_wireframe': userinput.c:4494:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4494 | if (db) fprintf(stderr, "a: %d wf: %.3f A: %d origfrm: 0x%lx\n", w*h, wireframe_frac, (dpy_x*dpy_y), frame); | ^~ userinput.c:4500:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4500 | if ((double) w*h < wireframe_frac * (dpy_x * dpy_y)) { | ^~ userinput.c:4504:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4504 | if (db) fprintf(stderr, " frame: x: %d y: %d w: %d h: %d px: %d py: %d fr: 0x%lx\n", x, y, w, h, px, py, frame); | ^~ userinput.c:4511:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4511 | try_it = near_wm_edge(x, y, w, h, px, py); | ^~~~~~ userinput.c:4418:16: warning: variable 'last_save_stacklist' set but not used [-Wunused-but-set-variable] 4418 | static time_t last_save_stacklist = 0; | ^~~~~~~~~~~~~~~~~~~ userinput.c: In function 'check_user_input3': userinput.c:5375:7: warning: variable 'got_input' set but not used [-Wunused-but-set-variable] 5375 | int got_input = 0; | ^~~~~~~~~ userinput.c:5334:29: warning: variable 'to' set but not used [-Wunused-but-set-variable] 5334 | double spin, spin_max, tm, to, dtm; | ^~ userinput.c: In function 'check_user_input4': userinput.c:5611:7: warning: variable 'got_input' set but not used [-Wunused-but-set-variable] 5611 | int got_input = 0; | ^~~~~~~~~ userinput.c:5499:13: warning: variable 'ssec' set but not used [-Wunused-but-set-variable] 5499 | static int ssec = 0, total_calls = 0; | ^~~~ userinput.c:5486:32: warning: variable 'rpe_last' set but not used [-Wunused-but-set-variable] 5486 | double spin, tm, to, tc, dtm, rpe_last; | ^~~~~~~~ userinput.c: In function 'snapshot_cache_list': userinput.c:5817:33: warning: variable 'last_free' set but not used [-Wunused-but-set-variable] 5817 | static double last_snap = 0.0, last_free = 0.0; | ^~~~~~~~~ userinput.c: In function 'bs_save': userinput.c:7194:15: warning: variable 'h' set but not used [-Wunused-but-set-variable] 7194 | int x, y, w, h; | ^ userinput.c:7194:12: warning: variable 'w' set but not used [-Wunused-but-set-variable] 7194 | int x, y, w, h; | ^ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-util.o `test -f 'util.c' || echo './'`util.c userinput.c: In function 'su_save': userinput.c:7300:15: warning: variable 'h' set but not used [-Wunused-but-set-variable] 7300 | int x, y, w, h; | ^ userinput.c:7300:12: warning: variable 'w' set but not used [-Wunused-but-set-variable] 7300 | int x, y, w, h; | ^ userinput.c: In function 'try_to_fix_resize_su': userinput.c:7847:21: warning: variable 'bh1' set but not used [-Wunused-but-set-variable] 7847 | int bx1, by1, bw1, bh1; | ^~~ userinput.c:7847:16: warning: variable 'bw1' set but not used [-Wunused-but-set-variable] 7847 | int bx1, by1, bw1, bh1; | ^~~ userinput.c:7847:11: warning: variable 'by1' set but not used [-Wunused-but-set-variable] 7847 | int bx1, by1, bw1, bh1; | ^~~ userinput.c:7847:6: warning: variable 'bx1' set but not used [-Wunused-but-set-variable] 7847 | int bx1, by1, bw1, bh1; | ^~~ userinput.c:7846:21: warning: variable 'sh1' set but not used [-Wunused-but-set-variable] 7846 | int sx1, sy1, sw1, sh1, dx, dy; | ^~~ userinput.c:7846:16: warning: variable 'sw1' set but not used [-Wunused-but-set-variable] 7846 | int sx1, sy1, sw1, sh1, dx, dy; | ^~~ userinput.c: In function 'try_to_fix_su': userinput.c:7981:6: warning: variable 'moved' set but not used [-Wunused-but-set-variable] 7981 | int moved = 0; | ^~~~~ userinput.c:7978:18: warning: variable 'h1' set but not used [-Wunused-but-set-variable] 7978 | int x1, y1, w1, h1; | ^~ userinput.c:7978:14: warning: variable 'w1' set but not used [-Wunused-but-set-variable] 7978 | int x1, y1, w1, h1; | ^~ userinput.c:7977:18: warning: variable 'h0' set but not used [-Wunused-but-set-variable] 7977 | int x0, y0, w0, h0; | ^~ userinput.c:7977:14: warning: variable 'w0' set but not used [-Wunused-but-set-variable] 7977 | int x0, y0, w0, h0; | ^~ userinput.c: In function 'try_to_synthesize_su': userinput.c:8526:18: warning: variable 'h3' set but not used [-Wunused-but-set-variable] 8526 | int x3, y3, w3, h3; | ^~ userinput.c:8526:14: warning: variable 'w3' set but not used [-Wunused-but-set-variable] 8526 | int x3, y3, w3, h3; | ^~ userinput.c:8524:18: warning: variable 'h1' set but not used [-Wunused-but-set-variable] 8524 | int x1, y1, w1, h1; | ^~ userinput.c:8524:14: warning: variable 'w1' set but not used [-Wunused-but-set-variable] 8524 | int x1, y1, w1, h1; | ^~ userinput.c:8523:18: warning: variable 'h0' set but not used [-Wunused-but-set-variable] 8523 | int x0, y0, w0, h0; | ^~ userinput.c:8523:14: warning: variable 'w0' set but not used [-Wunused-but-set-variable] 8523 | int x0, y0, w0, h0; | ^~ userinput.c: In function 'check_ncache': userinput.c:9319:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 9319 | if (ncdb) fprintf(stderr, "\n"); if (ncdb) rfbLog("IN check_ncache() %d events. %.4f\n", n, now - x11vnc_start); | ^~ userinput.c:9319:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 9319 | if (ncdb) fprintf(stderr, "\n"); if (ncdb) rfbLog("IN check_ncache() %d events. %.4f\n", n, now - x11vnc_start); | ^~ userinput.c:8954:18: warning: variable 'ttot' set but not used [-Wunused-but-set-variable] 8954 | int pixels = 0, ttot; | ^~~~ util.c: In function 'do_allinput': util.c:513:7: warning: variable 'usec0' set but not used [-Wunused-but-set-variable] 513 | long usec0; | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-v4l.o `test -f 'v4l.c' || echo './'`v4l.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-win_utils.o `test -f 'win_utils.c' || echo './'`win_utils.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-x11vnc.o `test -f 'x11vnc.c' || echo './'`x11vnc.c v4l.c:1422:12: warning: 'lookup_station' defined but not used [-Wunused-function] 1422 | static int lookup_station(unsigned long freq) { | ^~~~~~~~~~~~~~ v4l.c:1409:22: warning: 'lookup_freq' defined but not used [-Wunused-function] 1409 | static unsigned long lookup_freq(int sta) { | ^~~~~~~~~~~ v4l.c:1067:12: warning: 'open_dev' defined but not used [-Wunused-function] 1067 | static int open_dev(char *dev) { | ^~~~~~~~ v4l.c:802:14: warning: 'v4l2_lu_palette' defined but not used [-Wunused-function] 802 | static char *v4l2_lu_palette(unsigned int fmt) { | ^~~~~~~~~~~~~~~ v4l.c:750:14: warning: 'v4l1_lu_palette' defined but not used [-Wunused-function] 750 | static char *v4l1_lu_palette(unsigned short palette) { | ^~~~~~~~~~~~~~~ v4l.c:436:12: warning: 'v4l1_dpct' defined but not used [-Wunused-function] 436 | static int v4l1_dpct(int old, int d) { | ^~~~~~~~~ v4l.c:234:13: warning: 'v4l1_set_input' defined but not used [-Wunused-function] 234 | static void v4l1_set_input(int fd, int which) { | ^~~~~~~~~~~~~~ v4l.c:214:13: warning: 'v4l1_setfreq' defined but not used [-Wunused-function] 214 | static void v4l1_setfreq(int fd, unsigned long freq, int verb) { | ^~~~~~~~~~~~ v4l.c:173:12: warning: 'v4l1_resize' defined but not used [-Wunused-function] 173 | static int v4l1_resize(int fd, int w, int h) { | ^~~~~~~~~~~ v4l.c:159:12: warning: 'v4l1_height' defined but not used [-Wunused-function] 159 | static int v4l1_height(int h) { | ^~~~~~~~~~~ v4l.c:146:12: warning: 'v4l1_width' defined but not used [-Wunused-function] 146 | static int v4l1_width(int w) { | ^~~~~~~~~~ v4l.c:134:12: warning: 'v4l1_val' defined but not used [-Wunused-function] 134 | static int v4l1_val(int pct) { | ^~~~~~~~ v4l.c:132:12: warning: 'last_channel' defined but not used [-Wunused-variable] 132 | static int last_channel = 0; | ^~~~~~~~~~~~ win_utils.c: In function 'snapshot_stack_list': win_utils.c:207:33: warning: variable 'last_free' set but not used [-Wunused-but-set-variable] 207 | static double last_snap = 0.0, last_free = 0.0; | ^~~~~~~~~ x11vnc.c: In function 'check_guess_auth_file': x11vnc.c:2005:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 2005 | int n; | ^ x11vnc.c: In function 'main': x11vnc.c:4695:8: warning: variable 'message' set but not used [-Wunused-but-set-variable] 4695 | char message[] = "-rfbauth, -passwdfile, -passwd password, " | ^~~~~~~ x11vnc.c:2106:6: warning: variable 'got_rfbport_force_auto' set but not used [-Wunused-but-set-variable] 2106 | int got_rfbport_force_auto = 0; | ^~~~~~~~~~~~~~~~~~~~~~ x11vnc.c: In function 'terminal_services': x11vnc.c:554:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 554 | system(dcmd); | ^~~~~~~~~~~~ x11vnc.c:561:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 561 | system(dcmd); | ^~~~~~~~~~~~ x11vnc.c: In function 'do_tsd': x11vnc.c:717:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 717 | system(cmd); | ^~~~~~~~~~~ x11vnc.c:728:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 728 | system(cmd); | ^~~~~~~~~~~ x11vnc.c: In function 'quick_pw': x11vnc.c:1430:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1430 | system("stty -echo"); | ^~~~~~~~~~~~~~~~~~~~ x11vnc.c:1433:4: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1433 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c:1436:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1436 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c: In function 'store_homedir_passwd': x11vnc.c:1805:2: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1805 | system("stty -echo"); | ^~~~~~~~~~~~~~~~~~~~ x11vnc.c:1808:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1808 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c:1816:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1816 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c:1820:2: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1820 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-x11vnc_defs.o `test -f 'x11vnc_defs.c' || echo './'`x11vnc_defs.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-xdamage.o `test -f 'xdamage.c' || echo './'`xdamage.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-xevents.o `test -f 'xevents.c' || echo './'`xevents.c xdamage.c: In function 'record_desired_xdamage_rect': xdamage.c:92:6: warning: variable 'dt_x' set but not used [-Wunused-but-set-variable] 92 | int dt_x, dt_y, nt_x1, nt_y1, nt_x2, nt_y2, nt; | ^~~~ xdamage.c: In function 'collect_xdamage': xdamage.c:448:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 448 | if (0) XEventsQueued(dpy, QueuedAfterFlush); | ^~ xdamage.c:450:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 450 | come_back_for_more: | ^~~~~~~~~~~~~~~~~~ xevents.c: In function 'process_watch': xevents.c:612:16: warning: variable 'last_bust' set but not used [-Wunused-but-set-variable] 612 | static time_t last_bust = 0; | ^~~~~~~~~ xevents.c: In function 'check_autorepeat': xevents.c:1141:7: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 1141 | str = XKeysymToString(XKeycodeToKeysym(dpy, i, 0)); | ^~~ In file included from x11vnc.h:73, from xevents.c:35: /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-xinerama.o `test -f 'xinerama.c' || echo './'`xinerama.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-xkb_bell.o `test -f 'xkb_bell.c' || echo './'`xkb_bell.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-xrandr.o `test -f 'xrandr.c' || echo './'`xrandr.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-xrecord.o `test -f 'xrecord.c' || echo './'`xrecord.c xrecord.c: In function 'xrecord_watch': xrecord.c:2015:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2015 | if (db) fprintf(stderr, "rc_scroll: 0x%lx\n", rc_scroll); | ^~ xrecord.c:2016:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2016 | if (trapped_record_xerror) { | ^~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -c -o x11vnc-xwrappers.o `test -f 'xwrappers.c' || echo './'`xwrappers.c xwrappers.c: In function 'upup_downdown_warning': xwrappers.c:869:3: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 869 | char *str = XKeysymToString(XKeycodeToKeysym(dpy, key, 0)); | ^~~~ In file included from x11vnc.h:73, from xwrappers.c:35: /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ xwrappers.c: In function 'XTestFakeKeyEvent_wr': xwrappers.c:925:3: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 925 | char *str = XKeysymToString(XKeycodeToKeysym(dpy, key, 0)); | ^~~~ In file included from x11vnc.h:73, from xwrappers.c:35: /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ xwrappers.c: In function 'xauth_raw': xwrappers.c:1326:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1326 | write(tmp_fd, xauth_raw_data, xauth_raw_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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-xinerama.o x11vnc-xkb_bell.o x11vnc-xrandr.o x11vnc-xrecord.o x11vnc-xwrappers.o -Xlinker -lvncserver -lvncclient -lcrypt -lXtst -lXtst -lXtst -lXext -lXinerama -lXrandr -lXfixes -lXdamage -lX11 -lavahi-common -lavahi-client -lpthread -lz -ljpeg /usr/bin/ld: x11vnc-appshare.o: in function `.LANCHOR2': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-appshare.o: in function `.LANCHOR2': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-appshare.o: in function `.LANCHOR2': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-avahi.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-avahi.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-avahi.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-cleanup.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-cleanup.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-cleanup.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-connections.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-connections.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-connections.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-cursor.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-cursor.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-cursor.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-gui.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-gui.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-gui.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-help.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-help.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-help.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-inet.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-inet.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-inet.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-keyboard.o: in function `.LANCHOR3': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-keyboard.o: in function `.LANCHOR3': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-keyboard.o: in function `.LANCHOR3': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-linuxfb.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-linuxfb.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-linuxfb.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-macosx.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-macosx.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-macosx.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-options.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-options.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-options.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-pm.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-pm.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-pm.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-pointer.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-pointer.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-pointer.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-rates.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-rates.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-rates.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-remote.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-remote.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-remote.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-scan.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-scan.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-scan.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-screen.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-screen.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-screen.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-selection.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-selection.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-selection.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-solid.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-solid.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-solid.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-sslcmds.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-sslcmds.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-sslcmds.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-sslhelper.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-sslhelper.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-sslhelper.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-uinput.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-uinput.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-uinput.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-unixpw.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-unixpw.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-unixpw.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-user.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-user.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-user.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-userinput.o: in function `.LANCHOR2': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-userinput.o: in function `.LANCHOR2': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-userinput.o: in function `.LANCHOR2': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-util.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-util.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-util.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-v4l.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-v4l.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-v4l.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-win_utils.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-win_utils.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-win_utils.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-x11vnc.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-x11vnc.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-x11vnc.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-x11vnc_defs.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-x11vnc_defs.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-x11vnc_defs.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-xdamage.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-xdamage.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-xdamage.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-xevents.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-xevents.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-xevents.o: in function `.LANCHOR1': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-xinerama.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-xinerama.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-xinerama.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-xkb_bell.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-xkb_bell.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-xkb_bell.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-xrandr.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-xrandr.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-xrandr.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-xrecord.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-xrecord.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-xrecord.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-xwrappers.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-xwrappers.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-xwrappers.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:323: x11vnc] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.14/x11vnc' make[2]: *** [Makefile:1061: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.14/x11vnc' make[1]: *** [Makefile:312: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.14' make: *** [Makefile:231: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.hPkTn1 (%build) RPM build errors: extra tokens at the end of %endif directive in line 83: %endif # EL.ppc Bad exit status from /var/tmp/rpm-tmp.hPkTn1 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/x11vnc.spec