Diff of the two buildlogs: -- --- b1/build.log 2024-07-08 16:18:09.787748604 +0000 +++ b2/build.log 2024-07-08 16:25:08.681956524 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Aug 10 10:40:09 -12 2025 -I: pbuilder-time-stamp: 1754865609 +I: Current time: Tue Jul 9 06:18:13 +14 2024 +I: pbuilder-time-stamp: 1720455493 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./x11-session-utils_7.7+4.tar.gz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.w5_OOOk4/trustedkeys.kbx': General error -gpgv: Signature made Fri Feb 28 18:08:17 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.5lromOr1/trustedkeys.kbx': General error +gpgv: Signature made Sat Feb 29 20:08:17 2020 +14 gpgv: using RSA key 752DE27C4DEB17019B4B6623CB703165A88984DC gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./x11-session-utils_7.7+4.dsc @@ -25,135 +25,166 @@ dpkg-source: info: unpacking x11-session-utils_7.7+4.tar.gz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2158226/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/580113/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 9 06:18 /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/580113/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/580113/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='e8fd1e12a0fa49beb0c3bbd5e876cab2' - 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='2158226' - PS1='# ' - PS2='> ' + INVOCATION_ID=cf1d1b0879844ddfb24f0962a221c235 + 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=580113 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.p9bKjH91/pbuilderrc_4fgs --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.p9bKjH91/b1 --logfile b1/build.log x11-session-utils_7.7+4.dsc' - SUDO_GID='110' - SUDO_UID='105' - 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.p9bKjH91/pbuilderrc_iO8K --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.p9bKjH91/b2 --logfile b2/build.log x11-session-utils_7.7+4.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 ionos5-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 Aug 9 03:46 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/2158226/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 9 06:18 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/580113/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -280,7 +311,7 @@ Get: 69 http://deb.debian.org/debian bullseye/main amd64 pkg-config amd64 0.29.2-1 [65.1 kB] Get: 70 http://deb.debian.org/debian bullseye/main amd64 quilt all 0.66-2.1 [319 kB] Get: 71 http://deb.debian.org/debian bullseye/main amd64 xutils-dev amd64 1:7.7+5+b1 [242 kB] -Fetched 25.7 MB in 0s (63.7 MB/s) +Fetched 25.7 MB in 3s (9762 kB/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.) @@ -588,7 +619,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/x11-session-utils-7.7+4/ && 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 > ../x11-session-utils_7.7+4_source.changes +I: user script /srv/workspace/pbuilder/580113/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/580113/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/x11-session-utils-7.7+4/ && 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 > ../x11-session-utils_7.7+4_source.changes dpkg-buildpackage: info: source package x11-session-utils dpkg-buildpackage: info: source version 7.7+4 dpkg-buildpackage: info: source distribution unstable @@ -950,7 +985,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/x11-session-utils-7.7+4' dh_auto_build -Drstart -Brstart-build - cd rstart-build && make -j42 + cd rstart-build && make -j20 make[2]: Entering directory '/build/reproducible-path/x11-session-utils-7.7+4/rstart-build' make all-recursive make[3]: Entering directory '/build/reproducible-path/x11-session-utils-7.7+4/rstart-build' @@ -1053,22 +1088,12 @@ ../rstart/server.c:52:52: note: expected 'char *' but argument is of type 'const char *' 52 | static void putenv_with_prefix(char *prefix, char *name, char *value); | ~~~~~~^~~~ -../rstart/auth.c: In function 'do_auth': -../rstart/auth.c:181:4: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 181 | dup(p[0]); - | ^~~~~~~~~ ../rstart/server.c:506:4: warning: passing argument 2 of 'putenv_with_prefix' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 506 | "LOCAL_COMMANDS", parm_internal_local_commands); | ^~~~~~~~~~~~~~~~ ../rstart/server.c:52:52: note: expected 'char *' but argument is of type 'const char *' 52 | static void putenv_with_prefix(char *prefix, char *name, char *value); | ~~~~~~^~~~ -../rstart/auth.c:194:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 194 | write(p[1], s, strlen(s)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -../rstart/auth.c:195:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 195 | write(p[1], "\n", 1); - | ^~~~~~~~~~~~~~~~~~~~ ../rstart/server.c:508:4: warning: passing argument 2 of 'putenv_with_prefix' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 508 | "GLOBAL_COMMANDS", parm_internal_global_commands); | ^~~~~~~~~~~~~~~~~ @@ -1098,13 +1123,23 @@ ../rstart/server.c:254:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 254 | nomem(void) | ^~~~~ +../rstart/auth.c: In function 'do_auth': +../rstart/auth.c:181:4: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 181 | dup(p[0]); + | ^~~~~~~~~ +../rstart/auth.c:194:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 194 | write(p[1], s, strlen(s)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../rstart/auth.c:195:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 195 | write(p[1], "\n", 1); + | ^~~~~~~~~~~~~~~~~~~~ gcc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DSERVERNAME=\"rstart\" -DDEFAULT_CONFIG=\"/X11/rstart/config\" -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11-session-utils-7.7+4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -o rstartd.real auth.o server.o make[4]: Leaving directory '/build/reproducible-path/x11-session-utils-7.7+4/rstart-build' make[3]: Leaving directory '/build/reproducible-path/x11-session-utils-7.7+4/rstart-build' make[2]: Leaving directory '/build/reproducible-path/x11-session-utils-7.7+4/rstart-build' >stampdir/build-rstart dh_auto_build -Dsmproxy -Bsmproxy-build - cd smproxy-build && make -j42 + cd smproxy-build && make -j20 make[2]: Entering directory '/build/reproducible-path/x11-session-utils-7.7+4/smproxy-build' make all-recursive make[3]: Entering directory '/build/reproducible-path/x11-session-utils-7.7+4/smproxy-build' @@ -1183,7 +1218,7 @@ make[2]: Leaving directory '/build/reproducible-path/x11-session-utils-7.7+4/smproxy-build' >stampdir/build-smproxy dh_auto_build -Dxsm -Bxsm-build - cd xsm-build && make -j42 + cd xsm-build && make -j20 make[2]: Entering directory '/build/reproducible-path/x11-session-utils-7.7+4/xsm-build' make all-recursive make[3]: Entering directory '/build/reproducible-path/x11-session-utils-7.7+4/xsm-build' @@ -1205,11 +1240,31 @@ gcc -DHAVE_CONFIG_H -I. -I../xsm -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DRSHCMD=\"rsh\" -DSYSTEM_INIT_FILE=\"/etc/X11/xsm/system.xsm\" -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11-session-utils-7.7+4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o prop.o ../xsm/prop.c gcc -DHAVE_CONFIG_H -I. -I../xsm -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DRSHCMD=\"rsh\" -DSYSTEM_INIT_FILE=\"/etc/X11/xsm/system.xsm\" -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11-session-utils-7.7+4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o remote.o ../xsm/remote.c gcc -DHAVE_CONFIG_H -I. -I../xsm -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DRSHCMD=\"rsh\" -DSYSTEM_INIT_FILE=\"/etc/X11/xsm/system.xsm\" -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11-session-utils-7.7+4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o restart.o ../xsm/restart.c +../xsm/info.c: In function 'UpdateClientList': +../xsm/info.c:507:13: warning: declaration of 'client' shadows a previous local [-Wshadow] + 507 | ClientRec *client = (ClientRec *) cl->thing; + | ^~~~~~ +../xsm/info.c:383:16: note: shadowed declaration is here + 383 | ClientRec *client; + | ^~~~~~ +../xsm/info.c: In function 'RestartHintXtProc': +../xsm/info.c:643:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 643 | prop.name = SmRestartStyleHint; + | ^ +../xsm/info.c:644:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 644 | prop.type = SmCARD8; + | ^ gcc -DHAVE_CONFIG_H -I. -I../xsm -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DRSHCMD=\"rsh\" -DSYSTEM_INIT_FILE=\"/etc/X11/xsm/system.xsm\" -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11-session-utils-7.7+4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o save.o ../xsm/save.c +../xsm/info.c: In function 'create_client_info_popup': +../xsm/info.c:776:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 776 | {"DelClientInfoWinAction", DelClientInfoWinAction}, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../xsm/info.c:777:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 777 | {"DelPropWinAction", DelPropWinAction} + | ^~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../xsm -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DRSHCMD=\"rsh\" -DSYSTEM_INIT_FILE=\"/etc/X11/xsm/system.xsm\" -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11-session-utils-7.7+4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o saveutil.o ../xsm/saveutil.c gcc -DHAVE_CONFIG_H -I. -I../xsm -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DRSHCMD=\"rsh\" -DSYSTEM_INIT_FILE=\"/etc/X11/xsm/system.xsm\" -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11-session-utils-7.7+4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o signals.o ../xsm/signals.c gcc -DHAVE_CONFIG_H -I. -I../xsm -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DRSHCMD=\"rsh\" -DSYSTEM_INIT_FILE=\"/etc/X11/xsm/system.xsm\" -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11-session-utils-7.7+4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o xsm.o ../xsm/xsm.c -gcc -DHAVE_CONFIG_H -I. -I../xsm -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DRSHCMD=\"rsh\" -DSYSTEM_INIT_FILE=\"/etc/X11/xsm/system.xsm\" -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11-session-utils-7.7+4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o xtwatch.o ../xsm/xtwatch.c ../xsm/lock.c: In function 'LockSession': ../xsm/lock.c:51:25: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] 51 | LockSession(const char *session_name, Bool write_id) @@ -1234,22 +1289,7 @@ ../xsm/xsm.h:145:15: note: shadowed declaration is here 145 | extern char *session_name; | ^~~~~~~~~~~~ -../xsm/remote.c: In function 'remote_start': -../xsm/remote.c:41:31: warning: declaration of 'non_local_display_env' shadows a global declaration [-Wshadow] - 41 | char **env, const char *non_local_display_env, - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -In file included from ../xsm/remote.c:32: -../xsm/xsm.h:132:29: note: shadowed declaration is here - 132 | extern char *display_env, *non_local_display_env; - | ^~~~~~~~~~~~~~~~~~~~~ -../xsm/remote.c:42:19: warning: declaration of 'non_local_session_env' shadows a global declaration [-Wshadow] - 42 | const char *non_local_session_env) - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -In file included from ../xsm/remote.c:32: -../xsm/xsm.h:133:29: note: shadowed declaration is here - 133 | extern char *session_env, *non_local_session_env; - | ^~~~~~~~~~~~~~~~~~~~~ -../xsm/misc.c: In function 'nomem': +gcc -DHAVE_CONFIG_H -I. -I../xsm -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DRSHCMD=\"rsh\" -DSYSTEM_INIT_FILE=\"/etc/X11/xsm/system.xsm\" -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11-session-utils-7.7+4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o xtwatch.o ../xsm/xtwatch.c ../xsm/lock.c: In function 'CheckSessionLocked': ../xsm/lock.c:137:32: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] 137 | CheckSessionLocked(const char *session_name, Bool get_id, char **id_ret) @@ -1258,9 +1298,6 @@ ../xsm/xsm.h:145:15: note: shadowed declaration is here 145 | extern char *session_name; | ^~~~~~~~~~~~ -../xsm/misc.c:124:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] - 124 | nomem(void) - | ^~~~~ ../xsm/lock.c: In function 'UnableToLockSession': ../xsm/lock.c:151:33: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] 151 | UnableToLockSession(const char *session_name) @@ -1269,21 +1306,10 @@ ../xsm/xsm.h:145:15: note: shadowed declaration is here 145 | extern char *session_name; | ^~~~~~~~~~~~ -../xsm/mainwin.c: In function 'create_main_window': -../xsm/mainwin.c:68:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 68 | {"DelMainWinAction", DelMainWinAction} - | ^~~~~~~~~~~~~~~~~~ -../xsm/log.c: In function 'create_log_popup': -../xsm/log.c:112:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 112 | {"DelLogWinAction", DelLogWinAction} - | ^~~~~~~~~~~~~~~~~ ../xsm/lock.c: In function 'GetLockId': ../xsm/lock.c:127:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 127 | fscanf (fp, "%255s\n", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -../xsm/remote.c:92:6: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 92 | dup (pipefd[0]); - | ^~~~~~~~~~~~~~~ ../xsm/choose.c: In function 'create_choose_session_popup': ../xsm/choose.c:684:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 684 | {"ChooseSessionUp", ChooseSessionUp}, @@ -1294,6 +1320,58 @@ ../xsm/choose.c:686:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 686 | {"ChooseSessionBtn1Down", ChooseSessionBtn1Down} | ^~~~~~~~~~~~~~~~~~~~~~~ +../xsm/auth.c: In function 'SetAuthentication': +../xsm/auth.c:132:24: warning: declaration of 'authDataEntries' shadows a global declaration [-Wshadow] + 132 | IceAuthDataEntry **authDataEntries) + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +In file included from ../xsm/auth.c:28: +../xsm/xsm.h:147:26: note: shadowed declaration is here + 147 | extern IceAuthDataEntry *authDataEntries; + | ^~~~~~~~~~~~~~~ +../xsm/auth.c:191:38: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 191 | (*authDataEntries)[i].protocol_name = "ICE"; + | ^ +../xsm/auth.c:192:34: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 192 | (*authDataEntries)[i].auth_name = "MIT-MAGIC-COOKIE-1"; + | ^ +../xsm/auth.c:200:40: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 200 | (*authDataEntries)[i+1].protocol_name = "XSMP"; + | ^ +../xsm/auth.c:201:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 201 | (*authDataEntries)[i+1].auth_name = "MIT-MAGIC-COOKIE-1"; + | ^ +../xsm/auth.c: In function 'FreeAuthenticationData': +../xsm/auth.c:256:53: warning: declaration of 'authDataEntries' shadows a global declaration [-Wshadow] + 256 | FreeAuthenticationData(int count, IceAuthDataEntry *authDataEntries) + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +In file included from ../xsm/auth.c:28: +../xsm/xsm.h:147:26: note: shadowed declaration is here + 147 | extern IceAuthDataEntry *authDataEntries; + | ^~~~~~~~~~~~~~~ +../xsm/misc.c: In function 'nomem': +../xsm/misc.c:124:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] + 124 | nomem(void) + | ^~~~~ +../xsm/restart.c: In function 'Restart': +../xsm/restart.c:266:7: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] + 266 | chdir(cwd); + | ^~~~~~~~~~ +../xsm/restart.c: In function 'Clone': +../xsm/restart.c:454:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] + 454 | chdir(cwd); + | ^~~~~~~~~~ +../xsm/info.c: In function 'DisplayProps': +../xsm/info.c:214:44: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + 214 | snprintf (number, sizeof(number), "%d", propnum); + | ^ +In file included from /usr/include/stdio.h:867, + from ../xsm/xsm.h:64, + from ../xsm/info.c:28: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 10 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xsm/saveutil.c: In function 'set_session_save_file_name': ../xsm/saveutil.c:37:40: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] 37 | set_session_save_file_name(const char *session_name) @@ -1302,6 +1380,25 @@ ../xsm/xsm.h:145:15: note: shadowed declaration is here 145 | extern char *session_name; | ^~~~~~~~~~~~ +../xsm/save.c: In function 'create_save_popup': +../xsm/save.c:832:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 832 | {"SaveOkAction", SaveOkAction}, + | ^~~~~~~~~~~~~~ +../xsm/save.c:833:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 833 | {"DelSaveWinAction", DelSaveWinAction}, + | ^~~~~~~~~~~~~~~~~~ +../xsm/save.c:834:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 834 | {"DelNameInUseWinAction", DelNameInUseWinAction}, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../xsm/save.c:835:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 835 | {"DelBadSaveWinAction", DelBadSaveWinAction}, + | ^~~~~~~~~~~~~~~~~~~~~ +../xsm/save.c:836:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 836 | {"DelSaveHelpWinAction", DelSaveHelpWinAction} + | ^~~~~~~~~~~~~~~~~~~~~~ +../xsm/save.c:876:2: warning: passing argument 1 of 'AddToggle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 876 | "saveTypeLocal", /* widgetName */ + | ^~~~~~~~~~~~~~~ ../xsm/saveutil.c: In function 'ReadSave': ../xsm/saveutil.c:56:22: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] 56 | ReadSave(const char *session_name, char **sm_id) @@ -1317,26 +1414,7 @@ ../xsm/xsm.h:142:15: note: shadowed declaration is here 142 | extern char *sm_id; | ^~~~~ -../xsm/xtwatch.c: In function 'InitWatchProcs': -../xsm/xtwatch.c:40:29: warning: declaration of 'appContext' shadows a global declaration [-Wshadow] - 40 | InitWatchProcs(XtAppContext appContext) - | ~~~~~~~~~~~~~^~~~~~~~~~ -In file included from ../xsm/xtwatch.c:30: -../xsm/xsm.h:184:21: note: shadowed declaration is here - 184 | extern XtAppContext appContext; - | ^~~~~~~~~~ -../xsm/xtwatch.c: In function '_XtIceWatchProc': -../xsm/xtwatch.c:53:15: warning: declaration of 'appContext' shadows a global declaration [-Wshadow] - 53 | XtAppContext appContext = (XtAppContext) client_data; - | ^~~~~~~~~~ -In file included from ../xsm/xtwatch.c:30: -../xsm/xsm.h:184:21: note: shadowed declaration is here - 184 | extern XtAppContext appContext; - | ^~~~~~~~~~ ../xsm/saveutil.c: In function 'WriteSave': -../xsm/xtwatch.c:55:16: warning: cast from function call of type 'XtInputId' {aka 'long unsigned int'} to non-matching type 'void *' [-Wbad-function-cast] - 55 | *watch_data = (IcePointer) XtAppAddInput ( - | ^ ../xsm/saveutil.c:301:23: warning: declaration of 'sm_id' shadows a global declaration [-Wshadow] 301 | WriteSave(const char *sm_id) | ~~~~~~~~~~~~^~~~~ @@ -1344,41 +1422,6 @@ ../xsm/xsm.h:142:15: note: shadowed declaration is here 142 | extern char *sm_id; | ^~~~~ -../xsm/saveutil.c: In function 'DeleteSession': -../xsm/saveutil.c:410:27: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] - 410 | DeleteSession(const char *session_name) - | ~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from ../xsm/saveutil.c:28: -../xsm/xsm.h:145:15: note: shadowed declaration is here - 145 | extern char *session_name; - | ^~~~~~~~~~~~ -../xsm/save.c: In function 'create_save_popup': -../xsm/restart.c: In function 'Restart': -../xsm/restart.c:266:7: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] - 266 | chdir(cwd); - | ^~~~~~~~~~ -../xsm/save.c:832:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 832 | {"SaveOkAction", SaveOkAction}, - | ^~~~~~~~~~~~~~ -../xsm/save.c:833:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 833 | {"DelSaveWinAction", DelSaveWinAction}, - | ^~~~~~~~~~~~~~~~~~ -../xsm/save.c:834:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 834 | {"DelNameInUseWinAction", DelNameInUseWinAction}, - | ^~~~~~~~~~~~~~~~~~~~~~~ -../xsm/save.c:835:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 835 | {"DelBadSaveWinAction", DelBadSaveWinAction}, - | ^~~~~~~~~~~~~~~~~~~~~ -../xsm/save.c:836:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 836 | {"DelSaveHelpWinAction", DelSaveHelpWinAction} - | ^~~~~~~~~~~~~~~~~~~~~~ -../xsm/restart.c: In function 'Clone': -../xsm/restart.c:454:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] - 454 | chdir(cwd); - | ^~~~~~~~~~ -../xsm/save.c:876:2: warning: passing argument 1 of 'AddToggle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 876 | "saveTypeLocal", /* widgetName */ - | ^~~~~~~~~~~~~~~ ../xsm/save.c:623:17: note: expected 'char *' but argument is of type 'const char *' 623 | AddToggle(char *widgetName, Widget parent, int state, Widget radioGroup, | ~~~~~~^~~~~~~~~~ @@ -1412,6 +1455,47 @@ ../xsm/save.c:623:17: note: expected 'char *' but argument is of type 'const char *' 623 | AddToggle(char *widgetName, Widget parent, int state, Widget radioGroup, | ~~~~~~^~~~~~~~~~ +../xsm/saveutil.c: In function 'DeleteSession': +../xsm/saveutil.c:410:27: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] + 410 | DeleteSession(const char *session_name) + | ~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from ../xsm/saveutil.c:28: +../xsm/xsm.h:145:15: note: shadowed declaration is here + 145 | extern char *session_name; + | ^~~~~~~~~~~~ +../xsm/mainwin.c: In function 'create_main_window': +../xsm/mainwin.c:68:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 68 | {"DelMainWinAction", DelMainWinAction} + | ^~~~~~~~~~~~~~~~~~ +../xsm/log.c: In function 'create_log_popup': +../xsm/log.c:112:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 112 | {"DelLogWinAction", DelLogWinAction} + | ^~~~~~~~~~~~~~~~~ +../xsm/save.c: In function 'PopupBadSave': +../xsm/save.c:1277:13: warning: declaration of 'client' shadows a previous local [-Wshadow] + 1277 | ClientRec *client = (ClientRec *) cl->thing; + | ^~~~~~ +../xsm/save.c:1196:16: note: shadowed declaration is here + 1196 | ClientRec *client; + | ^~~~~~ +../xsm/remote.c: In function 'remote_start': +../xsm/remote.c:41:31: warning: declaration of 'non_local_display_env' shadows a global declaration [-Wshadow] + 41 | char **env, const char *non_local_display_env, + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +In file included from ../xsm/remote.c:32: +../xsm/xsm.h:132:29: note: shadowed declaration is here + 132 | extern char *display_env, *non_local_display_env; + | ^~~~~~~~~~~~~~~~~~~~~ +../xsm/remote.c:42:19: warning: declaration of 'non_local_session_env' shadows a global declaration [-Wshadow] + 42 | const char *non_local_session_env) + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +In file included from ../xsm/remote.c:32: +../xsm/xsm.h:133:29: note: shadowed declaration is here + 133 | extern char *session_env, *non_local_session_env; + | ^~~~~~~~~~~~~~~~~~~~~ +../xsm/remote.c:92:6: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 92 | dup (pipefd[0]); + | ^~~~~~~~~~~~~~~ ../xsm/signals.c: In function 'register_signals': ../xsm/signals.c:188:32: warning: declaration of 'appContext' shadows a global declaration [-Wshadow] 188 | register_signals (XtAppContext appContext) @@ -1420,66 +1504,25 @@ ../xsm/xsm.h:184:21: note: shadowed declaration is here 184 | extern XtAppContext appContext; | ^~~~~~~~~~ -../xsm/save.c: In function 'PopupBadSave': -../xsm/save.c:1277:13: warning: declaration of 'client' shadows a previous local [-Wshadow] - 1277 | ClientRec *client = (ClientRec *) cl->thing; - | ^~~~~~ -../xsm/save.c:1196:16: note: shadowed declaration is here - 1196 | ClientRec *client; - | ^~~~~~ -../xsm/info.c: In function 'UpdateClientList': -../xsm/info.c:507:13: warning: declaration of 'client' shadows a previous local [-Wshadow] - 507 | ClientRec *client = (ClientRec *) cl->thing; - | ^~~~~~ -../xsm/info.c:383:16: note: shadowed declaration is here - 383 | ClientRec *client; - | ^~~~~~ -../xsm/info.c: In function 'RestartHintXtProc': -../xsm/info.c:643:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 643 | prop.name = SmRestartStyleHint; - | ^ -../xsm/info.c:644:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 644 | prop.type = SmCARD8; - | ^ -../xsm/info.c: In function 'create_client_info_popup': -../xsm/info.c:776:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 776 | {"DelClientInfoWinAction", DelClientInfoWinAction}, - | ^~~~~~~~~~~~~~~~~~~~~~~~ -../xsm/info.c:777:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 777 | {"DelPropWinAction", DelPropWinAction} - | ^~~~~~~~~~~~~~~~~~ -../xsm/xsm.c: In function 'EndSession': -../xsm/xsm.c:657:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] - 657 | EndSession(int status) - | ^~~~~~~~~~ -../xsm/auth.c: In function 'SetAuthentication': -../xsm/auth.c:132:24: warning: declaration of 'authDataEntries' shadows a global declaration [-Wshadow] - 132 | IceAuthDataEntry **authDataEntries) - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -In file included from ../xsm/auth.c:28: -../xsm/xsm.h:147:26: note: shadowed declaration is here - 147 | extern IceAuthDataEntry *authDataEntries; - | ^~~~~~~~~~~~~~~ -../xsm/auth.c:191:38: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 191 | (*authDataEntries)[i].protocol_name = "ICE"; - | ^ -../xsm/auth.c:192:34: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 192 | (*authDataEntries)[i].auth_name = "MIT-MAGIC-COOKIE-1"; - | ^ -../xsm/auth.c:200:40: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 200 | (*authDataEntries)[i+1].protocol_name = "XSMP"; - | ^ -../xsm/auth.c:201:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 201 | (*authDataEntries)[i+1].auth_name = "MIT-MAGIC-COOKIE-1"; - | ^ -../xsm/auth.c: In function 'FreeAuthenticationData': -../xsm/auth.c:256:53: warning: declaration of 'authDataEntries' shadows a global declaration [-Wshadow] - 256 | FreeAuthenticationData(int count, IceAuthDataEntry *authDataEntries) - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -In file included from ../xsm/auth.c:28: -../xsm/xsm.h:147:26: note: shadowed declaration is here - 147 | extern IceAuthDataEntry *authDataEntries; - | ^~~~~~~~~~~~~~~ +../xsm/xtwatch.c: In function 'InitWatchProcs': +../xsm/xtwatch.c:40:29: warning: declaration of 'appContext' shadows a global declaration [-Wshadow] + 40 | InitWatchProcs(XtAppContext appContext) + | ~~~~~~~~~~~~~^~~~~~~~~~ +In file included from ../xsm/xtwatch.c:30: +../xsm/xsm.h:184:21: note: shadowed declaration is here + 184 | extern XtAppContext appContext; + | ^~~~~~~~~~ +../xsm/xtwatch.c: In function '_XtIceWatchProc': +../xsm/xtwatch.c:53:15: warning: declaration of 'appContext' shadows a global declaration [-Wshadow] + 53 | XtAppContext appContext = (XtAppContext) client_data; + | ^~~~~~~~~~ +In file included from ../xsm/xtwatch.c:30: +../xsm/xsm.h:184:21: note: shadowed declaration is here + 184 | extern XtAppContext appContext; + | ^~~~~~~~~~ +../xsm/xtwatch.c:55:16: warning: cast from function call of type 'XtInputId' {aka 'long unsigned int'} to non-matching type 'void *' [-Wbad-function-cast] + 55 | *watch_data = (IcePointer) XtAppAddInput ( + | ^ ../xsm/saveutil.c: In function 'WriteSave': ../xsm/saveutil.c:316:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 221 [-Wformat-truncation=] 316 | snprintf (msg, sizeof(msg), "%s: Error creating session save file %s", @@ -1494,18 +1537,10 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../xsm/info.c: In function 'DisplayProps': -../xsm/info.c:214:44: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - 214 | snprintf (number, sizeof(number), "%d", propnum); - | ^ -In file included from /usr/include/stdio.h:867, - from ../xsm/xsm.h:64, - from ../xsm/info.c:28: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 10 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../xsm/xsm.c: In function 'EndSession': +../xsm/xsm.c:657:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] + 657 | EndSession(int status) + | ^~~~~~~~~~ gcc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DRSHCMD=\"rsh\" -DSYSTEM_INIT_FILE=\"/etc/X11/xsm/system.xsm\" -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11-session-utils-7.7+4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -o xsm auth.o choose.o info.o list.o lock.o log.o mainwin.o misc.o popup.o printhex.o prop.o remote.o restart.o save.o saveutil.o signals.o xsm.o xtwatch.o -lICE -lSM -lXaw7 -lXt -lX11 make[4]: Leaving directory '/build/reproducible-path/x11-session-utils-7.7+4/xsm-build' make[3]: Leaving directory '/build/reproducible-path/x11-session-utils-7.7+4/xsm-build' @@ -1663,12 +1698,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/580113/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/580113/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/2158226 and its subdirectories -I: Current time: Sun Aug 10 10:41:07 -12 2025 -I: pbuilder-time-stamp: 1754865667 +I: removing directory /srv/workspace/pbuilder/580113 and its subdirectories +I: Current time: Tue Jul 9 06:25:07 +14 2024 +I: pbuilder-time-stamp: 1720455907