Diff of the two buildlogs: -- --- b1/build.log 2024-07-06 14:53:56.630509793 +0000 +++ b2/build.log 2024-07-06 14:56:16.204575774 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Aug 8 09:15:33 -12 2025 -I: pbuilder-time-stamp: 1754687733 +I: Current time: Sun Jul 7 04:53:59 +14 2024 +I: pbuilder-time-stamp: 1720277639 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -18,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.BuZpUhEI/trustedkeys.kbx': General error -gpgv: Signature made Fri Feb 26 13:02:56 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.BylsVGSu/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 @@ -46,135 +46,166 @@ 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/1881419/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3228235/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jul 7 04:54 /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/3228235/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3228235/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=42 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=20 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='7ac59dfc36a54c789d941d713039ce46' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1881419' - PS1='# ' - PS2='> ' + INVOCATION_ID=630bfd2be63a4d158815615e7f2efefa + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3228235 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.KHtwjsMr/pbuilderrc_zCzx --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KHtwjsMr/b1 --logfile b1/build.log screen_4.8.0-6.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.KHtwjsMr/pbuilderrc_LQab --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KHtwjsMr/b2 --logfile b2/build.log screen_4.8.0-6.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 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 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 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 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Mar 27 2024 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 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 69032 Mar 27 2024 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 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 98048 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Mar 27 2024 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Mar 27 2024 more - -rwsr-xr-x 1 root root 55528 Mar 27 2024 mount - -rwxr-xr-x 1 root root 18664 Mar 27 2024 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 10 03:47 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Mar 27 2024 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Jan 19 2024 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Mar 27 2024 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Mar 27 2024 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 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 5898 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 8049 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/1881419/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 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 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 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 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Mar 29 00:09 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 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 69032 Mar 29 00:09 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Jan 25 2023 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 98048 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Mar 29 00:09 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Mar 29 00:09 more + -rwsr-xr-x 1 root root 55528 Mar 29 00:09 mount + -rwxr-xr-x 1 root root 18664 Mar 29 00:09 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Jul 7 04:54 sh -> /bin/bash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Mar 29 00:09 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Jan 20 23:59 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Mar 29 00:09 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Mar 29 00:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 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 5898 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 8049 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/3228235/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -263,7 +294,7 @@ Get: 43 http://deb.debian.org/debian bullseye/main amd64 libxml-sax-perl all 1.02+dfsg-1 [59.0 kB] Get: 44 http://deb.debian.org/debian bullseye/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-2+b1 [337 kB] Get: 45 http://deb.debian.org/debian bullseye/main amd64 texinfo amd64 6.7.0.dfsg.2-6 [1761 kB] -Fetched 21.4 MB in 0s (110 MB/s) +Fetched 21.4 MB in 1s (37.4 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 ... 19711 files and directories currently installed.) @@ -474,7 +505,11 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/screen-4.8.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.8.0-6_source.changes +I: user script /srv/workspace/pbuilder/3228235/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/3228235/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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 && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../screen_4.8.0-6_source.changes dpkg-buildpackage: info: source package screen dpkg-buildpackage: info: source version 4.8.0-6 dpkg-buildpackage: info: source distribution unstable @@ -752,7 +787,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/screen-4.8.0' dh_auto_build --builddirectory build - cd build && make -j42 + cd build && make -j20 make[2]: Entering directory '/build/reproducible-path/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/reproducible-path/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 @@ -794,50 +829,6 @@ -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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 -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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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 -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/reproducible-path/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 -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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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 -../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--) @@ -848,6 +839,10 @@ ../fileio.c:466:21: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 466 | for (j = 0; j <= k; j++) | ^~~ +../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:468:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 468 | putc('\n', f); | ^~~~ @@ -857,11 +852,69 @@ ../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); | ^~~~ -../utmp.c: In function 'pututslot': +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/reproducible-path/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 +../fileio.c:427:13: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] + 427 | ftruncate(fd, 0); + | ^~~~~~~~~~~~~~~~ +../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]); + | ^~~~~~~~~~ +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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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 +../ansi.c: In function 'Special': +../ansi.c:947:10: warning: this statement may fall through [-Wimplicit-fallthrough=] + 947 | if (curr->w_autoaka) + | ^ +../ansi.c:949:5: note: here + 949 | case '\013': /* Vertical tab is the same as Line Feed */ + | ^~~~ +../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) + | ^~ +../screen.c: In function 'MakeWinMsgEv': +../screen.c:2640:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 2640 | if (l < strlen(win->w_cmdargs[i]) + 1) + | ^ +../socket.c: In function 'ReceiveMsg': +../socket.c:1104:29: warning: comparison of integer expressions of different signedness: 'int' and 'long 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; + | ^~ +../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/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 22 bytes into a destination of size 20 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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); | ^~~~~~~~~ @@ -876,75 +929,10 @@ /usr/include/utempter.h:48:13: note: declared here 48 | extern void removeLineFromUtmp(const char *pty, int master_fd) | ^~~~~~~~~~~~~~~~~~ -../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) - | ^~ -../layer.c: In function 'LayProcessMouse': -../layer.c:1116:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 1116 | if (l->l_mouseevent.len >= sizeof(l->l_mouseevent.buffer)) - | ^~ -../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': -../socket.c:1104:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 1104 | while (cl >= CMSG_LEN(sizeof(int))) - | ^~ -../fileio.c:427:13: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] - 427 | ftruncate(fd, 0); - | ^~~~~~~~~~~~~~~~ -../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; - | ^~~~~ -../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++) - | ^ -In file included from ../screen.h:157, - from ../encoding.c:27: -../encoding.c: In function 'AddUtf8': -../fileio.c: In function 'printpipe': -../display.h:322:18: warning: overflow in conversion from 'int' to 'char' changes value from 'c >> 12 & 12288^ 248' to '-8' [-Woverflow] - 322 | *D_obufp++ = (c); \ - | ^ -../encoding.c:682:4: note: in expansion of macro 'AddChar' - 682 | AddChar((c & 0x3000000) >> 12 ^ 0xf8); - | ^~~~~~~ -../fileio.c:714:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 714 | dup(pi[0]); - | ^~~~~~~~~~ -../encoding.c: In function 'ToUtf8': -../encoding.c:727:13: warning: overflow in conversion from 'int' to 'char' changes value from 'c >> 12 & 12288^ 248' to '-8' [-Woverflow] - 727 | *p++ = (c & 0x3000000) >> 12 ^ 0xf8; - | ^ -../teln.c: In function 'TelIn': -../teln.c:337:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 337 | if (p->w_telsubidx < sizeof(p->w_telsubbuf) - 1) - | ^ -../encoding.c: In function 'utf8_handle_comb': -../encoding.c:1391:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1391 | for (i = combchars[root]->c1; i < combchars[root]->c2; i++) - | ^ -../encoding.c:1395:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 1395 | if (combchars[i]->c1 == c1 && combchars[i]->c2 == c) - | ^~ -../encoding.c:1395:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 1395 | if (combchars[i]->c1 == c1 && combchars[i]->c2 == c) - | ^~ -../encoding.c:1398:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1398 | if (i == combchars[root]->c2) - | ^~ ../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 'MakeWinMsgEv': -../screen.c:2640:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 2640 | if (l < strlen(win->w_cmdargs[i]) + 1) - | ^ ../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); @@ -955,52 +943,10 @@ ../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:2714:15: warning: variable 'ss' set but not used [-Wunused-but-set-variable] - 2714 | char *ss; - | ^~ -../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); - | ^~~~~~~~~~~~~ - | | - | char * -../display.c:2165:32: note: expected 'unsigned char *' but argument is of type 'char *' - 2165 | strlen_onscreen(unsigned char *c, unsigned char *end) - | ~~~~~~~~~~~~~~~^ -../display.c: In function 'RefreshLine': -../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); - | ^~~~~~~~~~~~~ - | | - | char * -../display.c:2165:32: note: expected 'unsigned char *' but argument is of type 'char *' - 2165 | strlen_onscreen(unsigned char *c, unsigned char *end) - | ~~~~~~~~~~~~~~~^ -../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); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -../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; - | ^~~~~~~~ -../display.c:3483:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 3483 | bufp = buf; - | ^ +../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 '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); @@ -1011,8 +957,6 @@ ../screen.c:1180:5: note: in expansion of macro 'SET_GUID' 1180 | SET_GUID(); | ^~~~~~~~ -../display.c:3590:53: warning: array subscript has type 'char' [-Wchar-subscripts] - 3590 | D_mouse_parse.params[D_mouse_parse.state] = 0; ../screen.c:984:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 984 | setuid(real_uid); \ | ^~~~~~~~~~~~~~~~ @@ -1025,32 +969,24 @@ ../screen.c:1199:5: note: in expansion of macro 'SET_GUID' 1199 | SET_GUID(); | ^~~~~~~~ -../display.c:3605:57: warning: array subscript has type 'char' [-Wchar-subscripts] - 3605 | D_mouse_parse.params[D_mouse_parse.state] *= 10; ../screen.c:984:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 984 | setuid(real_uid); \ | ^~~~~~~~~~~~~~~~ ../screen.c:1199:5: note: in expansion of macro 'SET_GUID' 1199 | SET_GUID(); | ^~~~~~~~ -../display.c:3606:57: warning: array subscript has type 'char' [-Wchar-subscripts] - 3606 | D_mouse_parse.params[D_mouse_parse.state] += c - '0'; ../screen.c:983:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 983 | setgid(real_gid); \ | ^~~~~~~~~~~~~~~~ ../screen.c:1226:5: note: in expansion of macro 'SET_GUID' 1226 | SET_GUID(); | ^~~~~~~~ -../display.c:3618:57: warning: array subscript has type 'char' [-Wchar-subscripts] - 3618 | D_mouse_parse.params[D_mouse_parse.state] = 0; ../screen.c:984:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 984 | setuid(real_uid); \ | ^~~~~~~~~~~~~~~~ ../screen.c:1226:5: note: in expansion of macro 'SET_GUID' 1226 | SET_GUID(); | ^~~~~~~~ -../display.c:3626:59: warning: array subscript has type 'char' [-Wchar-subscripts] - 3626 | D_mouse_parse.params[D_mouse_parse.state++] = c; ../screen.c:983:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 983 | setgid(real_gid); \ | ^~~~~~~~~~~~~~~~ @@ -1072,28 +1008,37 @@ ../screen.c:1314:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 1314 | freopen("/dev/null", "w", stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../display.c: In function 'disp_processinput': -../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 *' ../screen.c: In function 'serv_select_fn': ../screen.c:3148:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3148 | write(W_UWP(fore) ? fore->w_pwin->p_ptyfd : fore->w_ptyfd, &ibuf, 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/reproducible-path/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 +../window.c: In function 'ForkWindow': ../screen.c: In function 'CoreDump': +../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); + | ^~~~~~~~~~ ../screen.c:1652:3: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 1652 | setgid(getgid()); | ^~~~~~~~~~~~~~~~ +../window.c:1352:8: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 1352 | dup(win->w_ptyfd); + | ^~~~~~~~~~~~~~~~~ ../screen.c:1653:3: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1653 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../screen.c:1667:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1667 | write(disp->d_userfd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../window.c: In function 'CloseDevice': ../screen.c: In function 'eexit': +../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:1845:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 1845 | setgid(real_gid); | ^~~~~~~~~~~~~~~~ @@ -1115,27 +1060,56 @@ ../screen.c:2180:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2180 | write(queryflag, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../ansi.c: In function 'Special': -../ansi.c:947:10: warning: this statement may fall through [-Wimplicit-fallthrough=] - 947 | if (curr->w_autoaka) - | ^ -../ansi.c:949:5: note: here - 949 | case '\013': /* Vertical tab is the same as Line Feed */ - | ^~~~ -../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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../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); - | ^~~~~~~~~~ -../display.c:4043:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 4043 | dup(0); - | ^~~~~~ -../display.c:4044:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 4044 | dup(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/reproducible-path/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 'RefreshHStatus': +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/reproducible-path/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: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); + | ^~~~~~~~~~~~~ + | | + | char * +../display.c:2165:32: note: expected 'unsigned char *' but argument is of type 'char *' + 2165 | strlen_onscreen(unsigned char *c, unsigned char *end) + | ~~~~~~~~~~~~~~~^ +../display.c: In function 'RefreshLine': +../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); + | ^~~~~~~~~~~~~ + | | + | char * +../display.c:2165:32: note: expected 'unsigned char *' but argument is of type 'char *' + 2165 | strlen_onscreen(unsigned char *c, unsigned char *end) + | ~~~~~~~~~~~~~~~^ +../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; + | ^~~~~~~~ +../display.c:3483:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 3483 | bufp = buf; + | ^ +../display.c:3590:53: warning: array subscript has type 'char' [-Wchar-subscripts] + 3590 | D_mouse_parse.params[D_mouse_parse.state] = 0; +../display.c:3605:57: warning: array subscript has type 'char' [-Wchar-subscripts] + 3605 | D_mouse_parse.params[D_mouse_parse.state] *= 10; +../display.c:3606:57: warning: array subscript has type 'char' [-Wchar-subscripts] + 3606 | D_mouse_parse.params[D_mouse_parse.state] += c - '0'; +../display.c:3618:57: warning: array subscript has type 'char' [-Wchar-subscripts] + 3618 | D_mouse_parse.params[D_mouse_parse.state] = 0; +../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': +../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 *' ../process.c: In function 'Colonfin': ../process.c:5948:82: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 5948 | for (m = ++l; m <= r && strncmp(buf, comms[m].name, len) == 0 && s - mbuf < sizeof(mbuf); m++) @@ -1143,19 +1117,48 @@ ../process.c:5959:24: warning: comparison of integer expressions of different signedness: 'int' and 'long 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); - | ^~~~~ +../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 ../misc.c:36: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 22 bytes into a destination of size 20 + from ../screen.c:98: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 122) into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../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); + | ^~~~~~~~~~ +../display.c:4043:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 4043 | dup(0); + | ^~~~~~ +../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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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 ../process.c: In function 'DoAction': ../process.c:1365:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 1365 | Finit(0); @@ -1167,30 +1170,62 @@ ../process.c:6278:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 6278 | write(D_userfd, "\007", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../layer.c: In function 'LayProcessMouse': +../layer.c:1116:27: warning: comparison of integer expressions of different signedness: 'int' and 'long 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/reproducible-path/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 +../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; + | ^~~~~ +../teln.c: In function 'TelIn': +../teln.c:337:23: warning: comparison of integer expressions of different signedness: 'int' and 'long 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 -fdebug-prefix-map=/build/reproducible-path/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 ../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; | ~~~~~~~~~~~~~~~~^~~ -../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/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 122) into a destination of size 100 - 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/reproducible-path/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/reproducible-path/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': +../display.h:322:18: warning: overflow in conversion from 'int' to 'char' changes value from 'c >> 12 & 12288^ 248' to '-8' [-Woverflow] + 322 | *D_obufp++ = (c); \ + | ^ +../encoding.c:682:4: note: in expansion of macro 'AddChar' + 682 | AddChar((c & 0x3000000) >> 12 ^ 0xf8); + | ^~~~~~~ +../encoding.c: In function 'ToUtf8': +../encoding.c:727:13: warning: overflow in conversion from 'int' to 'char' changes value from 'c >> 12 & 12288^ 248' to '-8' [-Woverflow] + 727 | *p++ = (c & 0x3000000) >> 12 ^ 0xf8; + | ^ +../encoding.c: In function 'utf8_handle_comb': +../encoding.c:1391:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1391 | for (i = combchars[root]->c1; i < combchars[root]->c2; i++) + | ^ +../encoding.c:1395:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 1395 | if (combchars[i]->c1 == c1 && combchars[i]->c2 == c) + | ^~ +../encoding.c:1395:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 1395 | if (combchars[i]->c1 == c1 && combchars[i]->c2 == c) + | ^~ +../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/reproducible-path/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 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/reproducible-path/screen-4.8.0/build' dh_auto_build --builddirectory build-udeb - cd build-udeb && make -j42 + cd build-udeb && make -j20 make[2]: Entering directory '/build/reproducible-path/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/reproducible-path/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 @@ -1230,60 +1265,48 @@ -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/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 +../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); + | ^~~~ 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/reproducible-path/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/reproducible-path/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 +../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]); + | ^~~~~~~~~~ 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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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 -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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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 -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/reproducible-path/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 -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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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 -../search.c: In function 'matchword': -../search.c:148:18: warning: unused variable 'ip' [-Wunused-variable] - 148 | unsigned char *ip, *cp, *pp, *cpe; - | ^~ -../loadav.c: In function 'GetLoadav': -../loadav.c:89:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 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) | ^~ +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/reproducible-path/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 ../socket.c: In function 'ReceiveMsg': ../socket.c:1104:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1104 | while (cl >= CMSG_LEN(sizeof(int))) @@ -1295,6 +1318,8 @@ ../screen.c:2714:15: warning: variable 'ss' set but not used [-Wunused-but-set-variable] 2714 | char *ss; | ^~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 ../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); @@ -1309,17 +1334,12 @@ ../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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/reproducible-path/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 ../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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../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); - | ^~~~~ ../screen.c:983:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 983 | setgid(real_gid); \ | ^~~~~~~~~~~~~~~~ @@ -1332,24 +1352,12 @@ ../screen.c:1180:5: note: in expansion of macro 'SET_GUID' 1180 | SET_GUID(); | ^~~~~~~~ -../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); - | ^~~~ ../screen.c:983:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 983 | setgid(real_gid); \ | ^~~~~~~~~~~~~~~~ ../screen.c:1199:5: note: in expansion of macro 'SET_GUID' 1199 | SET_GUID(); | ^~~~~~~~ -../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); - | ^~~~ ../screen.c:984:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 984 | setuid(real_uid); \ | ^~~~~~~~~~~~~~~~ @@ -1362,10 +1370,6 @@ ../screen.c:1226:5: note: in expansion of macro 'SET_GUID' 1226 | SET_GUID(); | ^~~~~~~~ -../teln.c: In function 'TelIn': -../teln.c:337:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 337 | if (p->w_telsubidx < sizeof(p->w_telsubbuf) - 1) - | ^ ../screen.c:984:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 984 | setuid(real_uid); \ | ^~~~~~~~~~~~~~~~ @@ -1393,21 +1397,10 @@ ../screen.c:1314:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 1314 | 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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../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; - | ^~~~~ ../screen.c: In function 'serv_select_fn': ../screen.c:3148:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3148 | write(W_UWP(fore) ? fore->w_pwin->p_ptyfd : fore->w_ptyfd, &ibuf, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../fileio.c:427:13: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] - 427 | ftruncate(fd, 0); - | ^~~~~~~~~~~~~~~~ ../screen.c: In function 'CoreDump': ../screen.c:1652:3: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 1652 | setgid(getgid()); @@ -1418,35 +1411,12 @@ ../screen.c:1667:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1667 | write(disp->d_userfd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../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]); - | ^~~~~~~~~~ -In file included from ../screen.h:157, - from ../encoding.c:27: -../encoding.c: In function 'AddUtf8': -../display.h:322:18: warning: overflow in conversion from 'int' to 'char' changes value from 'c >> 12 & 12288^ 248' to '-8' [-Woverflow] - 322 | *D_obufp++ = (c); \ - | ^ -../encoding.c:682:4: note: in expansion of macro 'AddChar' - 682 | AddChar((c & 0x3000000) >> 12 ^ 0xf8); - | ^~~~~~~ -../process.c: In function 'InitKeytab': -../encoding.c: In function 'ToUtf8': -../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++) - | ^ -../encoding.c:727:13: warning: overflow in conversion from 'int' to 'char' changes value from 'c >> 12 & 12288^ 248' to '-8' [-Woverflow] - 727 | *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 -fdebug-prefix-map=/build/reproducible-path/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 'eexit': -../layer.c: In function 'LayProcessMouse': ../screen.c:1845:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 1845 | setgid(real_gid); | ^~~~~~~~~~~~~~~~ -../layer.c:1116:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 1116 | if (l->l_mouseevent.len >= sizeof(l->l_mouseevent.buffer)) - | ^~ ../screen.c:1846:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1846 | setuid(real_uid); | ^~~~~~~~~~~~~~~~ @@ -1458,26 +1428,39 @@ ../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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../encoding.c: In function 'utf8_handle_comb': -../encoding.c:1391:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1391 | for (i = combchars[root]->c1; i < combchars[root]->c2; i++) - | ^ ../screen.c:2150:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2150 | write(D_userfd, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../screen.c: In function 'QueryMsg': -../encoding.c:1395:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 1395 | if (combchars[i]->c1 == c1 && combchars[i]->c2 == c) - | ^~ ../screen.c:2180:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2180 | write(queryflag, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../encoding.c:1395:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 1395 | if (combchars[i]->c1 == c1 && combchars[i]->c2 == c) - | ^~ -../encoding.c:1398:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1398 | if (i == combchars[root]->c2) - | ^~ +../search.c: In function 'matchword': +../search.c:148:18: warning: unused variable 'ip' [-Wunused-variable] + 148 | unsigned char *ip, *cp, *pp, *cpe; + | ^~ +../loadav.c: In function 'GetLoadav': +../loadav.c:89:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 89 | fgets(buf, sizeof(buf), fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../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) @@ -1485,6 +1468,28 @@ ../ansi.c:949:5: note: here 949 | case '\013': /* Vertical tab is the same as Line Feed */ | ^~~~ +../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/reproducible-path/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 +../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/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 122) into a destination of size 100 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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); @@ -1503,24 +1508,8 @@ ../display.c:2165:32: note: expected 'unsigned char *' but argument is of type 'char *' 2165 | strlen_onscreen(unsigned char *c, unsigned char *end) | ~~~~~~~~~~~~~~~^ -../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/reproducible-path/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 '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; @@ -1545,10 +1534,27 @@ | | | unsigned char * ../display.c:3766:21: note: expected 'char *' but argument is of type 'unsigned char *' +../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/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 22 bytes into a destination of size 20 + 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/reproducible-path/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: 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); | ^~~~~~~~~~~~~~~~~~~~~~~ +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/reproducible-path/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 ../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); @@ -1559,19 +1565,20 @@ ../display.c:4044:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 4044 | dup(0); | ^~~~~~ -../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/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 22 bytes into a destination of size 20 - 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/reproducible-path/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/reproducible-path/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 +../layer.c: In function 'LayProcessMouse': +../layer.c:1116:27: warning: comparison of integer expressions of different signedness: 'int' and 'long 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/reproducible-path/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/reproducible-path/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/reproducible-path/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 ../process.c: In function 'Colonfin': ../process.c:5948:82: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 5948 | for (m = ++l; m <= r && strncmp(buf, comms[m].name, len) == 0 && s - mbuf < sizeof(mbuf); m++) @@ -1579,6 +1586,16 @@ ../process.c:5959:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 5959 | if (len > 0 && len < sizeof(mbuf)) | ^ +../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/reproducible-path/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': +../teln.c:337:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 337 | if (p->w_telsubidx < sizeof(p->w_telsubbuf) - 1) + | ^ ../process.c: In function 'DoAction': ../process.c:1365:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 1365 | Finit(0); @@ -1586,34 +1603,52 @@ ../process.c:1368:5: note: here 1368 | case RC_DETACH: | ^~~~ -../process.c: In function 'pow_detach_fn': -../process.c:6278:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 6278 | write(D_userfd, "\007", 1); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../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/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 122) into a destination of size 100 - 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/reproducible-path/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 ../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/reproducible-path/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 +../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/reproducible-path/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/reproducible-path/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': +../display.h:322:18: warning: overflow in conversion from 'int' to 'char' changes value from 'c >> 12 & 12288^ 248' to '-8' [-Woverflow] + 322 | *D_obufp++ = (c); \ + | ^ +../encoding.c:682:4: note: in expansion of macro 'AddChar' + 682 | AddChar((c & 0x3000000) >> 12 ^ 0xf8); + | ^~~~~~~ +../encoding.c: In function 'ToUtf8': +../encoding.c:727:13: warning: overflow in conversion from 'int' to 'char' changes value from 'c >> 12 & 12288^ 248' to '-8' [-Woverflow] + 727 | *p++ = (c & 0x3000000) >> 12 ^ 0xf8; + | ^ +../encoding.c: In function 'utf8_handle_comb': +../encoding.c:1391:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1391 | for (i = combchars[root]->c1; i < combchars[root]->c2; i++) + | ^ +../encoding.c:1395:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 1395 | if (combchars[i]->c1 == c1 && combchars[i]->c2 == c) + | ^~ +../encoding.c:1395:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 1395 | if (combchars[i]->c1 == c1 && combchars[i]->c2 == c) + | ^~ +../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 -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/reproducible-path/screen-4.8.0/build-udeb' dh_auto_build --sourcedirectory build/doc - cd build/doc && make -j42 "INSTALL=install --strip-program=true" + cd build/doc && make -j20 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/screen-4.8.0/build/doc' makeinfo --split-size=50000 ../../doc/screen.texinfo -o screen.info make[2]: Leaving directory '/build/reproducible-path/screen-4.8.0/build/doc' @@ -1740,12 +1775,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/3228235/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3228235/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/1881419 and its subdirectories -I: Current time: Fri Aug 8 09:16:55 -12 2025 -I: pbuilder-time-stamp: 1754687815 +I: removing directory /srv/workspace/pbuilder/3228235 and its subdirectories +I: Current time: Sun Jul 7 04:56:15 +14 2024 +I: pbuilder-time-stamp: 1720277775