Diff of the two buildlogs: -- --- b1/build.log 2021-12-17 06:37:05.215231394 +0000 +++ b2/build.log 2021-12-17 06:40:28.284886887 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jan 19 00:58:45 -12 2023 -I: pbuilder-time-stamp: 1674133125 +I: Current time: Fri Dec 17 20:37:07 +14 2021 +I: pbuilder-time-stamp: 1639723027 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Wed Nov 25 17:19:55 2020 -12 +gpgv: Signature made Thu Nov 26 19:19:55 2020 +14 gpgv: using RSA key 4644409808C171E05531DDEE054CB8F31343CF44 gpgv: issuer "carnil@debian.org" gpgv: Can't check signature: No public key @@ -37,136 +37,170 @@ dpkg-source: info: applying scan-limit-access-to-shared-memory-segments-to-curre.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1403573/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1161175/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1161175/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1161175/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='c3e74d82fe6b42a38dc5194d05ee5a35' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1403573' - PS1='# ' - PS2='> ' + INVOCATION_ID=edf8df7cbe5346189eacbf14aac2b8ba + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1161175 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.3nqwRW9ZjZ/pbuilderrc_jA82 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.3nqwRW9ZjZ/b1 --logfile b1/build.log x11vnc_0.9.13-6+deb10u1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.3nqwRW9ZjZ/pbuilderrc_Jiyo --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.3nqwRW9ZjZ/b2 --logfile b2/build.log x11vnc_0.9.13-6+deb10u1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 5.14.0-0.bpo.2-amd64 #1 SMP Debian 5.14.9-2~bpo11+1 (2021-10-10) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Dec 10 16:20 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/1403573/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Dec 17 20:37 sh -> bash + lrwxrwxrwx 1 root root 4 Nov 8 11:58 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/1161175/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -395,7 +429,7 @@ Get: 163 http://deb.debian.org/debian buster/main amd64 libxss-dev amd64 1:1.2.3-1 [23.5 kB] Get: 164 http://deb.debian.org/debian buster/main amd64 x11proto-record-dev all 2018.4-4 [3132 B] Get: 165 http://deb.debian.org/debian buster/main amd64 libxtst-dev amd64 2:1.2.3-1 [31.9 kB] -Fetched 323 MB in 4s (84.5 MB/s) +Fetched 323 MB in 6s (58.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19195 files and directories currently installed.) @@ -1264,7 +1298,8 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/x11vnc-0.9.13/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../x11vnc_0.9.13-6+deb10u1_source.changes +hostname: Name or service not known +I: Running cd /build/x11vnc-0.9.13/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../x11vnc_0.9.13-6+deb10u1_source.changes dpkg-buildpackage: info: source package x11vnc dpkg-buildpackage: info: source version 0.9.13-6+deb10u1 dpkg-buildpackage: info: source distribution buster-security @@ -1577,7 +1612,7 @@ debian/rules override_dh_auto_build-arch make[1]: Entering directory '/build/x11vnc-0.9.13' dh_auto_build -- -C x11vnc - make -j16 -C x11vnc + make -j15 -C x11vnc make[2]: Entering directory '/build/x11vnc-0.9.13/x11vnc' Making all in misc make[3]: Entering directory '/build/x11vnc-0.9.13/x11vnc/misc' @@ -1607,31 +1642,27 @@ gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-macosxCGS.o `test -f 'macosxCGS.c' || echo './'`macosxCGS.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-macosx_opengl.o `test -f 'macosx_opengl.c' || echo './'`macosx_opengl.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-options.o `test -f 'options.c' || echo './'`options.c +cleanup.c: In function 'crash_shell': +cleanup.c:506:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + system(cmd); + ^~~~~~~~~~~ +cleanup.c:512:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + system(cmd); + ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-pm.o `test -f 'pm.c' || echo './'`pm.c +connections.c: In function 'run_user_command': +connections.c:696:14: warning: variable 'pidw' set but not used [-Wunused-but-set-variable] + pid_t pid, pidw; + ^~~~ +cursor.c: In function 'disable_cursor_shape_updates': +cursor.c:1729:13: warning: variable 'changed' set but not used [-Wunused-but-set-variable] + static int changed = 0; + ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-pointer.o `test -f 'pointer.c' || echo './'`pointer.c -gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-rates.o `test -f 'rates.c' || echo './'`rates.c -inet.c: In function 'get_host': -inet.c:237:6: warning: variable 'saddr_port' set but not used [-Wunused-but-set-variable] - int saddr_port; - ^~~~~~~~~~ -keyboard.c: In function 'clear_locks': -keyboard.c:330:6: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] - KeySym ks = XKeycodeToKeysym(dpy, key, 0); - ^~~~~~ -In file included from x11vnc.h:73, - from keyboard.c:35: -/usr/include/X11/Xlib.h:1687:15: note: declared here - extern KeySym XKeycodeToKeysym( - ^~~~~~~~~~~~~~~~ -keyboard.c: In function 'delete_keycode': -keyboard.c:603:3: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] - ksym = XKeycodeToKeysym(dpy, kc, 0); - ^~~~ -In file included from x11vnc.h:73, - from keyboard.c:35: -/usr/include/X11/Xlib.h:1687:15: note: declared here - extern KeySym XKeycodeToKeysym( - ^~~~~~~~~~~~~~~~ +connections.c: In function 'do_reverse_connect': +connections.c:2689:34: warning: variable 's' set but not used [-Wunused-but-set-variable] + char *host, *p, *str = str_in, *s = NULL; + ^ avahi.c: In function 'avahi_initialise': avahi.c:219:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (db) fprintf(stderr, "in avahi_initialise\n"); @@ -1659,18 +1690,6 @@ avahi.c:299:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' svc->name = name; ^~~ -inet.c: In function 'accept_unix': -inet.c:730:46: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] - fd = accept(sock, (struct sockaddr *)&addr, &fromlen); - ^~~~~~~~ -In file included from /usr/include/netinet/in.h:23, - from /usr/include/rfb/rfbproto.h:102, - from /usr/include/rfb/rfb.h:44, - from x11vnc.h:65, - from inet.c:35: -/usr/include/x86_64-linux-gnu/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' - extern int accept (int __fd, __SOCKADDR_ARG __addr, - ^~~~~~ avahi.c: In function 'avahi_advertise': avahi.c:338:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (db) fprintf(stderr, "in avahi_advertise: '%s' '%s' %d\n", name, host, port); @@ -1716,23 +1735,6 @@ avahi.c:428:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' avahi_threaded_poll_free(_poll); ^~~~~~~~~~~~~~~~~~~~~~~~ -connections.c: In function 'run_user_command': -connections.c:696:14: warning: variable 'pidw' set but not used [-Wunused-but-set-variable] - pid_t pid, pidw; - ^~~~ -cursor.c: In function 'disable_cursor_shape_updates': -cursor.c:1729:13: warning: variable 'changed' set but not used [-Wunused-but-set-variable] - static int changed = 0; - ^~~~~~~ -keyboard.c: In function 'xkb_tweak_keyboard': -keyboard.c:1690:5: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] - s1 = XKeysymToString(XKeycodeToKeysym(dpy, - ^~ -In file included from x11vnc.h:73, - from keyboard.c:35: -/usr/include/X11/Xlib.h:1687:15: note: declared here - extern KeySym XKeycodeToKeysym( - ^~~~~~~~~~~~~~~~ At top level: 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) { @@ -1740,73 +1742,6 @@ avahi.c:46:13: warning: 'kill_avahi_pid' defined but not used [-Wunused-function] static void kill_avahi_pid(void) { ^~~~~~~~~~~~~~ -keyboard.c:1944:7: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] - KeySym ks = XKeycodeToKeysym(dpy, kc_f[l], j); - ^~~~~~ -In file included from x11vnc.h:73, - from keyboard.c:35: -/usr/include/X11/Xlib.h:1687:15: note: declared here - extern KeySym XKeycodeToKeysym( - ^~~~~~~~~~~~~~~~ -keyboard.c:2005:4: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] - str = XKeysymToString(XKeycodeToKeysym(dpy,kc_f[l],0)); - ^~~ -In file included from x11vnc.h:73, - from keyboard.c:35: -/usr/include/X11/Xlib.h:1687:15: note: declared here - extern KeySym XKeycodeToKeysym( - ^~~~~~~~~~~~~~~~ -cleanup.c: In function 'crash_shell': -cleanup.c:506:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - system(cmd); - ^~~~~~~~~~~ -cleanup.c:512:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - system(cmd); - ^~~~~~~~~~~ -linuxfb.c: In function 'console_guess': -linuxfb.c:156:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] - read(fd, tmp, 4); - ^~~~~~~~~~~~~~~~ -gui.c: In function 'do_gui': -gui.c:754:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(fd, gui_code, strlen(gui_code)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gui.c:811:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - system(cmd); - ^~~~~~~~~~~ -gui.c:818:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] - fgets(line, 128, fp); - ^~~~~~~~~~~~~~~~~~~~ -keyboard.c: In function 'keyboard': -keyboard.c:3064:16: warning: variable 'max_keyrepeat_always' set but not used [-Wunused-but-set-variable] - static double max_keyrepeat_always = -1.0; - ^~~~~~~~~~~~~~~~~~~~ -appshare.c: In function 'stop': -appshare.c:533:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - system(cmd); - ^~~~~~~~~~~ -appshare.c:537:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - system(cmd); - ^~~~~~~~~~~ -connections.c: In function 'do_reverse_connect': -appshare.c: In function 'launch': -appshare.c:497:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - system(cmd); - ^~~~~~~~~~~ -connections.c:2689:34: warning: variable 's' set but not used [-Wunused-but-set-variable] - char *host, *p, *str = str_in, *s = NULL; - ^ -appshare.c: In function 'handle_shell': -appshare.c:1711:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - system(str+1); - ^~~~~~~~~~~~~ -appshare.c:1715:6: 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:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - system(cmd); - ^~~~~~~~~~~ connections.c: In function 'run_user_command': connections.c:642:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(tmp_fd, input, len); @@ -1817,15 +1752,22 @@ connections.c:689:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fileno(ph), input, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pointer.c: In function 'do_button_mask_change': -pointer.c:428:5: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] - char *str = XKeysymToString(XKeycodeToKeysym( - ^~~~ -In file included from x11vnc.h:73, - from pointer.c:35: -/usr/include/X11/Xlib.h:1687:15: note: declared here - extern KeySym XKeycodeToKeysym( - ^~~~~~~~~~~~~~~~ +inet.c: In function 'get_host': +inet.c:237:6: warning: variable 'saddr_port' set but not used [-Wunused-but-set-variable] + int saddr_port; + ^~~~~~~~~~ +inet.c: In function 'accept_unix': +inet.c:730:46: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] + fd = accept(sock, (struct sockaddr *)&addr, &fromlen); + ^~~~~~~~ +In file included from /usr/include/netinet/in.h:23, + from /usr/include/rfb/rfbproto.h:102, + from /usr/include/rfb/rfb.h:44, + from x11vnc.h:65, + from inet.c:35: +/usr/include/x86_64-linux-gnu/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' + extern int accept (int __fd, __SOCKADDR_ARG __addr, + ^~~~~~ connections.c: In function 'do_reverse_connect': connections.c:2763:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(vncsock, prestring, prestring_len); @@ -1843,13 +1785,24 @@ connections.c:2295:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(psock, t, strlen(t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ +appshare.c: In function 'stop': connections.c:2308:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(psock, req, strlen(req)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +appshare.c:533:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + system(cmd); + ^~~~~~~~~~~ +appshare.c:537:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + system(cmd); + ^~~~~~~~~~~ connections.c: In function 'socks_proxy': connections.c:2190:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, buf, len); ^~~~~~~~~~~~~~~~~~~~~ +appshare.c: In function 'launch': +appshare.c:497:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + system(cmd); + ^~~~~~~~~~~ connections.c: In function 'socks5_proxy': connections.c:2065:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, buf, 3); @@ -1866,11 +1819,21 @@ connections.c:2122:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(sock, reply+4, 16 + 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-remote.o `test -f 'remote.c' || echo './'`remote.c +appshare.c: In function 'handle_shell': +appshare.c:1711:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + system(str+1); + ^~~~~~~~~~~~~ +appshare.c:1715:6: 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:3848:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "\n", 1); ^~~~~~~~~~~~~~~~~~ +appshare.c: In function 'appshare_cleanup': +appshare.c:639:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + system(cmd); + ^~~~~~~~~~~ connections.c: In function 'start_client_info_sock': connections.c:4261:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, "COOKIE:", strlen("COOKIE:")); @@ -1893,23 +1856,86 @@ connections.c:4267:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock, "\n", strlen("\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gui.c: In function 'do_gui': +gui.c:754:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(fd, gui_code, strlen(gui_code)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gui.c:811:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + system(cmd); + ^~~~~~~~~~~ +gui.c:818:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] + fgets(line, 128, fp); + ^~~~~~~~~~~~~~~~~~~~ connections.c: In function 'send_client_info': connections.c:4320:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] if (0) write(sock, "\n", 1); ^~~~~~~~~~~~~~~~~~~~ +keyboard.c: In function 'clear_locks': +keyboard.c:330:6: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] + KeySym ks = XKeycodeToKeysym(dpy, key, 0); + ^~~~~~ +In file included from x11vnc.h:73, + from keyboard.c:35: +/usr/include/X11/Xlib.h:1687:15: note: declared here + extern KeySym XKeycodeToKeysym( + ^~~~~~~~~~~~~~~~ +keyboard.c: In function 'delete_keycode': +keyboard.c:603:3: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] + ksym = XKeycodeToKeysym(dpy, kc, 0); + ^~~~ +In file included from x11vnc.h:73, + from keyboard.c:35: +/usr/include/X11/Xlib.h:1687:15: note: declared here + extern KeySym XKeycodeToKeysym( + ^~~~~~~~~~~~~~~~ +linuxfb.c: In function 'console_guess': +linuxfb.c:156:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] + read(fd, tmp, 4); + ^~~~~~~~~~~~~~~~ +keyboard.c: In function 'xkb_tweak_keyboard': +keyboard.c:1690:5: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] + s1 = XKeysymToString(XKeycodeToKeysym(dpy, + ^~ +In file included from x11vnc.h:73, + from keyboard.c:35: +/usr/include/X11/Xlib.h:1687:15: note: declared here + extern KeySym XKeycodeToKeysym( + ^~~~~~~~~~~~~~~~ +keyboard.c:1944:7: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] + KeySym ks = XKeycodeToKeysym(dpy, kc_f[l], j); + ^~~~~~ +In file included from x11vnc.h:73, + from keyboard.c:35: +/usr/include/X11/Xlib.h:1687:15: note: declared here + extern KeySym XKeycodeToKeysym( + ^~~~~~~~~~~~~~~~ +keyboard.c:2005:4: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] + str = XKeysymToString(XKeycodeToKeysym(dpy,kc_f[l],0)); + ^~~ +In file included from x11vnc.h:73, + from keyboard.c:35: +/usr/include/X11/Xlib.h:1687:15: note: declared here + extern KeySym XKeycodeToKeysym( + ^~~~~~~~~~~~~~~~ +keyboard.c: In function 'keyboard': +keyboard.c:3064:16: warning: variable 'max_keyrepeat_always' set but not used [-Wunused-but-set-variable] + static double max_keyrepeat_always = -1.0; + ^~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-rates.o `test -f 'rates.c' || echo './'`rates.c +gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-remote.o `test -f 'remote.c' || echo './'`remote.c +pointer.c: In function 'do_button_mask_change': +pointer.c:428:5: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] + char *str = XKeysymToString(XKeycodeToKeysym( + ^~~~ +In file included from x11vnc.h:73, + from pointer.c:35: +/usr/include/X11/Xlib.h:1687:15: note: declared here + extern KeySym XKeycodeToKeysym( + ^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-scan.o `test -f 'scan.c' || echo './'`scan.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-screen.o `test -f 'screen.c' || echo './'`screen.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-selection.o `test -f 'selection.c' || echo './'`selection.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-solid.o `test -f 'solid.c' || echo './'`solid.c -gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-sslcmds.o `test -f 'sslcmds.c' || echo './'`sslcmds.c -scan.c: In function 'scan_for_updates': -scan.c:3361:9: warning: variable 'dtmp' set but not used [-Wunused-but-set-variable] - double dtmp = 0.0; - ^~~~ -scan.c: In function 'get_load': -scan.c:2938:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] - read(d, tmp, 60); - ^~~~~~~~~~~~~~~~ In file included from x11vnc.h:698, from remote.c:35: remote.c: In function 'process_remote_cmd': @@ -1919,12 +1945,6 @@ remote.c:5863:8: note: in expansion of macro 'NONUL' NONUL(vnc_desktop_name)); ^~~~~ -util.h:73:23: warning: the address of 'lastmod' will always evaluate as 'true' [-Waddress] - #define NONUL(x) ((x) ? (x) : "") - ^ -remote.c:6065:40: note: in expansion of macro 'NONUL' - snprintf(buf, bufn, "aro=%s:%s", p, NONUL(lastmod)); - ^~~~~ screen.c: In function 'vnc_reflect_got_cursorshape': screen.c:1281:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] psave = pixels; @@ -1932,22 +1952,33 @@ screen.c:1282:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] pixels = pixels64; ^ +util.h:73:23: warning: the address of 'lastmod' will always evaluate as 'true' [-Waddress] + #define NONUL(x) ((x) ? (x) : "") + ^ +remote.c:6065:40: note: in expansion of macro 'NONUL' + snprintf(buf, bufn, "aro=%s:%s", p, NONUL(lastmod)); + ^~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-sslcmds.o `test -f 'sslcmds.c' || echo './'`sslcmds.c 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] fgets(line, X11VNC_REMOTE_MAX, in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -remote.c: In function 'check_httpdir': -remote.c:368:4: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] - getcwd(cwd, 1024); - ^~~~~~~~~~~~~~~~~ screen.c: In function 'initialize_xdisplay_fb': screen.c:2502:6: warning: variable 'subwin_bs' set but not used [-Wunused-but-set-variable] int subwin_bs; ^~~~~~~~~ +remote.c: In function 'check_httpdir': +remote.c:368:4: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] + getcwd(cwd, 1024); + ^~~~~~~~~~~~~~~~~ screen.c: In function 'check_cursor_changes': screen.c:4141:7: warning: variable 'cursor_shape' set but not used [-Wunused-but-set-variable] int cursor_shape, dopush = 0, link, latency, netrate; ^~~~~~~~~~~~ +scan.c: In function 'scan_for_updates': +scan.c:3361:9: warning: variable 'dtmp' set but not used [-Wunused-but-set-variable] + double dtmp = 0.0; + ^~~~ screen.c: In function 'vnc_reflect_get_password': screen.c:1461:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(p, 100, stdin); @@ -1962,6 +1993,12 @@ screen.c:1841:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, (char *)val, 4 * w); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +scan.c: In function 'get_load': +scan.c:2938:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] + read(d, tmp, 60); + ^~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-sslhelper.o `test -f 'sslhelper.c' || echo './'`sslhelper.c +gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-uinput.o `test -f 'uinput.c' || echo './'`uinput.c solid.c: In function 'cmd_output': solid.c:123:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; @@ -1970,10 +2007,6 @@ solid.c:1219:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, macosx_solid_background, strlen(macosx_solid_background)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-sslhelper.o `test -f 'sslhelper.c' || echo './'`sslhelper.c -gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-uinput.o `test -f 'uinput.c' || echo './'`uinput.c -gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-unixpw.o `test -f 'unixpw.c' || echo './'`unixpw.c -gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-user.o `test -f 'user.c' || echo './'`user.c sslcmds.c: In function 'sslGenCA': sslcmds.c:604:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); @@ -1998,8 +2031,8 @@ sslcmds.c:871:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(scr); ^~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-userinput.o `test -f 'userinput.c' || echo './'`userinput.c uinput.c: In function 'initialize_uinput': +gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-unixpw.o `test -f 'unixpw.c' || echo './'`unixpw.c uinput.c:490:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &udev, sizeof(udev)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2040,158 +2073,12 @@ uinput.c:1258:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(d, &ev, sizeof(ev)); ^~~~~~~~~~~~~~~~~~~~~~~~~ -user.c: In function 'do_run_cmd': -user.c:2779:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (db) fprintf(stderr, "line1=%s\n", line1); - ^~ -user.c:2781:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - if (strstr(line1, "DISPLAY=") != line1) { - ^~ -user.c:2467:6: warning: variable 'internal_cmd' set but not used [-Wunused-but-set-variable] - int internal_cmd = 0; - ^~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-util.o `test -f 'util.c' || echo './'`util.c -user.c: In function 'setup_cmd': -user.c:1902:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(fd, find_display, strlen(find_display)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -user.c:1911:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - system(com); - ^~~~~~~~~~~ -userinput.c: In function 'initialize_scroll_term': -userinput.c:761:9: warning: variable 's' set but not used [-Wunused-but-set-variable] - char *s = scroll_good_all[n++]; - ^ -userinput.c: In function 'direct_fb_copy': -userinput.c:1076:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (db) dtime0(&tm); - ^~ -userinput.c:1078:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - x1 = nfix(x1, dpy_x); - ^~ -user.c: In function 'vnc_redirect_timeout': -user.c:1395:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(2, "timeout: no clients connected.\n", 31); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -userinput.c: In function 'set_ypad': -userinput.c:1308: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': -user.c: In function 'do_run_cmd': -userinput.c:1482:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (db) fprintf(stderr, "ypad: %d dy[0]: %d ev_tot: %d\n", ypad, scr_ev[0].dy, ev_tot); - ^~ -userinput.c:1484:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - for (ev=0; ev < ev_tot; ev++) { - ^~~ -user.c:2508:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(tmp_fd, s, strlen(s)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -user.c:2510:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(tmp_fd, find_display, strlen(find_display)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -user.c:2573:37: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprintf(stderr, "res=%d n=%d\n", res, n);} - ^~~~~~~~~~~~~~~~~ -user.c:2573:56: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprintf(stderr, "res=%d n=%d\n", res, n);} - ^~~~~~~~~~~~~~~~~ -user.c:2678:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - if (db) write(2, line, 100); - ^~~~~~~~~~~~~~~~~~~ -user.c:2854:1: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(2, xauth_raw_data, n); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -userinput.c:1797:11: warning: variable 'trate' set but not used [-Wunused-but-set-variable] - double trate; - ^~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-v4l.o `test -f 'v4l.c' || echo './'`v4l.c -user.c: In function 'do_chvt': -user.c:1404:2: 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:1873:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(vnc_redirect_sock, vnc_redirect_test, vnc_redirect_cnt); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from x11vnc.h:698, - from userinput.c:35: -userinput.c: In function 'batch_copyregion': -util.h:83:2: warning: macro expands to multiple statements [-Wmultistatement-macros] - _mysleep.tv_sec = (x) / 1000000; \ - ^~~~~~~~ -util.h:88:16: note: in expansion of macro 'usleep2' - #define usleep usleep2 - ^~~~~~~ -userinput.c:2123:20: note: in expansion of macro 'usleep' - if (use_threads) usleep(100 * 1000); - ^~~~~~ -userinput.c:2123:3: note: some parts of macro expansion are not guarded by this 'if' clause - if (use_threads) usleep(100 * 1000); - ^~ -userinput.c: In function 'fb_push': -userinput.c:2240:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (db) get_client_regions(&req0, &mod0, &cpy0, &ncli); - ^~ -userinput.c:2242:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - i = rfbGetClientIterator(screen); - ^ -userinput.c: In function 'check_xrecord_keys': -userinput.c:2615:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (0) link = link_rate(&latency, &netrate); - ^~ -userinput.c:2617:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - gk = gk0 = got_keyboard_input; - ^~ -userinput.c:2693:17: warning: variable 'last_scr_ev' set but not used [-Wunused-but-set-variable] - static double last_scr_ev = 0.0; - ^~~~~~~~~~~ -userinput.c:2539:6: warning: variable 'link' set but not used [-Wunused-but-set-variable] - int link, latency, netrate; - ^~~~ -userinput.c:2535: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:2785: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:3181:6: warning: variable 'db' set but not used [-Wunused-but-set-variable] - int db = 0; \ - ^~ -userinput.c:3206:2: note: in expansion of macro 'DB_SET' - DB_SET - ^~~~~~ -userinput.c: In function 'check_fixscreen': -userinput.c:3620: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:3842:7: warning: variable 'bs_h' set but not used [-Wunused-but-set-variable] - int bs_h = cache_list[nidx].bs_h; - ^~~~ -userinput.c:3841: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 'ncache_post_portions': -userinput.c:4025:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (db && ncdb) fprintf(stderr, "FB_COPY: %.4f 3) sent_copyrect: su_restore: %d %d\n", dnow() - ntim, dx, dy); - ^~ -userinput.c:4026:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - if (cache_list[nidx].su_time == 0.0) { - ^~ -userinput.c:4039:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (db && ncdb) fprintf(stderr, "sent_copyrect: %.4f su_restore: done.\n", dnow() - ntim); - ^~ +gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-user.o `test -f 'user.c' || echo './'`user.c +gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-userinput.o `test -f 'userinput.c' || echo './'`userinput.c sslhelper.c: In function 'crl_callback': sslhelper.c:847:3: warning: 'X509_CRL_get_lastUpdate' is deprecated [-Wdeprecated-declarations] ASN1_UTCTIME_print(bio, X509_CRL_get_lastUpdate(crl)); ^~~~~~~~~~~~~~~~~~ -userinput.c:4040:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - sraRgnDestroy(r0); - ^~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from sslhelper.c:728: @@ -2235,66 +2122,17 @@ /usr/include/openssl/rsa.h:234:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~~~ -userinput.c: In function 'check_wireframe': -userinput.c:4494:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (db) fprintf(stderr, "a: %d wf: %.3f A: %d origfrm: 0x%lx\n", w*h, wireframe_frac, (dpy_x*dpy_y), frame); - ^~ -userinput.c:4500:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - if ((double) w*h < wireframe_frac * (dpy_x * dpy_y)) { - ^~ -userinput.c:4504:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (db) fprintf(stderr, " frame: x: %d y: %d w: %d h: %d px: %d py: %d fr: 0x%lx\n", x, y, w, h, px, py, frame); - ^~ -userinput.c:4511:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - try_it = near_wm_edge(x, y, w, h, px, py); - ^~~~~~ sslhelper.c: In function 'pr_ssl_info': sslhelper.c:1964:4: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] c = SSL_get_current_cipher(ssl); ^ -userinput.c:4418: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:5375:7: warning: variable 'got_input' set but not used [-Wunused-but-set-variable] - int got_input = 0; - ^~~~~~~~~ sslhelper.c: In function 'ssl_helper_pid': -userinput.c:5334:29: warning: variable 'to' set but not used [-Wunused-but-set-variable] - double spin, spin_max, tm, to, dtm; - ^~ sslhelper.c:3060:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (db) fprintf(stderr, "ssl_helper_pid(%d, %d)\n", pid, sock); ^~ sslhelper.c:3063:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' set = 0; ^~~ -userinput.c: In function 'check_user_input4': -userinput.c:5611:7: warning: variable 'got_input' set but not used [-Wunused-but-set-variable] - int got_input = 0; - ^~~~~~~~~ -userinput.c:5499:13: warning: variable 'ssec' set but not used [-Wunused-but-set-variable] - static int ssec = 0, total_calls = 0; - ^~~~ -userinput.c:5486: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:5817:33: warning: variable 'last_free' set but not used [-Wunused-but-set-variable] - static double last_snap = 0.0, last_free = 0.0; - ^~~~~~~~~ -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; - ^~~~~ In file included from x11vnc.h:698, from sslhelper.c:35: sslhelper.c: In function 'accept_openssl': @@ -2310,20 +2148,9 @@ sslhelper.c:3955:3: note: some parts of macro expansion are not guarded by this 'if' clause if (0) usleep(50 * 1000); ^~ -unixpw.c: In function 'unixpw_verify_screen': -unixpw.c:1577:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (db) fprintf(stderr, "unixpw_verify: '%s' '%s'\n", user, db > 1 ? pass : "********"); - ^~ -unixpw.c:1578:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - rfbLog("unixpw_verify: '%s'\n", user ? user : "(null)"); - ^~~~~~ sslhelper.c:4111:8: warning: the address of 'rcookie' will always evaluate as 'true' [-Waddress] if (rcookie && strstr(rcookie, "VncViewer.class")) { ^~~~~~~ -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; - ^~~~~~~ In file included from x11vnc.h:698, from sslhelper.c:35: sslhelper.c: In function 'raw_xfer': @@ -2339,48 +2166,6 @@ sslhelper.c:4370:3: note: some parts of macro expansion are not guarded by this 'if' clause if (db) usleep(50*1000); ^~ -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] - setuid(pw->pw_uid); - ^~~~~~~~~~~~~~~~~~ -unixpw.c:651:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] - seteuid(pw->pw_uid); - ^~~~~~~~~~~~~~~~~~~ -unixpw.c:654:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] - setgid(pw->pw_gid); - ^~~~~~~~~~~~~~~~~~ -unixpw.c:657:3: 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:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - system(nam); - ^~~~~~~~~~~ -unixpw.c:1122:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(tfd, "NOTTTY\n", 7); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -unixpw.c:1127:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] - chdir("/"); - ^~~~~~~~~~ -unixpw.c:1157:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(2, "C", 1); - ^~~~~~~~~~~~~~~~ -unixpw.c:1252:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - system(cmd0); - ^~~~~~~~~~~~ -unixpw.c:1254:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - system(cmd0); - ^~~~~~~~~~~~ -unixpw.c:1339:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(fd, pass+k, 1); - ^~~~~~~~~~~~~~~~~~~~ -unixpw.c:1343:3: 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:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] - fgets(buf, 1024, f); - ^~~~~~~~~~~~~~~~~~~ In file included from sslhelper.c:4421: enc.h: In function 'securevnc_setup': enc.h:1448:3: warning: 'RAND_pseudo_bytes' is deprecated [-Wdeprecated-declarations] @@ -2413,13 +2198,6 @@ sslhelper.c:505:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^~~~~~~~~~~ -userinput.c: In function 'bs_save': -userinput.c:7194:15: warning: variable 'h' set but not used [-Wunused-but-set-variable] - int x, y, w, h; - ^ -userinput.c:7194:12: warning: variable 'w' set but not used [-Wunused-but-set-variable] - int x, y, w, h; - ^ sslhelper.c: In function 'pem_passwd_callback': sslhelper.c:778:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("stty -echo"); @@ -2440,13 +2218,6 @@ sslhelper.c:1542:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(cnf_fd, fixed_dh_params, strlen(fixed_dh_params)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -userinput.c: In function 'su_save': -userinput.c:7300:15: warning: variable 'h' set but not used [-Wunused-but-set-variable] - int x, y, w, h; - ^ -userinput.c:7300:12: warning: variable 'w' set but not used [-Wunused-but-set-variable] - int x, y, w, h; - ^ sslhelper.c: In function 'accept_openssl': sslhelper.c:3652:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(vncsock, tbuf, strlen(cookie)); @@ -2495,19 +2266,16 @@ sslhelper.c:2317:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(csock, tmp, 12); ^~~~~~~~~~~~~~~~~~~~ -userinput.c: In function 'try_to_fix_resize_su': -userinput.c:7847:21: warning: variable 'bh1' set but not used [-Wunused-but-set-variable] - int bx1, by1, bw1, bh1; - ^~~ -userinput.c:7847:16: warning: variable 'bw1' set but not used [-Wunused-but-set-variable] - int bx1, by1, bw1, bh1; - ^~~ -userinput.c:7847:11: warning: variable 'by1' set but not used [-Wunused-but-set-variable] - int bx1, by1, bw1, bh1; - ^~~ -userinput.c:7847:6: warning: variable 'bx1' set but not used [-Wunused-but-set-variable] - int bx1, by1, bw1, bh1; - ^~~ +user.c: In function 'do_run_cmd': +user.c:2779:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (db) fprintf(stderr, "line1=%s\n", line1); + ^~ +user.c:2781:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + if (strstr(line1, "DISPLAY=") != line1) { + ^~ +user.c:2467:6: warning: variable 'internal_cmd' set but not used [-Wunused-but-set-variable] + int internal_cmd = 0; + ^~~~~~~~~~~~ sslhelper.c: In function 'raw_xfer': sslhelper.c:4348:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] if (db > 1) write(2, buf, n); @@ -2515,22 +2283,18 @@ sslhelper.c:4380:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] if (db > 1) write(2, buf, n); ^~~~~~~~~~~~~~~~ -userinput.c:7846:21: warning: variable 'sh1' set but not used [-Wunused-but-set-variable] - int sx1, sy1, sw1, sh1, dx, dy; - ^~~ -userinput.c:7846: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:7981:6: warning: variable 'moved' set but not used [-Wunused-but-set-variable] - int moved = 0; - ^~~~~ -userinput.c:7978:18: warning: variable 'h1' set but not used [-Wunused-but-set-variable] - int x1, y1, w1, h1; - ^~ -userinput.c:7978:14: warning: variable 'w1' set but not used [-Wunused-but-set-variable] - int x1, y1, w1, h1; - ^~ +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; + ^~~~~~~~~ +userinput.c: In function 'initialize_scroll_term': +userinput.c:761:9: warning: variable 's' set but not used [-Wunused-but-set-variable] + char *s = scroll_good_all[n++]; + ^ In file included from sslhelper.c:4421: enc.h: In function 'securevnc_setup': enc.h:1344:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] @@ -2554,9 +2318,6 @@ enc.h:1479:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(server, (char *)&zero, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -userinput.c:7977:18: warning: variable 'h0' set but not used [-Wunused-but-set-variable] - int x0, y0, w0, h0; - ^~ enc.h:1481:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(server, (char *)&one, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2578,17 +2339,291 @@ enc.h:1568:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(viewer, to_viewer, to_viewer_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -userinput.c:7977:14: warning: variable 'w0' set but not used [-Wunused-but-set-variable] - int x0, y0, w0, h0; - ^~ 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] write(fileno(p), rsabuf, SECUREVNC_RSA_PUBKEY_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unixpw.c: In function 'su_verify': +unixpw.c:1055:7: warning: variable 'ttyfd' set but not used [-Wunused-but-set-variable] + int ttyfd; + ^~~~~ +userinput.c: In function 'direct_fb_copy': +userinput.c:1076:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (db) dtime0(&tm); + ^~ +userinput.c:1078:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + x1 = nfix(x1, dpy_x); + ^~ +user.c: In function 'setup_cmd': +user.c:1902:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(fd, find_display, strlen(find_display)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +user.c:1911:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + system(com); + ^~~~~~~~~~~ enc.h: In function 'doloop': enc.h:2102:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^~~~~~~~~~~ +userinput.c: In function 'set_ypad': +userinput.c:1308: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:1482:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (db) fprintf(stderr, "ypad: %d dy[0]: %d ev_tot: %d\n", ypad, scr_ev[0].dy, ev_tot); + ^~ +userinput.c:1484:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + for (ev=0; ev < ev_tot; ev++) { + ^~~ +unixpw.c: In function 'unixpw_verify_screen': +unixpw.c:1577:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (db) fprintf(stderr, "unixpw_verify: '%s' '%s'\n", user, db > 1 ? pass : "********"); + ^~ +unixpw.c:1578:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + rfbLog("unixpw_verify: '%s'\n", user ? user : "(null)"); + ^~~~~~ +user.c: In function 'vnc_redirect_timeout': +user.c:1395:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(2, "timeout: no clients connected.\n", 31); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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; + ^~~~~~~ +userinput.c:1797:11: warning: variable 'trate' set but not used [-Wunused-but-set-variable] + double trate; + ^~~~~ +user.c: In function 'do_run_cmd': +user.c:2508:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(tmp_fd, s, strlen(s)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +user.c:2510:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(tmp_fd, find_display, strlen(find_display)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +user.c:2573:37: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprintf(stderr, "res=%d n=%d\n", res, n);} + ^~~~~~~~~~~~~~~~~ +user.c:2573:56: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprintf(stderr, "res=%d n=%d\n", res, n);} + ^~~~~~~~~~~~~~~~~ +user.c:2678:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + if (db) write(2, line, 100); + ^~~~~~~~~~~~~~~~~~~ +user.c:2854:1: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(2, xauth_raw_data, n); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from x11vnc.h:698, + from userinput.c:35: +userinput.c: In function 'batch_copyregion': +util.h:83:2: warning: macro expands to multiple statements [-Wmultistatement-macros] + _mysleep.tv_sec = (x) / 1000000; \ + ^~~~~~~~ +util.h:88:16: note: in expansion of macro 'usleep2' + #define usleep usleep2 + ^~~~~~~ +userinput.c:2123:20: note: in expansion of macro 'usleep' + if (use_threads) usleep(100 * 1000); + ^~~~~~ +userinput.c:2123:3: note: some parts of macro expansion are not guarded by this 'if' clause + if (use_threads) usleep(100 * 1000); + ^~ +user.c: In function 'do_chvt': +user.c:1404:2: 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:1873:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(vnc_redirect_sock, vnc_redirect_test, vnc_redirect_cnt); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +userinput.c: In function 'fb_push': +userinput.c:2240:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (db) get_client_regions(&req0, &mod0, &cpy0, &ncli); + ^~ +userinput.c:2242:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + i = rfbGetClientIterator(screen); + ^ +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] + setuid(pw->pw_uid); + ^~~~~~~~~~~~~~~~~~ +unixpw.c:651:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] + seteuid(pw->pw_uid); + ^~~~~~~~~~~~~~~~~~~ +unixpw.c:654:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] + setgid(pw->pw_gid); + ^~~~~~~~~~~~~~~~~~ +unixpw.c:657:3: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] + setegid(pw->pw_gid); + ^~~~~~~~~~~~~~~~~~~ +userinput.c: In function 'check_xrecord_keys': +userinput.c:2615:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (0) link = link_rate(&latency, &netrate); + ^~ +userinput.c:2617:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + gk = gk0 = got_keyboard_input; + ^~ +unixpw.c: In function 'su_verify': +unixpw.c:1120:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + system(nam); + ^~~~~~~~~~~ +unixpw.c:1122:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(tfd, "NOTTTY\n", 7); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +unixpw.c:1127:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] + chdir("/"); + ^~~~~~~~~~ +unixpw.c:1157:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(2, "C", 1); + ^~~~~~~~~~~~~~~~ +unixpw.c:1252:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + system(cmd0); + ^~~~~~~~~~~~ +unixpw.c:1254:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + system(cmd0); + ^~~~~~~~~~~~ +unixpw.c:1339:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(fd, pass+k, 1); + ^~~~~~~~~~~~~~~~~~~~ +unixpw.c:1343:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(fd, pass, strlen(pass)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +userinput.c:2693:17: warning: variable 'last_scr_ev' set but not used [-Wunused-but-set-variable] + static double last_scr_ev = 0.0; + ^~~~~~~~~~~ +userinput.c:2539:6: warning: variable 'link' set but not used [-Wunused-but-set-variable] + int link, latency, netrate; + ^~~~ +userinput.c:2535:30: warning: variable 'scroll_rep' set but not used [-Wunused-but-set-variable] + int scr_cnt = 0, input = 0, scroll_rep; + ^~~~~~~~~~ +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] + fgets(buf, 1024, f); + ^~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-util.o `test -f 'util.c' || echo './'`util.c +userinput.c: In function 'check_xrecord_mouse': +userinput.c:2785: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:3181:6: warning: variable 'db' set but not used [-Wunused-but-set-variable] + int db = 0; \ + ^~ +userinput.c:3206:2: note: in expansion of macro 'DB_SET' + DB_SET + ^~~~~~ +userinput.c: In function 'check_fixscreen': +userinput.c:3620: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:3842:7: warning: variable 'bs_h' set but not used [-Wunused-but-set-variable] + int bs_h = cache_list[nidx].bs_h; + ^~~~ +userinput.c:3841: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 'ncache_post_portions': +userinput.c:4025:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (db && ncdb) fprintf(stderr, "FB_COPY: %.4f 3) sent_copyrect: su_restore: %d %d\n", dnow() - ntim, dx, dy); + ^~ +userinput.c:4026:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + if (cache_list[nidx].su_time == 0.0) { + ^~ +userinput.c:4039:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (db && ncdb) fprintf(stderr, "sent_copyrect: %.4f su_restore: done.\n", dnow() - ntim); + ^~ +userinput.c:4040:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + sraRgnDestroy(r0); + ^~~~~~~~~~~~~ +userinput.c: In function 'check_wireframe': +userinput.c:4494:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (db) fprintf(stderr, "a: %d wf: %.3f A: %d origfrm: 0x%lx\n", w*h, wireframe_frac, (dpy_x*dpy_y), frame); + ^~ +userinput.c:4500:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + if ((double) w*h < wireframe_frac * (dpy_x * dpy_y)) { + ^~ +userinput.c:4504:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (db) fprintf(stderr, " frame: x: %d y: %d w: %d h: %d px: %d py: %d fr: 0x%lx\n", x, y, w, h, px, py, frame); + ^~ +userinput.c:4511:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + try_it = near_wm_edge(x, y, w, h, px, py); + ^~~~~~ +userinput.c:4418:16: warning: variable 'last_save_stacklist' set but not used [-Wunused-but-set-variable] + static time_t last_save_stacklist = 0; + ^~~~~~~~~~~~~~~~~~~ +userinput.c: In function 'check_user_input3': +userinput.c:5375:7: warning: variable 'got_input' set but not used [-Wunused-but-set-variable] + int got_input = 0; + ^~~~~~~~~ +userinput.c:5334: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:5611:7: warning: variable 'got_input' set but not used [-Wunused-but-set-variable] + int got_input = 0; + ^~~~~~~~~ +userinput.c:5499:13: warning: variable 'ssec' set but not used [-Wunused-but-set-variable] + static int ssec = 0, total_calls = 0; + ^~~~ +userinput.c:5486: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:5817:33: warning: variable 'last_free' set but not used [-Wunused-but-set-variable] + static double last_snap = 0.0, last_free = 0.0; + ^~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-v4l.o `test -f 'v4l.c' || echo './'`v4l.c +userinput.c: In function 'bs_save': +userinput.c:7194:15: warning: variable 'h' set but not used [-Wunused-but-set-variable] + int x, y, w, h; + ^ +userinput.c:7194: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:7300:15: warning: variable 'h' set but not used [-Wunused-but-set-variable] + int x, y, w, h; + ^ +userinput.c:7300: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:7847:21: warning: variable 'bh1' set but not used [-Wunused-but-set-variable] + int bx1, by1, bw1, bh1; + ^~~ +userinput.c:7847:16: warning: variable 'bw1' set but not used [-Wunused-but-set-variable] + int bx1, by1, bw1, bh1; + ^~~ +userinput.c:7847:11: warning: variable 'by1' set but not used [-Wunused-but-set-variable] + int bx1, by1, bw1, bh1; + ^~~ +userinput.c:7847:6: warning: variable 'bx1' set but not used [-Wunused-but-set-variable] + int bx1, by1, bw1, bh1; + ^~~ +userinput.c:7846:21: warning: variable 'sh1' set but not used [-Wunused-but-set-variable] + int sx1, sy1, sw1, sh1, dx, dy; + ^~~ +userinput.c:7846: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:7981:6: warning: variable 'moved' set but not used [-Wunused-but-set-variable] + int moved = 0; + ^~~~~ +userinput.c:7978:18: warning: variable 'h1' set but not used [-Wunused-but-set-variable] + int x1, y1, w1, h1; + ^~ +userinput.c:7978:14: warning: variable 'w1' set but not used [-Wunused-but-set-variable] + int x1, y1, w1, h1; + ^~ +userinput.c:7977:18: warning: variable 'h0' set but not used [-Wunused-but-set-variable] + int x0, y0, w0, h0; + ^~ +userinput.c:7977: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:8526:18: warning: variable 'h3' set but not used [-Wunused-but-set-variable] int x3, y3, w3, h3; @@ -2608,10 +2643,6 @@ userinput.c:8523:14: warning: variable 'w0' set but not used [-Wunused-but-set-variable] int x0, y0, w0, h0; ^~ -util.c: In function 'do_allinput': -util.c:513:7: warning: variable 'usec0' set but not used [-Wunused-but-set-variable] - long usec0; - ^~~~~ userinput.c: In function 'check_ncache': userinput.c:9319:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ncdb) fprintf(stderr, "\n"); if (ncdb) rfbLog("IN check_ncache() %d events. %.4f\n", n, now - x11vnc_start); @@ -2619,25 +2650,14 @@ userinput.c:9319:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ncdb) fprintf(stderr, "\n"); if (ncdb) rfbLog("IN check_ncache() %d events. %.4f\n", n, now - x11vnc_start); ^~ +util.c: In function 'do_allinput': +util.c:513:7: warning: variable 'usec0' set but not used [-Wunused-but-set-variable] + long usec0; + ^~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-win_utils.o `test -f 'win_utils.c' || echo './'`win_utils.c userinput.c:8954:18: warning: variable 'ttot' set but not used [-Wunused-but-set-variable] int pixels = 0, ttot; ^~~~ -user.c: In function 'lurk_loop': -user.c:501:23: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] - sprintf(dpystr, ":%d", dn); - ^~ -user.c:501:21: note: directive argument in the range [0, 2147483647] - sprintf(dpystr, ":%d", dn); - ^~~~~ -In file included from /usr/include/stdio.h:873, - from /usr/include/rfb/rfb.h:41, - from x11vnc.h:65, - from user.c:35: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 12 bytes into a destination of size 10 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v4l.c:1422:12: warning: 'lookup_station' defined but not used [-Wunused-function] static int lookup_station(unsigned long freq) { ^~~~~~~~~~~~~~ @@ -2677,16 +2697,30 @@ v4l.c:132:12: warning: 'last_channel' defined but not used [-Wunused-variable] static int last_channel = 0; ^~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-win_utils.o `test -f 'win_utils.c' || echo './'`win_utils.c +user.c: In function 'lurk_loop': +user.c:501:23: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] + sprintf(dpystr, ":%d", dn); + ^~ +user.c:501:21: note: directive argument in the range [0, 2147483647] + sprintf(dpystr, ":%d", dn); + ^~~~~ +In file included from /usr/include/stdio.h:873, + from /usr/include/rfb/rfb.h:41, + from x11vnc.h:65, + from user.c:35: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 12 bytes into a destination of size 10 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-x11vnc.o `test -f 'x11vnc.c' || echo './'`x11vnc.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-x11vnc_defs.o `test -f 'x11vnc_defs.c' || echo './'`x11vnc_defs.c -gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-xdamage.o `test -f 'xdamage.c' || echo './'`xdamage.c win_utils.c: In function 'snapshot_stack_list': win_utils.c:207:33: warning: variable 'last_free' set but not used [-Wunused-but-set-variable] static double last_snap = 0.0, last_free = 0.0; ^~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-xdamage.o `test -f 'xdamage.c' || echo './'`xdamage.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-xevents.o `test -f 'xevents.c' || echo './'`xevents.c -gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-xinerama.o `test -f 'xinerama.c' || echo './'`xinerama.c x11vnc.c: In function 'check_guess_auth_file': x11vnc.c:1972:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] int n; @@ -2712,11 +2746,18 @@ x11vnc.c:728:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-xkb_bell.o `test -f 'xkb_bell.c' || echo './'`xkb_bell.c -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; - ^~~~~~~~~ +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; + ^~~~ +xdamage.c: In function 'collect_xdamage': +xdamage.c:448:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 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' + come_back_for_more: + ^~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-xinerama.o `test -f 'xinerama.c' || echo './'`xinerama.c x11vnc.c: In function 'quick_pw': x11vnc.c:1397:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("stty -echo"); @@ -2740,6 +2781,11 @@ x11vnc.c:1787:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("stty echo"); ^~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-xkb_bell.o `test -f 'xkb_bell.c' || echo './'`xkb_bell.c +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; + ^~~~~~~~~ xevents.c: In function 'check_autorepeat': xevents.c:1141:7: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] str = XKeysymToString(XKeycodeToKeysym(dpy, i, 0)); @@ -2749,17 +2795,6 @@ /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ -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; - ^~~~ -xdamage.c: In function 'collect_xdamage': -xdamage.c:448:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 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' - come_back_for_more: - ^~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-xrandr.o `test -f 'xrandr.c' || echo './'`xrandr.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-xrecord.o `test -f 'xrecord.c' || echo './'`xrecord.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/x11vnc-0.9.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o x11vnc-xwrappers.o `test -f 'xwrappers.c' || echo './'`xwrappers.c @@ -2949,7 +2984,7 @@ debian/rules override_dh_auto_install-arch make[1]: Entering directory '/build/x11vnc-0.9.13' dh_auto_install -- -C x11vnc - make -j16 install DESTDIR=/build/x11vnc-0.9.13/debian/tmp AM_UPDATE_INFO_DIR=no -C x11vnc + make -j15 install DESTDIR=/build/x11vnc-0.9.13/debian/tmp AM_UPDATE_INFO_DIR=no -C x11vnc make[2]: Entering directory '/build/x11vnc-0.9.13/x11vnc' Making install in misc make[3]: Entering directory '/build/x11vnc-0.9.13/x11vnc/misc' @@ -2969,11 +3004,11 @@ make[3]: Leaving directory '/build/x11vnc-0.9.13/x11vnc/misc' make[3]: Entering directory '/build/x11vnc-0.9.13/x11vnc' make[4]: Entering directory '/build/x11vnc-0.9.13/x11vnc' - /bin/mkdir -p '/build/x11vnc-0.9.13/debian/tmp/usr/share/applications' /bin/mkdir -p '/build/x11vnc-0.9.13/debian/tmp/usr/bin' + /bin/mkdir -p '/build/x11vnc-0.9.13/debian/tmp/usr/share/applications' + /usr/bin/install -c x11vnc '/build/x11vnc-0.9.13/debian/tmp/usr/bin' /bin/mkdir -p '/build/x11vnc-0.9.13/debian/tmp/usr/share/man/man1' /usr/bin/install -c -m 644 x11vnc.desktop '/build/x11vnc-0.9.13/debian/tmp/usr/share/applications' - /usr/bin/install -c x11vnc '/build/x11vnc-0.9.13/debian/tmp/usr/bin' /usr/bin/install -c -m 644 x11vnc.1 '/build/x11vnc-0.9.13/debian/tmp/usr/share/man/man1' make[4]: Leaving directory '/build/x11vnc-0.9.13/x11vnc' make[3]: Leaving directory '/build/x11vnc-0.9.13/x11vnc' @@ -2983,7 +3018,7 @@ debian/rules override_dh_auto_install-indep make[1]: Entering directory '/build/x11vnc-0.9.13' dh_auto_install -- -C classes - make -j16 install DESTDIR=/build/x11vnc-0.9.13/debian/tmp AM_UPDATE_INFO_DIR=no -C classes + make -j15 install DESTDIR=/build/x11vnc-0.9.13/debian/tmp AM_UPDATE_INFO_DIR=no -C classes make[2]: Entering directory '/build/x11vnc-0.9.13/classes' Making install in ssl make[3]: Entering directory '/build/x11vnc-0.9.13/classes/ssl' @@ -3016,10 +3051,10 @@ dh_perl -O--list-missing dh_link -O--list-missing dh_strip_nondeterminism -O--list-missing -strip-nondeterminism: debian/x11vnc-data/usr/share/x11vnc/classes/ssl/SignedVncViewer.jar: ignoring signed JAR file - Normalized debian/x11vnc-data/usr/share/x11vnc/classes/ssl/SignedVncViewer.jar strip-nondeterminism: debian/x11vnc-data/usr/share/x11vnc/classes/ssl/SignedUltraViewerSSL.jar: ignoring signed JAR file +strip-nondeterminism: debian/x11vnc-data/usr/share/x11vnc/classes/ssl/SignedVncViewer.jar: ignoring signed JAR file Normalized debian/x11vnc-data/usr/share/x11vnc/classes/ssl/SignedUltraViewerSSL.jar + Normalized debian/x11vnc-data/usr/share/x11vnc/classes/ssl/SignedVncViewer.jar dh_compress -O--list-missing dh_fixperms -O--list-missing dh_missing -O--list-missing @@ -3027,15 +3062,15 @@ dh_makeshlibs -O--list-missing dh_shlibdeps -O--list-missing dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/x11vnc/usr/bin/x11vnc was not linked against libjpeg.so.62 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/x11vnc/usr/bin/x11vnc was not linked against libz.so.1 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/x11vnc/usr/bin/x11vnc was not linked against libnsl.so.1 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/x11vnc/usr/bin/x11vnc was not linked against libz.so.1 (it uses none of the library's symbols) dh_installdeb -O--list-missing dh_gencontrol -O--list-missing dh_md5sums -O--list-missing dh_builddeb -O--list-missing -dpkg-deb: building package 'x11vnc-data' in '../x11vnc-data_0.9.13-6+deb10u1_all.deb'. dpkg-deb: building package 'x11vnc' in '../x11vnc_0.9.13-6+deb10u1_amd64.deb'. dpkg-deb: building package 'x11vnc-dbgsym' in '../x11vnc-dbgsym_0.9.13-6+deb10u1_amd64.deb'. +dpkg-deb: building package 'x11vnc-data' in '../x11vnc-data_0.9.13-6+deb10u1_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../x11vnc_0.9.13-6+deb10u1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3043,12 +3078,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1161175/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1161175/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1403573 and its subdirectories -I: Current time: Thu Jan 19 01:00:09 -12 2023 -I: pbuilder-time-stamp: 1674133209 +I: removing directory /srv/workspace/pbuilder/1161175 and its subdirectories +I: Current time: Fri Dec 17 20:40:27 +14 2021 +I: pbuilder-time-stamp: 1639723227