Diff of the two buildlogs: -- --- b1/build.log 2021-06-02 06:49:56.447546643 +0000 +++ b2/build.log 2021-06-02 06:51:05.648839638 +0000 @@ -1,9 +1,6 @@ -W: cgroups are not available on the host, not using them. -unshare: unshare failed: Cannot allocate memory -W: pbuilder: unshare CLONE_NEWNET not available -I: pbuilder: network access is available during build! -I: Current time: Tue Jun 1 18:42:16 -12 2021 -I: pbuilder-time-stamp: 1622616136 +I: pbuilder: network access will be disabled during build +I: Current time: Wed Jul 6 03:13:21 +14 2022 +I: pbuilder-time-stamp: 1657026801 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -21,8 +18,8 @@ I: copying [./screen_4.8.0-6.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.PQJxxLDC/trustedkeys.kbx': General error -gpgv: Signature made Fri Feb 26 13:02:56 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.Lj3c8Yhp/trustedkeys.kbx': General error +gpgv: Signature made Sat Feb 27 15:02:56 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.8.0-6.dsc @@ -49,136 +46,171 @@ 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/6204/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/46737/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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/46737/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/46737/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=10' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + 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]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=18' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='6204' - PS1='# ' - PS2='> ' + INVOCATION_ID=856d72834000496ba2a6abe1197e0823 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=46737 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.Q0zAlFPZ36/pbuilderrc_WmuR --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Q0zAlFPZ36/b1 --logfile b1/build.log screen_4.8.0-6.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/sbin/chroot' - 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.Q0zAlFPZ36/pbuilderrc_Hsvi --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Q0zAlFPZ36/b2 --logfile b2/build.log --extrapackages usrmerge screen_4.8.0-6.dsc' + SUDO_GID=112 + SUDO_UID=107 + 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 ionos12-i386 4.19.0-16-686-pae #1 SMP Debian 4.19.181-1 (2021-03-19) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux I: ls -l /bin - total 5780 - -rwxr-xr-x 1 root root 1367848 Feb 24 08:57 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 01:23 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 02:38 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 02:38 more - -rwsr-xr-x 1 root root 50720 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 13856 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Feb 24 08:57 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 May 27 21:26 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 02:38 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/6204/tmp/hooks/D02_print_environment finished + total 5776 + -rwxr-xr-x 1 root root 1367848 Feb 25 2021 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 2021 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 2021 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 2021 more + -rwsr-xr-x 1 root root 50720 Feb 8 2021 mount + -rwxr-xr-x 1 root root 13856 Feb 8 2021 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Feb 25 2021 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 6 03:13 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 5 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 2021 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 2021 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/46737/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -267,7 +299,7 @@ Get: 43 http://deb.debian.org/debian bullseye/main i386 libxml-sax-perl all 1.02+dfsg-1 [59.0 kB] Get: 44 http://deb.debian.org/debian bullseye/main i386 libxml-libxml-perl i386 2.0134+dfsg-2+b1 [353 kB] Get: 45 http://deb.debian.org/debian bullseye/main i386 texinfo i386 6.7.0.dfsg.2-6 [1766 kB] -Fetched 21.7 MB in 37s (586 kB/s) +Fetched 21.7 MB in 0s (64.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19674 files and directories currently installed.) @@ -476,9 +508,41 @@ Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). -0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (3981 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 23147 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/screen-4.8.0/ && 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.8.0/ && 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.8.0-6 dpkg-buildpackage: info: source distribution unstable @@ -525,8 +589,8 @@ checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for library containing strerror... none required checking for ANSI C header files... yes @@ -647,8 +711,8 @@ checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for library containing strerror... none required checking for ANSI C header files... yes @@ -756,7 +820,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/screen-4.8.0' dh_auto_build --builddirectory build - cd build && make -j10 + cd build && make -j18 make[2]: Entering directory '/build/screen-4.8.0/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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE" srcdir=.. sh ../comm.sh @@ -790,25 +854,87 @@ -g -O2 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE tty.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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../loadav.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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../attacher.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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../process.c ../search.c: In function 'matchword': ../search.c:148:18: warning: unused variable 'ip' [-Wunused-variable] 148 | unsigned char *ip, *cp, *pp, *cpe; | ^~ +../fileio.c: In function 'WriteFile': +../fileio.c:456:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] + 456 | for (j = fore->w_width - 2; j > 0; j--) + | ^~~ +../fileio.c:458:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' + 458 | fputs("<\n", f); + | ^~~~~ +../fileio.c:466:21: warning: this 'for' clause does not guard... [-Wmisleading-indentation] + 466 | for (j = 0; j <= k; j++) + | ^~~ +../fileio.c:468:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' + 468 | putc('\n', f); + | ^~~~ +../fileio.c:476:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] + 476 | for (j = 0; j <= k; j++) + | ^~~ +../fileio.c:478:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' + 478 | putc('\n', f); + | ^~~~ +../loadav.c: In function 'GetLoadav': +../loadav.c:89:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 89 | fgets(buf, sizeof(buf), fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../utmp.c: In function 'pututslot': +../utmp.c:582:2: warning: 'addToUtmp' is deprecated: better use utempter_add_record instead [-Wdeprecated-declarations] + 582 | addToUtmp(wi->w_tty, host, wi->w_ptyfd); + | ^~~~~~~~~ +In file included from ../utmp.c:38: +/usr/include/utempter.h:44:13: note: declared here + 44 | extern void addToUtmp(const char *pty, const char *hostname, int master_fd) + | ^~~~~~~~~ +../utmp.c:584:2: warning: 'removeLineFromUtmp' is deprecated: better use utempter_remove_record instead [-Wdeprecated-declarations] + 584 | removeLineFromUtmp(wi->w_tty, wi->w_ptyfd); + | ^~~~~~~~~~~~~~~~~~ +In file included from ../utmp.c:38: +/usr/include/utempter.h:48:13: note: declared here + 48 | extern void removeLineFromUtmp(const char *pty, int master_fd) + | ^~~~~~~~~~~~~~~~~~ +../fileio.c:427:13: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] + 427 | ftruncate(fd, 0); + | ^~~~~~~~~~~~~~~~ +../misc.c: In function 'GetUptime': +../misc.c:833:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 833 | (void)read(fd, uptimestr, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../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] 560 | if (st.st_uid != real_uid) | ^~ -../screen.c: In function 'MakeWinMsgEv': -../screen.c:2640:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] - 2640 | if (l < strlen(win->w_cmdargs[i]) + 1) - | ^ +../fileio.c: In function 'printpipe': +../fileio.c:714:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 714 | dup(pi[0]); + | ^~~~~~~~~~ ../socket.c: In function 'ReceiveMsg': ../socket.c:1104:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1104 | while (cl >= CMSG_LEN(sizeof(int))) | ^~ -../screen.c:2714:15: warning: variable 'ss' set but not used [-Wunused-but-set-variable] - 2714 | char *ss; - | ^~ +../process.c: In function 'InitKeytab': +../process.c:599:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 599 | for (i = 0; i < ((maxwin && maxwin < 10) ? maxwin : 10); i++) + | ^ ../socket.c: In function 'SendErrorMsg': ../socket.c:758:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 758 | (void) write(s, (char *) &m, sizeof m); @@ -823,6 +949,35 @@ ../socket.c:997:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 997 | write(i, "Could not make display.\n", 24); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../screen.c: In function 'MakeWinMsgEv': +../screen.c:2640:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] + 2640 | if (l < strlen(win->w_cmdargs[i]) + 1) + | ^ +../window.c: In function 'ForkWindow': +../window.c:1297:4: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 1297 | dup(slave); + | ^~~~~~~~~~ +../window.c:1348:3: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 1348 | dup(newfd); + | ^~~~~~~~~~ +../window.c:1352:8: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 1352 | dup(win->w_ptyfd); + | ^~~~~~~~~~~~~~~~~ +../window.c: In function 'CloseDevice': +../window.c:983:13: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 983 | (void)chown(wp->w_tty, 0, 0); + | ^~~~~~~~~~~~~~~~~~~~~~ +../screen.c:2714:15: warning: variable 'ss' set but not used [-Wunused-but-set-variable] + 2714 | char *ss; + | ^~ +../window.c: In function 'FreePseudowin': +../window.c:1704:9: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 1704 | (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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../acls.c ../screen.c: In function 'main': ../screen.c:1120:16: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 1120 | (void) chown(SockPath, real_uid, real_gid); @@ -920,54 +1075,6 @@ ../screen.c:2180:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2180 | write(queryflag, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../fileio.c: In function 'WriteFile': -../fileio.c:456:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] - 456 | for (j = fore->w_width - 2; j > 0; j--) - | ^~~ -../fileio.c:458:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' - 458 | fputs("<\n", f); - | ^~~~~ -../fileio.c:466:21: warning: this 'for' clause does not guard... [-Wmisleading-indentation] - 466 | for (j = 0; j <= k; j++) - | ^~~ -../fileio.c:468:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' - 468 | putc('\n', f); - | ^~~~ -../fileio.c:476:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] - 476 | for (j = 0; j <= k; j++) - | ^~~ -../fileio.c:478:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' - 478 | putc('\n', f); - | ^~~~ -../fileio.c:427:13: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] - 427 | ftruncate(fd, 0); - | ^~~~~~~~~~~~~~~~ -../misc.c: In function 'GetUptime': -../misc.c:833:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 833 | (void)read(fd, uptimestr, 32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../fileio.c: In function 'printpipe': -../fileio.c:714:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 714 | dup(pi[0]); - | ^~~~~~~~~~ -../window.c: In function 'ForkWindow': -../window.c:1297:4: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 1297 | dup(slave); - | ^~~~~~~~~~ -../window.c:1348:3: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 1348 | dup(newfd); - | ^~~~~~~~~~ -../window.c:1352:8: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 1352 | dup(win->w_ptyfd); - | ^~~~~~~~~~~~~~~~~ -../window.c: In function 'CloseDevice': -../window.c:983:13: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] - 983 | (void)chown(wp->w_tty, 0, 0); - | ^~~~~~~~~~~~~~~~~~~~~~ -../window.c: In function 'FreePseudowin': -../window.c:1704:9: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] - 1704 | (void)chown(pwin->p_tty, 0, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~~ ../ansi.c: In function 'Special': ../ansi.c:947:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 947 | if (curr->w_autoaka) @@ -975,104 +1082,6 @@ ../ansi.c:949:5: note: here 949 | case '\013': /* Vertical tab is the same as Line Feed */ | ^~~~ -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../utmp.c -../misc.c: In function 'SessionCreationTime': -../misc.c:809:27: warning: '/stat' directive writing 5 bytes into a region of size between 4 and 13 [-Wformat-overflow=] - 809 | sprintf(ppath, "/proc/%u/stat", pid); - | ^~~~~ -In file included from /usr/include/stdio.h:867, - from ../os.h:30, - from ../screen.h:30, - from ../misc.c:36: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 22 bytes into a destination of size 20 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../screen.c: In function 'WindowDied': -../screen.c:1548:35: warning: '%s' directive writing up to 99 bytes into a region of size 86 [-Wformat-overflow=] - 1548 | sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); - | ^~ ~~~~~~ -../screen.c:1548:18: note: assuming directive output of 1 byte - 1548 | sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from ../os.h:30, - from ../screen.h:30, - from ../screen.c:98: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 122) into a destination of size 100 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../utmp.c: In function 'pututslot': -../utmp.c:582:2: warning: 'addToUtmp' is deprecated: better use utempter_add_record instead [-Wdeprecated-declarations] - 582 | addToUtmp(wi->w_tty, host, wi->w_ptyfd); - | ^~~~~~~~~ -In file included from ../utmp.c:38: -/usr/include/utempter.h:44:13: note: declared here - 44 | extern void addToUtmp(const char *pty, const char *hostname, int master_fd) - | ^~~~~~~~~ -../utmp.c:584:2: warning: 'removeLineFromUtmp' is deprecated: better use utempter_remove_record instead [-Wdeprecated-declarations] - 584 | removeLineFromUtmp(wi->w_tty, wi->w_ptyfd); - | ^~~~~~~~~~~~~~~~~~ -In file included from ../utmp.c:38: -/usr/include/utempter.h:48:13: note: declared here - 48 | extern void removeLineFromUtmp(const char *pty, int master_fd) - | ^~~~~~~~~~~~~~~~~~ -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../loadav.c -../loadav.c: In function 'GetLoadav': -../loadav.c:89:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 89 | fgets(buf, sizeof(buf), fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -../window.c: In function 'RemakeWindow': -../window.c:925:19: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] - 925 | 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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../attacher.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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../process.c -../process.c: In function 'InitKeytab': -../process.c:599:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 599 | 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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 'Colonfin': -../process.c:5948:82: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 5948 | 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 'unsigned int' [-Wsign-compare] - 5959 | 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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille.c -../process.c: In function 'DoAction': -../process.c:1365:7: warning: this statement may fall through [-Wimplicit-fallthrough=] - 1365 | Finit(0); - | ^~~~~~~~ -../process.c:1368:5: note: here - 1368 | 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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 'pow_detach_fn': -../process.c:6278:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 6278 | write(D_userfd, "\007", 1); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../display.c: In function 'RefreshHStatus': ../display.c:2318:60: warning: pointer targets in passing argument 1 of 'strlen_onscreen' differ in signedness [-Wpointer-sign] 2318 | int extrabytes = strlen(hstatusstring) - strlen_onscreen(hstatusstring, NULL); @@ -1083,8 +1092,6 @@ 2165 | strlen_onscreen(unsigned char *c, unsigned char *end) | ~~~~~~~~~~~~~~~^ ../display.c: In function 'RefreshLine': -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../logfile.c ../display.c:2421:65: warning: pointer targets in passing argument 1 of 'strlen_onscreen' differ in signedness [-Wpointer-sign] 2421 | int extrabytes = strlen(captionstring) - strlen_onscreen(captionstring, NULL); | ^~~~~~~~~~~~~ @@ -1093,27 +1100,28 @@ ../display.c:2165:32: note: expected 'unsigned char *' but argument is of type 'char *' 2165 | 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: 'int' and 'unsigned int' [-Wsign-compare] + 5948 | 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 'unsigned int' [-Wsign-compare] + 5959 | if (len > 0 && len < sizeof(mbuf)) + | ^ +../misc.c: In function 'SessionCreationTime': +../misc.c:809:27: warning: '/stat' directive writing 5 bytes into a region of size between 4 and 13 [-Wformat-overflow=] + 809 | sprintf(ppath, "/proc/%u/stat", pid); + | ^~~~~ +In file included from /usr/include/stdio.h:867, + from ../os.h:30, + from ../screen.h:30, + from ../misc.c:36: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 22 bytes into a destination of size 20 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../layer.c -../screen.c: In function 'MakeWinMsgEv': -../screen.c:2947:18: warning: array subscript -1 is outside array bounds of 'char[768]' [-Warray-bounds] - 2947 | p[-1] = '.'; - | ~^~~~ -../screen.c:2202:13: note: while referencing 'winmsg_buf' - 2202 | static char winmsg_buf[MAXSTR]; - | ^~~~~~~~~~ -../screen.c:2949:18: warning: array subscript -2 is outside array bounds of 'char[768]' [-Warray-bounds] - 2949 | p[-2] = '.'; - | ~^~~~ -../screen.c:2202:13: note: while referencing 'winmsg_buf' - 2202 | static char winmsg_buf[MAXSTR]; - | ^~~~~~~~~~ -../screen.c:2951:18: warning: array subscript -3 is outside array bounds of 'char[768]' [-Warray-bounds] - 2951 | p[-3] = '.'; - | ~^~~~ -../screen.c:2202:13: note: while referencing 'winmsg_buf' - 2202 | static char winmsg_buf[MAXSTR]; - | ^~~~~~~~~~ + -g -O2 -fdebug-prefix-map=/build/screen-4.8.0=. -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 'disp_readev_fn': ../display.c:3408:24: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 3408 | unsigned char *buf = bufspace + MAX_MOUSE_SEQUENCE; @@ -1132,14 +1140,14 @@ ../display.c:3626:59: warning: array subscript has type 'char' [-Wchar-subscripts] 3626 | D_mouse_parse.params[D_mouse_parse.state++] = c; ../display.c: In function 'disp_processinput': -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_generic.c ../display.c:3766:21: warning: pointer targets in passing argument 1 of 'display->d_processinput' differ in signedness [-Wpointer-sign] 3766 | (*D_processinput)(buf, size); | ^~~ | | | unsigned char * ../display.c:3766:21: note: expected 'char *' but argument is of type 'unsigned char *' +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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 'DisplaySleep1000': ../display.c:3185:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 3185 | read(D_userfd, &buf, 1); @@ -1155,15 +1163,52 @@ 4044 | 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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_display.c + -g -O2 -fdebug-prefix-map=/build/screen-4.8.0=. -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 'DoAction': +../process.c:1365:7: warning: this statement may fall through [-Wimplicit-fallthrough=] + 1365 | Finit(0); + | ^~~~~~~~ +../process.c:1368:5: note: here + 1368 | 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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 'pow_detach_fn': +../process.c:6278:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 6278 | 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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_generic.c +../screen.c: In function 'WindowDied': +../screen.c:1548:35: warning: '%s' directive writing up to 99 bytes into a region of size 86 [-Wformat-overflow=] + 1548 | sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); + | ^~ ~~~~~~ +../screen.c:1548:18: note: assuming directive output of 1 byte + 1548 | sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from ../os.h:30, + from ../screen.h:30, + from ../screen.c:98: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 122) into a destination of size 100 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../layer.c: In function 'LayProcessMouse': ../layer.c:1116:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1116 | if (l->l_mouseevent.len >= sizeof(l->l_mouseevent.buffer)) | ^~ 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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../sched.c +../window.c: In function 'RemakeWindow': +../window.c:925:19: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] + 925 | p->w_writeev.fd = f; + | ~~~~~~~~~~~~~~~~^~~ ../list_window.c: In function 'WListUpdatecv': ../list_window.c:674:26: warning: variable 'wdata' set but not used [-Wunused-but-set-variable] 674 | struct gl_Window_Data *wdata; @@ -1180,6 +1225,10 @@ -g -O2 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../viewport.c In file included from ../screen.h:157, from ../encoding.c:27: ../encoding.c: In function 'AddUtf8': @@ -1206,14 +1255,29 @@ ../encoding.c:1398:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1398 | 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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../viewport.c +../screen.c: In function 'MakeWinMsgEv': +../screen.c:2947:18: warning: array subscript -1 is outside array bounds of 'char[768]' [-Warray-bounds] + 2947 | p[-1] = '.'; + | ~^~~~ +../screen.c:2202:13: note: while referencing 'winmsg_buf' + 2202 | static char winmsg_buf[MAXSTR]; + | ^~~~~~~~~~ +../screen.c:2949:18: warning: array subscript -2 is outside array bounds of 'char[768]' [-Warray-bounds] + 2949 | p[-2] = '.'; + | ~^~~~ +../screen.c:2202:13: note: while referencing 'winmsg_buf' + 2202 | static char winmsg_buf[MAXSTR]; + | ^~~~~~~~~~ +../screen.c:2951:18: warning: array subscript -3 is outside array bounds of 'char[768]' [-Warray-bounds] + 2951 | p[-3] = '.'; + | ~^~~~ +../screen.c:2202:13: note: while referencing 'winmsg_buf' + 2202 | static char winmsg_buf[MAXSTR]; + | ^~~~~~~~~~ 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.8.0/build' dh_auto_build --builddirectory build-udeb - cd build-udeb && make -j10 + cd build-udeb && make -j18 make[2]: Entering directory '/build/screen-4.8.0/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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE" srcdir=.. sh ../comm.sh @@ -1226,9 +1290,7 @@ 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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE kmapdef.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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_display.c + -g -O2 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../comm.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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../screen.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ @@ -1245,6 +1307,34 @@ -g -O2 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../socket.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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../search.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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE tty.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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../loadav.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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../attacher.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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../process.c +../search.c: In function 'matchword': +../search.c:148:18: warning: unused variable 'ip' [-Wunused-variable] + 148 | 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] + 560 | if (st.st_uid != real_uid) + | ^~ ../fileio.c: In function 'WriteFile': ../fileio.c:456:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 456 | for (j = fore->w_width - 2; j > 0; j--) @@ -1252,12 +1342,20 @@ ../fileio.c:458:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 458 | fputs("<\n", f); | ^~~~~ +../socket.c: In function 'ReceiveMsg': ../fileio.c:466:21: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 466 | for (j = 0; j <= k; j++) | ^~~ +../socket.c:1104:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1104 | while (cl >= CMSG_LEN(sizeof(int))) + | ^~ ../fileio.c:468:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 468 | putc('\n', f); | ^~~~ +../loadav.c: In function 'GetLoadav': +../loadav.c:89:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 89 | fgets(buf, sizeof(buf), fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../fileio.c:476:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 476 | for (j = 0; j <= k; j++) | ^~~ @@ -1275,12 +1373,24 @@ ../misc.c:833:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 833 | (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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE tty.c -../search.c: In function 'matchword': -../search.c:148:18: warning: unused variable 'ip' [-Wunused-variable] - 148 | unsigned char *ip, *cp, *pp, *cpe; - | ^~ +../socket.c: In function 'SendErrorMsg': +../socket.c:758:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 758 | (void) write(s, (char *) &m, sizeof m); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../socket.c: In function 'CreateTempDisplay': +../socket.c:962:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 962 | write(i, "Attaching from inside of screen?\n", 33); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../socket.c:973:8: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 973 | write(i, "Access to session denied.\n", 26); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../socket.c:997:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 997 | write(i, "Could not make display.\n", 24); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../process.c: In function 'InitKeytab': +../process.c:599:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 599 | for (i = 0; i < ((maxwin && maxwin < 10) ? maxwin : 10); i++) + | ^ ../screen.c: In function 'MakeWinMsgEv': ../screen.c:2640:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 2640 | if (l < strlen(win->w_cmdargs[i]) + 1) @@ -1288,14 +1398,28 @@ ../screen.c:2714:15: warning: variable 'ss' set but not used [-Wunused-but-set-variable] 2714 | char *ss; | ^~ -../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] - 560 | if (st.st_uid != real_uid) - | ^~ -../socket.c: In function 'ReceiveMsg': -../socket.c:1104:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1104 | while (cl >= CMSG_LEN(sizeof(int))) - | ^~ +../window.c: In function 'ForkWindow': +../window.c:1297:4: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 1297 | dup(slave); + | ^~~~~~~~~~ +../window.c:1348:3: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 1348 | dup(newfd); + | ^~~~~~~~~~ +../window.c:1352:8: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 1352 | dup(win->w_ptyfd); + | ^~~~~~~~~~~~~~~~~ +../window.c: In function 'CloseDevice': +../window.c:983:13: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 983 | (void)chown(wp->w_tty, 0, 0); + | ^~~~~~~~~~~~~~~~~~~~~~ +../window.c: In function 'FreePseudowin': +../window.c:1704:9: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 1704 | (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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../acls.c ../screen.c: In function 'main': ../screen.c:1120:16: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 1120 | (void) chown(SockPath, real_uid, real_gid); @@ -1386,28 +1510,14 @@ ../screen.c:2149:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2149 | write(D_userfd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c: In function 'SendErrorMsg': ../screen.c:2150:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2150 | write(D_userfd, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c:758:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 758 | (void) write(s, (char *) &m, sizeof m); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../screen.c: In function 'QueryMsg': +../ansi.c: In function 'Special': ../screen.c:2180:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2180 | write(queryflag, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c: In function 'CreateTempDisplay': -../socket.c:962:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 962 | write(i, "Attaching from inside of screen?\n", 33); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c:973:8: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 973 | write(i, "Access to session denied.\n", 26); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c:997:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 997 | write(i, "Could not make display.\n", 24); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../ansi.c: In function 'Special': ../ansi.c:947:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 947 | if (curr->w_autoaka) | ^ @@ -1415,117 +1525,7 @@ 949 | case '\013': /* Vertical tab is the same as Line Feed */ | ^~~~ 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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../window.c -../screen.c: In function 'WindowDied': -../screen.c:1548:35: warning: '%s' directive writing up to 99 bytes into a region of size 86 [-Wformat-overflow=] - 1548 | sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); - | ^~ ~~~~~~ -../screen.c:1548:18: note: assuming directive output of 1 byte - 1548 | sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from ../os.h:30, - from ../screen.h:30, - from ../screen.c:98: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 122) into a destination of size 100 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../misc.c: In function 'SessionCreationTime': -../misc.c:809:27: warning: '/stat' directive writing 5 bytes into a region of size between 4 and 13 [-Wformat-overflow=] - 809 | sprintf(ppath, "/proc/%u/stat", pid); - | ^~~~~ -In file included from /usr/include/stdio.h:867, - from ../os.h:30, - from ../screen.h:30, - from ../misc.c:36: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 22 bytes into a destination of size 20 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../loadav.c -../window.c: In function 'ForkWindow': -../window.c:1297:4: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 1297 | dup(slave); - | ^~~~~~~~~~ -../window.c:1348:3: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 1348 | dup(newfd); - | ^~~~~~~~~~ -../window.c:1352:8: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 1352 | dup(win->w_ptyfd); - | ^~~~~~~~~~~~~~~~~ -../window.c: In function 'CloseDevice': -../window.c:983:13: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] - 983 | (void)chown(wp->w_tty, 0, 0); - | ^~~~~~~~~~~~~~~~~~~~~~ -../window.c: In function 'FreePseudowin': -../window.c:1704:9: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] - 1704 | (void)chown(pwin->p_tty, 0, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -../loadav.c: In function 'GetLoadav': -../loadav.c:89:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 89 | fgets(buf, sizeof(buf), fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../attacher.c -../window.c: In function 'RemakeWindow': -../window.c:925:19: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] - 925 | 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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../comm.c -../screen.c: In function 'MakeWinMsgEv': -../screen.c:2947:18: warning: array subscript -1 is outside array bounds of 'char[768]' [-Warray-bounds] - 2947 | p[-1] = '.'; - | ~^~~~ -../screen.c:2202:13: note: while referencing 'winmsg_buf' - 2202 | static char winmsg_buf[MAXSTR]; - | ^~~~~~~~~~ -../screen.c:2949:18: warning: array subscript -2 is outside array bounds of 'char[768]' [-Warray-bounds] - 2949 | p[-2] = '.'; - | ~^~~~ -../screen.c:2202:13: note: while referencing 'winmsg_buf' - 2202 | static char winmsg_buf[MAXSTR]; - | ^~~~~~~~~~ -../screen.c:2951:18: warning: array subscript -3 is outside array bounds of 'char[768]' [-Warray-bounds] - 2951 | p[-3] = '.'; - | ~^~~~ -../screen.c:2202:13: note: while referencing 'winmsg_buf' - 2202 | static char winmsg_buf[MAXSTR]; - | ^~~~~~~~~~ -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../acls.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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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] - 599 | 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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../logfile.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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_window.c ../display.c: In function 'RefreshHStatus': ../display.c:2318:60: warning: pointer targets in passing argument 1 of 'strlen_onscreen' differ in signedness [-Wpointer-sign] 2318 | int extrabytes = strlen(hstatusstring) - strlen_onscreen(hstatusstring, NULL); @@ -1544,10 +1544,30 @@ ../display.c:2165:32: note: expected 'unsigned char *' but argument is of type 'char *' 2165 | strlen_onscreen(unsigned char *c, unsigned char *end) | ~~~~~~~~~~~~~~~^ +../misc.c: In function 'SessionCreationTime': +../misc.c:809:27: warning: '/stat' directive writing 5 bytes into a region of size between 4 and 13 [-Wformat-overflow=] + 809 | sprintf(ppath, "/proc/%u/stat", pid); + | ^~~~~ +In file included from /usr/include/stdio.h:867, + from ../os.h:30, + from ../screen.h:30, + from ../misc.c:36: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 22 bytes into a destination of size 20 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../process.c: In function 'Colonfin': ../display.c: In function 'disp_readev_fn': ../display.c:3408:24: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 3408 | unsigned char *buf = bufspace + MAX_MOUSE_SEQUENCE; | ^~~~~~~~ +../process.c:5948:82: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 5948 | 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 'unsigned int' [-Wsign-compare] + 5959 | if (len > 0 && len < sizeof(mbuf)) + | ^ ../display.c:3483:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3483 | bufp = buf; | ^ @@ -1568,25 +1588,12 @@ | | | unsigned char * ../display.c:3766:21: note: expected 'char *' but argument is of type 'unsigned char *' -../process.c: In function 'Colonfin': -../layer.c: In function 'LayProcessMouse': -../layer.c:1116:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1116 | if (l->l_mouseevent.len >= sizeof(l->l_mouseevent.buffer)) - | ^~ -../process.c:5948:82: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 5948 | 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 'unsigned int' [-Wsign-compare] - 5959 | 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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 'DisplaySleep1000': ../display.c:3185:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 3185 | read(D_userfd, &buf, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../list_window.c: In function 'WListUpdatecv': -../list_window.c:674:26: warning: variable 'wdata' set but not used [-Wunused-but-set-variable] - 674 | struct gl_Window_Data *wdata; - | ^~~~~ ../display.c: In function 'RunBlanker': ../display.c:4018:4: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 4018 | dup(slave); @@ -1597,6 +1604,10 @@ ../display.c:4044:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 4044 | 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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../logfile.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 -fdebug-prefix-map=/build/screen-4.8.0=. -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=] 1365 | Finit(0); @@ -1604,14 +1615,48 @@ ../process.c:1368:5: note: here 1368 | 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 -fdebug-prefix-map=/build/screen-4.8.0=. -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] 6278 | 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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_generic.c +../screen.c: In function 'WindowDied': +../screen.c:1548:35: warning: '%s' directive writing up to 99 bytes into a region of size 86 [-Wformat-overflow=] + 1548 | sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); + | ^~ ~~~~~~ +../screen.c:1548:18: note: assuming directive output of 1 byte + 1548 | sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from ../os.h:30, + from ../screen.h:30, + from ../screen.c:98: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 122) into a destination of size 100 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../layer.c: In function 'LayProcessMouse': +../layer.c:1116:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1116 | if (l->l_mouseevent.len >= sizeof(l->l_mouseevent.buffer)) + | ^~ +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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../teln.c +../window.c: In function 'RemakeWindow': +../window.c:925:19: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] + 925 | p->w_writeev.fd = f; + | ~~~~~~~~~~~~~~~~^~~ +../list_window.c: In function 'WListUpdatecv': +../list_window.c:674:26: warning: variable 'wdata' set but not used [-Wunused-but-set-variable] + 674 | 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 -fdebug-prefix-map=/build/screen-4.8.0=. -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': @@ -1622,6 +1667,8 @@ -g -O2 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../layout.c In file included from ../screen.h:157, from ../encoding.c:27: ../encoding.c: In function 'AddUtf8': @@ -1649,13 +1696,30 @@ 1398 | 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 -fdebug-prefix-map=/build/screen-4.8.0=. -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 -fdebug-prefix-map=/build/screen-4.8.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../viewport.c +../screen.c: In function 'MakeWinMsgEv': +../screen.c:2947:18: warning: array subscript -1 is outside array bounds of 'char[768]' [-Warray-bounds] + 2947 | p[-1] = '.'; + | ~^~~~ +../screen.c:2202:13: note: while referencing 'winmsg_buf' + 2202 | static char winmsg_buf[MAXSTR]; + | ^~~~~~~~~~ +../screen.c:2949:18: warning: array subscript -2 is outside array bounds of 'char[768]' [-Warray-bounds] + 2949 | p[-2] = '.'; + | ~^~~~ +../screen.c:2202:13: note: while referencing 'winmsg_buf' + 2202 | static char winmsg_buf[MAXSTR]; + | ^~~~~~~~~~ +../screen.c:2951:18: warning: array subscript -3 is outside array bounds of 'char[768]' [-Warray-bounds] + 2951 | p[-3] = '.'; + | ~^~~~ +../screen.c:2202:13: note: while referencing 'winmsg_buf' + 2202 | static char winmsg_buf[MAXSTR]; + | ^~~~~~~~~~ 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.8.0/build-udeb' dh_auto_build --sourcedirectory build/doc - cd build/doc && make -j10 "INSTALL=install --strip-program=true" + cd build/doc && make -j18 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/screen-4.8.0/build/doc' makeinfo --split-size=50000 ../../doc/screen.texinfo -o screen.info make[2]: Leaving directory '/build/screen-4.8.0/build/doc' @@ -1780,12 +1844,15 @@ dpkg-source --after-build . dpkg-source: info: using options from screen-4.8.0/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/46737/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/46737/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/6204 and its subdirectories -I: Current time: Tue Jun 1 18:49:30 -12 2021 -I: pbuilder-time-stamp: 1622616570 +I: removing directory /srv/workspace/pbuilder/46737 and its subdirectories +I: Current time: Wed Jul 6 03:14:03 +14 2022 +I: pbuilder-time-stamp: 1657026843