Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/x11vnc.spec'], chrootPath='/var/lib/mock/centos+epel-7-ppc64le-1686606007.842208/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yi14gqce:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yi14gqce:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7587841a026f463dbbc640b3c6a35891', '-D', '/var/lib/mock/centos+epel-7-ppc64le-1686606007.842208/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yi14gqce:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/x11vnc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/x11vnc-0.9.16-13.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/x11vnc.spec'], chrootPath='/var/lib/mock/centos+epel-7-ppc64le-1686606007.842208/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yi14gqce:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yi14gqce:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5ccfa91d6a0b4b08b8baa300007b0967', '-D', '/var/lib/mock/centos+epel-7-ppc64le-1686606007.842208/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yi14gqce:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/x11vnc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SXF6y4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf x11vnc-0.9.16 + /usr/bin/tar -xf - + /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 -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/x11vnc-0.9.16-Respect-a-system-crypto-policy.patch 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 -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/x11vnc-0.9.16-Convert-a-changelog-to-UTF-8.patch patching file ChangeLog Patch #2 (x11vnc-0.9.16-Fix-build-with-fno-common.patch): + echo 'Patch #2 (x11vnc-0.9.16-Fix-build-with-fno-common.patch):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/x11vnc-0.9.16-Fix-build-with-fno-common.patch patching file src/util.c patching file src/util.h Patch #3 (x11vnc-0.9.16-src-cursor-fix-xfc-NULL-pointer-dereference.patch): + echo 'Patch #3 (x11vnc-0.9.16-src-cursor-fix-xfc-NULL-pointer-dereference.patch):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/x11vnc-0.9.16-src-cursor-fix-xfc-NULL-pointer-dereference.patch patching file src/cursor.c Patch #4 (x11vnc-0.9.16-scan-limit-access-to-shared-memory-segments-to-curre.patch): + echo 'Patch #4 (x11vnc-0.9.16-scan-limit-access-to-shared-memory-segments-to-curre.patch):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/x11vnc-0.9.16-scan-limit-access-to-shared-memory-segments-to-curre.patch patching file src/scan.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qXiVmB + umask 022 + cd /builddir/build/BUILD + cd x11vnc-0.9.16 + autoreconf -fi 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' ppc64le == ppc64le ']' + /usr/lib/rpm/redhat/libtool-handle-ppc64le.sh ++ find . -name config.guess -o -name config.sub + for i in '$(find . -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 . -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' + ./configure --build=powerpc64le-redhat-linux-gnu --host=powerpc64le-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 --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 powerpc64le-redhat-linux-gnu-gcc... no checking for 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 for style of include used by make... GNU checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for powerpc64le-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for RAND_file_name in -lcrypto... yes checking for crypt... no checking for crypt in -lcrypt... yes checking for OPENSSL... yes checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for XGetImage in -lX11... yes checking for XShmGetImage in -lXext... yes checking for XReadScreen in -lXext... no checking for X11/extensions/readdisplay.h... no checking for DPMSForceLevel in -lXext... yes checking for XTestGrabControl in -lXtst... yes checking for XTestFakeKeyEvent in -lXtst... yes checking for XRecordEnableContextAsync in -lXtst... yes checking for X11/XKBlib.h... yes checking for XkbSelectEvents in -lX11... yes checking for XineramaQueryScreens in -lXinerama... yes checking for XRRSelectInput in -lXrandr... yes checking for XFixesGetCursorImage in -lXfixes... yes checking for XDamageQueryExtension in -lXdamage... yes checking for XI2... yes checking for XcursorImageLoadCursor in -lXcursor... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/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 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 cairo... yes checking for LIBVNCSERVER... yes checking for LIBVNCCLIENT... yes checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-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 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 for stdlib.h... (cached) yes checking for string.h... (cached) 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 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 in_addr_t... checking for working memcmp... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for strftime... yes checking for vprintf... yes checking for _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... yes 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 -j2 /usr/bin/make all-recursive make[1]: Entering directory `/builddir/build/BUILD/x11vnc-0.9.16' Making all in src make[2]: Entering directory `/builddir/build/BUILD/x11vnc-0.9.16/src' CC x11vnc-8to24.o CC x11vnc-appshare.o appshare.c: In function 'stop': appshare.c:533:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ appshare.c:537:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ appshare.c: In function 'launch': appshare.c:497:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ appshare.c: In function 'handle_shell': appshare.c:1711:12: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(str+1); ^ appshare.c:1715:12: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ appshare.c: In function 'appshare_cleanup': appshare.c:639:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ CC x11vnc-avahi.o avahi.c: In function '_avahi_entry_group_callback': avahi.c:279:3: warning: passing argument 2 of '_avahi_create_services' discards 'const' qualifier from pointer target type [enabled by default] _avahi_create_services(new_name, svc->host, svc->port); ^ avahi.c:252:13: note: expected 'char *' but argument is of type 'const char *' static void _avahi_create_services(char *name, char *host, ^ avahi.c: At top level: avahi.c:46:13: warning: 'kill_avahi_pid' defined but not used [-Wunused-function] static void kill_avahi_pid(void) { ^ avahi.c:54:12: warning: 'try_avahi_helper' defined but not used [-Wunused-function] static int try_avahi_helper(char *name, char *host, uint16_t port) { ^ CC x11vnc-cleanup.o CC x11vnc-connections.o connections.c: In function 'run_user_command': connections.c:644:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(tmp_fd, input, len); ^ connections.c:670:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fileno(output), line, k+1); ^ connections.c:691:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fileno(ph), input, len); ^ connections.c: In function 'do_reverse_connect': connections.c:2720:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(vncsock, prestring, prestring_len); ^ connections.c:2792:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, prestring, prestring_len); ^ connections.c:2803:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, prestring, prestring_len); ^ connections.c: In function 'pconnect': connections.c:2249:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(psock, req, strlen(req)); ^ connections.c:2253:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(psock, t, strlen(t)); ^ connections.c:2266:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(psock, req, strlen(req)); ^ connections.c: In function 'socks_proxy': connections.c:2148:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, buf, len); ^ connections.c: In function 'socks5_proxy': connections.c:2023:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, buf, 3); ^ connections.c:2051:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, buf, len+2); ^ connections.c:2074:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(sock, reply+4, 4 + 2); ^ connections.c:2078:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(sock, reply+5, (int) reply[4] + 2); ^ connections.c:2080:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(sock, reply+4, 16 + 2); ^ cleanup.c: In function 'crash_shell': cleanup.c:511:10: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ cleanup.c:517:10: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ connections.c: In function 'check_gui_inputs': connections.c:3807:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "\n", 1); ^ connections.c: In function 'start_client_info_sock': connections.c:4258:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, "COOKIE:", strlen("COOKIE:")); ^ connections.c:4259:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, cookie, strlen(cookie)); ^ connections.c:4260:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, "\n", strlen("\n")); ^ connections.c:4261:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, "none\n", strlen("none\n")); ^ connections.c:4262:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, "none\n", strlen("none\n")); ^ connections.c:4263:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, lst, strlen(lst)); ^ connections.c:4264:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, "\n", strlen("\n")); ^ connections.c: In function 'send_client_info': connections.c:4317:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] if (0) write(sock, "\n", 1); ^ CC x11vnc-cursor.o CC x11vnc-gui.o gui.c: In function 'do_gui': gui.c:754:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, gui_code, strlen(gui_code)); ^ gui.c:811:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ gui.c:818:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, 128, fp); ^ CC x11vnc-help.o CC x11vnc-inet.o CC x11vnc-keyboard.o CC x11vnc-linuxfb.o linuxfb.c: In function 'console_guess': linuxfb.c:156:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, tmp, 4); ^ CC x11vnc-macosx.o CC x11vnc-macosxCG.o CC x11vnc-macosxCGP.o CC x11vnc-macosxCGS.o CC x11vnc-macosx_opengl.o CC x11vnc-options.o CC x11vnc-pm.o CC x11vnc-pointer.o CC x11vnc-rates.o CC x11vnc-remote.o CC x11vnc-scan.o remote.c: In function 'send_remote_cmd': remote.c:158:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, X11VNC_REMOTE_MAX, in); ^ remote.c: In function 'check_httpdir': remote.c:362:10: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(cwd, 1024); ^ scan.c: In function 'get_load': scan.c:2940:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(d, tmp, 60); ^ CC x11vnc-screen.o screen.c: In function 'vnc_reflect_get_password': screen.c:1434:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(p, 100, stdin); ^ screen.c:1439:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(p, 100, f); ^ screen.c: In function 'initialize_raw_fb': screen.c:1773:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, (char *)vals, 4 * w); ^ screen.c:1795:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, (char *)val, 4 * w); ^ CC x11vnc-selection.o CC x11vnc-solid.o solid.c: In function 'solid_macosx': solid.c:1217:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, macosx_solid_background, strlen(macosx_solid_background)); ^ CC x11vnc-sslcmds.o sslcmds.c: In function 'sslGenCA': sslcmds.c:604:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ sslcmds.c: In function 'sslGenCert': sslcmds.c:640:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ sslcmds.c: In function 'sslEncKey': sslcmds.c:730:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(tca); ^ sslcmds.c:744:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(tmp_fd, genCert, strlen(genCert)); ^ sslcmds.c:758:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(scr); ^ sslcmds.c:855:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(tmp_fd, genCert, strlen(genCert)); ^ sslcmds.c:871:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(scr); ^ CC x11vnc-sslhelper.o sslhelper.c: In function 'check_vnc_tls_mode': sslhelper.c:1934:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((uint32_t *)buf)[0] = Swap32IfLE(len); ^ sslhelper.c: In function 'pr_ssl_info': sslhelper.c:1963:4: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] c = SSL_get_current_cipher(ssl); ^ sslhelper.c: In function 'accept_openssl': sslhelper.c:4076:8: warning: the address of 'rcookie' will always evaluate as 'true' [-Waddress] if (rcookie && strstr(rcookie, "VncViewer.class")) { ^ In file included from sslhelper.c:4382:0: enc.h: In function 'securevnc_setup': enc.h:1452:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=] fprintf(stderr, "securevnc_setup: seeding with RANDSTR len=%d\n", strlen(s)); ^ sslhelper.c: In function 'create_tmp_pem': sslhelper.c:346:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(cnf_fd, str, strlen(str)); ^ sslhelper.c:505:10: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ sslhelper.c: In function 'pem_passwd_callback': sslhelper.c:780:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("stty -echo"); ^ sslhelper.c:783:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("stty echo"); ^ sslhelper.c:786:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("stty echo"); ^ sslhelper.c: In function 'add_anon_dh': sslhelper.c:1482:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(cnf_fd, new_dh_params, strlen(new_dh_params)); ^ sslhelper.c:1536:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(d, new_dh_params, strlen(new_dh_params)); ^ sslhelper.c:1544:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(cnf_fd, fixed_dh_params, strlen(fixed_dh_params)); ^ sslhelper.c: In function 'accept_openssl': sslhelper.c:3621:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(vncsock, tbuf, strlen(cookie)); ^ sslhelper.c:3627:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(vncsock, tbuf, strlen(cookie)); ^ sslhelper.c:3701:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(vncsock, cookie, strlen(cookie)); ^ sslhelper.c:3703:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(vncsock, buf, n); ^ sslhelper.c:3775:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(vncsock, tbuf, strlen(tbuf)); ^ sslhelper.c:3849:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(vncsock, tbuf, strlen(tbuf)); ^ sslhelper.c:3896:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(httpsock, buf, m); ^ sslhelper.c:3897:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(httpsock, s, strlen(s)); ^ sslhelper.c:3899:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(httpsock, q, n-m); ^ sslhelper.c:3904:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(httpsock, buf, n); ^ sslhelper.c:3919:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(vncsock, cookie, strlen(cookie)); ^ sslhelper.c:3983:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(certret_fd, certret_str, sbuf.st_size); ^ sslhelper.c:4006:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(dhret_fd, dhret_str, sbuf.st_size); ^ sslhelper.c: In function 'watch_for_http_traffic': sslhelper.c:3254:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, buf_a, *n_a); ^ sslhelper.c: In function 'ssl_xfer': sslhelper.c:2316:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(csock, tmp, 12); ^ sslhelper.c: In function 'raw_xfer': sslhelper.c:4309:22: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] if (db > 1) write(2, buf, n); ^ sslhelper.c:4341:22: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] if (db > 1) write(2, buf, n); ^ In file included from sslhelper.c:4382:0: enc.h: In function 'securevnc_setup': enc.h:1344:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(server, (char *) &b1, 1); ^ enc.h:1345:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(server, (char *) &b2, 1); ^ enc.h:1346:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(server, (char *) &b3, 1); ^ enc.h:1347:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(server, (char *) &b4, 1); ^ enc.h:1436:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, to_viewer, 12); /* and first 12 bytes 'RFB ...' as message */ ^ enc.h:1469:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(server, encrypted_keybuf, n); ^ enc.h:1479:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(server, (char *)&zero, 1); ^ enc.h:1481:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(server, (char *)&one, 1); ^ enc.h:1483:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(server, (char *)&zero, 1); ^ enc.h:1484:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(server, (char *)&zero, 1); ^ enc.h:1486:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(server, (char *)&sig, 1); ^ enc.h:1488:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(server, (char *)&zero, 1); ^ enc.h:1558:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(server, signature, nsig); ^ enc.h:1568:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(viewer, to_viewer, to_viewer_len); ^ enc.h: In function 'securevnc_server_rsa_save_dialog': enc.h:1110:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fileno(p), rsabuf, SECUREVNC_RSA_PUBKEY_SIZE); ^ enc.h: In function 'doloop': enc.h:2101:10: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ CC x11vnc-uinput.o uinput.c: In function 'initialize_uinput': uinput.c:490:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &udev, sizeof(udev)); ^ uinput.c: In function 'ptr_move': uinput.c:727:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(d, &ev, sizeof(ev)); ^ uinput.c:732:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(d, &ev, sizeof(ev)); ^ uinput.c:737:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(d, &ev, sizeof(ev)); ^ uinput.c: In function 'button_click': uinput.c:983:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(d, &ev, sizeof(ev)); ^ uinput.c:988:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(d, &ev, sizeof(ev)); ^ uinput.c: In function 'ptr_abs': uinput.c:780:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(d, &ev, sizeof(ev)); ^ uinput.c:785:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(d, &ev, sizeof(ev)); ^ uinput.c:791:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(d, &ev, sizeof(ev)); ^ uinput.c:797:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(d, &ev, sizeof(ev)); ^ uinput.c:804:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(d, &ev, sizeof(ev)); ^ uinput.c: In function 'uinput_key_command': uinput.c:1261:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(d, &ev, sizeof(ev)); ^ uinput.c:1266:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(d, &ev, sizeof(ev)); ^ CC x11vnc-unixpw.o unixpw.c: In function 'white_pixel': unixpw.c:361:23: warning: variable 'black_pix' set but not used [-Wunused-but-set-variable] 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] static unsigned long black_pix = 0, white_pix = 1, set = 0; ^ unixpw.c: In function 'su_verify': unixpw.c:1055:7: warning: variable 'ttyfd' set but not used [-Wunused-but-set-variable] int ttyfd; ^ unixpw.c: In function 'apply_opts': unixpw.c:2061:9: warning: variable 'notmode' set but not used [-Wunused-but-set-variable] int i, notmode = 0; ^ unixpw.c: In function 'try_to_be_nobody': unixpw.c:648:9: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(pw->pw_uid); ^ unixpw.c:651:10: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(pw->pw_uid); ^ unixpw.c:654:9: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(pw->pw_gid); ^ unixpw.c:657:10: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(pw->pw_gid); ^ unixpw.c: In function 'su_verify': unixpw.c:1120:11: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(nam); ^ unixpw.c:1122:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(tfd, "NOTTTY\n", 7); ^ unixpw.c:1127:8: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ unixpw.c:1157:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, "C", 1); ^ unixpw.c:1252:11: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd0); ^ unixpw.c:1254:11: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd0); ^ unixpw.c:1339:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, pass+k, 1); ^ unixpw.c:1343:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, pass, strlen(pass)); ^ unixpw.c: In function 'check_unixpw_userprefs': unixpw.c:1541:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 1024, f); ^ CC x11vnc-user.o user.c: In function 'do_run_cmd': user.c:2470:6: warning: variable 'internal_cmd' set but not used [-Wunused-but-set-variable] int internal_cmd = 0; ^ user.c: In function 'setup_cmd': user.c:1905:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, find_display, strlen(find_display)); ^ user.c:1914:13: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(com); ^ user.c: In function 'vnc_redirect_timeout': user.c:1396:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, "timeout: no clients connected.\n", 31); ^ user.c: In function 'do_run_cmd': user.c:2511:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(tmp_fd, s, strlen(s)); ^ user.c:2513:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(tmp_fd, find_display, strlen(find_display)); ^ user.c:2576:42: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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:61: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] if (db) write(2, line, 100); ^ user.c:2857:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, xauth_raw_data, n); ^ user.c: In function 'do_chvt': user.c:1405:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(chvt); ^ user.c: In function 'do_vnc_redirect': user.c:1876:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(vnc_redirect_sock, vnc_redirect_test, vnc_redirect_cnt); ^ CC x11vnc-userinput.o userinput.c: In function 'initialize_scroll_term': userinput.c:759:9: warning: variable 's' set but not used [-Wunused-but-set-variable] char *s = scroll_good_all[n++]; ^ userinput.c: In function 'set_ypad': userinput.c:1306:30: warning: the address of 'xrecord_name_info' will always evaluate as 'true' [-Waddress] if (!xrecord_set_by_keys || !xrecord_name_info) { ^ userinput.c: In function 'push_scr_ev': userinput.c:1795:11: warning: variable 'trate' set but not used [-Wunused-but-set-variable] double trate; ^ userinput.c: In function 'check_xrecord_keys': userinput.c:2633:17: warning: variable 'last_scr_ev' set but not used [-Wunused-but-set-variable] static double last_scr_ev = 0.0; ^ userinput.c:2479:6: warning: variable 'link' set but not used [-Wunused-but-set-variable] int link, latency, netrate; ^ userinput.c:2475:30: warning: variable 'scroll_rep' set but not used [-Wunused-but-set-variable] 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] 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] int db = 0; \ ^ userinput.c:3146:2: note: in expansion of macro 'DB_SET' DB_SET ^ userinput.c: In function 'check_fixscreen': userinput.c:3560:17: warning: variable 'last' set but not used [-Wunused-but-set-variable] 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] int bs_h = cache_list[nidx].bs_h; ^ userinput.c:3781:7: warning: variable 'bs_w' set but not used [-Wunused-but-set-variable] int bs_w = cache_list[nidx].bs_w; ^ userinput.c: In function 'check_wireframe': userinput.c:4358:16: warning: variable 'last_save_stacklist' set but not used [-Wunused-but-set-variable] 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] int got_input = 0; ^ userinput.c:5274:29: warning: variable 'to' set but not used [-Wunused-but-set-variable] 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] int got_input = 0; ^ userinput.c:5439:13: warning: variable 'ssec' set but not used [-Wunused-but-set-variable] static int ssec = 0, total_calls = 0; ^ userinput.c:5426:32: warning: variable 'rpe_last' set but not used [-Wunused-but-set-variable] 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] 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] int x, y, w, h; ^ userinput.c:7134:12: warning: variable 'w' set but not used [-Wunused-but-set-variable] 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] int x, y, w, h; ^ userinput.c:7240:12: warning: variable 'w' set but not used [-Wunused-but-set-variable] 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] int bx1, by1, bw1, bh1; ^ userinput.c:7787:16: warning: variable 'bw1' set but not used [-Wunused-but-set-variable] int bx1, by1, bw1, bh1; ^ userinput.c:7787:11: warning: variable 'by1' set but not used [-Wunused-but-set-variable] int bx1, by1, bw1, bh1; ^ userinput.c:7787:6: warning: variable 'bx1' set but not used [-Wunused-but-set-variable] int bx1, by1, bw1, bh1; ^ userinput.c:7786:21: warning: variable 'sh1' set but not used [-Wunused-but-set-variable] int sx1, sy1, sw1, sh1, dx, dy; ^ userinput.c:7786:16: warning: variable 'sw1' set but not used [-Wunused-but-set-variable] 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] int moved = 0; ^ userinput.c:7918:18: warning: variable 'h1' set but not used [-Wunused-but-set-variable] int x1, y1, w1, h1; ^ userinput.c:7918:14: warning: variable 'w1' set but not used [-Wunused-but-set-variable] int x1, y1, w1, h1; ^ userinput.c:7917:18: warning: variable 'h0' set but not used [-Wunused-but-set-variable] int x0, y0, w0, h0; ^ userinput.c:7917:14: warning: variable 'w0' set but not used [-Wunused-but-set-variable] 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] int x3, y3, w3, h3; ^ userinput.c:8466:14: warning: variable 'w3' set but not used [-Wunused-but-set-variable] int x3, y3, w3, h3; ^ userinput.c:8464:18: warning: variable 'h1' set but not used [-Wunused-but-set-variable] int x1, y1, w1, h1; ^ userinput.c:8464:14: warning: variable 'w1' set but not used [-Wunused-but-set-variable] int x1, y1, w1, h1; ^ userinput.c:8463:18: warning: variable 'h0' set but not used [-Wunused-but-set-variable] int x0, y0, w0, h0; ^ userinput.c:8463:14: warning: variable 'w0' set but not used [-Wunused-but-set-variable] int x0, y0, w0, h0; ^ userinput.c: In function 'check_ncache': userinput.c:8894:18: warning: variable 'ttot' set but not used [-Wunused-but-set-variable] int pixels = 0, ttot; ^ CC x11vnc-util.o util.c: In function 'set_env': util.c:240:8: warning: unused variable 'str' [-Wunused-variable] char *str; ^ util.c: In function 'do_allinput': util.c:516:7: warning: variable 'usec0' set but not used [-Wunused-but-set-variable] long usec0; ^ CC x11vnc-v4l.o v4l.c:134:12: warning: 'v4l1_val' defined but not used [-Wunused-function] static int v4l1_val(int pct) { ^ v4l.c:146:12: warning: 'v4l1_width' defined but not used [-Wunused-function] static int v4l1_width(int w) { ^ v4l.c:159:12: warning: 'v4l1_height' defined but not used [-Wunused-function] static int v4l1_height(int h) { ^ v4l.c:173:12: warning: 'v4l1_resize' defined but not used [-Wunused-function] static int v4l1_resize(int fd, int w, int h) { ^ v4l.c:214:13: warning: 'v4l1_setfreq' defined but not used [-Wunused-function] static void v4l1_setfreq(int fd, unsigned long freq, int verb) { ^ v4l.c:234:13: warning: 'v4l1_set_input' defined but not used [-Wunused-function] static void v4l1_set_input(int fd, int which) { ^ v4l.c:436:12: warning: 'v4l1_dpct' defined but not used [-Wunused-function] static int v4l1_dpct(int old, int d) { ^ v4l.c:750:14: warning: 'v4l1_lu_palette' defined but not used [-Wunused-function] static char *v4l1_lu_palette(unsigned short palette) { ^ v4l.c:802:14: warning: 'v4l2_lu_palette' defined but not used [-Wunused-function] static char *v4l2_lu_palette(unsigned int fmt) { ^ v4l.c:1067:12: warning: 'open_dev' defined but not used [-Wunused-function] static int open_dev(char *dev) { ^ v4l.c:1409:22: warning: 'lookup_freq' defined but not used [-Wunused-function] static unsigned long lookup_freq(int sta) { ^ v4l.c:1422:12: warning: 'lookup_station' defined but not used [-Wunused-function] static int lookup_station(unsigned long freq) { ^ v4l.c:132:12: warning: 'last_channel' defined but not used [-Wunused-variable] static int last_channel = 0; ^ CC x11vnc-win_utils.o 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] static double last_snap = 0.0, last_free = 0.0; ^ CC x11vnc-x11vnc.o x11vnc.c: In function 'check_guess_auth_file': x11vnc.c:1960:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] int n; ^ x11vnc.c: In function 'main': x11vnc.c:4638:8: warning: variable 'message' set but not used [-Wunused-but-set-variable] char message[] = "-rfbauth, -passwdfile, -passwd password, " ^ x11vnc.c: In function 'terminal_services': x11vnc.c:555:13: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(dcmd); ^ x11vnc.c:562:13: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(dcmd); ^ x11vnc.c: In function 'do_tsd': x11vnc.c:718:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ x11vnc.c:729:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ x11vnc.c: In function 'quick_pw': x11vnc.c:1381:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("stty -echo"); ^ x11vnc.c:1384:10: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("stty echo"); ^ x11vnc.c:1387:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("stty echo"); ^ x11vnc.c: In function 'store_homedir_passwd': x11vnc.c:1760:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("stty -echo"); ^ x11vnc.c:1763:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("stty echo"); ^ x11vnc.c:1771:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("stty echo"); ^ x11vnc.c:1775:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("stty echo"); ^ CC x11vnc-x11vnc_defs.o CC x11vnc-xdamage.o xdamage.c: In function 'record_desired_xdamage_rect': xdamage.c:92:6: warning: variable 'dt_x' set but not used [-Wunused-but-set-variable] int dt_x, dt_y, nt_x1, nt_y1, nt_x2, nt_y2, nt; ^ CC x11vnc-xevents.o xevents.c: In function 'process_watch': xevents.c:612:16: warning: variable 'last_bust' set but not used [-Wunused-but-set-variable] static time_t last_bust = 0; ^ CC x11vnc-xi2_devices.o CC x11vnc-xinerama.o CC x11vnc-xkb_bell.o CC x11vnc-xrandr.o CC x11vnc-xrecord.o CC x11vnc-xwrappers.o xwrappers.c: In function 'xauth_raw': xwrappers.c:1428:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(tmp_fd, xauth_raw_data, xauth_raw_len); ^ CCLD x11vnc make[2]: Leaving directory `/builddir/build/BUILD/x11vnc-0.9.16/src' Making all in misc make[2]: Entering directory `/builddir/build/BUILD/x11vnc-0.9.16/misc' Making all in turbovnc make[3]: Entering directory `/builddir/build/BUILD/x11vnc-0.9.16/misc/turbovnc' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/builddir/build/BUILD/x11vnc-0.9.16/misc/turbovnc' 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' make[2]: Leaving directory `/builddir/build/BUILD/x11vnc-0.9.16/misc' make[2]: Entering directory `/builddir/build/BUILD/x11vnc-0.9.16' make[2]: Leaving directory `/builddir/build/BUILD/x11vnc-0.9.16' make[1]: Leaving directory `/builddir/build/BUILD/x11vnc-0.9.16' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qldKes 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-13.el7.ppc64le/usr/bin' /usr/bin/install -c x11vnc '/builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le/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-13.el7.ppc64le/usr/bin' /usr/bin/install -c Xdummy '/builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le/usr/bin' + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le ++ dirname /builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le + cd x11vnc-0.9.16 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le 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-13.el7.ppc64le/usr/share/applications' /usr/bin/install -c -m 644 x11vnc.desktop '/builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le/usr/share/applications' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le/usr/share/man/man1' /usr/bin/install -c -m 644 x11vnc.1 '/builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le/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 --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/x11vnc-0.9.16 extracting debug info from /builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le/usr/bin/x11vnc dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 5531 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.op0Jsj + umask 022 + cd /builddir/build/BUILD + cd x11vnc-0.9.16 + desktop-file-validate /builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le//usr/share/applications/x11vnc.desktop + exit 0 Processing files: x11vnc-0.9.16-13.el7.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8GFYGa + umask 022 + cd /builddir/build/BUILD + cd x11vnc-0.9.16 + DOCDIR=/builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le/usr/share/doc/x11vnc-0.9.16 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le/usr/share/doc/x11vnc-0.9.16 + cp -pr ChangeLog /builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le/usr/share/doc/x11vnc-0.9.16 + cp -pr NEWS /builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le/usr/share/doc/x11vnc-0.9.16 + cp -pr README /builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le/usr/share/doc/x11vnc-0.9.16 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lBcyV1 + umask 022 + cd /builddir/build/BUILD + cd x11vnc-0.9.16 + LICENSEDIR=/builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le/usr/share/licenses/x11vnc-0.9.16 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le/usr/share/licenses/x11vnc-0.9.16 + cp -pr COPYING /builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le/usr/share/licenses/x11vnc-0.9.16 + exit 0 perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Provides: application() application(x11vnc.desktop) x11vnc = 0.9.16-13.el7 x11vnc(ppc-64) = 0.9.16-13.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libX11.so.6()(64bit) libXcursor.so.1()(64bit) libXdamage.so.1()(64bit) libXext.so.6()(64bit) libXfixes.so.3()(64bit) libXi.so.6()(64bit) libXinerama.so.1()(64bit) libXrandr.so.2()(64bit) libXtst.so.6()(64bit) libavahi-client.so.3()(64bit) libavahi-common.so.3()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcairo.so.2()(64bit) libcrypt.so.1()(64bit) libcrypt.so.1(GLIBC_2.17)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libnsl.so.1()(64bit) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) libvncclient.so.0()(64bit) libvncserver.so.0()(64bit) rtld(GNU_HASH) Obsoletes: x11vnc-javaviewers < 0.9.14-14 Processing files: x11vnc-debuginfo-0.9.16-13.el7.ppc64le Provides: x11vnc-debuginfo = 0.9.16-13.el7 x11vnc-debuginfo(ppc-64) = 0.9.16-13.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le Wrote: /builddir/build/RPMS/x11vnc-0.9.16-13.el7.ppc64le.rpm Wrote: /builddir/build/RPMS/x11vnc-debuginfo-0.9.16-13.el7.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8OoLRC + umask 022 + cd /builddir/build/BUILD + cd x11vnc-0.9.16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/x11vnc-0.9.16-13.el7.ppc64le + exit 0 Child return code was: 0