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-560382-65778/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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1614556800 Wrote: /builddir/build/SRPMS/x11vnc-0.9.16-5.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-560382-65778/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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1614556800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.58MfIF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf x11vnc-0.9.16 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/x11vnc-0.9.16.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd x11vnc-0.9.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (x11vnc-0.9.16-Respect-a-system-crypto-policy.patch):' Patch #0 (x11vnc-0.9.16-Respect-a-system-crypto-policy.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/enc.h patching file src/sslhelper.c Patch #1 (x11vnc-0.9.16-Convert-a-changelog-to-UTF-8.patch): + echo 'Patch #1 (x11vnc-0.9.16-Convert-a-changelog-to-UTF-8.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ChangeLog + echo 'Patch #2 (x11vnc-0.9.16-Fix-build-with-fno-common.patch):' Patch #2 (x11vnc-0.9.16-Fix-build-with-fno-common.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/util.c patching file src/util.h + echo 'Patch #3 (x11vnc-0.9.16-src-cursor-fix-xfc-NULL-pointer-dereference.patch):' Patch #3 (x11vnc-0.9.16-src-cursor-fix-xfc-NULL-pointer-dereference.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/cursor.c + echo 'Patch #4 (x11vnc-0.9.16-scan-limit-access-to-shared-memory-segments-to-curre.patch):' Patch #4 (x11vnc-0.9.16-scan-limit-access-to-shared-memory-segments-to-curre.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/scan.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.L1ocjG + umask 022 + cd /builddir/build/BUILD + cd x11vnc-0.9.16 + autoreconf -fi configure.ac:10: installing './compile' configure.ac:432: installing './config.guess' configure.ac:432: installing './config.sub' configure.ac:3: installing './install-sh' configure.ac:3: installing './missing' Makefile.am: installing './INSTALL' src/Makefile.am: installing './depcomp' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2021-04-08 18:30:40.024422738 -0400 +++ ./configure 2021-04-08 18:31:39.794426432 -0400 @@ -1707,7 +1707,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./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-avahi --with-colormultipointer --with-crypto --with-dpms --with-fbdev --without-fbpm --without-macosx-native --with-ssl --with-uinput --without-v4l --with-x --without-xcomposite --with-xdamage --with-xfixes --with-xinerama --with-xkeyboard --with-xrandr --with-xrecord --without-xtrap checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for RAND_file_name in -lcrypto... yes checking for crypt... no checking for crypt in -lcrypt... yes checking for OPENSSL... yes checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for XGetImage in -lX11... yes checking for XShmGetImage in -lXext... yes checking for XReadScreen in -lXext... no checking for X11/extensions/readdisplay.h... no checking for DPMSForceLevel in -lXext... yes checking for XTestGrabControl in -lXtst... yes checking for XTestFakeKeyEvent in -lXtst... yes checking for XRecordEnableContextAsync in -lXtst... yes checking for X11/XKBlib.h... yes checking for XkbSelectEvents in -lX11... yes checking for XineramaQueryScreens in -lXinerama... yes checking for XRRSelectInput in -lXrandr... yes checking for XFixesGetCursorImage in -lXfixes... yes checking for XDamageQueryExtension in -lXdamage... yes checking for XI2... yes checking for XcursorImageLoadCursor in -lXcursor... yes checking 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 cairo... yes checking for LIBVNCSERVER... yes checking for LIBVNCCLIENT... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for ANSI C header files... no checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.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 stdlib.h usability... yes checking stdlib.h presence... yes checking for stdlib.h... yes checking string.h usability... yes checking string.h presence... yes checking for string.h... yes checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.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 unistd.h usability... yes checking unistd.h presence... yes checking for unistd.h... 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 in_addr_t... checking for working memcmp... yes checking whether lstat correctly handles trailing slash... no checking whether stat accepts an empty string... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for pid_t... 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... (cached) yes checking for gethostname... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memmove... yes checking for memset... yes checking for mmap... yes checking for mkfifo... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strstr... yes checking for setsid... yes checking for setpgrp... yes checking for getpwuid... yes checking for getpwnam... yes checking for getspnam... yes checking for getuid... yes checking for geteuid... yes checking for setuid... yes checking for setgid... yes checking for seteuid... yes checking for setegid... yes checking for initgroups... yes checking for waitpid... yes checking for setutxent... yes checking for grantpt... yes checking for shmat... (cached) yes checking for shmget in -lcygipc... no checking ApplicationServices/ApplicationServices.h usability... no checking ApplicationServices/ApplicationServices.h presence... no checking for ApplicationServices/ApplicationServices.h... no checking android/api-level.h usability... no checking android/api-level.h presence... no checking for android/api-level.h... no checking for rpm sources path... NOT-FOUND checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating misc/Makefile config.status: creating misc/turbovnc/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-avahi.o `test -f 'avahi.c' || echo './'`avahi.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' avahi.c: In function 'avahi_initialise': avahi.c:219:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 219 | if (db) fprintf(stderr, "in avahi_initialise\n"); | ^~ avahi.c:220: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 ? pass : "********"); | ^~ unixpw.c:1578:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1578 | rfbLog("unixpw_verify: '%s'\n", user ? user : "(null)"); | ^~~~~~ unixpw.c: In function 'apply_opts': unixpw.c:2061:9: warning: variable 'notmode' set but not used [-Wunused-but-set-variable] 2061 | int i, notmode = 0; | ^~~~~~~ unixpw.c: In function 'try_to_be_nobody': unixpw.c:648: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:1120:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1120 | system(nam); | ^~~~~~~~~~~ unixpw.c:1122:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1122 | write(tfd, "NOTTTY\n", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~~ unixpw.c:1127:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1127 | chdir("/"); | ^~~~~~~~~~ unixpw.c:1157:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1157 | write(2, "C", 1); | ^~~~~~~~~~~~~~~~ unixpw.c:1252:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1252 | system(cmd0); | ^~~~~~~~~~~~ unixpw.c:1254:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1254 | system(cmd0); | ^~~~~~~~~~~~ unixpw.c:1339:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1339 | write(fd, pass+k, 1); | ^~~~~~~~~~~~~~~~~~~~ unixpw.c:1343:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1343 | write(fd, pass, strlen(pass)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unixpw.c: In function 'check_unixpw_userprefs': unixpw.c:1541:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1541 | fgets(buf, 1024, f); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/rfb/rfb.h:43, from x11vnc.h:69, from unixpw.c:46: In function 'strncpy', inlined from 'apply_opts' at unixpw.c:2132:6, inlined from 'unixpw_accept' at unixpw.c:2146:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 10 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-remote.o `test -f 'remote.c' || echo './'`remote.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' remote.c: In function 'send_remote_cmd': remote.c:158:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 158 | fgets(line, X11VNC_REMOTE_MAX, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ remote.c: In function 'check_httpdir': remote.c:362:4: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 362 | getcwd(cwd, 1024); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/rfb/rfb.h:43, from x11vnc.h:69, from remote.c:35: In function 'strncpy', inlined from 'send_remote_cmd' at remote.c:167:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 65536 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-sslhelper.o `test -f 'sslhelper.c' || echo './'`sslhelper.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' sslhelper.c: In function 'crl_callback': sslhelper.c:849:3: warning: 'X509_CRL_get_lastUpdate' is deprecated [-Wdeprecated-declarations] 849 | ASN1_UTCTIME_print(bio, X509_CRL_get_lastUpdate(crl)); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from sslhelper.c:730: /usr/include/openssl/x509.h:730:1: note: declared here 730 | DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl)) | ^~~~~~~~~~~~~~~~~~ sslhelper.c:851:3: warning: 'X509_CRL_get_nextUpdate' is deprecated [-Wdeprecated-declarations] 851 | ASN1_UTCTIME_print(bio, X509_CRL_get_nextUpdate(crl)); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from sslhelper.c:730: /usr/include/openssl/x509.h:731:1: note: declared here 731 | DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl)) | ^~~~~~~~~~~~~~~~~~ sslhelper.c:881:3: warning: 'X509_CRL_get_nextUpdate' is deprecated [-Wdeprecated-declarations] 881 | t=X509_CRL_get_nextUpdate(crl); | ^ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from sslhelper.c:730: /usr/include/openssl/x509.h:731:1: note: declared here 731 | DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl)) | ^~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'openssl_init': sslhelper.c:1067:2: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] 1067 | rsa_512 = RSA_generate_key(512, RSA_F4, NULL, NULL); | ^~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from sslhelper.c:730: /usr/include/openssl/rsa.h:235:1: note: declared here 235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~~~ sslhelper.c:1076:2: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] 1076 | rsa_1024 = RSA_generate_key(1024, RSA_F4, NULL, NULL); | ^~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from sslhelper.c:730: /usr/include/openssl/rsa.h:235:1: note: declared here 235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'pr_ssl_info': sslhelper.c:1963:4: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1963 | c = SSL_get_current_cipher(ssl); | ^ sslhelper.c: In function 'ssl_helper_pid': sslhelper.c:3059:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3059 | if (db) fprintf(stderr, "ssl_helper_pid(%d, %d)\n", pid, sock); | ^~ sslhelper.c:3062:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3062 | set = 0; | ^~~ In file included from x11vnc.h:721, from sslhelper.c:35: sslhelper.c: In function 'accept_openssl': 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 | ^~~~~~~ sslhelper.c:3924:10: note: in expansion of macro 'usleep' 3924 | if (0) usleep(50 * 1000); | ^~~~~~ sslhelper.c:3924:3: note: some parts of macro expansion are not guarded by this 'if' clause 3924 | if (0) usleep(50 * 1000); | ^~ sslhelper.c:4076:8: warning: the address of 'rcookie' will always evaluate as 'true' [-Waddress] 4076 | if (rcookie && strstr(rcookie, "VncViewer.class")) { | ^~~~~~~ In file included from x11vnc.h:721, from sslhelper.c:35: sslhelper.c: In function 'raw_xfer': 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 | ^~~~~~~ sslhelper.c:4331:11: note: in expansion of macro 'usleep' 4331 | if (db) usleep(50*1000); | ^~~~~~ sslhelper.c:4331:3: note: some parts of macro expansion are not guarded by this 'if' clause 4331 | if (db) usleep(50*1000); | ^~ In file included from sslhelper.c:4382: enc.h: In function 'securevnc_setup': enc.h:1448:3: warning: 'RAND_pseudo_bytes' is deprecated [-Wdeprecated-declarations] 1448 | rc = RAND_pseudo_bytes((unsigned char *)keydata, SECUREVNC_RAND_KEY_SOURCE); | ^~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from sslhelper.c:730: /usr/include/openssl/rand.h:44:1: note: declared here 44 | DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num)) | ^~~~~~~~~~~~~~~~~~ In file included from sslhelper.c:4382: enc.h:1452:64: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 1452 | fprintf(stderr, "securevnc_setup: seeding with RANDSTR len=%d\n", strlen(s)); | ~^ ~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld enc.h:1499:4: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] 1499 | client_rsa = RSA_generate_key(2048, 0x10001, NULL, NULL); | ^~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from sslhelper.c:730: /usr/include/openssl/rsa.h:235:1: note: declared here 235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'create_tmp_pem': sslhelper.c:346:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 346 | write(cnf_fd, str, strlen(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:505:4: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 505 | system(cmd); | ^~~~~~~~~~~ sslhelper.c: In function 'pem_passwd_callback': sslhelper.c:780:2: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 780 | system("stty -echo"); | ^~~~~~~~~~~~~~~~~~~~ sslhelper.c:783:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 783 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ sslhelper.c:786:2: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 786 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'add_anon_dh': sslhelper.c:1482:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1482 | write(cnf_fd, new_dh_params, strlen(new_dh_params)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:1536:8: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1536 | write(d, new_dh_params, strlen(new_dh_params)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:1544:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1544 | write(cnf_fd, fixed_dh_params, strlen(fixed_dh_params)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'accept_openssl': sslhelper.c:3621:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3621 | write(vncsock, tbuf, strlen(cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3627:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3627 | write(vncsock, tbuf, strlen(cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3701:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3701 | write(vncsock, cookie, strlen(cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3703:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3703 | write(vncsock, buf, n); | ^~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3775:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3775 | write(vncsock, tbuf, strlen(tbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3849:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3849 | write(vncsock, tbuf, strlen(tbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3896:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3896 | write(httpsock, buf, m); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3897:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3897 | write(httpsock, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3899:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3899 | write(httpsock, q, n-m); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3904:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3904 | write(httpsock, buf, n); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3919:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3919 | write(vncsock, cookie, strlen(cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3983:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 3983 | read(certret_fd, certret_str, sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:4006:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 4006 | read(dhret_fd, dhret_str, sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'watch_for_http_traffic': sslhelper.c:3254:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3254 | write(2, buf_a, *n_a); | ^~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'ssl_xfer': sslhelper.c:2316:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2316 | read(csock, tmp, 12); | ^~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'raw_xfer': sslhelper.c:4309:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 4309 | if (db > 1) write(2, buf, n); | ^~~~~~~~~~~~~~~~ sslhelper.c:4341:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 4341 | if (db > 1) write(2, buf, n); | ^~~~~~~~~~~~~~~~ In file included from sslhelper.c:4382: enc.h: In function 'securevnc_setup': enc.h:1344:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1344 | read(server, (char *) &b1, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1345:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1345 | read(server, (char *) &b2, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1346:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1346 | read(server, (char *) &b3, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1347:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1347 | read(server, (char *) &b4, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1436:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1436 | write(2, to_viewer, 12); /* and first 12 bytes 'RFB ...' as message */ | ^~~~~~~~~~~~~~~~~~~~~~~ enc.h:1469:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1469 | write(server, encrypted_keybuf, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1479:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1479 | write(server, (char *)&zero, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1481:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1481 | write(server, (char *)&one, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1483:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1483 | write(server, (char *)&zero, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1484:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1484 | write(server, (char *)&zero, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1486:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1486 | write(server, (char *)&sig, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1488:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1488 | write(server, (char *)&zero, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1558:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1558 | write(server, signature, nsig); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1568:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1568 | write(viewer, to_viewer, to_viewer_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h: In function 'securevnc_server_rsa_save_dialog': enc.h:1110:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1110 | write(fileno(p), rsabuf, SECUREVNC_RSA_PUBKEY_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h: In function 'doloop': enc.h:2101:4: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2101 | system(cmd); | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/rfb/rfb.h:43, from x11vnc.h:69, from sslhelper.c:35: In function 'strncpy', inlined from 'accept_openssl' at sslhelper.c:4073:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 100 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sslhelper.c:4382: In function 'doloop', inlined from '__enc_main' at enc.h:2112:4: enc.h:2086:10: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2086 | cmd[0] = '\0'; | ~~~~~~~^~~~~~ enc.h: In function '__enc_main': enc.h:2085:17: note: at offset 0 to an object with size 0 allocated by 'malloc' here 2085 | cmd = (char *)malloc(len); | ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-user.o `test -f 'user.c' || echo './'`user.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' user.c: In function 'do_run_cmd': user.c:2782:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2782 | if (db) fprintf(stderr, "line1=%s\n", line1); | ^~ user.c:2784:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2784 | if (strstr(line1, "DISPLAY=") != line1) { | ^~ user.c:2470:6: warning: variable 'internal_cmd' set but not used [-Wunused-but-set-variable] 2470 | int internal_cmd = 0; | ^~~~~~~~~~~~ user.c: In function 'setup_cmd': user.c:1905:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1905 | write(fd, find_display, strlen(find_display)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:1914:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1914 | system(com); | ^~~~~~~~~~~ user.c: In function 'vnc_redirect_timeout': user.c:1396:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1396 | write(2, "timeout: no clients connected.\n", 31); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function 'do_run_cmd': user.c:2511:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2511 | write(tmp_fd, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:2513:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2513 | write(tmp_fd, find_display, strlen(find_display)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:2576:37: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2576 | if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprintf(stderr, "res=%d n=%d\n", res, n);} | ^~~~~~~~~~~~~~~~~ user.c:2576:56: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2576 | if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprintf(stderr, "res=%d n=%d\n", res, n);} | ^~~~~~~~~~~~~~~~~ user.c:2681:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2681 | if (db) write(2, line, 100); | ^~~~~~~~~~~~~~~~~~~ user.c:2857:1: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2857 | write(2, xauth_raw_data, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function 'do_chvt': user.c:1405:2: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1405 | system(chvt); | ^~~~~~~~~~~~ user.c: In function 'do_vnc_redirect': user.c:1876:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1876 | write(vnc_redirect_sock, vnc_redirect_test, vnc_redirect_cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/rfb/rfb.h:43, from x11vnc.h:69, from user.c:35: In function 'strncpy', inlined from 'do_run_cmd.constprop.0' at user.c:2627:7: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 100 bytes from a string of length 1023 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-util.o `test -f 'util.c' || echo './'`util.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' util.c: In function 'set_env': util.c:240:8: warning: unused variable 'str' [-Wunused-variable] 240 | char *str; | ^~~ util.c: In function 'do_allinput': util.c:516:7: warning: variable 'usec0' set but not used [-Wunused-but-set-variable] 516 | long usec0; | ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-v4l.o `test -f 'v4l.c' || echo './'`v4l.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' v4l.c:1422:12: warning: 'lookup_station' defined but not used [-Wunused-function] 1422 | static int lookup_station(unsigned long freq) { | ^~~~~~~~~~~~~~ v4l.c:1409:22: warning: 'lookup_freq' defined but not used [-Wunused-function] 1409 | static unsigned long lookup_freq(int sta) { | ^~~~~~~~~~~ v4l.c:1067:12: warning: 'open_dev' defined but not used [-Wunused-function] 1067 | static int open_dev(char *dev) { | ^~~~~~~~ v4l.c:802:14: warning: 'v4l2_lu_palette' defined but not used [-Wunused-function] 802 | static char *v4l2_lu_palette(unsigned int fmt) { | ^~~~~~~~~~~~~~~ v4l.c:750:14: warning: 'v4l1_lu_palette' defined but not used [-Wunused-function] 750 | static char *v4l1_lu_palette(unsigned short palette) { | ^~~~~~~~~~~~~~~ v4l.c:436:12: warning: 'v4l1_dpct' defined but not used [-Wunused-function] 436 | static int v4l1_dpct(int old, int d) { | ^~~~~~~~~ v4l.c:234:13: warning: 'v4l1_set_input' defined but not used [-Wunused-function] 234 | static void v4l1_set_input(int fd, int which) { | ^~~~~~~~~~~~~~ v4l.c:214:13: warning: 'v4l1_setfreq' defined but not used [-Wunused-function] 214 | static void v4l1_setfreq(int fd, unsigned long freq, int verb) { | ^~~~~~~~~~~~ v4l.c:173:12: warning: 'v4l1_resize' defined but not used [-Wunused-function] 173 | static int v4l1_resize(int fd, int w, int h) { | ^~~~~~~~~~~ v4l.c:159:12: warning: 'v4l1_height' defined but not used [-Wunused-function] 159 | static int v4l1_height(int h) { | ^~~~~~~~~~~ v4l.c:146:12: warning: 'v4l1_width' defined but not used [-Wunused-function] 146 | static int v4l1_width(int w) { | ^~~~~~~~~~ v4l.c:134:12: warning: 'v4l1_val' defined but not used [-Wunused-function] 134 | static int v4l1_val(int pct) { | ^~~~~~~~ v4l.c:132:12: warning: 'last_channel' defined but not used [-Wunused-variable] 132 | static int last_channel = 0; | ^~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-x11vnc_defs.o `test -f 'x11vnc_defs.c' || echo './'`x11vnc_defs.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-win_utils.o `test -f 'win_utils.c' || echo './'`win_utils.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' win_utils.c: In function 'snapshot_stack_list': win_utils.c:193:33: warning: variable 'last_free' set but not used [-Wunused-but-set-variable] 193 | static double last_snap = 0.0, last_free = 0.0; | ^~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-xdamage.o `test -f 'xdamage.c' || echo './'`xdamage.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' 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: | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-xi2_devices.o `test -f 'xi2_devices.c' || echo './'`xi2_devices.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-xevents.o `test -f 'xevents.c' || echo './'`xevents.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' 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; | ^~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-xkb_bell.o `test -f 'xkb_bell.c' || echo './'`xkb_bell.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-xinerama.o `test -f 'xinerama.c' || echo './'`xinerama.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-xrandr.o `test -f 'xrandr.c' || echo './'`xrandr.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-xrecord.o `test -f 'xrecord.c' || echo './'`xrecord.c xrecord.c: In function 'xrecord_watch': xrecord.c:2012:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2012 | if (db) fprintf(stderr, "rc_scroll: 0x%lx\n", rc_scroll); | ^~ xrecord.c:2013:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2013 | if (trapped_record_xerror) { | ^~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-xwrappers.o `test -f 'xwrappers.c' || echo './'`xwrappers.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' xwrappers.c: In function 'XTestFakeKeyEvent_wr': xwrappers.c:1003:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1003 | else | ^~~~ xwrappers.c:1007:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1007 | if (regrab) { | ^~ xwrappers.c: In function 'xauth_raw': xwrappers.c:1428:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1428 | write(tmp_fd, xauth_raw_data, xauth_raw_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-x11vnc.o `test -f 'x11vnc.c' || echo './'`x11vnc.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' x11vnc.c: In function 'check_guess_auth_file': x11vnc.c:1960:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 1960 | int n; | ^ x11vnc.c: In function 'main': x11vnc.c:4638:8: warning: variable 'message' set but not used [-Wunused-but-set-variable] 4638 | char message[] = "-rfbauth, -passwdfile, -passwd password, " | ^~~~~~~ x11vnc.c: In function 'terminal_services': x11vnc.c:555:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 555 | system(dcmd); | ^~~~~~~~~~~~ x11vnc.c:562:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 562 | system(dcmd); | ^~~~~~~~~~~~ x11vnc.c: In function 'do_tsd': x11vnc.c:718:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 718 | system(cmd); | ^~~~~~~~~~~ x11vnc.c:729:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 729 | system(cmd); | ^~~~~~~~~~~ x11vnc.c: In function 'quick_pw': x11vnc.c:1381:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1381 | system("stty -echo"); | ^~~~~~~~~~~~~~~~~~~~ x11vnc.c:1384:4: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1384 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c:1387:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1387 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c: In function 'store_homedir_passwd': x11vnc.c:1760:2: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1760 | system("stty -echo"); | ^~~~~~~~~~~~~~~~~~~~ x11vnc.c:1763:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1763 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c:1771:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1771 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c:1775:2: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1775 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11vnc-userinput.o `test -f 'userinput.c' || echo './'`userinput.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' userinput.c: In function 'initialize_scroll_term': userinput.c:759:9: warning: variable 's' set but not used [-Wunused-but-set-variable] 759 | char *s = scroll_good_all[n++]; | ^ userinput.c: In function 'direct_fb_copy': userinput.c:1074:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1074 | if (db) dtime0(&tm); | ^~ userinput.c:1076:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1076 | x1 = nfix(x1, dpy_x); | ^~ userinput.c: In function 'set_ypad': userinput.c:1306:30: warning: the address of 'xrecord_name_info' will always evaluate as 'true' [-Waddress] 1306 | if (!xrecord_set_by_keys || !xrecord_name_info) { | ^ userinput.c: In function 'push_scr_ev': userinput.c:1480:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1480 | if (db) fprintf(stderr, "ypad: %d dy[0]: %d ev_tot: %d\n", ypad, scr_ev[0].dy, ev_tot); | ^~ userinput.c:1482:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1482 | for (ev=0; ev < ev_tot; ev++) { | ^~~ userinput.c:1795:11: warning: variable 'trate' set but not used [-Wunused-but-set-variable] 1795 | double trate; | ^~~~~ In file included from x11vnc.h:721, from userinput.c:35: userinput.c: In function 'batch_copyregion': util.h:83: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:2081:20: note: in expansion of macro 'usleep' 2081 | if (use_threads) usleep(100 * 1000); | ^~~~~~ userinput.c:2081:3: note: some parts of macro expansion are not guarded by this 'if' clause 2081 | if (use_threads) usleep(100 * 1000); | ^~ userinput.c: In function 'fb_push': userinput.c:2180:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2180 | if (db) get_client_regions(&req0, &mod0, &cpy0, &ncli); | ^~ userinput.c:2182:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2182 | i = rfbGetClientIterator(screen); | ^ userinput.c: In function 'check_xrecord_keys': userinput.c:2555:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2555 | if (0) link = link_rate(&latency, &netrate); | ^~ userinput.c:2557:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2557 | gk = gk0 = got_keyboard_input; | ^~ userinput.c:2633:17: warning: variable 'last_scr_ev' set but not used [-Wunused-but-set-variable] 2633 | static double last_scr_ev = 0.0; | ^~~~~~~~~~~ userinput.c:2479:6: warning: variable 'link' set but not used [-Wunused-but-set-variable] 2479 | int link, latency, netrate; | ^~~~ userinput.c:2475:30: warning: variable 'scroll_rep' set but not used [-Wunused-but-set-variable] 2475 | int scr_cnt = 0, input = 0, scroll_rep; | ^~~~~~~~~~ userinput.c: In function 'check_xrecord_mouse': userinput.c:2725:16: warning: variable 'last_mouse_scroll' set but not used [-Wunused-but-set-variable] 2725 | static double last_mouse_scroll = 0.0; | ^~~~~~~~~~~~~~~~~ userinput.c: In function 'try_copyrect': userinput.c:3121:6: warning: variable 'db' set but not used [-Wunused-but-set-variable] 3121 | int db = 0; \ | ^~ userinput.c:3146:2: note: in expansion of macro 'DB_SET' 3146 | DB_SET | ^~~~~~ userinput.c: In function 'check_fixscreen': userinput.c:3560:17: warning: variable 'last' set but not used [-Wunused-but-set-variable] 3560 | static double last = 0.0; | ^~~~ userinput.c: In function 'ncache_pre_portions': userinput.c:3782:7: warning: variable 'bs_h' set but not used [-Wunused-but-set-variable] 3782 | int bs_h = cache_list[nidx].bs_h; | ^~~~ userinput.c:3781:7: warning: variable 'bs_w' set but not used [-Wunused-but-set-variable] 3781 | int bs_w = cache_list[nidx].bs_w; | ^~~~ userinput.c: In function 'ncache_post_portions': userinput.c:3965:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3965 | if (db && ncdb) fprintf(stderr, "FB_COPY: %.4f 3) sent_copyrect: su_restore: %d %d\n", dnow() - ntim, dx, dy); | ^~ userinput.c:3966:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3966 | if (cache_list[nidx].su_time == 0.0) { | ^~ userinput.c:3979:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3979 | if (db && ncdb) fprintf(stderr, "sent_copyrect: %.4f su_restore: done.\n", dnow() - ntim); | ^~ userinput.c:3980:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3980 | sraRgnDestroy(r0); | ^~~~~~~~~~~~~ userinput.c: In function 'check_wireframe': userinput.c:4434:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4434 | if (db) fprintf(stderr, "a: %d wf: %.3f A: %d origfrm: 0x%lx\n", w*h, wireframe_frac, (dpy_x*dpy_y), frame); | ^~ userinput.c:4440:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4440 | if ((double) w*h < wireframe_frac * (dpy_x * dpy_y)) { | ^~ userinput.c:4444:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4444 | if (db) fprintf(stderr, " frame: x: %d y: %d w: %d h: %d px: %d py: %d fr: 0x%lx\n", x, y, w, h, px, py, frame); | ^~ userinput.c:4451:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4451 | try_it = near_wm_edge(x, y, w, h, px, py); | ^~~~~~ userinput.c:4358:16: warning: variable 'last_save_stacklist' set but not used [-Wunused-but-set-variable] 4358 | static time_t last_save_stacklist = 0; | ^~~~~~~~~~~~~~~~~~~ userinput.c: In function 'check_user_input3': userinput.c:5315:7: warning: variable 'got_input' set but not used [-Wunused-but-set-variable] 5315 | int got_input = 0; | ^~~~~~~~~ userinput.c:5274:29: warning: variable 'to' set but not used [-Wunused-but-set-variable] 5274 | double spin, spin_max, tm, to, dtm; | ^~ userinput.c: In function 'check_user_input4': userinput.c:5551:7: warning: variable 'got_input' set but not used [-Wunused-but-set-variable] 5551 | int got_input = 0; | ^~~~~~~~~ userinput.c:5439:13: warning: variable 'ssec' set but not used [-Wunused-but-set-variable] 5439 | static int ssec = 0, total_calls = 0; | ^~~~ userinput.c:5426:32: warning: variable 'rpe_last' set but not used [-Wunused-but-set-variable] 5426 | double spin, tm, to, tc, dtm, rpe_last; | ^~~~~~~~ userinput.c: In function 'snapshot_cache_list': userinput.c:5757:33: warning: variable 'last_free' set but not used [-Wunused-but-set-variable] 5757 | static double last_snap = 0.0, last_free = 0.0; | ^~~~~~~~~ userinput.c: In function 'bs_save': userinput.c:7134:15: warning: variable 'h' set but not used [-Wunused-but-set-variable] 7134 | int x, y, w, h; | ^ userinput.c:7134:12: warning: variable 'w' set but not used [-Wunused-but-set-variable] 7134 | int x, y, w, h; | ^ userinput.c: In function 'su_save': userinput.c:7240:15: warning: variable 'h' set but not used [-Wunused-but-set-variable] 7240 | int x, y, w, h; | ^ userinput.c:7240:12: warning: variable 'w' set but not used [-Wunused-but-set-variable] 7240 | int x, y, w, h; | ^ userinput.c: In function 'try_to_fix_resize_su': userinput.c:7787:21: warning: variable 'bh1' set but not used [-Wunused-but-set-variable] 7787 | int bx1, by1, bw1, bh1; | ^~~ userinput.c:7787:16: warning: variable 'bw1' set but not used [-Wunused-but-set-variable] 7787 | int bx1, by1, bw1, bh1; | ^~~ userinput.c:7787:11: warning: variable 'by1' set but not used [-Wunused-but-set-variable] 7787 | int bx1, by1, bw1, bh1; | ^~~ userinput.c:7787:6: warning: variable 'bx1' set but not used [-Wunused-but-set-variable] 7787 | int bx1, by1, bw1, bh1; | ^~~ userinput.c:7786:21: warning: variable 'sh1' set but not used [-Wunused-but-set-variable] 7786 | int sx1, sy1, sw1, sh1, dx, dy; | ^~~ userinput.c:7786:16: warning: variable 'sw1' set but not used [-Wunused-but-set-variable] 7786 | int sx1, sy1, sw1, sh1, dx, dy; | ^~~ userinput.c: In function 'try_to_fix_su': userinput.c:7921:6: warning: variable 'moved' set but not used [-Wunused-but-set-variable] 7921 | int moved = 0; | ^~~~~ userinput.c:7918:18: warning: variable 'h1' set but not used [-Wunused-but-set-variable] 7918 | int x1, y1, w1, h1; | ^~ userinput.c:7918:14: warning: variable 'w1' set but not used [-Wunused-but-set-variable] 7918 | int x1, y1, w1, h1; | ^~ userinput.c:7917:18: warning: variable 'h0' set but not used [-Wunused-but-set-variable] 7917 | int x0, y0, w0, h0; | ^~ userinput.c:7917:14: warning: variable 'w0' set but not used [-Wunused-but-set-variable] 7917 | int x0, y0, w0, h0; | ^~ userinput.c: In function 'try_to_synthesize_su': userinput.c:8466:18: warning: variable 'h3' set but not used [-Wunused-but-set-variable] 8466 | int x3, y3, w3, h3; | ^~ userinput.c:8466:14: warning: variable 'w3' set but not used [-Wunused-but-set-variable] 8466 | int x3, y3, w3, h3; | ^~ userinput.c:8464:18: warning: variable 'h1' set but not used [-Wunused-but-set-variable] 8464 | int x1, y1, w1, h1; | ^~ userinput.c:8464:14: warning: variable 'w1' set but not used [-Wunused-but-set-variable] 8464 | int x1, y1, w1, h1; | ^~ userinput.c:8463:18: warning: variable 'h0' set but not used [-Wunused-but-set-variable] 8463 | int x0, y0, w0, h0; | ^~ userinput.c:8463:14: warning: variable 'w0' set but not used [-Wunused-but-set-variable] 8463 | int x0, y0, w0, h0; | ^~ userinput.c: In function 'check_ncache': userinput.c:9259:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 9259 | if (ncdb) fprintf(stderr, "\n"); if (ncdb) rfbLog("IN check_ncache() %d events. %.4f\n", n, now - x11vnc_start); | ^~ userinput.c:9259:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 9259 | if (ncdb) fprintf(stderr, "\n"); if (ncdb) rfbLog("IN check_ncache() %d events. %.4f\n", n, now - x11vnc_start); | ^~ userinput.c:8894:18: warning: variable 'ttot' set but not used [-Wunused-but-set-variable] 8894 | int pixels = 0, ttot; | ^~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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-xi2_devices.o x11vnc-xinerama.o x11vnc-xkb_bell.o x11vnc-xrandr.o x11vnc-xrecord.o x11vnc-xwrappers.o -lvncserver -lvncclient -lssl -lcrypto -lcrypt -lXtst -lXtst -lXtst -lXext -lXinerama -lXrandr -lXfixes -lXdamage -lXcursor -lX11 -lavahi-common -lavahi-client -lXi -lcairo make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' Making all in misc Making all in turbovnc make[3]: Nothing to be done for 'all'. make[3]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/misc' /usr/bin/sed -e '/Will be substituted by Xdummy\.c/d' -e '/"XDUMMY_C"/r ./Xdummy.c' < Xdummy.in > Xdummy.tmp mv -f Xdummy.tmp Xdummy make[3]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/misc' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JxcM4E + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64 + cd x11vnc-0.9.16 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/bin' /usr/bin/install -p x11vnc '/builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' make[1]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/src' Making install in misc make[1]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/misc' Making install in turbovnc make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/misc/turbovnc' make[3]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/misc/turbovnc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/misc/turbovnc' make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/misc/turbovnc' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/misc' make[3]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16/misc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/bin' /usr/bin/install -p Xdummy '/builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/misc' make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/misc' make[1]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16/misc' make[1]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/share/applications' /usr/bin/install -p -m 644 x11vnc.desktop '/builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/share/applications' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 x11vnc.1 '/builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16' make[1]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.9.16-5.fc33 --unique-debug-suffix -0.9.16-5.fc33.riscv64 --unique-debug-src-base x11vnc-0.9.16-5.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/x11vnc-0.9.16 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/bin/x11vnc extracting debug info from /builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/bin/x11vnc original debug info size: 10924kB, size after compression: 10408kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 5531 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/Xdummy from /bin/sh to #!/usr/bin/sh Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XFwGEI + umask 022 + cd /builddir/build/BUILD + cd x11vnc-0.9.16 + desktop-file-validate /builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64//usr/share/applications/x11vnc.desktop + RPM_EC=0 ++ jobs -p + exit 0 Processing files: x11vnc-0.9.16-5.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.miVXZG + umask 022 + cd /builddir/build/BUILD + cd x11vnc-0.9.16 + DOCDIR=/builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/share/doc/x11vnc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/share/doc/x11vnc + cp -pr ChangeLog /builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/share/doc/x11vnc + cp -pr NEWS /builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/share/doc/x11vnc + cp -pr README /builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/share/doc/x11vnc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xGTfVF + umask 022 + cd /builddir/build/BUILD + cd x11vnc-0.9.16 + LICENSEDIR=/builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/share/licenses/x11vnc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/share/licenses/x11vnc + cp -pr COPYING /builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64/usr/share/licenses/x11vnc + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(x11vnc.desktop) x11vnc = 0.9.16-5.fc33 x11vnc(riscv-64) = 0.9.16-5.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libXcursor.so.1()(64bit) libXdamage.so.1()(64bit) libXext.so.6()(64bit) libXfixes.so.3()(64bit) libXi.so.6()(64bit) libXinerama.so.1()(64bit) libXrandr.so.2()(64bit) libXtst.so.6()(64bit) libavahi-client.so.3()(64bit) libavahi-common.so.3()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcairo.so.2()(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libvncclient.so.1()(64bit) libvncserver.so.1()(64bit) rtld(GNU_HASH) Obsoletes: x11vnc-javaviewers < 0.9.14-14 Processing files: x11vnc-debugsource-0.9.16-5.fc33.riscv64 Provides: x11vnc-debugsource = 0.9.16-5.fc33 x11vnc-debugsource(riscv-64) = 0.9.16-5.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: x11vnc-debuginfo-0.9.16-5.fc33.riscv64 Provides: debuginfo(build-id) = f037ada66f4d9a73eb0b2af118a68d606326ec88 x11vnc-debuginfo = 0.9.16-5.fc33 x11vnc-debuginfo(riscv-64) = 0.9.16-5.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: x11vnc-debugsource(riscv-64) = 0.9.16-5.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64 Wrote: /builddir/build/RPMS/x11vnc-0.9.16-5.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/x11vnc-debugsource-0.9.16-5.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/x11vnc-debuginfo-0.9.16-5.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kYSgvF + umask 022 + cd /builddir/build/BUILD + cd x11vnc-0.9.16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/x11vnc-0.9.16-5.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0