Diff of the two buildlogs: -- --- b1/build.log 2025-07-31 22:57:59.981032637 +0000 +++ b2/build.log 2025-07-31 22:59:09.209120035 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Sep 2 17:19:28 -12 2026 -I: pbuilder-time-stamp: 1788412768 +I: Current time: Fri Aug 1 12:58:02 +14 2025 +I: pbuilder-time-stamp: 1754002682 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -41,52 +41,84 @@ dpkg-source: info: applying fix-CVE-2025-46805-socket.c-don-t-send-signals-with-.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2541862/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2646187/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +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 31 22:58 /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/2646187/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2646187/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='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='ef62733373b24912a532c80bb5d67249' - 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='2541862' - PS1='# ' - PS2='> ' + INVOCATION_ID=ef54ab69fab34ac6a8404353a2901bf5 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=2646187 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.2yq9MRzH/pbuilderrc_QCX4 --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2yq9MRzH/b1 --logfile b1/build.log screen_4.9.1-3.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.2yq9MRzH/pbuilderrc_8ztl --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2yq9MRzH/b2 --logfile b2/build.log screen_4.9.1-3.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-37-cloud-arm64 #1 SMP Debian 6.1.140-1 (2025-05-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-37-cloud-arm64 #1 SMP Debian 6.1.140-1 (2025-05-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 12 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2541862/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 12 19:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2646187/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -173,7 +205,7 @@ Get: 43 http://deb.debian.org/debian unstable/main arm64 tex-common all 6.19 [29.4 kB] Get: 44 http://deb.debian.org/debian unstable/main arm64 texinfo-lib arm64 7.1.1-1+b1 [220 kB] Get: 45 http://deb.debian.org/debian unstable/main arm64 texinfo all 7.1.1-1 [1753 kB] -Fetched 15.0 MB in 0s (63.0 MB/s) +Fetched 15.0 MB in 0s (117 MB/s) Preconfiguring packages ... Selecting previously unselected package libproc2-0:arm64. (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 ... 19964 files and directories currently installed.) @@ -377,7 +409,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/screen-4.9.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../screen_4.9.1-3_source.changes +I: user script /srv/workspace/pbuilder/2646187/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2646187/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/screen-4.9.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../screen_4.9.1-3_source.changes dpkg-buildpackage: info: source package screen dpkg-buildpackage: info: source version 4.9.1-3 dpkg-buildpackage: info: source distribution unstable @@ -1363,12 +1399,12 @@ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../putenv.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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../comm.c -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../term.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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE kmapdef.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../comm.c +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../screen.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../ansi.c @@ -1392,30 +1428,6 @@ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../utmp.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../loadav.c -../fileio.c: In function 'WriteFile': -../fileio.c:431:49: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] - 431 | ftruncate(fd, 0); - | ^~~~~~~~~~~~~~~~ -../socket.c: In function 'MakeServerUnixSocket': -../socket.c:565:21: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 565 | if (st.st_uid != real_uid) - | ^~ -../fileio.c: In function 'printpipe': -../fileio.c:724:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 724 | dup(pi[0]); - | ^~~~~~~~~~ -../socket.c: In function 'ReceiveMsg': -../socket.c:1114:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 1114 | while (cl >= CMSG_LEN(sizeof(int))) - | ^~ -../socket.c: In function 'FinishAttach': -../socket.c:1438:15: warning: unused variable 'wi' [-Wunused-variable] - 1438 | struct win *wi; - | ^~ -../socket.c: In function 'SendErrorMsg': -../socket.c:763:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 763 | (void) write(s, (char *) &m, sizeof m); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../screen.c: In function 'main': ../screen.c:1132:42: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1132 | if (eff_uid == real_uid || st.st_uid == real_uid) { @@ -1429,28 +1441,32 @@ ../screen.c:1205:44: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1205 | if (eff_uid == real_uid || st.st_uid == real_uid) { | ^~ -../socket.c: In function 'CreateTempDisplay': -../socket.c:972:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 972 | write(i, "Attaching from inside of screen?\n", 33); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c:983:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 983 | write(i, "Access to session denied.\n", 26); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c:1007:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1007 | write(i, "Could not make display.\n", 24); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../window.c: In function 'OpenDevice': -../window.c:1096:5: warning: parameter 'lflag' set but not used [-Wunused-but-set-parameter] - 1096 | int lflag; - | ^~~~~ ../misc.c: In function 'GetUptime': ../misc.c:757:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 757 | (void)read(fd, uptimestr, 32); | ^~~~~~~~~~~~~~~~~~~~~~~ +../window.c: In function 'OpenDevice': +../window.c:1096:5: warning: parameter 'lflag' set but not used [-Wunused-but-set-parameter] + 1096 | int lflag; + | ^~~~~ +../fileio.c: In function 'WriteFile': +../fileio.c:431:49: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] + 431 | ftruncate(fd, 0); + | ^~~~~~~~~~~~~~~~ +../fileio.c: In function 'printpipe': +../fileio.c:724:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 724 | dup(pi[0]); + | ^~~~~~~~~~ +../screen.c: In function 'MakeWinMsgEv': +../screen.c:2662:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 2662 | if (l < strlen(win->w_cmdargs[i]) + 1) + | ^ ../window.c: In function 'ForkWindow': ../window.c:1299:11: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1299 | dup(slave); | ^~~~~~~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../help.c ../window.c:1350:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1350 | dup(newfd); | ^~~~~~~~~~ @@ -1465,14 +1481,14 @@ ../window.c:1706:9: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 1706 | (void)chown(pwin->p_tty, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ -../screen.c: In function 'MakeWinMsgEv': -../screen.c:2662:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 2662 | if (l < strlen(win->w_cmdargs[i]) + 1) - | ^ -../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:565:21: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 565 | if (st.st_uid != real_uid) + | ^~ +../socket.c: In function 'ReceiveMsg': +../socket.c:1114:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 1114 | while (cl >= CMSG_LEN(sizeof(int))) + | ^~ ../screen.c: In function 'main': ../screen.c:1119:16: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 1119 | (void) chown(SockPath, real_uid, real_gid); @@ -1534,16 +1550,8 @@ ../screen.c:1350:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 1350 | freopen("/dev/null", "w", stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../help.c -../ansi.c: In function 'Special': -../ansi.c:949:10: warning: this statement may fall through [-Wimplicit-fallthrough=] - 949 | if (curr->w_autoaka) - | ^ -../ansi.c:951:5: note: here - 951 | case '\013': /* Vertical tab is the same as Line Feed */ - | ^~~~ ../screen.c: In function 'serv_select_fn': +../socket.c: In function 'FinishAttach': ../screen.c:3168:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3168 | write(W_UWP(fore) ? fore->w_pwin->p_ptyfd : fore->w_ptyfd, &ibuf, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1561,13 +1569,23 @@ ../screen.c:1881:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 1881 | setgid(real_gid); | ^~~~~~~~~~~~~~~~ +../socket.c:1438:15: warning: unused variable 'wi' [-Wunused-variable] + 1438 | struct win *wi; + | ^~ ../screen.c:1882:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1882 | setuid(real_uid); | ^~~~~~~~~~~~~~~~ ../screen.c: In function 'Msg': +../ansi.c: In function 'Special': ../screen.c:2147:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2147 | write(queryflag, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../ansi.c:949:10: warning: this statement may fall through [-Wimplicit-fallthrough=] + 949 | if (curr->w_autoaka) + | ^ +../ansi.c:951:5: note: here + 951 | case '\013': /* Vertical tab is the same as Line Feed */ + | ^~~~ ../screen.c: In function 'Panic': ../screen.c:2185:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2185 | write(D_userfd, buf, strlen(buf)); @@ -1579,10 +1597,24 @@ ../screen.c:2202:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2202 | write(queryflag, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../input.c +../socket.c: In function 'SendErrorMsg': +../socket.c:763:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 763 | (void) write(s, (char *) &m, sizeof m); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../socket.c: In function 'CreateTempDisplay': +../socket.c:972:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 972 | write(i, "Attaching from inside of screen?\n", 33); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../socket.c:983:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 983 | write(i, "Access to session denied.\n", 26); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../socket.c:1007:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1007 | write(i, "Could not make display.\n", 24); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../misc.c: In function 'SessionCreationTime': ../misc.c:733:27: warning: '/stat' directive writing 5 bytes into a region of size between 4 and 13 [-Wformat-overflow=] 733 | sprintf(ppath, "/proc/%u/stat", pid); @@ -1601,6 +1633,10 @@ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../pty.c @@ -1619,6 +1655,17 @@ ../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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../acls.c +../process.c: In function 'DoAction': +../process.c:3857:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 3857 | else + | ^~~~ +../process.c:3859:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' + 3859 | break; + | ^~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille.c ../display.c: In function 'SetRendition': ../display.c:1922:13: warning: the comparison will always evaluate as 'true' for the address of 'attr2color' will never be NULL [-Waddress] 1922 | if (attr2color[i] && (mc->attr & (1 << i)) != 0) @@ -1626,6 +1673,17 @@ ../display.c:120:6: note: 'attr2color' declared here 120 | int attr2color[8][4]; | ^~~~~~~~~~ +../process.c: In function 'Colonfin': +../process.c:5947:89: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] + 5947 | for (m = ++l; m <= r && strncmp(buf, comms[m].name, len) == 0 && s - mbuf < sizeof(mbuf); m++) + | ^ +../process.c:5958:38: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 5958 | if (len > 0 && len < sizeof(mbuf)) + | ^ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../logfile.c ../display.c: In function 'DisplaySleep1000': ../display.c:3232:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 3232 | read(D_userfd, &buf, 1); @@ -1640,40 +1698,6 @@ ../display.c:4095:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 4095 | 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille.c -../process.c: In function 'DoAction': -../process.c:3857:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 3857 | else - | ^~~~ -../process.c:3859:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 3859 | break; - | ^~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_generic.c -../process.c: In function 'Colonfin': -../process.c:5947:89: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] - 5947 | for (m = ++l; m <= r && strncmp(buf, comms[m].name, len) == 0 && s - mbuf < sizeof(mbuf); m++) - | ^ -../process.c:5958:38: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 5958 | if (len > 0 && len < sizeof(mbuf)) - | ^ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_display.c -../layer.c: In function 'LayProcessMouse': -../layer.c:1142:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 1142 | if (l->l_mouseevent.len >= sizeof(l->l_mouseevent.buffer)) - | ^~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_window.c ../process.c: In function 'DoAction': ../process.c:1365:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 1365 | Finit(0); @@ -1681,26 +1705,40 @@ ../process.c:1368:5: note: here 1368 | case RC_DETACH: | ^~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../layer.c ../process.c: In function 'pow_detach_fn': ../process.c:6277:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 6277 | write(D_userfd, "\007", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../layer.c: In function 'LayProcessMouse': +../layer.c:1142:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 1142 | if (l->l_mouseevent.len >= sizeof(l->l_mouseevent.buffer)) + | ^~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../teln.c +../teln.c: In function 'TelIn': +../teln.c:337:30: 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../canvas.c -../teln.c: In function 'TelIn': -../teln.c:337:30: 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../viewport.c ../encoding.c: In function 'utf8_handle_comb': ../encoding.c:1272:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1272 | for (i = combchars[root]->c1; i < combchars[root]->c2; i++) @@ -1714,8 +1752,6 @@ ../encoding.c:1279:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1279 | 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../viewport.c gcc -Wl,-z,relro -Wl,-z,now -o screen screen.o ansi.o fileio.o mark.o misc.o resize.o socket.o search.o tty.o term.o window.o utmp.o loadav.o putenv.o help.o termcap.o input.o attacher.o pty.o process.o display.o comm.o kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o list_generic.o list_display.o list_window.o sched.o teln.o nethack.o encoding.o canvas.o layout.o viewport.o -ltinfo -lcrypt -lpam make[2]: Leaving directory '/build/reproducible-path/screen-4.9.1/build' dh_auto_build --builddirectory build-udeb @@ -1732,54 +1768,69 @@ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE kmapdef.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_generic.c + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../comm.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_display.c + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../screen.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_window.c + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../ansi.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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../sched.c + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../fileio.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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../teln.c + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../mark.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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../nethack.c + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../misc.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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../encoding.c + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../resize.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../canvas.c + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../socket.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../layout.c + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../search.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../viewport.c + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE tty.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../screen.c + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../window.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../ansi.c -../teln.c: In function 'TelIn': -../teln.c:337:30: 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) - | ^ + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../utmp.c gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../fileio.c -../encoding.c: In function 'utf8_handle_comb': -../encoding.c:1272:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1272 | for (i = combchars[root]->c1; i < combchars[root]->c2; i++) - | ^ -../encoding.c:1276:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 1276 | if (combchars[i]->c1 == c1 && combchars[i]->c2 == c) - | ^~ -../encoding.c:1276:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 1276 | if (combchars[i]->c1 == c1 && combchars[i]->c2 == c) - | ^~ -../encoding.c:1279:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1279 | if (i == combchars[root]->c2) - | ^~ + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../loadav.c +../window.c: In function 'OpenDevice': +../window.c:1096:5: warning: parameter 'lflag' set but not used [-Wunused-but-set-parameter] + 1096 | int lflag; + | ^~~~~ +../misc.c: In function 'GetUptime': +../socket.c: In function 'MakeServerUnixSocket': +../socket.c:565:21: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 565 | if (st.st_uid != real_uid) + | ^~ +../misc.c:757:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 757 | (void)read(fd, uptimestr, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../window.c: In function 'ForkWindow': +../window.c:1299:11: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 1299 | dup(slave); + | ^~~~~~~~~~ +../window.c:1350:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 1350 | dup(newfd); + | ^~~~~~~~~~ +../window.c:1354:15: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 1354 | dup(win->w_ptyfd); + | ^~~~~~~~~~~~~~~~~ +../window.c: In function 'CloseDevice': +../socket.c: In function 'ReceiveMsg': +../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:1114:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 1114 | while (cl >= CMSG_LEN(sizeof(int))) + | ^~ +../window.c:985:13: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 985 | (void)chown(wp->w_tty, 0, 0); + | ^~~~~~~~~~~~~~~~~~~~~~ ../screen.c: In function 'main': ../screen.c:1132:42: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1132 | if (eff_uid == real_uid || 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../mark.c ../screen.c:1141:44: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1141 | if (eff_uid == real_uid || st.st_uid == real_uid) { | ^~ @@ -1789,16 +1840,42 @@ ../screen.c:1205:44: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1205 | if (eff_uid == real_uid || 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../misc.c +../window.c: In function 'FreePseudowin': +../window.c:1706:9: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 1706 | (void)chown(pwin->p_tty, 0, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../socket.c: In function 'FinishAttach': +../socket.c:1438:15: warning: unused variable 'wi' [-Wunused-variable] + 1438 | struct win *wi; + | ^~ +../fileio.c: In function 'WriteFile': +../fileio.c:431:49: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] + 431 | ftruncate(fd, 0); + | ^~~~~~~~~~~~~~~~ +../fileio.c: In function 'printpipe': +../fileio.c:724:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 724 | dup(pi[0]); + | ^~~~~~~~~~ +../socket.c: In function 'SendErrorMsg': +../socket.c:763:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 763 | (void) write(s, (char *) &m, sizeof m); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../socket.c: In function 'CreateTempDisplay': +../socket.c:972:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 972 | write(i, "Attaching from inside of screen?\n", 33); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../socket.c:983:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 983 | write(i, "Access to session denied.\n", 26); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../socket.c:1007:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1007 | write(i, "Could not make display.\n", 24); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../screen.c: In function 'MakeWinMsgEv': ../screen.c:2662:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2662 | if (l < strlen(win->w_cmdargs[i]) + 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../resize.c -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../socket.c + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../help.c ../screen.c: In function 'main': ../screen.c:1119:16: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 1119 | (void) chown(SockPath, real_uid, real_gid); @@ -1833,8 +1910,6 @@ ../screen.c:1262:5: note: in expansion of macro 'SET_GUID' 1262 | SET_GUID(); | ^~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../search.c ../screen.c:986:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 986 | setuid(real_uid); \ | ^~~~~~~~~~~~~~~~ @@ -1862,25 +1937,26 @@ ../screen.c:1350:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 1350 | freopen("/dev/null", "w", stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../termcap.c ../screen.c: In function 'serv_select_fn': +../ansi.c: In function 'Special': +../ansi.c:949:10: warning: this statement may fall through [-Wimplicit-fallthrough=] + 949 | if (curr->w_autoaka) + | ^ +../ansi.c:951:5: note: here + 951 | case '\013': /* Vertical tab is the same as Line Feed */ + | ^~~~ ../screen.c:3168:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3168 | write(W_UWP(fore) ? fore->w_pwin->p_ptyfd : fore->w_ptyfd, &ibuf, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../fileio.c: In function 'WriteFile': -../fileio.c:431:49: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] - 431 | ftruncate(fd, 0); - | ^~~~~~~~~~~~~~~~ ../screen.c: In function 'CoreDump': ../screen.c:1688:3: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 1688 | setgid(getgid()); | ^~~~~~~~~~~~~~~~ -../fileio.c: In function 'printpipe': ../screen.c:1689:3: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1689 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ -../fileio.c:724:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 724 | dup(pi[0]); - | ^~~~~~~~~~ ../screen.c:1703:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1703 | write(disp->d_userfd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1888,10 +1964,6 @@ ../screen.c:1881:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 1881 | setgid(real_gid); | ^~~~~~~~~~~~~~~~ -../socket.c: In function 'MakeServerUnixSocket': -../socket.c:565:21: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 565 | if (st.st_uid != real_uid) - | ^~ ../screen.c:1882:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1882 | setuid(real_uid); | ^~~~~~~~~~~~~~~~ @@ -1903,10 +1975,6 @@ ../screen.c:2185:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2185 | write(D_userfd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c: In function 'ReceiveMsg': -../socket.c:1114:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 1114 | while (cl >= CMSG_LEN(sizeof(int))) - | ^~ ../screen.c:2186:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2186 | write(D_userfd, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ @@ -1914,39 +1982,6 @@ ../screen.c:2202:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2202 | write(queryflag, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c: In function 'FinishAttach': -../socket.c:1438:15: warning: unused variable 'wi' [-Wunused-variable] - 1438 | struct win *wi; - | ^~ -../ansi.c: In function 'Special': -../ansi.c:949:10: warning: this statement may fall through [-Wimplicit-fallthrough=] - 949 | if (curr->w_autoaka) - | ^ -../ansi.c:951:5: note: here - 951 | case '\013': /* Vertical tab is the same as Line Feed */ - | ^~~~ -../socket.c: In function 'SendErrorMsg': -../socket.c:763:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 763 | (void) write(s, (char *) &m, sizeof m); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c: In function 'CreateTempDisplay': -../socket.c:972:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 972 | write(i, "Attaching from inside of screen?\n", 33); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c:983:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 983 | write(i, "Access to session denied.\n", 26); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../socket.c:1007:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1007 | write(i, "Could not make display.\n", 24); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../misc.c: In function 'GetUptime': -../misc.c:757:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 757 | (void)read(fd, uptimestr, 32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE tty.c -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../window.c ../misc.c: In function 'SessionCreationTime': ../misc.c:733:27: warning: '/stat' directive writing 5 bytes into a region of size between 4 and 13 [-Wformat-overflow=] 733 | sprintf(ppath, "/proc/%u/stat", pid); @@ -1965,55 +2000,11 @@ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../utmp.c -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../loadav.c -../window.c: In function 'OpenDevice': -../window.c:1096:5: warning: parameter 'lflag' set but not used [-Wunused-but-set-parameter] - 1096 | int lflag; - | ^~~~~ -../window.c: In function 'ForkWindow': -../window.c:1299:11: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 1299 | dup(slave); - | ^~~~~~~~~~ -../window.c:1350:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 1350 | dup(newfd); - | ^~~~~~~~~~ -../window.c:1354:15: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 1354 | dup(win->w_ptyfd); - | ^~~~~~~~~~~~~~~~~ -../window.c: In function 'CloseDevice': -../window.c:985:13: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] - 985 | (void)chown(wp->w_tty, 0, 0); - | ^~~~~~~~~~~~~~~~~~~~~~ -../window.c: In function 'FreePseudowin': -../window.c:1706:9: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] - 1706 | (void)chown(pwin->p_tty, 0, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -../loadav.c: In function 'GetLoadav': -../loadav.c:89:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 89 | fgets(buf, sizeof(buf), fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../display.c -../process.c: In function 'InitKeytab': -../process.c:599:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 599 | for (i = 0; i < ((maxwin && maxwin < 10) ? maxwin : 10); i++) - | ^ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../comm.c ../window.c: In function 'RemakeWindow': ../window.c:927:19: warning: 'f' may be used uninitialized [-Wmaybe-uninitialized] 927 | p->w_writeev.fd = f; @@ -2022,11 +2013,13 @@ 909 | int lflag, f; | ^ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille.c + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille_tsi.c + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../display.c +../process.c: In function 'InitKeytab': +../process.c:599:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 599 | for (i = 0; i < ((maxwin && maxwin < 10) ? maxwin : 10); i++) + | ^ ../display.c: In function 'SetRendition': ../display.c:1922:13: warning: the comparison will always evaluate as 'true' for the address of 'attr2color' will never be NULL [-Waddress] 1922 | if (attr2color[i] && (mc->attr & (1 << i)) != 0) @@ -2034,8 +2027,6 @@ ../display.c:120:6: note: 'attr2color' declared here 120 | int attr2color[8][4]; | ^~~~~~~~~~ -gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../logfile.c ../process.c: In function 'DoAction': ../process.c:3857:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 3857 | else @@ -2044,7 +2035,11 @@ 3859 | break; | ^~~~~ gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ - -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../layer.c + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../braille_tsi.c ../display.c: In function 'DisplaySleep1000': ../display.c:3232:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 3232 | read(D_userfd, &buf, 1); @@ -2059,10 +2054,6 @@ ../display.c:4095:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 4095 | dup(0); | ^~~~~~ -../layer.c: In function 'LayProcessMouse': -../layer.c:1142:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 1142 | if (l->l_mouseevent.len >= sizeof(l->l_mouseevent.buffer)) - | ^~ ../process.c: In function 'Colonfin': ../process.c:5947:89: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 5947 | for (m = ++l; m <= r && strncmp(buf, comms[m].name, len) == 0 && s - mbuf < sizeof(mbuf); m++) @@ -2070,6 +2061,18 @@ ../process.c:5958:38: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 5958 | if (len > 0 && len < sizeof(mbuf)) | ^ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_generic.c +../layer.c: In function 'LayProcessMouse': +../layer.c:1142:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 1142 | if (l->l_mouseevent.len >= sizeof(l->l_mouseevent.buffer)) + | ^~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../list_display.c ../process.c: In function 'DoAction': ../process.c:1365:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 1365 | Finit(0); @@ -2081,6 +2084,39 @@ ../process.c:6277:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 6277 | write(D_userfd, "\007", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ + -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../encoding.c +../teln.c: In function 'TelIn': +../teln.c:337:30: warning: comparison of integer expressions of different signedness: 'int' and '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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../canvas.c +../encoding.c: In function 'utf8_handle_comb': +../encoding.c:1272:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1272 | for (i = combchars[root]->c1; i < combchars[root]->c2; i++) + | ^ +../encoding.c:1276:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 1276 | if (combchars[i]->c1 == c1 && combchars[i]->c2 == c) + | ^~ +../encoding.c:1276:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 1276 | if (combchars[i]->c1 == c1 && combchars[i]->c2 == c) + | ^~ +../encoding.c:1279:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1279 | 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/screen-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_GNU_SOURCE ../viewport.c gcc -Wl,-z,relro -Wl,-z,now -o screen screen.o ansi.o fileio.o mark.o misc.o resize.o socket.o search.o tty.o term.o window.o utmp.o loadav.o putenv.o help.o termcap.o input.o attacher.o pty.o process.o display.o comm.o kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o list_generic.o list_display.o list_window.o sched.o teln.o nethack.o encoding.o canvas.o layout.o viewport.o -ltinfo -lcrypt make[2]: Leaving directory '/build/reproducible-path/screen-4.9.1/build-udeb' dh_auto_build --sourcedirectory build/doc @@ -2201,8 +2237,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'screen' in '../screen_4.9.1-3_arm64.deb'. dpkg-deb: building package 'screen-dbgsym' in '../screen-dbgsym_4.9.1-3_arm64.deb'. +dpkg-deb: building package 'screen' in '../screen_4.9.1-3_arm64.deb'. dpkg-deb: building package 'screen-udeb' in 'debian/.debhelper/scratch-space/build-screen-udeb/screen-udeb_4.9.1-3_arm64.deb'. Renaming screen-udeb_4.9.1-3_arm64.deb to screen-udeb_4.9.1-3_arm64.udeb dpkg-genbuildinfo --build=binary -O../screen_4.9.1-3_arm64.buildinfo @@ -2213,12 +2249,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/2646187/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2646187/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/2541862 and its subdirectories -I: Current time: Wed Sep 2 17:20:58 -12 2026 -I: pbuilder-time-stamp: 1788412858 +I: removing directory /srv/workspace/pbuilder/2646187 and its subdirectories +I: Current time: Fri Aug 1 12:59:08 +14 2025 +I: pbuilder-time-stamp: 1754002748