Diff of the two buildlogs: -- --- b1/build.log 2024-10-30 03:33:22.120979114 +0000 +++ b2/build.log 2024-10-30 03:34:25.994708876 +0000 @@ -1,7 +1,7 @@ W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build -I: Current time: Mon Dec 1 21:54:43 -12 2025 -I: pbuilder-time-stamp: 1764669283 +I: Current time: Tue Dec 2 23:56:23 +14 2025 +I: pbuilder-time-stamp: 1764669383 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -35,51 +35,83 @@ dpkg-source: info: applying doc_mention_xdm.options.diff I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2588432/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/364447/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 2 09:56 /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/364447/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/364447/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='2588432' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=364447 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.Pyxmgsny/pbuilderrc_Itsa --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Pyxmgsny/b1 --logfile b1/build.log xdm_1.1.11-6.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/sbin/chroot' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.Pyxmgsny/pbuilderrc_NA4f --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Pyxmgsny/b2 --logfile b2/build.log xdm_1.1.11-6.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2588432/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/364447/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -241,7 +273,7 @@ Get: 94 http://deb.debian.org/debian trixie/main arm64 quilt all 0.68-1 [437 kB] Get: 95 http://deb.debian.org/debian trixie/main arm64 systemd-dev all 256.7-2 [68.2 kB] Get: 96 http://deb.debian.org/debian trixie/main arm64 xutils-dev arm64 1:7.7+7 [239 kB] -Fetched 33.6 MB in 0s (176 MB/s) +Fetched 33.6 MB in 0s (155 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20061 files and directories currently installed.) @@ -647,7 +679,11 @@ fakeroot is already the newest version (1.36-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-6_source.changes +I: user script /srv/workspace/pbuilder/364447/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/364447/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-6_source.changes dpkg-buildpackage: info: source package xdm dpkg-buildpackage: info: source version 1:1.1.11-6 dpkg-buildpackage: info: source distribution unstable @@ -655,14 +691,14 @@ dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 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 \ debian/*.postinst \ debian/*.postrm \ debian/*.preinst \ debian/*.prerm +mkdir stampdir >stampdir/stampdir mkdir -p stampdir/log >stampdir/logdir @@ -712,7 +748,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 @@ -1182,7 +1218,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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -lXinerama -lXaw7 -lXt -lX11 -lXdmcp -Wl,-z,relro -Wl,-z,now -o chooser chooser.o -lselinux -lpam -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -lXinerama -lXaw7 -lXt -lX11 -lXdmcp -Wl,-z,relro -Wl,-z,now -o chooser chooser.o -lselinux -lpam -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -Wl,-z -Wl,relro -Wl,-z -Wl,now -o chooser chooser.o -lXinerama -lXaw7 -lXt -lX11 -lXdmcp -lselinux -lpam -lcrypt make[3]: Leaving directory '/build/reproducible-path/xdm-1.1.11/build/chooser' Making all in config @@ -1200,11 +1236,11 @@ 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/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -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/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -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/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -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/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT verify.lo -MD -MP -MF .deps/verify.Tpo -c ../../greeter/verify.c -fPIC -DPIC -o .libs/verify.o +/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/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -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/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -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/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -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/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -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/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT verify.lo -MD -MP -MF .deps/verify.Tpo -c ../../greeter/verify.c -fPIC -DPIC -o .libs/verify.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/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT Login.lo -MD -MP -MF .deps/Login.Tpo -c ../../greeter/Login.c -fPIC -DPIC -o .libs/Login.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 */ @@ -1686,7 +1722,6 @@ ../../greeter/Login.c:225:25: note: in expansion of macro 'XtCEchoPasswdChar' 225 | {XtNechoPasswdChar, XtCEchoPasswdChar, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~~~ -mv -f .deps/verify.Tpo .deps/verify.Plo ../../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); @@ -1746,6 +1781,7 @@ ../../greeter/Login.c:2051:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2051 | /* class_name */ "Login", | ^~~~~~~ +mv -f .deps/verify.Tpo .deps/verify.Plo mv -f .deps/greet.Tpo .deps/greet.Plo ../../greeter/Login.c: In function 'SetPrompt': ../../greeter/Login.c:844:5: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] @@ -1755,7 +1791,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/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -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 -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/freetype2 -I/usr/include/libpng16 -DGREET_LIB -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -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 -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 -lcrypt -g -O2 -fstack-protector-strong -mbranch-protection=standard -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' @@ -1777,19 +1813,7 @@ 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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT dm.o -MD -MP -MF .deps/dm.Tpo -c -o dm.o ../../xdm/dm.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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT dpylist.o -MD -MP -MF .deps/dpylist.Tpo -c -o dpylist.o ../../xdm/dpylist.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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o ../../xdm/error.c -../../xdm/choose.c: In function 'AddChooserHost': 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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o ../../xdm/file.c -../../xdm/choose.c:386:35: warning: passing argument 2 of 'parseArgs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 386 | *argp = parseArgs (*argp, "BROADCAST"); - | ^~~~~~~~~~~ -In file included from ../../xdm/choose.c:35: -../../include/dm.h:465:45: note: expected 'char *' but argument is of type 'const char *' - 465 | extern char **parseArgs (char **argv, char *string); - | ~~~~~~^~~~~~ -../../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) - | ^~~~~~~~~~ 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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT genauth.o -MD -MP -MF .deps/genauth.Tpo -c -o genauth.o ../../xdm/genauth.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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT mitauth.o -MD -MP -MF .deps/mitauth.Tpo -c -o mitauth.o ../../xdm/mitauth.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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT netaddr.o -MD -MP -MF .deps/netaddr.Tpo -c -o netaddr.o ../../xdm/netaddr.c @@ -1798,61 +1822,20 @@ ../../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/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, ...) - | ^~~~~~~~ -mv -f .deps/daemon.Tpo .deps/daemon.Po -../../xdm/dm.c: In function 'WaitForChild': -../../xdm/dm.c:551:36: 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/file.c:231:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 231 | { "local", { Local, Permanent, FromFile } }, | ^~~~~~~ ../../xdm/file.c:232:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 232 | { "foreign", { Foreign, Permanent, FromFile } }, | ^~~~~~~~~ -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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT protodpy.o -MD -MP -MF .deps/protodpy.Tpo -c -o protodpy.o ../../xdm/protodpy.c -../../xdm/dm.c:577:32: 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/dm.c:577:35: 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/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: In function 'patternMatch': ../../xdm/access.c:675:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 675 | string = ""; | ^ -../../xdm/dm.c: In function 'main': -../../xdm/dm.c:183:9: 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:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 770 | asprintf(&newwindowpath, "%lu", num); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../xdm/dm.c:772:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 772 | asprintf(&newwindowpath, "%s:%lu", windowpath, num); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../xdm/auth.c:128:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | { (unsigned short) 18, "MIT-MAGIC-COOKIE-1", | ^~~~~~~~~~~~~~~~~~~~ @@ -1863,8 +1846,6 @@ ../../xdm/auth.c:458:17: 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/error.Tpo .deps/error.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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT reset.o -MD -MP -MF .deps/reset.Tpo -c -o reset.o ../../xdm/reset.c ../../xdm/auth.c: In function 'SetUserAuthorization': ../../xdm/auth.c:1317:45: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1317 | home = getEnv (verify->userEnviron, "HOME"); @@ -1896,14 +1877,71 @@ ../../xdm/auth.c:350:28: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 350 | (void) chown(d->authFile, 0, statb.st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mv -f .deps/file.Tpo .deps/file.Po ../../xdm/auth.c: In function 'SetUserAuthorization': ../../xdm/auth.c:1476:13: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 1476 | chown (envname, verify->uid, verify->gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../xdm/choose.c: In function 'AddChooserHost': +../../xdm/choose.c:386:35: warning: passing argument 2 of 'parseArgs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 386 | *argp = parseArgs (*argp, "BROADCAST"); + | ^~~~~~~~~~~ +In file included from ../../xdm/choose.c:35: +../../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: In function 'WaitForChild': +../../xdm/dm.c:551:36: 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:32: 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/dm.c:577:35: 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 +mv -f .deps/daemon.Tpo .deps/daemon.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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT protodpy.o -MD -MP -MF .deps/protodpy.Tpo -c -o protodpy.o ../../xdm/protodpy.c +../../xdm/dm.c: In function 'main': +../../xdm/dm.c:183:9: 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': +mv -f .deps/error.Tpo .deps/error.Po +../../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/dm.c:770:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 770 | asprintf(&newwindowpath, "%lu", num); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../xdm/dm.c:772:17: 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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT reset.o -MD -MP -MF .deps/reset.Tpo -c -o reset.o ../../xdm/reset.c +mv -f .deps/genauth.Tpo .deps/genauth.Po +mv -f .deps/file.Tpo .deps/file.Po +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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT resource.o -MD -MP -MF .deps/resource.Tpo -c -o resource.o ../../xdm/resource.c -mv -f .deps/protodpy.Tpo .deps/protodpy.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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT server.o -MD -MP -MF .deps/server.Tpo -c -o server.o ../../xdm/server.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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT session.o -MD -MP -MF .deps/session.Tpo -c -o session.o ../../xdm/session.c ../../xdm/dm.c: In function 'main': ../../xdm/dm.c:1011:42: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1011 | (void) snprintf (pidstr, 11, "%ld", (long) getpid ()); @@ -1921,12 +1959,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -mv -f .deps/genauth.Tpo .deps/genauth.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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT session.o -MD -MP -MF .deps/session.Tpo -c -o session.o ../../xdm/session.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/resource.c:153:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | { "servers", "Servers", DM_STRING, &servers, | ^~~~~~~~~ @@ -2484,7 +2516,6 @@ ../../xdm/resource.c:382:65: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 382 | {"-daemon", ".daemonMode", XrmoptionNoArg, "true" }, | ^~~~~~ -mv -f .deps/mitauth.Tpo .deps/mitauth.Po ../../xdm/resource.c:383:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 383 | {"-nodaemon", ".daemonMode", XrmoptionNoArg, "false" } | ^~~~~~~~~~~ @@ -2516,71 +2547,20 @@ ../../xdm/resource.c:296:14: note: expected 'char *' but argument is of type 'const char *' 296 | char *default_value) | ~~~~~~~~~^~~~~~~~~~~~~ -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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT socket.o -MD -MP -MF .deps/socket.Tpo -c -o socket.o ../../xdm/socket.c -mv -f .deps/choose.Tpo .deps/choose.Po +mv -f .deps/netaddr.Tpo .deps/netaddr.Po +mv -f .deps/protodpy.Tpo .deps/protodpy.Po mv -f .deps/reset.Tpo .deps/reset.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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o ../../xdm/util.c -mv -f .deps/resource.Tpo .deps/resource.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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT xdmcp.o -MD -MP -MF .deps/xdmcp.Tpo -c -o xdmcp.o ../../xdm/xdmcp.c -../../xdm/util.c: In function 'makeEnv': -../../xdm/util.c:104:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 104 | asprintf(&result, "%s=%s", name, value); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../xdm/util.c: In function 'parseArgs': -../../xdm/util.c:236:41: warning: pointer 'argv' may be used after 'realloc' [-Wuse-after-free] - 236 | free (argv); - | ^~~~~~~~~~~ -../../xdm/util.c:231:43: note: call to 'realloc' here - 231 | newargv = realloc ((char *) argv, - | ^~~~~~~~~~~~~~~~~~~~~~~ - 232 | (unsigned) ((i + 2) * sizeof (char *))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mv -f .deps/server.Tpo .deps/server.Po mv -f .deps/dpylist.Tpo .deps/dpylist.Po -mv -f .deps/netaddr.Tpo .deps/netaddr.Po -../../xdm/xdmcp.c: In function 'manage': -../../xdm/xdmcp.c:1208:45: 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:19: 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:19: 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:19: 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:19: 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:23: 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:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1419 | char *local_name = ""; - | ^~ -mv -f .deps/util.Tpo .deps/util.Po +mv -f .deps/policy.Tpo .deps/policy.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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -MT xdmcp.o -MD -MP -MF .deps/xdmcp.Tpo -c -o xdmcp.o ../../xdm/xdmcp.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"); + | ~~~~~~~^~~~~~~~~~~~~~~~~~ +mv -f .deps/resource.Tpo .deps/resource.Po ../../xdm/session.c: In function 'xdm_selinux_setup': ../../xdm/session.c:89:9: warning: 'security_context_t' is deprecated [-Wdeprecated-declarations] 89 | security_context_t scontext; @@ -2595,6 +2575,7 @@ ../../xdm/session.c:191:9: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] 191 | LogOutOfMem, | ^~~~~~~~~~~ +mv -f .deps/choose.Tpo .deps/choose.Po ../../xdm/session.c: In function 'StartClient': ../../xdm/session.c:567:26: warning: declaration of 'verify' shadows a global declaration [-Wshadow] 567 | struct verify_info *verify, @@ -2686,31 +2667,86 @@ ../../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/util.c: In function 'makeEnv': +../../xdm/util.c:104:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 104 | asprintf(&result, "%s=%s", name, value); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../xdm/session.c: In function 'StartClient': ../../xdm/session.c:836:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 836 | chdir ("/"); | ^~~~~~~~~~~ +../../xdm/util.c: In function 'parseArgs': +../../xdm/util.c:236:41: warning: pointer 'argv' may be used after 'realloc' [-Wuse-after-free] + 236 | free (argv); + | ^~~~~~~~~~~ +../../xdm/util.c:231:43: note: call to 'realloc' here + 231 | newargv = realloc ((char *) argv, + | ^~~~~~~~~~~~~~~~~~~~~~~ + 232 | (unsigned) ((i + 2) * sizeof (char *))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../xdm/xdmcp.c: In function 'manage': +../../xdm/xdmcp.c:1208:45: 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:19: 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:19: 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:19: 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:19: 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:23: 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:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1419 | char *local_name = ""; + | ^~ mv -f .deps/streams.Tpo .deps/streams.Po ../../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/server.Tpo .deps/server.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) | ^~~~~~~~~~~~~~~~~ +mv -f .deps/access.Tpo .deps/access.Po ../../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/access.Tpo .deps/access.Po -mv -f .deps/policy.Tpo .deps/policy.Po mv -f .deps/dm.Tpo .deps/dm.Po +mv -f .deps/util.Tpo .deps/util.Po mv -f .deps/socket.Tpo .deps/socket.Po mv -f .deps/auth.Tpo .deps/auth.Po -mv -f .deps/xdmcp.Tpo .deps/xdmcp.Po mv -f .deps/session.Tpo .deps/session.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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -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 -lselinux -lpam -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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -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 -lselinux -lpam -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -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 -Wl,--export-dynamic -lXmu -lXt -lX11 -lXau -lXdmcp -lselinux -lpam -lcrypt make[3]: Leaving directory '/build/reproducible-path/xdm-1.1.11/build/xdm' Making all in xdmshell @@ -2727,7 +2763,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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -Wl,-z,relro -Wl,-z,now -o xdmshell xdmshell.o -lselinux -lpam -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -Wl,-z,relro -Wl,-z,now -o xdmshell xdmshell.o -lselinux -lpam -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -fpermissive -Wl,-z -Wl,relro -Wl,-z -Wl,now -o xdmshell xdmshell.o -lselinux -lpam -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' @@ -2737,7 +2773,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 @@ -2758,7 +2794,7 @@ make[3]: Entering directory '/build/reproducible-path/xdm-1.1.11/build/chooser' make[3]: Nothing to be done for 'install-exec-am'. /usr/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' @@ -2773,9 +2809,9 @@ /usr/bin/mkdir -p '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' /usr/bin/mkdir -p '/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' + /usr/bin/install -c -m 644 ../../config/Xaccess '/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' /usr/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 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' @@ -2786,7 +2822,7 @@ make[3]: Entering directory '/build/reproducible-path/xdm-1.1.11/build/greeter' make[3]: Nothing to be done for 'install-exec-am'. /usr/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' @@ -2812,7 +2848,7 @@ make[3]: Entering directory '/build/reproducible-path/xdm-1.1.11/build/xdm' make[3]: Nothing to be done for 'install-data-am'. /usr/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' @@ -2910,12 +2946,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/364447/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/364447/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/2588432 and its subdirectories -I: Current time: Mon Dec 1 21:56:18 -12 2025 -I: pbuilder-time-stamp: 1764669378 +I: removing directory /srv/workspace/pbuilder/364447 and its subdirectories +I: Current time: Tue Dec 2 23:57:23 +14 2025 +I: pbuilder-time-stamp: 1764669443