Diff of the two buildlogs: -- --- b1/build.log 2021-03-27 14:07:54.558206396 +0000 +++ b2/build.log 2021-03-27 14:09:36.450249398 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Mar 27 02:05:17 -12 2021 -I: pbuilder-time-stamp: 1616853917 +I: Current time: Sat Apr 30 10:30:57 +14 2022 +I: pbuilder-time-stamp: 1651264257 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -18,7 +18,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Sat Feb 20 09:25:13 2021 -12 +gpgv: Signature made Sun Feb 21 11:25:13 2021 +14 gpgv: using RSA key 468C89793B429819E9D761266BE663C75A35C975 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./screen_4.6.2-3+deb10u1.dsc @@ -43,136 +43,170 @@ dpkg-source: info: applying 99_CVE-2021-26937.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/41979/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/63800/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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/63800/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/63800/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=15' - 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=16' + 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='4a87f7d222a2422fb4ff5fdc4babc052' - 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='41979' - PS1='# ' - PS2='> ' + INVOCATION_ID=ea500178817c4d6f8362481babafb25e + 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=63800 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.hWxZGejeMZ/pbuilderrc_pyXr --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.hWxZGejeMZ/b1 --logfile b1/build.log screen_4.6.2-3+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://78.137.99.97: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.hWxZGejeMZ/pbuilderrc_o4EL --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.hWxZGejeMZ/b2 --logfile b2/build.log screen_4.6.2-3+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://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-0.bpo.3-amd64 #1 SMP Debian 5.10.13-1~bpo10+1 (2021-02-11) 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 Mar 20 20:25 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/41979/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 Apr 30 10:31 sh -> bash + lrwxrwxrwx 1 root root 4 Apr 24 04:47 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/63800/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -262,7 +296,7 @@ Get: 44 http://deb.debian.org/debian buster/main amd64 libxml-sax-perl all 1.00+dfsg-1 [58.6 kB] Get: 45 http://deb.debian.org/debian buster/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-1 [344 kB] Get: 46 http://deb.debian.org/debian buster/main amd64 texinfo amd64 6.5.0.dfsg.1-4+b1 [1431 kB] -Fetched 21.7 MB in 1s (39.9 MB/s) +Fetched 21.7 MB in 0s (65.4 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.) @@ -479,7 +513,7 @@ 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/screen-4.6.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/screen-4.6.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package screen dpkg-buildpackage: info: source version 4.6.2-3+deb10u1 dpkg-buildpackage: info: source distribution buster-security @@ -759,7 +793,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/screen-4.6.2' dh_auto_build --builddirectory build - cd build && make -j15 + cd build && make -j16 make[2]: Entering directory '/build/screen-4.6.2/build' CPP="gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"'" srcdir=.. sh ../osdef.sh AWK=mawk CC="gcc -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE" srcdir=.. sh ../comm.sh @@ -797,10 +831,21 @@ -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../utmp.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../loadav.c -../misc.c: In function 'GetUptime': -../misc.c:806:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] - (void)read(fd, uptimestr, 32); - ^~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../help.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../termcap.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../input.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../attacher.c +../screen.c: In function 'main': +../screen.c:624:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (--ac == 0) + ^~ +../screen.c:626:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + nwin_options.histheight = atoi(*++av); + ^~~~~~~~~~~~ ../fileio.c: In function 'WriteFile': ../fileio.c:455:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = fore->w_width - 2; j > 0; j--) @@ -826,15 +871,18 @@ ../fileio.c:496:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' break; ^~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../help.c -../screen.c: In function 'main': -../screen.c:624:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (--ac == 0) - ^~ -../screen.c:626:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - nwin_options.histheight = atoi(*++av); - ^~~~~~~~~~~~ +../socket.c: In function 'MakeServerUnixSocket': +../socket.c:560:21: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + if (st.st_uid != real_uid) + ^~ +../socket.c: In function 'ReceiveMsg': +../socket.c:1101:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + while (cl >= CMSG_LEN(sizeof(int))) + ^~ +../search.c: In function 'matchword': +../search.c:148:18: warning: unused variable 'ip' [-Wunused-variable] + unsigned char *ip, *cp, *pp, *cpe; + ^~ ../fileio.c:426:13: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, 0); ^~~~~~~~~~~~~~~~ @@ -849,8 +897,10 @@ ../screen.c:1820:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' FinitTerm(); ^~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../termcap.c +../socket.c: In function 'SendErrorMsg': +../socket.c:755:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + (void) write(s, (char *) &m, sizeof m); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../screen.c: In function 'backtick_fn': ../screen.c:2292:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k = i - j - 2; k >= 0; k--) @@ -858,6 +908,20 @@ ../screen.c:2295:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' k++; ^ +../misc.c: In function 'GetUptime': +../misc.c:806:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] + (void)read(fd, uptimestr, 32); + ^~~~~~~~~~~~~~~~~~~~~~~ +../socket.c: In function 'CreateTempDisplay': +../socket.c:959:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(i, "Attaching from inside of screen?\n", 33); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../socket.c:970:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(i, "Access to session denied.\n", 26); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../socket.c:994:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(i, "Could not make display.\n", 24); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../screen.c: In function 'MakeWinMsgEv': ../screen.c:2638:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (l < strlen(win->w_cmdargs[i]) + 1) @@ -868,8 +932,6 @@ ../screen.c:2679:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (bt == 0) { ^~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../input.c ../screen.c:2712:15: warning: variable 'ss' set but not used [-Wunused-but-set-variable] char *ss; ^~ @@ -879,6 +941,10 @@ ../screen.c:2787:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (r != -1 || (i == 1 && rbuf[0] == '-')) { ^~ +../loadav.c: In function 'GetLoadav': +../loadav.c:89:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] + fgets(buf, sizeof(buf), fp); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../screen.c: In function 'serv_select_fn': ../screen.c:3192:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (cv = D_cvlist; cv; cv = cv->c_next) @@ -899,6 +965,24 @@ ../screen.c:3363:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' ++p; ^~ +../window.c: In function 'ForkWindow': +../window.c:1295:4: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] + dup(slave); + ^~~~~~~~~~ +../window.c:1346:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] + dup(newfd); + ^~~~~~~~~~ +../window.c:1350:8: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] + dup(win->w_ptyfd); + ^~~~~~~~~~~~~~~~~ +../window.c: In function 'CloseDevice': +../window.c:982:13: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] + (void)chown(wp->w_tty, 0, 0); + ^~~~~~~~~~~~~~~~~~~~~~ +../window.c: In function 'FreePseudowin': +../window.c:1702:9: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] + (void)chown(pwin->p_tty, 0, 0); + ^~~~~~~~~~~~~~~~~~~~~~~~ ../screen.c: In function 'main': ../screen.c:1118:16: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] (void) chown(SockPath, real_uid, real_gid); @@ -964,6 +1048,20 @@ ../screen.c:3146:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(W_UWP(fore) ? fore->w_pwin->p_ptyfd : fore->w_ptyfd, &ibuf, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../help.c: In function 'bindkeypage': +../help.c:807:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if ((kme->fl & KMAP_NOTIMEOUT) != 0) + ^~ +../help.c:809:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + act = bindkeydata->tab == dmtab ? &kme->dm : bindkeydata->tab == mmtab ? &kme->mm : &kme->um; + ^~~ +../ansi.c: In function 'Special': +../ansi.c:947:10: warning: this statement may fall through [-Wimplicit-fallthrough=] + if (curr->w_autoaka) + ^ +../ansi.c:949:5: note: here + case '\013': /* Vertical tab is the same as Line Feed */ + ^~~~ ../screen.c: In function 'CoreDump': ../screen.c:1650:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); @@ -996,6 +1094,12 @@ ../screen.c:2178:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(queryflag, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../pty.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../process.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../display.c ../misc.c: In function 'SessionCreationTime': ../misc.c:782:27: warning: '/stat' directive writing 5 bytes into a region of size between 4 and 13 [-Wformat-overflow=] sprintf(ppath, "/proc/%u/stat", pid); @@ -1009,111 +1113,16 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../help.c: In function 'bindkeypage': -../help.c:807:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if ((kme->fl & KMAP_NOTIMEOUT) != 0) - ^~ -../help.c:809:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - act = bindkeydata->tab == dmtab ? &kme->dm : bindkeydata->tab == mmtab ? &kme->mm : &kme->um; - ^~~ -../socket.c: In function 'MakeServerUnixSocket': -../socket.c:560:21: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - if (st.st_uid != real_uid) - ^~ -../socket.c: In function 'ReceiveMsg': -../socket.c:1101:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - while (cl >= CMSG_LEN(sizeof(int))) - ^~ -../ansi.c: In function 'Special': -../ansi.c:947:10: warning: this statement may fall through [-Wimplicit-fallthrough=] - if (curr->w_autoaka) - ^ -../ansi.c:949:5: note: here - case '\013': /* Vertical tab is the same as Line Feed */ - ^~~~ -../socket.c: In function 'SendErrorMsg': -../socket.c:755:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - (void) write(s, (char *) &m, sizeof m); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c: In function 'CreateTempDisplay': -../socket.c:959:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(i, "Attaching from inside of screen?\n", 33); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c:970:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(i, "Access to session denied.\n", 26); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c:994:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(i, "Could not make display.\n", 24); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../attacher.c -../search.c: In function 'matchword': -../search.c:148:18: warning: unused variable 'ip' [-Wunused-variable] - unsigned char *ip, *cp, *pp, *cpe; - ^~ -../loadav.c: In function 'GetLoadav': -../loadav.c:89:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] - fgets(buf, sizeof(buf), fp); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -../window.c: In function 'ForkWindow': -../window.c:1295:4: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] - dup(slave); - ^~~~~~~~~~ -../window.c:1346:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] - dup(newfd); - ^~~~~~~~~~ -../window.c:1350:8: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] - dup(win->w_ptyfd); - ^~~~~~~~~~~~~~~~~ -../window.c: In function 'CloseDevice': -../window.c:982:13: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] - (void)chown(wp->w_tty, 0, 0); - ^~~~~~~~~~~~~~~~~~~~~~ -../window.c: In function 'FreePseudowin': -../window.c:1702:9: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] - (void)chown(pwin->p_tty, 0, 0); - ^~~~~~~~~~~~~~~~~~~~~~~~ -../help.c: In function 'helppage': -../help.c:299:55: warning: '%s' directive writing up to 255 bytes into a region of size between 220 and 228 [-Wformat-overflow=] - sprintf(cbuf,"Command key: %s Literal %s: %s", Esc_buf, Esc_buf, buf); - ^~ ~~~ -In file included from /usr/include/stdio.h:873, - from ../os.h:30, - from ../screen.h:30, - from ../help.c:35: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 29 and 292 bytes into a destination of size 256 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../pty.c -../screen.c: In function 'WindowDied': -../screen.c:1546:35: warning: '%s' directive writing up to 99 bytes into a region of size 86 [-Wformat-overflow=] - sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); - ^~ ~~~~~~ -../screen.c:1546:18: note: assuming directive output of 1 byte - sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from ../os.h:30, - from ../screen.h:30, - from ../screen.c:98: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 122) into a destination of size 100 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../process.c -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../display.c + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../acls.c ../process.c: In function 'InitKeytab': +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille.c ../process.c:599:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for (i = 0; i < ((maxwin && maxwin < 10) ? maxwin : 10); i++) ^ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../acls.c + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille_tsi.c ../display.c: In function 'RefreshHStatus': ../display.c:2282:60: warning: pointer targets in passing argument 1 of 'strlen_onscreen' differ in signedness [-Wpointer-sign] int extrabytes = strlen(hstatusstring) - strlen_onscreen(hstatusstring, NULL); @@ -1121,8 +1130,6 @@ ../display.c:2129:1: note: expected 'unsigned char *' but argument is of type 'char *' strlen_onscreen(unsigned char *c, unsigned char *end) ^~~~~~~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille.c ../display.c: In function 'RefreshLine': ../display.c:2385:65: warning: pointer targets in passing argument 1 of 'strlen_onscreen' differ in signedness [-Wpointer-sign] int extrabytes = strlen(captionstring) - strlen_onscreen(captionstring, NULL); @@ -1130,12 +1137,21 @@ ../display.c:2129:1: note: expected 'unsigned char *' but argument is of type 'char *' strlen_onscreen(unsigned char *c, unsigned char *end) ^~~~~~~~~~~~~~~ +../process.c: In function 'Colonfin': +../process.c:5948:82: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] + for (m = ++l; m <= r && strncmp(buf, comms[m].name, len) == 0 && s - mbuf < sizeof(mbuf); m++) + ^ +../process.c:5959:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + if (len > 0 && len < sizeof(mbuf)) + ^ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille_tsi.c + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../logfile.c ../display.c: In function 'DisplaySleep1000': ../display.c:3147:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(D_userfd, &buf, 1); ^~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../layer.c ../display.c: In function 'RunBlanker': ../display.c:3782:7: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(0); @@ -1143,21 +1159,50 @@ ../display.c:3783:7: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(0); ^~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../logfile.c -../process.c: In function 'Colonfin': -../process.c:5948:82: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] - for (m = ++l; m <= r && strncmp(buf, comms[m].name, len) == 0 && s - mbuf < sizeof(mbuf); m++) - ^ -../process.c:5959:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - if (len > 0 && len < sizeof(mbuf)) - ^ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../layer.c +../process.c: In function 'DoAction': +../process.c:1365:7: warning: this statement may fall through [-Wimplicit-fallthrough=] + Finit(0); + ^~~~~~~~ +../process.c:1368:5: note: here + case RC_DETACH: + ^~~~ +../screen.c: In function 'WindowDied': +../screen.c:1546:35: warning: '%s' directive writing up to 99 bytes into a region of size 86 [-Wformat-overflow=] + sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); + ^~ ~~~~~~ +../screen.c:1546:18: note: assuming directive output of 1 byte + sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from ../os.h:30, + from ../screen.h:30, + from ../screen.c:98: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 122) into a destination of size 100 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../process.c: In function 'pow_detach_fn': +../process.c:6278:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(D_userfd, "\007", 1); + ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_generic.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_display.c +../help.c: In function 'helppage': +../help.c:299:55: warning: '%s' directive writing up to 255 bytes into a region of size between 220 and 228 [-Wformat-overflow=] + sprintf(cbuf,"Command key: %s Literal %s: %s", Esc_buf, Esc_buf, buf); + ^~ ~~~ +In file included from /usr/include/stdio.h:873, + from ../os.h:30, + from ../screen.h:30, + from ../help.c:35: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 29 and 292 bytes into a destination of size 256 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../window.c: In function 'RemakeWindow': ../window.c:924:19: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] p->w_writeev.fd = f; @@ -1168,32 +1213,21 @@ ^~ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_window.c -../process.c: In function 'DoAction': -../process.c:1365:7: warning: this statement may fall through [-Wimplicit-fallthrough=] - Finit(0); - ^~~~~~~~ -../process.c:1368:5: note: here - case RC_DETACH: - ^~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../sched.c -../process.c: In function 'pow_detach_fn': -../process.c:6278:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(D_userfd, "\007", 1); - ^~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../teln.c ../list_window.c: In function 'WListUpdatecv': ../list_window.c:674:26: warning: variable 'wdata' set but not used [-Wunused-but-set-variable] struct gl_Window_Data *wdata; ^~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../sched.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../teln.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../nethack.c ../teln.c: In function 'TelIn': ../teln.c:337:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (p->w_telsubidx < sizeof(p->w_telsubbuf) - 1) ^ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../nethack.c -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../encoding.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../canvas.c @@ -1230,7 +1264,7 @@ gcc -Wl,-z,relro -Wl,-z,now -o screen screen.o ansi.o fileio.o mark.o misc.o resize.o socket.o search.o tty.o term.o window.o utmp.o loadav.o putenv.o help.o termcap.o input.o attacher.o pty.o process.o display.o comm.o kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o list_generic.o list_display.o list_window.o sched.o teln.o nethack.o encoding.o canvas.o layout.o viewport.o -ltinfo -lutempter -lcrypt -lpam make[2]: Leaving directory '/build/screen-4.6.2/build' dh_auto_build --builddirectory build-udeb - cd build-udeb && make -j15 + cd build-udeb && make -j16 make[2]: Entering directory '/build/screen-4.6.2/build-udeb' CPP="gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"'" srcdir=.. sh ../osdef.sh AWK=mawk CC="gcc -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE" srcdir=.. sh ../comm.sh @@ -1274,79 +1308,19 @@ -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../termcap.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../input.c -../misc.c: In function 'GetUptime': -../misc.c:806:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] - (void)read(fd, uptimestr, 32); - ^~~~~~~~~~~~~~~~~~~~~~~ -../help.c: In function 'bindkeypage': -../help.c:807:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if ((kme->fl & KMAP_NOTIMEOUT) != 0) - ^~ -../help.c:809:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - act = bindkeydata->tab == dmtab ? &kme->dm : bindkeydata->tab == mmtab ? &kme->mm : &kme->um; - ^~~ -../search.c: In function 'matchword': -../search.c:148:18: warning: unused variable 'ip' [-Wunused-variable] - unsigned char *ip, *cp, *pp, *cpe; - ^~ -../socket.c: In function 'MakeServerUnixSocket': -../socket.c:560:21: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - if (st.st_uid != real_uid) - ^~ -../socket.c: In function 'ReceiveMsg': -../socket.c:1101:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - while (cl >= CMSG_LEN(sizeof(int))) - ^~ ../screen.c: In function 'main': +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../attacher.c ../screen.c:624:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (--ac == 0) ^~ -../loadav.c: In function 'GetLoadav': -../loadav.c:89:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] - fgets(buf, sizeof(buf), fp); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c: In function 'SendErrorMsg': -../socket.c:755:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - (void) write(s, (char *) &m, sizeof m); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../screen.c:626:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' nwin_options.histheight = atoi(*++av); ^~~~~~~~~~~~ -../socket.c: In function 'CreateTempDisplay': -../socket.c:959:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(i, "Attaching from inside of screen?\n", 33); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c:970:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(i, "Access to session denied.\n", 26); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c:994:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(i, "Could not make display.\n", 24); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../fileio.c: In function 'WriteFile': -../fileio.c:455:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] - for (j = fore->w_width - 2; j > 0; j--) - ^~~ -../fileio.c:457:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' - fputs("<\n", f); - ^~~~~ -../fileio.c:465:21: warning: this 'for' clause does not guard... [-Wmisleading-indentation] - for (j = 0; j <= k; j++) - ^~~ -../fileio.c:467:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' - putc('\n', f); - ^~~~ -../fileio.c:475:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] - for (j = 0; j <= k; j++) - ^~~ -../fileio.c:477:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' - putc('\n', f); - ^~~~ -../fileio.c:491:15: warning: this 'for' clause does not guard... [-Wmisleading-indentation] - for (i = user->u_plop.len; i-- > 0; p++) - ^~~ -../fileio.c:496:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' - break; - ^~~~~ +../socket.c: In function 'MakeServerUnixSocket': +../socket.c:560:21: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + if (st.st_uid != real_uid) + ^~ ../screen.c: In function 'Finit': ../screen.c:1818:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (D_status) @@ -1354,35 +1328,29 @@ ../screen.c:1820:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' FinitTerm(); ^~~~~~~~~ +../search.c: In function 'matchword': +../search.c:148:18: warning: unused variable 'ip' [-Wunused-variable] + unsigned char *ip, *cp, *pp, *cpe; + ^~ ../screen.c: In function 'backtick_fn': -../fileio.c:426:13: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] - ftruncate(fd, 0); - ^~~~~~~~~~~~~~~~ -../fileio.c: In function 'printpipe': -../fileio.c:716:7: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] - dup(pi[0]); - ^~~~~~~~~~ ../screen.c:2292:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k = i - j - 2; k >= 0; k--) ^~~ ../screen.c:2295:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' k++; ^ +../misc.c: In function 'GetUptime': +../misc.c:806:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] + (void)read(fd, uptimestr, 32); + ^~~~~~~~~~~~~~~~~~~~~~~ +../socket.c: In function 'ReceiveMsg': +../socket.c:1101:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + while (cl >= CMSG_LEN(sizeof(int))) + ^~ ../screen.c: In function 'MakeWinMsgEv': ../screen.c:2638:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (l < strlen(win->w_cmdargs[i]) + 1) ^ -../window.c: In function 'ForkWindow': -../window.c:1295:4: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] - dup(slave); - ^~~~~~~~~~ -../window.c:1346:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] - dup(newfd); - ^~~~~~~~~~ -../window.c:1350:8: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] - dup(win->w_ptyfd); - ^~~~~~~~~~~~~~~~~ -../window.c: In function 'CloseDevice': ../screen.c:2676:11: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (bt = backticks; bt; bt = bt->next) ^~~ @@ -1392,30 +1360,16 @@ ../screen.c:2712:15: warning: variable 'ss' set but not used [-Wunused-but-set-variable] char *ss; ^~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../attacher.c ../screen.c:2785:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (i != 1 || rbuf[0] != '-') ^~ ../screen.c:2787:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (r != -1 || (i == 1 && rbuf[0] == '-')) { ^~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../pty.c -../window.c:982:13: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] - (void)chown(wp->w_tty, 0, 0); - ^~~~~~~~~~~~~~~~~~~~~~ -../window.c: In function 'FreePseudowin': -../window.c:1702:9: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] - (void)chown(pwin->p_tty, 0, 0); - ^~~~~~~~~~~~~~~~~~~~~~~~ -../ansi.c: In function 'Special': -../ansi.c:947:10: warning: this statement may fall through [-Wimplicit-fallthrough=] - if (curr->w_autoaka) - ^ -../ansi.c:949:5: note: here - case '\013': /* Vertical tab is the same as Line Feed */ - ^~~~ +../socket.c: In function 'SendErrorMsg': +../socket.c:755:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + (void) write(s, (char *) &m, sizeof m); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../screen.c: In function 'serv_select_fn': ../screen.c:3192:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (cv = D_cvlist; cv; cv = cv->c_next) @@ -1429,19 +1383,16 @@ ../screen.c:3223:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (cv = D_cvlist; cv; cv = cv->c_next) { ^~~ -../misc.c: In function 'SessionCreationTime': -../misc.c:782:27: warning: '/stat' directive writing 5 bytes into a region of size between 4 and 13 [-Wformat-overflow=] - sprintf(ppath, "/proc/%u/stat", pid); - ^~~~~ -In file included from /usr/include/stdio.h:873, - from ../os.h:30, - from ../screen.h:30, - from ../misc.c:35: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 22 bytes into a destination of size 20 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../socket.c: In function 'CreateTempDisplay': +../socket.c:959:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(i, "Attaching from inside of screen?\n", 33); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../socket.c:970:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(i, "Access to session denied.\n", 26); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../socket.c:994:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(i, "Could not make display.\n", 24); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../screen.c: In function 'ParseChar': ../screen.c:3361:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else @@ -1510,19 +1461,6 @@ ../screen.c:1312:3: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "w", stderr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../help.c: In function 'helppage': -../help.c:299:55: warning: '%s' directive writing up to 255 bytes into a region of size between 220 and 228 [-Wformat-overflow=] - sprintf(cbuf,"Command key: %s Literal %s: %s", Esc_buf, Esc_buf, buf); - ^~ ~~~ -In file included from /usr/include/stdio.h:873, - from ../os.h:30, - from ../screen.h:30, - from ../help.c:35: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 29 and 292 bytes into a destination of size 256 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../screen.c: In function 'serv_select_fn': ../screen.c:3146:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(W_UWP(fore) ? fore->w_pwin->p_ptyfd : fore->w_ptyfd, &ibuf, 1); @@ -1559,24 +1497,76 @@ ../screen.c:2178:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(queryflag, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../fileio.c: In function 'WriteFile': +../fileio.c:455:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] + for (j = fore->w_width - 2; j > 0; j--) + ^~~ +../fileio.c:457:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' + fputs("<\n", f); + ^~~~~ +../fileio.c:465:21: warning: this 'for' clause does not guard... [-Wmisleading-indentation] + for (j = 0; j <= k; j++) + ^~~ +../fileio.c:467:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' + putc('\n', f); + ^~~~ +../fileio.c:475:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] + for (j = 0; j <= k; j++) + ^~~ +../fileio.c:477:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' + putc('\n', f); + ^~~~ +../fileio.c:491:15: warning: this 'for' clause does not guard... [-Wmisleading-indentation] + for (i = user->u_plop.len; i-- > 0; p++) + ^~~ +../fileio.c:496:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' + break; + ^~~~~ +../fileio.c:426:13: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] + ftruncate(fd, 0); + ^~~~~~~~~~~~~~~~ +../fileio.c: In function 'printpipe': +../fileio.c:716:7: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] + dup(pi[0]); + ^~~~~~~~~~ +../loadav.c: In function 'GetLoadav': +../loadav.c:89:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] + fgets(buf, sizeof(buf), fp); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../help.c: In function 'bindkeypage': +../help.c:807:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if ((kme->fl & KMAP_NOTIMEOUT) != 0) + ^~ +../help.c:809:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + act = bindkeydata->tab == dmtab ? &kme->dm : bindkeydata->tab == mmtab ? &kme->mm : &kme->um; + ^~~ +../ansi.c: In function 'Special': +../ansi.c:947:10: warning: this statement may fall through [-Wimplicit-fallthrough=] + if (curr->w_autoaka) + ^ +../ansi.c:949:5: note: here + case '\013': /* Vertical tab is the same as Line Feed */ + ^~~~ +../window.c: In function 'ForkWindow': +../window.c:1295:4: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] + dup(slave); + ^~~~~~~~~~ +../window.c:1346:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] + dup(newfd); + ^~~~~~~~~~ +../window.c:1350:8: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] + dup(win->w_ptyfd); + ^~~~~~~~~~~~~~~~~ +../window.c: In function 'CloseDevice': +../window.c:982:13: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] + (void)chown(wp->w_tty, 0, 0); + ^~~~~~~~~~~~~~~~~~~~~~ +../window.c: In function 'FreePseudowin': +../window.c:1702:9: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] + (void)chown(pwin->p_tty, 0, 0); + ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../process.c -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../display.c -../display.c: In function 'RefreshHStatus': -../display.c:2282:60: warning: pointer targets in passing argument 1 of 'strlen_onscreen' differ in signedness [-Wpointer-sign] - int extrabytes = strlen(hstatusstring) - strlen_onscreen(hstatusstring, NULL); - ^~~~~~~~~~~~~ -../display.c:2129:1: note: expected 'unsigned char *' but argument is of type 'char *' - strlen_onscreen(unsigned char *c, unsigned char *end) - ^~~~~~~~~~~~~~~ -../display.c: In function 'RefreshLine': -../display.c:2385:65: warning: pointer targets in passing argument 1 of 'strlen_onscreen' differ in signedness [-Wpointer-sign] - int extrabytes = strlen(captionstring) - strlen_onscreen(captionstring, NULL); - ^~~~~~~~~~~~~ -../display.c:2129:1: note: expected 'unsigned char *' but argument is of type 'char *' - strlen_onscreen(unsigned char *c, unsigned char *end) - ^~~~~~~~~~~~~~~ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../pty.c ../screen.c: In function 'WindowDied': ../screen.c:1546:35: warning: '%s' directive writing up to 99 bytes into a region of size 86 [-Wformat-overflow=] sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); @@ -1593,12 +1583,77 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../misc.c: In function 'SessionCreationTime': +../misc.c:782:27: warning: '/stat' directive writing 5 bytes into a region of size between 4 and 13 [-Wformat-overflow=] + sprintf(ppath, "/proc/%u/stat", pid); + ^~~~~ +In file included from /usr/include/stdio.h:873, + from ../os.h:30, + from ../screen.h:30, + from ../misc.c:35: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 22 bytes into a destination of size 20 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../process.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../display.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../acls.c +../help.c: In function 'helppage': +../help.c:299:55: warning: '%s' directive writing up to 255 bytes into a region of size between 220 and 228 [-Wformat-overflow=] + sprintf(cbuf,"Command key: %s Literal %s: %s", Esc_buf, Esc_buf, buf); + ^~ ~~~ +In file included from /usr/include/stdio.h:873, + from ../os.h:30, + from ../screen.h:30, + from ../help.c:35: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 29 and 292 bytes into a destination of size 256 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille_tsi.c ../process.c: In function 'InitKeytab': ../process.c:599:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for (i = 0; i < ((maxwin && maxwin < 10) ? maxwin : 10); i++) ^ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../acls.c + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../logfile.c +../display.c: In function 'RefreshHStatus': +../display.c:2282:60: warning: pointer targets in passing argument 1 of 'strlen_onscreen' differ in signedness [-Wpointer-sign] + int extrabytes = strlen(hstatusstring) - strlen_onscreen(hstatusstring, NULL); + ^~~~~~~~~~~~~ +../display.c:2129:1: note: expected 'unsigned char *' but argument is of type 'char *' + strlen_onscreen(unsigned char *c, unsigned char *end) + ^~~~~~~~~~~~~~~ +../display.c: In function 'RefreshLine': +../display.c:2385:65: warning: pointer targets in passing argument 1 of 'strlen_onscreen' differ in signedness [-Wpointer-sign] + int extrabytes = strlen(captionstring) - strlen_onscreen(captionstring, NULL); + ^~~~~~~~~~~~~ +../display.c:2129:1: note: expected 'unsigned char *' but argument is of type 'char *' + strlen_onscreen(unsigned char *c, unsigned char *end) + ^~~~~~~~~~~~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../layer.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_generic.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_display.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_window.c +../process.c: In function 'Colonfin': +../process.c:5948:82: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] + for (m = ++l; m <= r && strncmp(buf, comms[m].name, len) == 0 && s - mbuf < sizeof(mbuf); m++) + ^ +../process.c:5959:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + if (len > 0 && len < sizeof(mbuf)) + ^ ../display.c: In function 'DisplaySleep1000': ../display.c:3147:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(D_userfd, &buf, 1); @@ -1611,20 +1666,9 @@ dup(0); ^~~~~~ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille.c -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille_tsi.c -../process.c: In function 'Colonfin': -../process.c:5948:82: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] - for (m = ++l; m <= r && strncmp(buf, comms[m].name, len) == 0 && s - mbuf < sizeof(mbuf); m++) - ^ -../process.c:5959:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - if (len > 0 && len < sizeof(mbuf)) - ^ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../logfile.c + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../sched.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../layer.c + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../teln.c ../process.c: In function 'DoAction': ../process.c:1365:7: warning: this statement may fall through [-Wimplicit-fallthrough=] Finit(0); @@ -1633,41 +1677,29 @@ case RC_DETACH: ^~~~ ../process.c: In function 'pow_detach_fn': -../process.c:6278:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - write(D_userfd, "\007", 1); - ^~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_generic.c -../window.c: In function 'RemakeWindow': -../window.c:924:19: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] - p->w_writeev.fd = f; - ~~~~~~~~~~~~~~~~^~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_display.c -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_window.c -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../sched.c -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../teln.c -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../nethack.c ../layer.c: In function 'LayProcessMouse': ../layer.c:1099:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (l->l_mouseevent.len >= sizeof(l->l_mouseevent.buffer)) ^~ +../process.c:6278:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + write(D_userfd, "\007", 1); + ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../list_window.c: In function 'WListUpdatecv': ../list_window.c:674:26: warning: variable 'wdata' set but not used [-Wunused-but-set-variable] struct gl_Window_Data *wdata; ^~~~~ +../window.c: In function 'RemakeWindow': +../window.c:924:19: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] + p->w_writeev.fd = f; + ~~~~~~~~~~~~~~~~^~~ ../teln.c: In function 'TelIn': ../teln.c:337:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (p->w_telsubidx < sizeof(p->w_telsubbuf) - 1) ^ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../encoding.c + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../nethack.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../canvas.c + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../encoding.c In file included from ../screen.h:157, from ../encoding.c:27: ../encoding.c: In function 'AddUtf8': @@ -1695,13 +1727,15 @@ if (i == combchars[root]->c2) ^~ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../canvas.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../layout.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -ffile-prefix-map=/build/screen-4.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../viewport.c gcc -Wl,-z,relro -Wl,-z,now -o screen screen.o ansi.o fileio.o mark.o misc.o resize.o socket.o search.o tty.o term.o window.o utmp.o loadav.o putenv.o help.o termcap.o input.o attacher.o pty.o process.o display.o comm.o kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o list_generic.o list_display.o list_window.o sched.o teln.o nethack.o encoding.o canvas.o layout.o viewport.o -ltinfo -lcrypt make[2]: Leaving directory '/build/screen-4.6.2/build-udeb' dh_auto_build --sourcedirectory build/doc - cd build/doc && make -j15 "INSTALL=install --strip-program=true" + cd build/doc && make -j16 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/screen-4.6.2/build/doc' makeinfo --split-size=50000 ../../doc/screen.texinfo -o screen.info make[2]: Leaving directory '/build/screen-4.6.2/build/doc' @@ -1813,8 +1847,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'screen-dbgsym' in '../screen-dbgsym_4.6.2-3+deb10u1_amd64.deb'. dpkg-deb: building package 'screen' in '../screen_4.6.2-3+deb10u1_amd64.deb'. +dpkg-deb: building package 'screen-dbgsym' in '../screen-dbgsym_4.6.2-3+deb10u1_amd64.deb'. dpkg-deb: building package 'screen-udeb' in 'debian/.debhelper/scratch-space/build-screen-udeb/screen-udeb_4.6.2-3+deb10u1_amd64.deb'. Renaming screen-udeb_4.6.2-3+deb10u1_amd64.deb to screen-udeb_4.6.2-3+deb10u1_amd64.udeb dpkg-genbuildinfo --build=binary @@ -1824,12 +1858,14 @@ dpkg-source: info: using options from screen-4.6.2/debian/source/options: --extend-diff-ignore=config\.h\.in dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/63800/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/63800/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/41979 and its subdirectories -I: Current time: Sat Mar 27 02:07:54 -12 2021 -I: pbuilder-time-stamp: 1616854074 +I: removing directory /srv/workspace/pbuilder/63800 and its subdirectories +I: Current time: Sat Apr 30 10:32:36 +14 2022 +I: pbuilder-time-stamp: 1651264356