Diff of the two buildlogs: -- --- b1/build.log 2023-05-13 01:04:23.029232872 +0000 +++ b2/build.log 2023-05-13 01:06:25.943846704 +0000 @@ -1,6 +1,7 @@ +W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 13 19:26:35 -12 2024 -I: pbuilder-time-stamp: 1718349995 +I: Current time: Sat May 13 15:04:26 +14 2023 +I: pbuilder-time-stamp: 1683939866 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -18,7 +19,7 @@ I: copying [./screen_4.9.0.orig.tar.gz.asc] I: copying [./screen_4.9.0-4.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Jan 8 15:59:34 2023 -12 +gpgv: Signature made Mon Jan 9 17:59:34 2023 +14 gpgv: using RSA key 468C89793B429819E9D761266BE663C75A35C975 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./screen_4.9.0-4.dsc: no acceptable signature found @@ -42,137 +43,168 @@ dpkg-source: info: applying 90_fix_man_page_bash_example.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/92780/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/10045/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 13 15:04 /bin/sh -> /bin/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/10045/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/10045/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 parallel=16' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(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 parallel=7' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='08ec2a14503f46b7a2031f8e46852d3b' - 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='92780' - PS1='# ' - PS2='> ' + 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=10045 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/r-b-build.nDwuF4Bo/pbuilderrc_nJ1x --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.nDwuF4Bo/b1 --logfile b1/build.log screen_4.9.0-4.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.nDwuF4Bo/pbuilderrc_ldoI --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.nDwuF4Bo/b2 --logfile b2/build.log --extrapackages usrmerge screen_4.9.0-4.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://78.137.99.97:3128 I: uname -a - Linux ionos6-i386 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-686-pae #1 SMP Debian 5.10.178-3 (2023-04-22) i686 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 2023 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 2023 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 2023 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 2023 more - -rwsr-xr-x 1 root root 58912 Mar 22 2023 mount - -rwxr-xr-x 1 root root 13856 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 2023 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 2023 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 2023 tar - -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 2023 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/92780/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 00:20 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 00:20 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 22:38 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 01:43 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 00:20 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 00:20 more + -rwsr-xr-x 1 root root 58912 Mar 24 00:20 mount + -rwxr-xr-x 1 root root 13856 Mar 24 00:20 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 13 15:04 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 00:20 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 22:38 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 00:20 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 00:20 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/10045/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -259,7 +291,7 @@ Get: 41 http://deb.debian.org/debian bookworm/main i386 libxml-libxml-perl i386 2.0207+dfsg+really+2.0134-1+b1 [333 kB] Get: 42 http://deb.debian.org/debian bookworm/main i386 tex-common all 6.18 [32.5 kB] Get: 43 http://deb.debian.org/debian bookworm/main i386 texinfo i386 6.8-6+b1 [1820 kB] -Fetched 22.1 MB in 3s (6738 kB/s) +Fetched 22.1 MB in 3s (6518 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19604 files and directories currently installed.) @@ -458,10 +490,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/screen-4.9.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../screen_4.9.0-4_source.changes +I: user script /srv/workspace/pbuilder/10045/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/10045/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/screen-4.9.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../screen_4.9.0-4_source.changes dpkg-buildpackage: info: source package screen dpkg-buildpackage: info: source version 4.9.0-4 dpkg-buildpackage: info: source distribution unstable @@ -1217,8 +1256,8 @@ checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... 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 stdio.h... yes @@ -1334,8 +1373,8 @@ checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... 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 stdio.h... yes @@ -1440,7 +1479,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/screen-4.9.0' dh_auto_build --builddirectory build - cd build && make -j16 + cd build && make -j7 make[2]: Entering directory '/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE" srcdir=.. sh ../comm.sh @@ -1468,44 +1507,44 @@ -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../resize.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../attacher.c -../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); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../screen.c: In function 'main': +../screen.c:1215:5: warning: value computed is not used [-Wunused-value] + 1215 | *--av; + | ^~~~~ +../fileio.c: In function 'WriteFile': +../fileio.c:431:49: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] + 431 | ftruncate(fd, 0); + | ^~~~~~~~~~~~~~~~ +../fileio.c: In function 'printpipe': +../fileio.c:724:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 724 | dup(pi[0]); + | ^~~~~~~~~~ ../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:2658:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] + 2658 | if (l < strlen(win->w_cmdargs[i]) + 1) + | ^ ../socket.c: In function 'ReceiveMsg': +../screen.c:2732:15: warning: variable 'ss' set but not used [-Wunused-but-set-variable] + 2732 | char *ss; + | ^~ ../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))) | ^~ +../ansi.c: In function 'Special': +../ansi.c:949:10: warning: this statement may fall through [-Wimplicit-fallthrough=] + 949 | if (curr->w_autoaka) + | ^ +../ansi.c:951:5: note: here + 951 | case '\013': /* Vertical tab is the same as Line Feed */ + | ^~~~ ../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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../socket.c: In function 'CreateTempDisplay': ../socket.c:962:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 962 | write(i, "Attaching from inside of screen?\n", 33); @@ -1516,59 +1555,6 @@ ../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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../utmp.c: In function 'pututslot': -../utmp.c:582:9: 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:9: warning: 'removeLineFromUtmp' is deprecated: better use utempter_remove_record instead [-Wdeprecated-declarations] - 584 | removeLineFromUtmp(wi->w_tty, wi->w_ptyfd); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/utempter.h:48:13: note: declared here - 48 | extern void removeLineFromUtmp(const char *pty, int master_fd) - | ^~~~~~~~~~~~~~~~~~ -../fileio.c: In function 'WriteFile': -../fileio.c:431:49: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] - 431 | ftruncate(fd, 0); - | ^~~~~~~~~~~~~~~~ -../fileio.c: In function 'printpipe': -../fileio.c:724:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 724 | dup(pi[0]); - | ^~~~~~~~~~ -../screen.c: In function 'main': -../screen.c:1215:5: warning: value computed is not used [-Wunused-value] - 1215 | *--av; - | ^~~~~ -../screen.c: In function 'MakeWinMsgEv': -../screen.c:2658:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] - 2658 | if (l < strlen(win->w_cmdargs[i]) + 1) - | ^ -../screen.c:2732:15: warning: variable 'ss' set but not used [-Wunused-but-set-variable] - 2732 | char *ss; - | ^~ -../window.c: In function 'ForkWindow': -../window.c:1299:11: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 1299 | dup(slave); - | ^~~~~~~~~~ -../window.c:1350:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 1350 | dup(newfd); - | ^~~~~~~~~~ -../window.c:1354:15: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 1354 | dup(win->w_ptyfd); - | ^~~~~~~~~~~~~~~~~ -../window.c: In function 'CloseDevice': -../window.c:985:13: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] - 985 | (void)chown(wp->w_tty, 0, 0); - | ^~~~~~~~~~~~~~~~~~~~~~ -../window.c: In function 'FreePseudowin': -../window.c:1706:9: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] - 1706 | (void)chown(pwin->p_tty, 0, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../pty.c ../screen.c: In function 'main': ../screen.c:1124:16: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 1124 | (void) chown(SockPath, real_uid, real_gid); @@ -1630,6 +1616,10 @@ ../screen.c:1332:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 1332 | freopen("/dev/null", "w", stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../screen.c: In function 'serv_select_fn': ../screen.c:3165:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3165 | write(W_UWP(fore) ? fore->w_pwin->p_ptyfd : fore->w_ptyfd, &ibuf, 1); @@ -1644,13 +1634,6 @@ ../screen.c:1685:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1685 | write(disp->d_userfd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../ansi.c: In function 'Special': -../ansi.c:949:10: warning: this statement may fall through [-Wimplicit-fallthrough=] - 949 | if (curr->w_autoaka) - | ^ -../ansi.c:951:5: note: here - 951 | case '\013': /* Vertical tab is the same as Line Feed */ - | ^~~~ ../screen.c: In function 'eexit': ../screen.c:1863:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 1863 | setgid(real_gid); @@ -1690,36 +1673,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 '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++) - | ^ -../display.c: In function 'SetRendition': -../display.c:1921:13: warning: the comparison will always evaluate as 'true' for the address of 'attr2color' will never be NULL [-Waddress] - 1921 | if (attr2color[i] && (mc->attr & (1 << i)) != 0) - | ^~~~~~~~~~ -../display.c:119:6: note: 'attr2color' declared here - 119 | int attr2color[8][4]; - | ^~~~~~~~~~ -../process.c: In function 'DoAction': -../process.c:3857:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 3857 | else - | ^~~~ -../process.c:3859:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 3859 | break; - | ^~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille_tsi.c -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../logfile.c ../screen.c: In function 'WindowDied': ../screen.c:1566:35: warning: '%s' directive writing up to 99 bytes into a region of size 86 [-Wformat-overflow=] 1566 | sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); @@ -1741,22 +1694,60 @@ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../layer.c -../display.c: In function 'DisplaySleep1000': -../display.c:3231:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 3231 | read(D_userfd, &buf, 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../display.c: In function 'RunBlanker': -../display.c:4068:11: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 4068 | dup(slave); + -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../window.c +../window.c: In function 'ForkWindow': +../window.c:1299:11: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 1299 | dup(slave); | ^~~~~~~~~~ -../display.c:4093:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 4093 | dup(0); - | ^~~~~~ +../window.c:1350:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 1350 | dup(newfd); + | ^~~~~~~~~~ +../window.c:1354:15: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 1354 | dup(win->w_ptyfd); + | ^~~~~~~~~~~~~~~~~ +../window.c: In function 'CloseDevice': +../window.c:985:13: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 985 | (void)chown(wp->w_tty, 0, 0); + | ^~~~~~~~~~~~~~~~~~~~~~ +../window.c: In function 'FreePseudowin': +../window.c:1706:9: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 1706 | (void)chown(pwin->p_tty, 0, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../termcap.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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../utmp.c: In function 'pututslot': +../utmp.c:582:9: 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:9: warning: 'removeLineFromUtmp' is deprecated: better use utempter_remove_record instead [-Wdeprecated-declarations] + 584 | removeLineFromUtmp(wi->w_tty, wi->w_ptyfd); + | ^~~~~~~~~~~~~~~~~~ +/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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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': -../display.c:4094:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 4094 | dup(0); - | ^~~~~~ ../window.c:927:19: warning: 'f' may be used uninitialized [-Wmaybe-uninitialized] 927 | p->w_writeev.fd = f; | ~~~~~~~~~~~~~~~~^~~ @@ -1764,7 +1755,24 @@ 909 | int lflag, f; | ^ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_generic.c + -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../display.c +../process.c: In function 'DoAction': +../process.c:3857:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 3857 | else + | ^~~~ +../process.c:3859:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' + 3859 | break; + | ^~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.9.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:5947:89: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 5947 | for (m = ++l; m <= r && strncmp(buf, comms[m].name, len) == 0 && s - mbuf < sizeof(mbuf); m++) @@ -1773,46 +1781,71 @@ 5958 | if (len > 0 && len < sizeof(mbuf)) | ^ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_window.c -../layer.c: In function 'LayProcessMouse': -../layer.c:1142:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1142 | if (l->l_mouseevent.len >= sizeof(l->l_mouseevent.buffer)) - | ^~ + -g -O2 -ffile-prefix-map=/build/screen-4.9.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 'SetRendition': +../display.c:1921:13: warning: the comparison will always evaluate as 'true' for the address of 'attr2color' will never be NULL [-Waddress] + 1921 | if (attr2color[i] && (mc->attr & (1 << i)) != 0) + | ^~~~~~~~~~ +../display.c:119:6: note: 'attr2color' declared here + 119 | int attr2color[8][4]; + | ^~~~~~~~~~ ../process.c: In function 'DoAction': ../process.c:1365:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 1365 | Finit(0); | ^~~~~~~~ -../list_window.c: In function 'WListUpdatecv': ../process.c:1368:5: note: here 1368 | case RC_DETACH: | ^~~~ +../process.c: In function 'pow_detach_fn': +../process.c:6277:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 6277 | write(D_userfd, "\007", 1); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille_tsi.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../logfile.c +../display.c: In function 'DisplaySleep1000': +../display.c:3231:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 3231 | read(D_userfd, &buf, 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../display.c: In function 'RunBlanker': +../display.c:4068:11: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 4068 | dup(slave); + | ^~~~~~~~~~ +../display.c:4093:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 4093 | dup(0); + | ^~~~~~ +../display.c:4094:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 4094 | dup(0); + | ^~~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../layer.c +../layer.c: In function 'LayProcessMouse': +../layer.c:1142:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1142 | 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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_window.c +../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 -ffile-prefix-map=/build/screen-4.9.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:6277:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 6277 | write(D_userfd, "\007", 1); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../teln.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../nethack.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../encoding.c ../teln.c: In function 'TelIn': ../teln.c:337:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 337 | if (p->w_telsubidx < sizeof(p->w_telsubbuf) - 1) | ^ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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:28: ../encoding.c: In function 'AddUtf8': @@ -1839,10 +1872,16 @@ ../encoding.c:1282:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1282 | if (i == combchars[root]->c2) | ^~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../viewport.c gcc -Wl,-z,relro -Wl,-z,now -o screen screen.o ansi.o fileio.o mark.o misc.o resize.o socket.o search.o tty.o term.o window.o utmp.o loadav.o putenv.o help.o termcap.o input.o attacher.o pty.o process.o display.o comm.o kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o list_generic.o list_display.o list_window.o sched.o teln.o nethack.o encoding.o canvas.o layout.o viewport.o -ltinfo -lutempter -lcrypt -lpam make[2]: Leaving directory '/build/screen-4.9.0/build' dh_auto_build --builddirectory build-udeb - cd build-udeb && make -j16 + cd build-udeb && make -j7 make[2]: Entering directory '/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE" srcdir=.. sh ../comm.sh @@ -1870,93 +1909,44 @@ -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../resize.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../attacher.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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -../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) - | ^~ -../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 'ReceiveMsg': ../fileio.c: In function 'WriteFile': ../fileio.c:431:49: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 431 | ftruncate(fd, 0); | ^~~~~~~~~~~~~~~~ -../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: In function 'printpipe': ../fileio.c:724:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 724 | dup(pi[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); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../screen.c: In function 'main': ../screen.c:1215:5: warning: value computed is not used [-Wunused-value] 1215 | *--av; | ^~~~~ -../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:11: 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:15: 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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../screen.c: In function 'MakeWinMsgEv': ../screen.c:2658:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 2658 | if (l < strlen(win->w_cmdargs[i]) + 1) | ^ -../window.c: In function 'ForkWindow': ../screen.c:2732:15: warning: variable 'ss' set but not used [-Wunused-but-set-variable] 2732 | char *ss; | ^~ -../window.c:1299:11: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 1299 | dup(slave); - | ^~~~~~~~~~ -../window.c:1350:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 1350 | dup(newfd); - | ^~~~~~~~~~ -../window.c:1354:15: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 1354 | dup(win->w_ptyfd); - | ^~~~~~~~~~~~~~~~~ -../window.c: In function 'CloseDevice': -../window.c:985:13: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] - 985 | (void)chown(wp->w_tty, 0, 0); - | ^~~~~~~~~~~~~~~~~~~~~~ -../window.c: In function 'FreePseudowin': -../window.c:1706:9: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] - 1706 | (void)chown(pwin->p_tty, 0, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../pty.c +../ansi.c: In function 'Special': +../ansi.c:949:10: warning: this statement may fall through [-Wimplicit-fallthrough=] + 949 | if (curr->w_autoaka) + | ^ +../ansi.c:951:5: note: here + 951 | case '\013': /* Vertical tab is the same as Line Feed */ + | ^~~~ +../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))) + | ^~ ../screen.c: In function 'main': ../screen.c:1124:16: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 1124 | (void) chown(SockPath, real_uid, real_gid); @@ -2032,20 +2022,17 @@ ../screen.c:1685:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1685 | write(disp->d_userfd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../screen.c: In function 'eexit': ../screen.c:1863:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 1863 | setgid(real_gid); | ^~~~~~~~~~~~~~~~ -../ansi.c: In function 'Special': ../screen.c:1864:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1864 | setuid(real_uid); | ^~~~~~~~~~~~~~~~ -../ansi.c:949:10: warning: this statement may fall through [-Wimplicit-fallthrough=] - 949 | if (curr->w_autoaka) - | ^ -../ansi.c:951:5: note: here - 951 | case '\013': /* Vertical tab is the same as Line Feed */ - | ^~~~ ../screen.c: In function 'Msg': ../screen.c:2129:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2129 | write(queryflag, buf, strlen(buf)); @@ -2054,6 +2041,13 @@ ../screen.c:2167:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2167 | write(D_userfd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../socket.c: In function 'CreateTempDisplay': +../socket.c:962:11: 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:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 973 | write(i, "Access to session denied.\n", 26); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../screen.c:2168:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2168 | write(D_userfd, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ @@ -2061,10 +2055,9 @@ ../screen.c:2198:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2198 | write(queryflag, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../display.c +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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); @@ -2082,30 +2075,99 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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:1566:35: warning: '%s' directive writing up to 99 bytes into a region of size 86 [-Wformat-overflow=] + 1566 | sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); + | ^~ ~~~~~~ +../screen.c:1566:18: note: assuming directive output of 1 byte + 1566 | sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:906, + from ../os.h:30, + from ../screen.h:30, + from ../screen.c:98: +In function 'sprintf', + inlined from 'WindowDied' at ../screen.c:1566:5: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 122) into a destination of size 100 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +../window.c: In function 'ForkWindow': +../window.c:1299:11: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 1299 | dup(slave); + | ^~~~~~~~~~ +../window.c:1350:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 1350 | dup(newfd); + | ^~~~~~~~~~ +../window.c:1354:15: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 1354 | dup(win->w_ptyfd); + | ^~~~~~~~~~~~~~~~~ +../window.c: In function 'CloseDevice': +../window.c:985:13: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 985 | (void)chown(wp->w_tty, 0, 0); + | ^~~~~~~~~~~~~~~~~~~~~~ +../window.c: In function 'FreePseudowin': +../window.c:1706:9: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 1706 | (void)chown(pwin->p_tty, 0, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../termcap.c +../window.c: In function 'RemakeWindow': +../window.c:927:19: warning: 'f' may be used uninitialized [-Wmaybe-uninitialized] + 927 | p->w_writeev.fd = f; + | ~~~~~~~~~~~~~~~~^~~ +../window.c:909:14: note: 'f' was declared here + 909 | int lflag, 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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 '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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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:3857:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 3857 | else - | ^~~~ -../process.c:3859:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 3859 | break; - | ^~~~~ ../display.c: In function 'SetRendition': +../process.c: In function 'DoAction': ../display.c:1921:13: warning: the comparison will always evaluate as 'true' for the address of 'attr2color' will never be NULL [-Waddress] 1921 | if (attr2color[i] && (mc->attr & (1 << i)) != 0) | ^~~~~~~~~~ ../display.c:119:6: note: 'attr2color' declared here 119 | int attr2color[8][4]; | ^~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.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:3857:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 3857 | else + | ^~~~ +../process.c:3859:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' + 3859 | break; + | ^~~~~ ../process.c: In function 'Colonfin': ../process.c:5947:89: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 5947 | for (m = ++l; m <= r && strncmp(buf, comms[m].name, len) == 0 && s - mbuf < sizeof(mbuf); m++) @@ -2113,48 +2175,20 @@ ../process.c:5958:38: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 5958 | if (len > 0 && len < sizeof(mbuf)) | ^ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../layer.c ../display.c: In function 'DisplaySleep1000': ../display.c:3231:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 3231 | read(D_userfd, &buf, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.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: In function 'RunBlanker': ../display.c:4068:11: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 4068 | dup(slave); | ^~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_display.c ../display.c:4093:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 4093 | dup(0); | ^~~~~~ ../display.c:4094:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 4094 | dup(0); | ^~~~~~ -../screen.c: In function 'WindowDied': -../screen.c:1566:35: warning: '%s' directive writing up to 99 bytes into a region of size 86 [-Wformat-overflow=] - 1566 | sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); - | ^~ ~~~~~~ -../screen.c:1566:18: note: assuming directive output of 1 byte - 1566 | sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:906, - from ../os.h:30, - from ../screen.h:30, - from ../screen.c:98: -In function 'sprintf', - inlined from 'WindowDied' at ../screen.c:1566:5: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 122) into a destination of size 100 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ ../process.c: In function 'DoAction': ../process.c:1365:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 1365 | Finit(0); @@ -2163,38 +2197,47 @@ 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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_window.c + -g -O2 -ffile-prefix-map=/build/screen-4.9.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 'pow_detach_fn': ../process.c:6277:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 6277 | write(D_userfd, "\007", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille_tsi.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_generic.c ../layer.c: In function 'LayProcessMouse': ../layer.c:1142:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1142 | if (l->l_mouseevent.len >= sizeof(l->l_mouseevent.buffer)) | ^~ -../window.c: In function 'RemakeWindow': -../window.c:927:19: warning: 'f' may be used uninitialized [-Wmaybe-uninitialized] - 927 | p->w_writeev.fd = f; - | ~~~~~~~~~~~~~~~~^~~ -../window.c:909:14: note: 'f' was declared here - 909 | int lflag, 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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../teln.c +../list_window.c: In function 'WListUpdatecv': +../list_window.c:674:26: warning: variable 'wdata' set but not used [-Wunused-but-set-variable] + 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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../nethack.c -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../encoding.c ../teln.c: In function 'TelIn': ../teln.c:337:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 337 | if (p->w_telsubidx < sizeof(p->w_telsubbuf) - 1) | ^ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.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:28: ../encoding.c: In function 'AddUtf8': @@ -2208,8 +2251,6 @@ ../encoding.c:728:20: warning: overflow in conversion from 'int' to 'char' changes value from 'c >> 12 & 12288^ 248' to '-8' [-Woverflow] 728 | *p++ = (c & 0x3000000) >> 12 ^ 0xf8; | ^ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../canvas.c ../encoding.c: In function 'utf8_handle_comb': ../encoding.c:1275:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1275 | for (i = combchars[root]->c1; i < combchars[root]->c2; i++) @@ -2224,13 +2265,11 @@ 1282 | if (i == combchars[root]->c2) | ^~ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -ffile-prefix-map=/build/screen-4.9.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 -ffile-prefix-map=/build/screen-4.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../viewport.c gcc -Wl,-z,relro -Wl,-z,now -o screen screen.o ansi.o fileio.o mark.o misc.o resize.o socket.o search.o tty.o term.o window.o utmp.o loadav.o putenv.o help.o termcap.o input.o attacher.o pty.o process.o display.o comm.o kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o list_generic.o list_display.o list_window.o sched.o teln.o nethack.o encoding.o canvas.o layout.o viewport.o -ltinfo -lcrypt make[2]: Leaving directory '/build/screen-4.9.0/build-udeb' dh_auto_build --sourcedirectory build/doc - cd build/doc && make -j16 "INSTALL=install --strip-program=true" + cd build/doc && make -j7 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/screen-4.9.0/build/doc' makeinfo --split-size=50000 ../../doc/screen.texinfo -o screen.info make[2]: Leaving directory '/build/screen-4.9.0/build/doc' @@ -2354,12 +2393,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/10045/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/10045/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/92780 and its subdirectories -I: Current time: Thu Jun 13 19:27:22 -12 2024 -I: pbuilder-time-stamp: 1718350042 +I: removing directory /srv/workspace/pbuilder/10045 and its subdirectories +I: Current time: Sat May 13 15:06:25 +14 2023 +I: pbuilder-time-stamp: 1683939985