Diff of the two buildlogs: -- --- b1/build.log 2024-07-06 13:46:42.534112480 +0000 +++ b2/build.log 2024-07-06 13:47:37.003799663 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jul 6 01:45:16 -12 2024 -I: pbuilder-time-stamp: 1720273516 +I: Current time: Sat Aug 9 10:09:44 +14 2025 +I: pbuilder-time-stamp: 1754683784 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./xdm_1.1.11-3.diff.gz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.1siWqZz6/trustedkeys.kbx': General error -gpgv: Signature made Fri Dec 11 08:57:43 2015 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.b5x6H8RZ/trustedkeys.kbx': General error +gpgv: Signature made Sat Dec 12 10:57:43 2015 +14 gpgv: using RSA key 1FC5891EBAB043D5 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./xdm_1.1.11-3.dsc @@ -29,135 +29,166 @@ xdm-1.1.11/autogen.sh I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2200272/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/716513/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 Aug 9 10:09 /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/716513/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/716513/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=20 ' - 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=42 ' + 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='66409ce102944e978d5a79010194d5b4' - 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='2200272' - PS1='# ' - PS2='> ' + INVOCATION_ID=e765a8dceca14e409d9f6d924a84346b + 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=716513 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.OqlbDlhZ/pbuilderrc_jeqQ --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.OqlbDlhZ/b1 --logfile b1/build.log xdm_1.1.11-3.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://46.16.76.132: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.OqlbDlhZ/pbuilderrc_FvKn --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.OqlbDlhZ/b2 --logfile b2/build.log xdm_1.1.11-3.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) 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 22:09 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 22:09 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 22:09 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 22:09 more - -rwsr-xr-x 1 root root 55528 Mar 27 22:09 mount - -rwxr-xr-x 1 root root 18664 Mar 27 22:09 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 Jun 6 21:27 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 22:09 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Jan 19 21:59 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 22:09 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 22:09 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/2200272/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 2024 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 2024 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 2024 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 2024 more + -rwsr-xr-x 1 root root 55528 Mar 29 2024 mount + -rwxr-xr-x 1 root root 18664 Mar 29 2024 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 Aug 9 10:09 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 2024 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Jan 20 2024 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 2024 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 2024 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/716513/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -320,7 +351,7 @@ Get: 99 http://deb.debian.org/debian bullseye/main amd64 libxinerama-dev amd64 2:1.1.4-2 [20.1 kB] Get: 100 http://deb.debian.org/debian bullseye/main amd64 quilt all 0.66-2.1 [319 kB] Get: 101 http://deb.debian.org/debian bullseye/main amd64 xutils-dev amd64 1:7.7+5+b1 [242 kB] -Fetched 32.9 MB in 1s (49.3 MB/s) +Fetched 32.9 MB in 0s (112 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19711 files and directories currently installed.) @@ -749,7 +780,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/xdm-1.1.11/ && 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 > ../xdm_1.1.11-3_source.changes +I: user script /srv/workspace/pbuilder/716513/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/716513/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/xdm-1.1.11/ && 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 > ../xdm_1.1.11-3_source.changes dpkg-buildpackage: info: source package xdm dpkg-buildpackage: info: source version 1:1.1.11-3 dpkg-buildpackage: info: source distribution unstable @@ -757,7 +792,7 @@ dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean -/bin/sh: 1: Bad substitution +/bin/sh: line 1: ${VERSION\#\#*-}: bad substitution rm -f stampdir/genscripts mkdir stampdir rm -f debian/*.config \ @@ -784,7 +819,7 @@ dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules build -/bin/sh: 1: Bad substitution +/bin/sh: line 1: ${VERSION\#\#*-}: bad substitution mkdir stampdir >stampdir/stampdir mkdir -p stampdir/log @@ -1229,7 +1264,7 @@ 983 | write (fd, (char *)buffer.data, buffer.pointer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/chooser.Tpo .deps/chooser.Po -/bin/bash ../libtool --tag=CC --mode=link 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 -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -lXinerama -lXaw7 -lXt -lX11 -lXdmcp -Wl,-z,relro -Wl,-z,now -o chooser chooser.o -lselinux -lpam -ldl -lcrypt +/bin/sh ../libtool --tag=CC --mode=link 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 -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -lXinerama -lXaw7 -lXt -lX11 -lXdmcp -Wl,-z,relro -Wl,-z,now -o chooser chooser.o -lselinux -lpam -ldl -lcrypt libtool: link: 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 -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z -Wl,relro -Wl,-z -Wl,now -o chooser chooser.o -lXinerama -lXaw7 -lXt -lX11 -lXdmcp -lselinux -lpam -ldl -lcrypt make[3]: Leaving directory '/build/reproducible-path/xdm-1.1.11/build/chooser' Making all in config @@ -1247,12 +1282,45 @@ make[3]: Leaving directory '/build/reproducible-path/xdm-1.1.11/build/config' Making all in greeter make[3]: Entering directory '/build/reproducible-path/xdm-1.1.11/build/greeter' -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../greeter -I.. -I../../include -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 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT Login.lo -MD -MP -MF .deps/Login.Tpo -c -o Login.lo ../../greeter/Login.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../greeter -I.. -I../../include -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 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT greet.lo -MD -MP -MF .deps/greet.Tpo -c -o greet.lo ../../greeter/greet.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../greeter -I.. -I../../include -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 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT verify.lo -MD -MP -MF .deps/verify.Tpo -c -o verify.lo ../../greeter/verify.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../greeter -I.. -I../../include -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 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT Login.lo -MD -MP -MF .deps/Login.Tpo -c -o Login.lo ../../greeter/Login.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../greeter -I.. -I../../include -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 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT greet.lo -MD -MP -MF .deps/greet.Tpo -c -o greet.lo ../../greeter/greet.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../greeter -I.. -I../../include -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 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT verify.lo -MD -MP -MF .deps/verify.Tpo -c -o verify.lo ../../greeter/verify.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../greeter -I.. -I../../include -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 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT Login.lo -MD -MP -MF .deps/Login.Tpo -c ../../greeter/Login.c -fPIC -DPIC -o .libs/Login.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../greeter -I.. -I../../include -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 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT greet.lo -MD -MP -MF .deps/greet.Tpo -c ../../greeter/greet.c -fPIC -DPIC -o .libs/greet.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../greeter -I.. -I../../include -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 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT verify.lo -MD -MP -MF .deps/verify.Tpo -c ../../greeter/verify.c -fPIC -DPIC -o .libs/verify.o +../../greeter/verify.c:65:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 65 | "TZ", /* SYSV and SVR4, but never hurts */ + | ^~~~ +../../greeter/verify.c: In function 'userEnv': +../../greeter/verify.c:101:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 101 | env = setEnv (env, "DISPLAY", d->name); + | ^~~~~~~~~ +../../greeter/verify.c:101:24: note: expected 'char *' but argument is of type 'const char *' +../../greeter/verify.c:102:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 102 | env = setEnv (env, "HOME", home); + | ^~~~~~ +../../greeter/verify.c:102:24: note: expected 'char *' but argument is of type 'const char *' +../../greeter/verify.c:103:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 103 | env = setEnv (env, "LOGNAME", user); /* POSIX, System V */ + | ^~~~~~~~~ +../../greeter/verify.c:103:24: note: expected 'char *' but argument is of type 'const char *' +../../greeter/verify.c:104:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 104 | env = setEnv (env, "USER", user); /* BSD */ + | ^~~~~~ +../../greeter/verify.c:104:24: note: expected 'char *' but argument is of type 'const char *' +../../greeter/verify.c:105:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 105 | env = setEnv (env, "PATH", useSystemPath ? d->systemPath : d->userPath); + | ^~~~~~ +../../greeter/verify.c:105:24: note: expected 'char *' but argument is of type 'const char *' +../../greeter/verify.c:106:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 106 | env = setEnv (env, "SHELL", shell); + | ^~~~~~~ +../../greeter/verify.c:106:24: note: expected 'char *' but argument is of type 'const char *' +../../greeter/verify.c: In function 'Verify': +../../greeter/verify.c:546:27: warning: passing argument 2 of '__xdm_parseArgs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 546 | argv = parseArgs (argv, "xsession"); + | ^~~~~~~~~~ +../../greeter/verify.c:546:27: note: expected 'char *' but argument is of type 'const char *' In file included from ../../greeter/LoginP.h:59, from ../../greeter/Login.c:73: ../../greeter/Login.h:129:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] @@ -1702,6 +1770,37 @@ ../../greeter/Login.c:225:25: note: in expansion of macro 'XtCEchoPasswdChar' 225 | {XtNechoPasswdChar, XtCEchoPasswdChar, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~~~ +../../greeter/greet.c: In function 'InitGreet': +../../greeter/greet.c:241:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 241 | static char *argv[] = { "xlogin", NULL }; + | ^~~~~~~~ +../../greeter/greet.c:282:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 282 | XtSetArg (arglist[i], XtNnotifyDone, (XtPointer)GreetDone); i++; + | ^~~~~~~~ +../../greeter/greet.c:285:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 285 | XtSetArg (arglist[i], XtNsecureSession, True); i++; + | ^~~~~~~~ +../../greeter/greet.c: In function 'CloseGreet': +../../greeter/greet.c:332:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 332 | XtSetArg (arglist[0], XtNallowAccess, (char *) &allow); + | ^~~~~~~~ +../../greeter/greet.c: In function 'Greet': +../../greeter/greet.c:356:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 356 | XtSetArg (arglist[0], XtNallowAccess, False); + | ^~~~~~~~ +../../greeter/greet.c:396:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 396 | XtSetArg (arglist[0], XtNsessionArgument, (char *) &(greet->string)); + | ^~~~~~~~ +../../greeter/greet.c: In function 'GreetUser': +../../greeter/greet.c:481:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 481 | XtSetArg (arglist[0], XtNallowNullPasswd, + | ^~~~~~~~ +../../greeter/greet.c:483:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 483 | XtSetArg (arglist[1], XtNallowRootLogin, + | ^~~~~~~~ +../../greeter/greet.c:666:6: warning: ignoring return value of 'getdomainname' declared with attribute 'warn_unused_result' [-Wunused-result] + 666 | getdomainname(domainname, sizeof domainname); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../greeter/Login.c: In function 'AllowAccess': ../../greeter/Login.c:1236:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1236 | XtSetArg (arglist[0], XtNallowAccess, (char *) &allow); @@ -1722,40 +1821,12 @@ ../../greeter/Login.c:2033:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2033 | {"move-forward-character", MoveForwardChar}, | ^~~~~~~~~~~~~~~~~~~~~~~~ -../../greeter/verify.c:65:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 65 | "TZ", /* SYSV and SVR4, but never hurts */ - | ^~~~ ../../greeter/Login.c:2034:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2034 | {"move-to-begining", MoveToBegining}, | ^~~~~~~~~~~~~~~~~~ -../../greeter/verify.c: In function 'userEnv': -../../greeter/verify.c:101:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 101 | env = setEnv (env, "DISPLAY", d->name); - | ^~~~~~~~~ -../../greeter/verify.c:101:24: note: expected 'char *' but argument is of type 'const char *' -../../greeter/verify.c:102:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 102 | env = setEnv (env, "HOME", home); - | ^~~~~~ -../../greeter/verify.c:102:24: note: expected 'char *' but argument is of type 'const char *' -../../greeter/verify.c:103:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 103 | env = setEnv (env, "LOGNAME", user); /* POSIX, System V */ - | ^~~~~~~~~ ../../greeter/Login.c:2035:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2035 | {"move-to-end", MoveToEnd}, | ^~~~~~~~~~~~~ -../../greeter/verify.c:103:24: note: expected 'char *' but argument is of type 'const char *' -../../greeter/verify.c:104:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 104 | env = setEnv (env, "USER", user); /* BSD */ - | ^~~~~~ -../../greeter/verify.c:104:24: note: expected 'char *' but argument is of type 'const char *' -../../greeter/verify.c:105:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 105 | env = setEnv (env, "PATH", useSystemPath ? d->systemPath : d->userPath); - | ^~~~~~ -../../greeter/verify.c:105:24: note: expected 'char *' but argument is of type 'const char *' -../../greeter/verify.c:106:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 106 | env = setEnv (env, "SHELL", shell); - | ^~~~~~~ -../../greeter/verify.c:106:24: note: expected 'char *' but argument is of type 'const char *' ../../greeter/Login.c:2036:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2036 | {"erase-to-end-of-line", EraseToEndOfLine}, | ^~~~~~~~~~~~~~~~~~~~~~ @@ -1768,11 +1839,6 @@ ../../greeter/Login.c:2039:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2039 | {"tab-field", TabField}, | ^~~~~~~~~~~ -../../greeter/verify.c: In function 'Verify': -../../greeter/verify.c:546:27: warning: passing argument 2 of '__xdm_parseArgs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 546 | argv = parseArgs (argv, "xsession"); - | ^~~~~~~~~~ -../../greeter/verify.c:546:27: note: expected 'char *' but argument is of type 'const char *' ../../greeter/Login.c:2040:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2040 | {"abort-session", AbortSession}, | ^~~~~~~~~~~~~~~ @@ -1794,37 +1860,6 @@ ../../greeter/Login.c:2051:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2051 | /* class_name */ "Login", | ^~~~~~~ -../../greeter/greet.c: In function 'InitGreet': -../../greeter/greet.c:241:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 241 | static char *argv[] = { "xlogin", NULL }; - | ^~~~~~~~ -../../greeter/greet.c:282:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 282 | XtSetArg (arglist[i], XtNnotifyDone, (XtPointer)GreetDone); i++; - | ^~~~~~~~ -../../greeter/greet.c:285:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 285 | XtSetArg (arglist[i], XtNsecureSession, True); i++; - | ^~~~~~~~ -../../greeter/greet.c: In function 'CloseGreet': -../../greeter/greet.c:332:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 332 | XtSetArg (arglist[0], XtNallowAccess, (char *) &allow); - | ^~~~~~~~ -../../greeter/greet.c: In function 'Greet': -../../greeter/greet.c:356:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 356 | XtSetArg (arglist[0], XtNallowAccess, False); - | ^~~~~~~~ -../../greeter/greet.c:396:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 396 | XtSetArg (arglist[0], XtNsessionArgument, (char *) &(greet->string)); - | ^~~~~~~~ -../../greeter/greet.c: In function 'GreetUser': -../../greeter/greet.c:481:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 481 | XtSetArg (arglist[0], XtNallowNullPasswd, - | ^~~~~~~~ -../../greeter/greet.c:483:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 483 | XtSetArg (arglist[1], XtNallowRootLogin, - | ^~~~~~~~ -../../greeter/greet.c:666:6: warning: ignoring return value of 'getdomainname' declared with attribute 'warn_unused_result' [-Wunused-result] - 666 | getdomainname(domainname, sizeof domainname); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/verify.Tpo .deps/verify.Plo mv -f .deps/greet.Tpo .deps/greet.Plo In file included from /usr/include/string.h:495, @@ -1841,7 +1876,7 @@ 836 | messageLen = strlen(message); | ^~~~~~~~~~~~~~~ mv -f .deps/Login.Tpo .deps/Login.Plo -/bin/bash ../libtool --tag=CC --mode=link 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 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -module -avoid-version -Wl,-z,relro -Wl,-z,now -o libXdmGreet.la -rpath /usr/lib/X11/xdm Login.lo greet.lo verify.lo -lXt -lX11 -lXext -lXaw7 -lXt -lX11 -lXdmcp -lXinerama -lXft -lXrender -lX11 -lXpm -lX11 -lselinux -lpam -ldl -lcrypt +/bin/sh ../libtool --tag=CC --mode=link 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 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -module -avoid-version -Wl,-z,relro -Wl,-z,now -o libXdmGreet.la -rpath /usr/lib/X11/xdm Login.lo greet.lo verify.lo -lXt -lX11 -lXext -lXaw7 -lXt -lX11 -lXdmcp -lXinerama -lXft -lXrender -lX11 -lXpm -lX11 -lselinux -lpam -ldl -lcrypt libtool: link: gcc -shared -fPIC -DPIC .libs/Login.o .libs/greet.o .libs/verify.o -lXext -lXaw7 -lXt -lXdmcp -lXinerama -lXft -lXrender -lXpm -lX11 -lselinux -lpam -ldl -lcrypt -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libXdmGreet.so -o .libs/libXdmGreet.so libtool: link: ( cd ".libs" && rm -f "libXdmGreet.la" && ln -s "../libXdmGreet.la" "libXdmGreet.la" ) make[3]: Leaving directory '/build/reproducible-path/xdm-1.1.11/build/greeter' @@ -1876,24 +1911,9 @@ gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -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 -DSECURE_RPC -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT socket.o -MD -MP -MF .deps/socket.Tpo -c -o socket.o ../../xdm/socket.c gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -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 -DSECURE_RPC -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT streams.o -MD -MP -MF .deps/streams.Tpo -c -o streams.o ../../xdm/streams.c gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -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 -DSECURE_RPC -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o ../../xdm/util.c -../../xdm/error.c: In function 'LogVWrite': -../../xdm/error.c:57:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 57 | write(STDERR_FILENO, buf, len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../xdm/dm.c: In function 'WaitForChild': -../../xdm/dm.c:551:22: warning: passing argument 2 of 'SendFailed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 551 | SendFailed (d, "Cannot open display"); - | ^~~~~~~~~~~~~~~~~~~~~ -In file included from ../../xdm/dm.c:36: -../../include/dm.h:481:50: note: expected 'char *' but argument is of type 'const char *' - 481 | extern void SendFailed (struct display *d, char *reason); - | ~~~~~~^~~~~~ -../../xdm/dm.c:577:18: warning: format '%i' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=] - 577 | Debug("time %i %i try %i of %i%s\n", now, d->lastReserv, - | ~^ ~~~ - | | | - | int time_t {aka long int} - | %li +gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -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 -DSECURE_RPC -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT xdmcp.o -MD -MP -MF .deps/xdmcp.Tpo -c -o xdmcp.o ../../xdm/xdmcp.c +gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -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 -DSECURE_RPC -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT prngc.o -MD -MP -MF .deps/prngc.Tpo -c -o prngc.o ../../xdm/prngc.c +gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -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 -DSECURE_RPC -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT rpcauth.o -MD -MP -MF .deps/rpcauth.Tpo -c -o rpcauth.o ../../xdm/rpcauth.c ../../xdm/choose.c: In function 'AddChooserHost': ../../xdm/choose.c:386:28: warning: passing argument 2 of 'parseArgs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 386 | *argp = parseArgs (*argp, "BROADCAST"); @@ -1902,68 +1922,14 @@ ../../include/dm.h:465:45: note: expected 'char *' but argument is of type 'const char *' 465 | extern char **parseArgs (char **argv, char *string); | ~~~~~~^~~~~~ -../../xdm/dm.c:577:21: warning: format '%i' expects argument of type 'int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=] - 577 | Debug("time %i %i try %i of %i%s\n", now, d->lastReserv, - | ~^ ~~~~~~~~~~~~~ - | | | - | int time_t {aka long int} - | %li ../../xdm/access.c: In function 'patternMatch': -mv -f .deps/daemon.Tpo .deps/daemon.Po -../../xdm/error.c: In function 'LogPanic': -../../xdm/error.c:108:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] - 108 | LogPanic (const char * fmt, ...) - | ^~~~~~~~ ../../xdm/access.c:675:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 675 | string = ""; | ^ -../../xdm/dm.c: In function 'main': -../../xdm/dm.c:183:2: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 183 | system(cmdbuf); - | ^~~~~~~~~~~~~~ -In file included from ../../xdm/dm.c:38: -../../xdm/dm.c: In function 'ReopenLogFileNotify': -../../include/dm_error.h:37:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 37 | #define WRITES(fd, buf) write(fd, buf, strlen(buf)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../xdm/dm.c:275:5: note: in expansion of macro 'WRITES' - 275 | WRITES(STDERR_FILENO, "ReopenLogFileNotify handling SIGUSR2\n"); - | ^~~~~~ -../../xdm/dm.c: In function 'SetWindowPath': -../../xdm/dm.c:770:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 770 | asprintf(&newwindowpath, "%lu", num); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../xdm/dm.c:772:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 772 | asprintf(&newwindowpath, "%s:%lu", windowpath, num); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -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 -DSECURE_RPC -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT xdmcp.o -MD -MP -MF .deps/xdmcp.Tpo -c -o xdmcp.o ../../xdm/xdmcp.c -../../xdm/choose.c: In function 'RunChooser': -../../xdm/choose.c:512:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] - 512 | RunChooser (struct display *d) - | ^~~~~~~~~~ -mv -f .deps/mitauth.Tpo .deps/mitauth.Po -gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -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 -DSECURE_RPC -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT prngc.o -MD -MP -MF .deps/prngc.Tpo -c -o prngc.o ../../xdm/prngc.c -mv -f .deps/error.Tpo .deps/error.Po -../../xdm/file.c:231:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 231 | { "local", { Local, Permanent, FromFile } }, - | ^~~~~~~ -../../xdm/file.c:232:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 232 | { "foreign", { Foreign, Permanent, FromFile } }, - | ^~~~~~~~~ -../../xdm/dm.c: In function 'main': -../../xdm/dm.c:1011:35: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - 1011 | (void) snprintf (pidstr, 11, "%ld", (long) getpid ()); - | ^ -In file included from /usr/include/stdio.h:867, - from /usr/include/X11/Xauth.h:59, - from ../../include/dm.h:49, - from ../../xdm/dm.c:36: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 11 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -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 -DSECURE_RPC -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -MT rpcauth.o -MD -MP -MF .deps/rpcauth.Tpo -c -o rpcauth.o ../../xdm/rpcauth.c +../../xdm/server.c: In function '_SysErrorMsg': +../../xdm/server.c:68:19: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 68 | return (s ? s : "unknown error"); + | ~~~~~~~^~~~~~~~~~~~~~~~~~ ../../xdm/auth.c:128:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | { (unsigned short) 18, "MIT-MAGIC-COOKIE-1", | ^~~~~~~~~~~~~~~~~~~~ @@ -1977,6 +1943,65 @@ ../../xdm/auth.c:458:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 458 | (void) fflush (auth_file); | ^ +mv -f .deps/daemon.Tpo .deps/daemon.Po +../../xdm/auth.c: In function 'SetUserAuthorization': +../../xdm/auth.c:1317:38: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1317 | home = getEnv (verify->userEnviron, "HOME"); + | ^~~~~~ +In file included from ../../xdm/auth.c:43: +../../include/dm.h:468:38: note: expected 'char *' but argument is of type 'const char *' + 468 | extern char *getEnv (char **e, char *name); + | ~~~~~~^~~~ +../../xdm/auth.c:1470:9: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1470 | "XAUTHORITY", envname); + | ^~~~~~~~~~~~ +In file included from ../../xdm/auth.c:43: +../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' + 466 | extern char **setEnv (char **e, char *name, char *value); + | ~~~~~~^~~~ +../../xdm/auth.c:1472:9: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1472 | "XAUTHORITY", envname); + | ^~~~~~~~~~~~ +In file included from ../../xdm/auth.c:43: +../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' + 466 | extern char **setEnv (char **e, char *name, char *value); + | ~~~~~~^~~~ +../../xdm/auth.c: In function 'RemoveUserAuthorization': +../../xdm/auth.c:1494:41: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1494 | home = getEnv (verify->userEnviron, "HOME"); + | ^~~~~~ +In file included from ../../xdm/auth.c:43: +../../include/dm.h:468:38: note: expected 'char *' but argument is of type 'const char *' + 468 | extern char *getEnv (char **e, char *name); + | ~~~~~~^~~~ +../../xdm/choose.c: In function 'RunChooser': +../../xdm/choose.c:512:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] + 512 | RunChooser (struct display *d) + | ^~~~~~~~~~ +../../xdm/auth.c: In function 'MakeServerAuthFile': +../../xdm/auth.c:350:14: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 350 | (void) chown(d->authFile, 0, statb.st_gid); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../xdm/auth.c: In function 'SetUserAuthorization': +../../xdm/auth.c:1476:6: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 1476 | chown (envname, verify->uid, verify->gid); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mv -f .deps/mitauth.Tpo .deps/mitauth.Po +../../xdm/error.c: In function 'LogVWrite': +../../xdm/error.c:57:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 57 | write(STDERR_FILENO, buf, len); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mv -f .deps/reset.Tpo .deps/reset.Po +../../xdm/file.c:231:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 231 | { "local", { Local, Permanent, FromFile } }, + | ^~~~~~~ +../../xdm/file.c:232:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 232 | { "foreign", { Foreign, Permanent, FromFile } }, + | ^~~~~~~~~ +../../xdm/error.c: In function 'LogPanic': +../../xdm/error.c:108:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] + 108 | LogPanic (const char * fmt, ...) + | ^~~~~~~~ ../../xdm/resource.c:153:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | { "servers", "Servers", DM_STRING, &servers, | ^~~~~~~~~ @@ -2068,6 +2093,7 @@ ../../xdm/resource.c:169:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 169 | { "autoRescan", "AutoRescan", DM_BOOL, (char **) &autoRescan, | ^~~~~~~~~~~~ +../../xdm/dm.c: In function 'WaitForChild': ../../xdm/resource.c:170:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 170 | "true"} , | ^~~~~~ @@ -2077,6 +2103,9 @@ ../../xdm/resource.c:171:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 171 | { "removeDomainname","RemoveDomainname",DM_BOOL,(char **) &removeDomainname, | ^~~~~~~~~~~~~~~~~~ +../../xdm/dm.c:551:22: warning: passing argument 2 of 'SendFailed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 551 | SendFailed (d, "Cannot open display"); + | ^~~~~~~~~~~~~~~~~~~~~ ../../xdm/resource.c:172:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 172 | "true"} , | ^~~~~~ @@ -2095,6 +2124,10 @@ ../../xdm/resource.c:175:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 175 | { "accessFile", "AccessFile", DM_STRING, &accessFile, | ^~~~~~~~~~~~ +In file included from ../../xdm/dm.c:36: +../../include/dm.h:481:50: note: expected 'char *' but argument is of type 'const char *' + 481 | extern void SendFailed (struct display *d, char *reason); + | ~~~~~~^~~~~~ ../../xdm/resource.c:175:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 175 | { "accessFile", "AccessFile", DM_STRING, &accessFile, | ^~~~~~~~~~~~ @@ -2177,6 +2210,12 @@ ../config.h:17:25: note: in definition of macro 'DEF_GREETER_LIB' 17 | #define DEF_GREETER_LIB "/usr/lib/X11/xdm/libXdmGreet.so" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../xdm/dm.c:577:18: warning: format '%i' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=] + 577 | Debug("time %i %i try %i of %i%s\n", now, d->lastReserv, + | ~^ ~~~ + | | | + | int time_t {aka long int} + | %li ../../xdm/resource.c:193:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 193 | { "choiceTimeout","ChoiceTimeout",DM_INT, (char **) &choiceTimeout, | ^~~~~~~~~~~~~~~ @@ -2186,20 +2225,6 @@ ../../xdm/resource.c:194:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 194 | "15"} , | ^~~~ -../../xdm/session.c: In function 'xdm_selinux_setup': -../../xdm/session.c:89:2: warning: 'security_context_t' is deprecated [-Wdeprecated-declarations] - 89 | security_context_t scontext; - | ^~~~~~~~~~~~~~~~~~ -../../xdm/session.c: At top level: -../../xdm/session.c:175:2: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] - 175 | Debug, - | ^~~~~ -../../xdm/session.c:181:2: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] - 181 | LogError, - | ^~~~~~~~ -../../xdm/session.c:191:2: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] - 191 | LogOutOfMem, - | ^~~~~~~~~~~ ../../xdm/resource.c:195:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | { "sourceAddress","SourceAddress",DM_BOOL, (char **) &sourceAddress, | ^~~~~~~~~~~~~~~ @@ -2212,6 +2237,12 @@ ../../xdm/resource.c:197:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 197 | { "willing", "Willing", DM_STRING, &willing, | ^~~~~~~~~ +../../xdm/dm.c:577:21: warning: format '%i' expects argument of type 'int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=] + 577 | Debug("time %i %i try %i of %i%s\n", now, d->lastReserv, + | ~^ ~~~~~~~~~~~~~ + | | | + | int time_t {aka long int} + | %li ../../xdm/resource.c:197:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 197 | { "willing", "Willing", DM_STRING, &willing, | ^~~~~~~~~ @@ -2296,19 +2327,12 @@ ../../xdm/resource.c:231:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 231 | { "terminateServer","TerminateServer",DM_BOOL, boffset(terminateServer), | ^~~~~~~~~~~~~~~~~ -../../xdm/session.c: In function 'StartClient': ../../xdm/resource.c:232:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 232 | "false" }, | ^~~~~~~ -../../xdm/session.c:567:25: warning: declaration of 'verify' shadows a global declaration [-Wshadow] - 567 | struct verify_info *verify, - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../xdm/resource.c:233:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 233 | { "grabServer", "GrabServer", DM_BOOL, boffset(grabServer), | ^~~~~~~~~~~~ -../../xdm/session.c:220:27: note: shadowed declaration is here - 220 | static struct verify_info verify; - | ^~~~~~ ../../xdm/resource.c:233:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 233 | { "grabServer", "GrabServer", DM_BOOL, boffset(grabServer), | ^~~~~~~~~~~~ @@ -2348,19 +2372,12 @@ ../../xdm/resource.c:241:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 241 | { "resetForAuth","ResetForAuth",DM_BOOL, boffset(resetForAuth), | ^~~~~~~~~~~~~~ -../../xdm/session.c:814:53: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 814 | verify->userEnviron = setEnv(verify->userEnviron, "WINDOWPATH", d->windowPath); - | ^~~~~~~~~~~~ ../../xdm/resource.c:242:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 242 | "false" }, | ^~~~~~~ ../../xdm/resource.c:243:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 243 | { "authorize", "Authorize", DM_BOOL, boffset(authorize), | ^~~~~~~~~~~ -In file included from ../../xdm/session.c:40: -../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' - 466 | extern char **setEnv (char **e, char *name, char *value); - | ~~~~~~^~~~ ../../xdm/resource.c:243:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 243 | { "authorize", "Authorize", DM_BOOL, boffset(authorize), | ^~~~~~~~~~~ @@ -2373,13 +2390,6 @@ ../../xdm/resource.c:245:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 245 | { "authComplain","AuthComplain",DM_BOOL, boffset(authComplain), | ^~~~~~~~~~~~~~ -../../xdm/session.c:831:38: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 831 | home = getEnv (verify->userEnviron, "HOME"); - | ^~~~~~ -In file included from ../../xdm/session.c:40: -../../include/dm.h:468:38: note: expected 'char *' but argument is of type 'const char *' - 468 | extern char *getEnv (char **e, char *name); - | ~~~~~~^~~~ ../../xdm/resource.c:246:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 246 | "true" }, | ^~~~~~ @@ -2389,13 +2399,6 @@ ../../xdm/resource.c:247:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 247 | { "authName", "AuthName", DM_ARGV, boffset(authNames), | ^~~~~~~~~~ -../../xdm/session.c:835:35: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 835 | getEnv (verify->userEnviron, "USER"), home, errno); - | ^~~~~~ -In file included from ../../xdm/session.c:40: -../../include/dm.h:468:38: note: expected 'char *' but argument is of type 'const char *' - 468 | extern char *getEnv (char **e, char *name); - | ~~~~~~^~~~ ../../xdm/resource.c:113:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 113 | # define DEF_AUTH_NAME "MIT-MAGIC-COOKIE-1" | ^~~~~~~~~~~~~~~~~~~~ @@ -2408,13 +2411,6 @@ ../../xdm/resource.c:249:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | { "authFile", "AuthFile", DM_STRING, boffset(clientAuthFile), | ^~~~~~~~~~ -../../xdm/session.c:837:53: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 837 | verify->userEnviron = setEnv(verify->userEnviron, "HOME", "/"); - | ^~~~~~ -In file included from ../../xdm/session.c:40: -../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' - 466 | extern char **setEnv (char **e, char *name, char *value); - | ~~~~~~^~~~ ../../xdm/resource.c:250:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 250 | "" }, | ^~ @@ -2465,7 +2461,6 @@ ../../xdm/resource.c:267:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 267 | { "reset", "Reset", DM_STRING, boffset(reset), | ^~~~~~~ -../../xdm/auth.c: In function 'SetUserAuthorization': ../../xdm/resource.c:268:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 268 | "" }, | ^~ @@ -2475,9 +2470,6 @@ ../../xdm/resource.c:269:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 269 | { "session", "Session", DM_STRING, boffset(session), | ^~~~~~~~~ -../../xdm/auth.c:1317:38: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1317 | home = getEnv (verify->userEnviron, "HOME"); - | ^~~~~~ In file included from ../../include/dm.h:42, from ../../xdm/resource.c:36: ../config.h:23:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] @@ -2492,10 +2484,6 @@ ../../xdm/resource.c:271:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 271 | { "userPath", "Path", DM_STRING, boffset(userPath), | ^~~~~~ -In file included from ../../xdm/auth.c:43: -../../include/dm.h:468:38: note: expected 'char *' but argument is of type 'const char *' - 468 | extern char *getEnv (char **e, char *name); - | ~~~~~~^~~~ In file included from ../../include/dm.h:42, from ../../xdm/resource.c:36: ../config.h:32:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] @@ -2546,6 +2534,7 @@ ../../xdm/resource.c:278:5: note: in expansion of macro 'DEF_FAILSAFE_CLIENT' 278 | DEF_FAILSAFE_CLIENT }, | ^~~~~~~~~~~~~~~~~~~ +mv -f .deps/protodpy.Tpo .deps/protodpy.Po ../../xdm/resource.c:279:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 279 | { "userAuthDir","UserAuthDir", DM_STRING, boffset(userAuthDir), | ^~~~~~~~~~~~~ @@ -2572,154 +2561,81 @@ ../../xdm/resource.c:282:5: note: in expansion of macro 'DEF_CHOOSER' 282 | DEF_CHOOSER }, | ^~~~~~~~~~~ -../../xdm/session.c:837:61: warning: passing argument 3 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 837 | verify->userEnviron = setEnv(verify->userEnviron, "HOME", "/"); - | ^~~ -In file included from ../../xdm/session.c:40: -../../include/dm.h:466:51: note: expected 'char *' but argument is of type 'const char *' - 466 | extern char **setEnv (char **e, char *name, char *value); - | ~~~~~~^~~~~ -../../xdm/session.c: In function 'execute': -../../xdm/session.c:980:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 980 | p = "/bin/sh"; - | ^ -../../xdm/session.c: In function 'systemEnv': -../../xdm/session.c:1024:24: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1024 | env = setEnv (env, "DISPLAY", d->name); - | ^~~~~~~~~ -In file included from ../../xdm/session.c:40: -../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' - 466 | extern char **setEnv (char **e, char *name, char *value); - | ~~~~~~^~~~ -../../xdm/session.c:1026:21: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1026 | env = setEnv (env, "HOME", home); - | ^~~~~~ -In file included from ../../xdm/session.c:40: -../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' - 466 | extern char **setEnv (char **e, char *name, char *value); - | ~~~~~~^~~~ -../../xdm/session.c:1028:21: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1028 | env = setEnv (env, "USER", user); - | ^~~~~~ -In file included from ../../xdm/session.c:40: -../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' - 466 | extern char **setEnv (char **e, char *name, char *value); - | ~~~~~~^~~~ -../../xdm/session.c:1029:21: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1029 | env = setEnv (env, "LOGNAME", user); - | ^~~~~~~~~ -In file included from ../../xdm/session.c:40: -../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' - 466 | extern char **setEnv (char **e, char *name, char *value); - | ~~~~~~^~~~ -../../xdm/xdmcp.c: In function 'manage': -../../xdm/xdmcp.c:1208:31: warning: passing argument 3 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1208 | send_failed (from, fromlen, "(no name)", sessionID, - | ^~~~~~~~~~~ -../../xdm/xdmcp.c:77:68: note: expected 'char *' but argument is of type 'const char *' - 77 | static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd); - | ~~~~~~^~~~ -../../xdm/xdmcp.c:1209:5: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1209 | "out of memory", fd); - | ^~~~~~~~~~~~~~~ -../../xdm/xdmcp.c:77:98: note: expected 'char *' but argument is of type 'const char *' - 77 | static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd); - | ~~~~~~^~~~~~ -../../xdm/xdmcp.c:1222:5: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1222 | "out of memory", fd); - | ^~~~~~~~~~~~~~~ -../../xdm/xdmcp.c:77:98: note: expected 'char *' but argument is of type 'const char *' - 77 | static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd); - | ~~~~~~^~~~~~ -../../xdm/xdmcp.c:1239:5: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1239 | "out of memory", fd); - | ^~~~~~~~~~~~~~~ -../../xdm/xdmcp.c:77:98: note: expected 'char *' but argument is of type 'const char *' - 77 | static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd); - | ~~~~~~^~~~~~ -../../xdm/xdmcp.c:1248:5: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1248 | "out of memory", fd); - | ^~~~~~~~~~~~~~~ -../../xdm/xdmcp.c:77:98: note: expected 'char *' but argument is of type 'const char *' - 77 | static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd); - | ~~~~~~^~~~~~ -../../xdm/xdmcp.c:1282:9: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1282 | "out of memory", fd); - | ^~~~~~~~~~~~~~~ +../../xdm/session.c: In function 'xdm_selinux_setup': +../../xdm/session.c:89:2: warning: 'security_context_t' is deprecated [-Wdeprecated-declarations] + 89 | security_context_t scontext; + | ^~~~~~~~~~~~~~~~~~ ../../xdm/resource.c:364:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 364 | {"-server", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~~ -../../xdm/xdmcp.c:77:98: note: expected 'char *' but argument is of type 'const char *' - 77 | static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd); - | ~~~~~~^~~~~~ ../../xdm/resource.c:365:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | {"-udpPort", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~~~ ../../xdm/resource.c:366:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 366 | {"-error", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~ +../../xdm/dm.c: In function 'main': +../../xdm/dm.c:183:2: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 183 | system(cmdbuf); + | ^~~~~~~~~~~~~~ ../../xdm/resource.c:367:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 367 | {"-resources", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~~~~~ -../../xdm/auth.c:1470:9: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1470 | "XAUTHORITY", envname); - | ^~~~~~~~~~~~ ../../xdm/resource.c:368:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 368 | {"-session", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~~~ -In file included from ../../xdm/auth.c:43: -../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' - 466 | extern char **setEnv (char **e, char *name, char *value); - | ~~~~~~^~~~ ../../xdm/resource.c:369:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 369 | {"-debug", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~ ../../xdm/resource.c:370:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 370 | {"-xrm", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~ +../../xdm/session.c: At top level: +../../xdm/session.c:175:2: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] + 175 | Debug, + | ^~~~~ ../../xdm/resource.c:371:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 371 | {"-config", ".configFile", XrmoptionSepArg, (caddr_t) NULL } | ^~~~~~~~~ -../../xdm/xdmcp.c: In function 'NetworkAddressToHostname': -../../xdm/auth.c:1472:9: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1472 | "XAUTHORITY", envname); - | ^~~~~~~~~~~~ -In file included from ../../xdm/auth.c:43: -../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' - 466 | extern char **setEnv (char **e, char *name, char *value); - | ~~~~~~^~~~ +../../xdm/session.c:181:2: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] + 181 | LogError, + | ^~~~~~~~ ../../xdm/resource.c:371:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 371 | {"-config", ".configFile", XrmoptionSepArg, (caddr_t) NULL } | ^~~~~~~~~~~~~ -../../xdm/xdmcp.c:1419:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1419 | char *local_name = ""; - | ^~ +../../xdm/session.c:191:2: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] + 191 | LogOutOfMem, + | ^~~~~~~~~~~ ../../xdm/resource.c:375:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 375 | {"-server", ".servers", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~ +In file included from ../../xdm/dm.c:38: +../../xdm/dm.c: In function 'ReopenLogFileNotify': ../../xdm/resource.c:375:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 375 | {"-server", ".servers", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~ +../../include/dm_error.h:37:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 37 | #define WRITES(fd, buf) write(fd, buf, strlen(buf)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../xdm/dm.c:275:5: note: in expansion of macro 'WRITES' + 275 | WRITES(STDERR_FILENO, "ReopenLogFileNotify handling SIGUSR2\n"); + | ^~~~~~ ../../xdm/resource.c:376:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 376 | {"-udpPort", ".requestPort", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~ -../../xdm/auth.c: In function 'RemoveUserAuthorization': ../../xdm/resource.c:376:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 376 | {"-udpPort", ".requestPort", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~~~~~ ../../xdm/resource.c:377:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 377 | {"-error", ".errorLogFile", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~ +../../xdm/util.c: In function 'makeEnv': ../../xdm/resource.c:377:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 377 | {"-error", ".errorLogFile", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~~~~~~ -../../xdm/auth.c:1494:41: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1494 | home = getEnv (verify->userEnviron, "HOME"); - | ^~~~~~ -In file included from ../../xdm/auth.c:43: -../../include/dm.h:468:38: note: expected 'char *' but argument is of type 'const char *' - 468 | extern char *getEnv (char **e, char *name); - | ~~~~~~^~~~ +../../xdm/util.c:104:2: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 104 | asprintf(&result, "%s=%s", name, value); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../xdm/resource.c:378:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 378 | {"-resources", "*resources", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~~~ @@ -2744,12 +2660,21 @@ ../../xdm/resource.c:382:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 382 | {"-daemon", ".daemonMode", XrmoptionNoArg, "true" }, | ^~~~~~~~~ +../../xdm/prngc.c: In function 'get_prngd_bytes': ../../xdm/resource.c:382:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 382 | {"-daemon", ".daemonMode", XrmoptionNoArg, "true" }, | ^~~~~~~~~~~~~ ../../xdm/resource.c:382:46: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 382 | {"-daemon", ".daemonMode", XrmoptionNoArg, "true" }, | ^~~~~~ +../../xdm/prngc.c:133:15: warning: passing argument 1 of 'atomicio' from incompatible pointer type [-Wincompatible-pointer-types] + 133 | if (atomicio(write, fd, msg, sizeof(msg)) != sizeof(msg)) { + | ^~~~~ + | | + | ssize_t (*)(int, const void *, size_t) {aka long int (*)(int, const void *, long unsigned int)} +../../xdm/prngc.c:46:25: note: expected 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} but argument is of type 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} + 46 | static ssize_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../xdm/resource.c:383:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 383 | {"-nodaemon", ".daemonMode", XrmoptionNoArg, "false" } | ^~~~~~~~~~~ @@ -2760,7 +2685,6 @@ 383 | {"-nodaemon", ".daemonMode", XrmoptionNoArg, "false" } | ^~~~~~~ ../../xdm/resource.c: In function 'ReinitResources': -mv -f .deps/dpylist.Tpo .deps/dpylist.Po ../../xdm/resource.c:419:18: warning: passing argument 1 of 'GetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 419 | GetResource ("DisplayManager.configFile", "DisplayManager.ConfigFile", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2770,16 +2694,13 @@ ../../xdm/resource.c:419:47: warning: passing argument 2 of 'GetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 419 | GetResource ("DisplayManager.configFile", "DisplayManager.ConfigFile", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../xdm/session.c:1031:24: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1031 | env = setEnv (env, "PATH", d->systemPath); - | ^~~~~~ -In file included from ../../xdm/session.c:40: -../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' - 466 | extern char **setEnv (char **e, char *name, char *value); - | ~~~~~~^~~~ ../../xdm/resource.c:293:14: note: expected 'char *' but argument is of type 'const char *' 293 | char *class, | ~~~~~~~~~^~~~~ +../../xdm/session.c: In function 'StartClient': +../../xdm/session.c:567:25: warning: declaration of 'verify' shadows a global declaration [-Wshadow] + 567 | struct verify_info *verify, + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../../include/dm.h:42, from ../../xdm/resource.c:36: ../config.h:35:24: warning: passing argument 5 of 'GetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] @@ -2788,12 +2709,98 @@ ../../xdm/resource.c:420:24: note: in expansion of macro 'DEF_XDM_CONFIG' 420 | DM_STRING, &config, DEF_XDM_CONFIG); | ^~~~~~~~~~~~~~ -../../xdm/session.c:1032:24: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1032 | env = setEnv (env, "SHELL", d->systemShell); - | ^~~~~~~ ../../xdm/resource.c:296:14: note: expected 'char *' but argument is of type 'const char *' 296 | char *default_value) | ~~~~~~~~~^~~~~~~~~~~~~ +../../xdm/session.c:220:27: note: shadowed declaration is here + 220 | static struct verify_info verify; + | ^~~~~~ +../../xdm/session.c:814:53: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 814 | verify->userEnviron = setEnv(verify->userEnviron, "WINDOWPATH", d->windowPath); + | ^~~~~~~~~~~~ +In file included from ../../xdm/session.c:40: +../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' + 466 | extern char **setEnv (char **e, char *name, char *value); + | ~~~~~~^~~~ +../../xdm/session.c:831:38: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 831 | home = getEnv (verify->userEnviron, "HOME"); + | ^~~~~~ +In file included from ../../xdm/session.c:40: +../../include/dm.h:468:38: note: expected 'char *' but argument is of type 'const char *' + 468 | extern char *getEnv (char **e, char *name); + | ~~~~~~^~~~ +../../xdm/session.c:835:35: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 835 | getEnv (verify->userEnviron, "USER"), home, errno); + | ^~~~~~ +In file included from ../../xdm/session.c:40: +../../include/dm.h:468:38: note: expected 'char *' but argument is of type 'const char *' + 468 | extern char *getEnv (char **e, char *name); + | ~~~~~~^~~~ +../../xdm/dm.c: In function 'SetWindowPath': +../../xdm/session.c:837:53: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 837 | verify->userEnviron = setEnv(verify->userEnviron, "HOME", "/"); + | ^~~~~~ +In file included from ../../xdm/session.c:40: +../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' + 466 | extern char **setEnv (char **e, char *name, char *value); + | ~~~~~~^~~~ +../../xdm/dm.c:770:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 770 | asprintf(&newwindowpath, "%lu", num); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../xdm/session.c:837:61: warning: passing argument 3 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 837 | verify->userEnviron = setEnv(verify->userEnviron, "HOME", "/"); + | ^~~ +In file included from ../../xdm/session.c:40: +../../include/dm.h:466:51: note: expected 'char *' but argument is of type 'const char *' + 466 | extern char **setEnv (char **e, char *name, char *value); + | ~~~~~~^~~~~ +../../xdm/dm.c:772:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 772 | asprintf(&newwindowpath, "%s:%lu", windowpath, num); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../xdm/session.c: In function 'execute': +../../xdm/session.c:980:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 980 | p = "/bin/sh"; + | ^ +mv -f .deps/streams.Tpo .deps/streams.Po +../../xdm/session.c: In function 'systemEnv': +../../xdm/session.c:1024:24: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1024 | env = setEnv (env, "DISPLAY", d->name); + | ^~~~~~~~~ +In file included from ../../xdm/session.c:40: +../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' + 466 | extern char **setEnv (char **e, char *name, char *value); + | ~~~~~~^~~~ +../../xdm/session.c:1026:21: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1026 | env = setEnv (env, "HOME", home); + | ^~~~~~ +In file included from ../../xdm/session.c:40: +../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' + 466 | extern char **setEnv (char **e, char *name, char *value); + | ~~~~~~^~~~ +../../xdm/session.c:1028:21: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1028 | env = setEnv (env, "USER", user); + | ^~~~~~ +In file included from ../../xdm/session.c:40: +../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' + 466 | extern char **setEnv (char **e, char *name, char *value); + | ~~~~~~^~~~ +../../xdm/session.c:1029:21: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1029 | env = setEnv (env, "LOGNAME", user); + | ^~~~~~~~~ +In file included from ../../xdm/session.c:40: +../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' + 466 | extern char **setEnv (char **e, char *name, char *value); + | ~~~~~~^~~~ +../../xdm/session.c:1031:24: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1031 | env = setEnv (env, "PATH", d->systemPath); + | ^~~~~~ +In file included from ../../xdm/session.c:40: +../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' + 466 | extern char **setEnv (char **e, char *name, char *value); + | ~~~~~~^~~~ +../../xdm/session.c:1032:24: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1032 | env = setEnv (env, "SHELL", d->systemShell); + | ^~~~~~~ In file included from ../../xdm/session.c:40: ../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' 466 | extern char **setEnv (char **e, char *name, char *value); @@ -2812,75 +2819,103 @@ ../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' 466 | extern char **setEnv (char **e, char *name, char *value); | ~~~~~~^~~~ -../../xdm/auth.c: In function 'MakeServerAuthFile': -../../xdm/auth.c:350:14: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] - 350 | (void) chown(d->authFile, 0, statb.st_gid); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../xdm/session.c: In function 'StartClient': ../../xdm/session.c:836:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 836 | chdir ("/"); | ^~~~~~~~~~~ -../../xdm/auth.c: In function 'SetUserAuthorization': -../../xdm/auth.c:1476:6: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] - 1476 | chown (envname, verify->uid, verify->gid); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../xdm/server.c: In function '_SysErrorMsg': -../../xdm/server.c:68:19: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 68 | return (s ? s : "unknown error"); - | ~~~~~~~^~~~~~~~~~~~~~~~~~ +../../xdm/xdmcp.c: In function 'manage': +../../xdm/xdmcp.c:1208:31: warning: passing argument 3 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1208 | send_failed (from, fromlen, "(no name)", sessionID, + | ^~~~~~~~~~~ +../../xdm/xdmcp.c:77:68: note: expected 'char *' but argument is of type 'const char *' + 77 | static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd); + | ~~~~~~^~~~ +../../xdm/xdmcp.c:1209:5: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1209 | "out of memory", fd); + | ^~~~~~~~~~~~~~~ +../../xdm/xdmcp.c:77:98: note: expected 'char *' but argument is of type 'const char *' + 77 | static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd); + | ~~~~~~^~~~~~ +../../xdm/xdmcp.c:1222:5: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1222 | "out of memory", fd); + | ^~~~~~~~~~~~~~~ +../../xdm/xdmcp.c:77:98: note: expected 'char *' but argument is of type 'const char *' + 77 | static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd); + | ~~~~~~^~~~~~ +../../xdm/xdmcp.c:1239:5: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1239 | "out of memory", fd); + | ^~~~~~~~~~~~~~~ +../../xdm/xdmcp.c:77:98: note: expected 'char *' but argument is of type 'const char *' + 77 | static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd); + | ~~~~~~^~~~~~ +../../xdm/xdmcp.c:1248:5: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1248 | "out of memory", fd); + | ^~~~~~~~~~~~~~~ +../../xdm/xdmcp.c:77:98: note: expected 'char *' but argument is of type 'const char *' + 77 | static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd); + | ~~~~~~^~~~~~ +../../xdm/xdmcp.c:1282:9: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1282 | "out of memory", fd); + | ^~~~~~~~~~~~~~~ +../../xdm/xdmcp.c:77:98: note: expected 'char *' but argument is of type 'const char *' + 77 | static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd); + | ~~~~~~^~~~~~ +../../xdm/xdmcp.c: In function 'NetworkAddressToHostname': +../../xdm/xdmcp.c:1419:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1419 | char *local_name = ""; + | ^~ +In file included from /usr/include/string.h:495, + from /usr/include/X11/Xos.h:62, + from ../../xdm/prngc.c:28: +In function 'strncpy', + inlined from 'get_prngd_bytes' at ../../xdm/prngc.c:99:3: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 108 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../xdm/session.c: In function 'SessionExit': ../../xdm/session.c:508:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 508 | SessionExit (struct display *d, int status, int removeAuth) | ^~~~~~~~~~~ -mv -f .deps/choose.Tpo .deps/choose.Po -../../xdm/util.c: In function 'makeEnv': -../../xdm/util.c:104:2: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 104 | asprintf(&result, "%s=%s", name, value); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mv -f .deps/dpylist.Tpo .deps/dpylist.Po ../../xdm/session.c: In function 'SessionPingFailed': ../../xdm/session.c:285:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 285 | SessionPingFailed (struct display *d) | ^~~~~~~~~~~~~~~~~ -../../xdm/prngc.c: In function 'get_prngd_bytes': -../../xdm/prngc.c:133:15: warning: passing argument 1 of 'atomicio' from incompatible pointer type [-Wincompatible-pointer-types] - 133 | if (atomicio(write, fd, msg, sizeof(msg)) != sizeof(msg)) { - | ^~~~~ - | | - | ssize_t (*)(int, const void *, size_t) {aka long int (*)(int, const void *, long unsigned int)} -../../xdm/prngc.c:46:25: note: expected 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} but argument is of type 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} - 46 | static ssize_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../xdm/session.c: In function 'ManageSession': ../../xdm/session.c:322:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 322 | ManageSession (struct display *d) | ^~~~~~~~~~~~~ -mv -f .deps/reset.Tpo .deps/reset.Po -mv -f .deps/genauth.Tpo .deps/genauth.Po -In file included from /usr/include/string.h:495, - from /usr/include/X11/Xos.h:62, - from ../../xdm/prngc.c:28: -In function 'strncpy', - inlined from 'get_prngd_bytes' at ../../xdm/prngc.c:99:3: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 108 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mv -f .deps/streams.Tpo .deps/streams.Po -mv -f .deps/policy.Tpo .deps/policy.Po mv -f .deps/rpcauth.Tpo .deps/rpcauth.Po +mv -f .deps/error.Tpo .deps/error.Po mv -f .deps/netaddr.Tpo .deps/netaddr.Po -mv -f .deps/protodpy.Tpo .deps/protodpy.Po +mv -f .deps/server.Tpo .deps/server.Po +mv -f .deps/genauth.Tpo .deps/genauth.Po +mv -f .deps/choose.Tpo .deps/choose.Po mv -f .deps/prngc.Tpo .deps/prngc.Po +mv -f .deps/policy.Tpo .deps/policy.Po +../../xdm/dm.c: In function 'main': +../../xdm/dm.c:1011:35: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + 1011 | (void) snprintf (pidstr, 11, "%ld", (long) getpid ()); + | ^ +In file included from /usr/include/stdio.h:867, + from /usr/include/X11/Xauth.h:59, + from ../../include/dm.h:49, + from ../../xdm/dm.c:36: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 11 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/file.Tpo .deps/file.Po -mv -f .deps/access.Tpo .deps/access.Po -mv -f .deps/server.Tpo .deps/server.Po -mv -f .deps/resource.Tpo .deps/resource.Po mv -f .deps/util.Tpo .deps/util.Po +mv -f .deps/resource.Tpo .deps/resource.Po mv -f .deps/socket.Tpo .deps/socket.Po -mv -f .deps/dm.Tpo .deps/dm.Po +mv -f .deps/access.Tpo .deps/access.Po mv -f .deps/session.Tpo .deps/session.Po -mv -f .deps/xdmcp.Tpo .deps/xdmcp.Po +mv -f .deps/dm.Tpo .deps/dm.Po mv -f .deps/auth.Tpo .deps/auth.Po -/bin/bash ../libtool --tag=CC --mode=link 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 -DSECURE_RPC -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -lXmu -lXt -lX11 -lXau -lXdmcp -export-dynamic -Wl,-z,relro -Wl,-z,now -o xdm access.o auth.o choose.o daemon.o dm.o dpylist.o error.o file.o genauth.o mitauth.o netaddr.o policy.o protodpy.o reset.o resource.o server.o session.o socket.o streams.o util.o xdmcp.o prngc.o rpcauth.o -lselinux -lpam -ldl -lcrypt +mv -f .deps/xdmcp.Tpo .deps/xdmcp.Po +/bin/sh ../libtool --tag=CC --mode=link 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 -DSECURE_RPC -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -lXmu -lXt -lX11 -lXau -lXdmcp -export-dynamic -Wl,-z,relro -Wl,-z,now -o xdm access.o auth.o choose.o daemon.o dm.o dpylist.o error.o file.o genauth.o mitauth.o netaddr.o policy.o protodpy.o reset.o resource.o server.o session.o socket.o streams.o util.o xdmcp.o prngc.o rpcauth.o -lselinux -lpam -ldl -lcrypt libtool: link: 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 -DSECURE_RPC -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z -Wl,relro -Wl,-z -Wl,now -o xdm access.o auth.o choose.o daemon.o dm.o dpylist.o error.o file.o genauth.o mitauth.o netaddr.o policy.o protodpy.o reset.o resource.o server.o session.o socket.o streams.o util.o xdmcp.o prngc.o rpcauth.o -Wl,--export-dynamic -lXmu -lXt -lX11 -lXau -lXdmcp -lselinux -lpam -ldl -lcrypt make[3]: Leaving directory '/build/reproducible-path/xdm-1.1.11/build/xdm' Making all in xdmshell @@ -2897,7 +2932,7 @@ 144 | args[3] = "0"; | ^ mv -f .deps/xdmshell.Tpo .deps/xdmshell.Po -/bin/bash ../libtool --tag=CC --mode=link 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 -DBINDIR="\"/usr/bin\"" -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o xdmshell xdmshell.o -lselinux -lpam -ldl -lcrypt +/bin/sh ../libtool --tag=CC --mode=link 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 -DBINDIR="\"/usr/bin\"" -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o xdmshell xdmshell.o -lselinux -lpam -ldl -lcrypt libtool: link: 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 -DBINDIR=\"/usr/bin\" -g -O2 -fdebug-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z -Wl,relro -Wl,-z -Wl,now -o xdmshell xdmshell.o -lselinux -lpam -ldl -lcrypt make[3]: Leaving directory '/build/reproducible-path/xdm-1.1.11/build/xdmshell' make[3]: Entering directory '/build/reproducible-path/xdm-1.1.11/build' @@ -2907,7 +2942,7 @@ make[1]: Leaving directory '/build/reproducible-path/xdm-1.1.11/build' >stampdir/build fakeroot debian/rules binary -/bin/sh: 1: Bad substitution +/bin/sh: line 1: ${VERSION\#\#*-}: bad substitution dh_testdir dh_testroot dh_prep @@ -2928,7 +2963,7 @@ make[3]: Entering directory '/build/reproducible-path/xdm-1.1.11/build/chooser' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/reproducible-path/xdm-1.1.11/debian/tmp/usr/lib/X11/xdm' - /bin/bash ../libtool --mode=install /usr/bin/install -c chooser '/build/reproducible-path/xdm-1.1.11/debian/tmp/usr/lib/X11/xdm' + /bin/sh ../libtool --mode=install /usr/bin/install -c chooser '/build/reproducible-path/xdm-1.1.11/debian/tmp/usr/lib/X11/xdm' libtool: install: /usr/bin/install -c chooser /build/reproducible-path/xdm-1.1.11/debian/tmp/usr/lib/X11/xdm/chooser make[3]: Leaving directory '/build/reproducible-path/xdm-1.1.11/build/chooser' make[2]: Leaving directory '/build/reproducible-path/xdm-1.1.11/build/chooser' @@ -2941,11 +2976,11 @@ /bin/mkdir -p '/build/reproducible-path/xdm-1.1.11/debian/tmp/usr/share/X11/xdm/pixmaps' /bin/mkdir -p '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' /bin/mkdir -p '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' + /bin/mkdir -p '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' + /bin/mkdir -p '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' /usr/bin/install -c -m 644 ../../config/Xaccess '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' /usr/bin/install -c -m 644 ../../config/xorg-bw.xpm ../../config/xorg.xpm '/build/reproducible-path/xdm-1.1.11/debian/tmp/usr/share/X11/xdm/pixmaps' - /bin/mkdir -p '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' /usr/bin/install -c ../../config/GiveConsole ../../config/TakeConsole ../../config/Xsetup_0 ../../config/Xwilling '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' - /bin/mkdir -p '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' /usr/bin/install -c -m 644 xdm-config Xresources Xservers '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' /usr/bin/install -c Xreset Xsession Xstartup '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' make[4]: Leaving directory '/build/reproducible-path/xdm-1.1.11/build/config' @@ -2956,7 +2991,7 @@ make[3]: Entering directory '/build/reproducible-path/xdm-1.1.11/build/greeter' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/reproducible-path/xdm-1.1.11/debian/tmp/usr/lib/X11/xdm' - /bin/bash ../libtool --mode=install /usr/bin/install -c libXdmGreet.la '/build/reproducible-path/xdm-1.1.11/debian/tmp/usr/lib/X11/xdm' + /bin/sh ../libtool --mode=install /usr/bin/install -c libXdmGreet.la '/build/reproducible-path/xdm-1.1.11/debian/tmp/usr/lib/X11/xdm' libtool: install: /usr/bin/install -c .libs/libXdmGreet.so /build/reproducible-path/xdm-1.1.11/debian/tmp/usr/lib/X11/xdm/libXdmGreet.so libtool: install: /usr/bin/install -c .libs/libXdmGreet.lai /build/reproducible-path/xdm-1.1.11/debian/tmp/usr/lib/X11/xdm/libXdmGreet.la libtool: warning: remember to run 'libtool --finish /usr/lib/X11/xdm' @@ -2982,7 +3017,7 @@ make[3]: Entering directory '/build/reproducible-path/xdm-1.1.11/build/xdm' make[3]: Nothing to be done for 'install-data-am'. /bin/mkdir -p '/build/reproducible-path/xdm-1.1.11/debian/tmp/usr/bin' - /bin/bash ../libtool --mode=install /usr/bin/install -c xdm '/build/reproducible-path/xdm-1.1.11/debian/tmp/usr/bin' + /bin/sh ../libtool --mode=install /usr/bin/install -c xdm '/build/reproducible-path/xdm-1.1.11/debian/tmp/usr/bin' libtool: install: /usr/bin/install -c xdm /build/reproducible-path/xdm-1.1.11/debian/tmp/usr/bin/xdm make[3]: Leaving directory '/build/reproducible-path/xdm-1.1.11/build/xdm' make[2]: Leaving directory '/build/reproducible-path/xdm-1.1.11/build/xdm' @@ -3069,12 +3104,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/716513/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/716513/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/2200272 and its subdirectories -I: Current time: Sat Jul 6 01:46:41 -12 2024 -I: pbuilder-time-stamp: 1720273601 +I: removing directory /srv/workspace/pbuilder/716513 and its subdirectories +I: Current time: Sat Aug 9 10:10:36 +14 2025 +I: pbuilder-time-stamp: 1754683836