Diff of the two buildlogs: -- --- b1/build.log 2024-10-30 02:19:31.606906156 +0000 +++ b2/build.log 2024-10-30 02:21:52.321902641 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Dec 1 20:41:31 -12 2025 -I: pbuilder-time-stamp: 1764664891 +I: Current time: Wed Oct 30 16:19:34 +14 2024 +I: pbuilder-time-stamp: 1730254774 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -34,52 +34,84 @@ 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/952144/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3239043/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 30 02:19 /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/3239043/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3239043/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 parallel=42 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='605a8120552d4c5cbb3d5e410bf27601' - 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='952144' - PS1='# ' - PS2='> ' + INVOCATION_ID=4596936c41ad429faf60aab5379b77ce + 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=3239043 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.eG7qkaxb/pbuilderrc_Sexx --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.eG7qkaxb/b1 --logfile b1/build.log xdm_1.1.11-6.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.eG7qkaxb/pbuilderrc_YlPD --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.eG7qkaxb/b2 --logfile b2/build.log xdm_1.1.11-6.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/952144/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3239043/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 amd64 quilt all 0.68-1 [437 kB] Get: 95 http://deb.debian.org/debian trixie/main amd64 systemd-dev all 256.7-2 [68.2 kB] Get: 96 http://deb.debian.org/debian trixie/main amd64 xutils-dev amd64 1:7.7+7 [240 kB] -Fetched 34.4 MB in 5s (7472 kB/s) +Fetched 34.4 MB in 1s (64.4 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 ... 19949 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/3239043/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3239043/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,7 +691,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 \ @@ -671,14 +707,14 @@ Restoring man/xdm.man Removing patch debian.diff -Restoring config/Xservers.ws.cpp Restoring config/Xsession.cpp Restoring config/xdm-config.cpp +Restoring config/Xservers.ws.cpp Removing patch support_logfile_rotation.diff -Restoring man/xdm.man Restoring include/dm_error.h Restoring xdm/dm.c +Restoring man/xdm.man Removing patch 22_systemd_service.diff Restoring xdm.service.in @@ -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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,12 +1236,12 @@ 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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -Wall -fpermissive -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/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 -fcf-protection -Wall -fpermissive -MT greet.lo -MD -MP -MF .deps/greet.Tpo -c ../../greeter/greet.c -fPIC -DPIC -o .libs/greet.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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 */ | ^~~~ @@ -1535,16 +1571,12 @@ ../../greeter/Login.c:202:6: note: in expansion of macro 'XtNfail' 202 | {XtNfail, XtCFail, XtRString, sizeof (char *), | ^~~~~~~ -../../greeter/greet.c: In function 'InitGreet': ../../greeter/Login.h:138:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 138 | # define XtCFail "Fail" | ^~~~~~ ../../greeter/Login.c:202:15: note: in expansion of macro 'XtCFail' 202 | {XtNfail, XtCFail, XtRString, sizeof (char *), | ^~~~~~~ -../../greeter/greet.c:241:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 241 | static char *argv[] = { "xlogin", NULL }; - | ^~~~~~~~ ../../greeter/Login.c:204:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 204 | "Login incorrect or forbidden by policy" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1560,12 +1592,6 @@ ../../greeter/Login.c:206:30: note: in expansion of macro 'XtCChangePasswdMessage' 206 | {XtNchangePasswdMessage, XtCChangePasswdMessage, XtRString, | ^~~~~~~~~~~~~~~~~~~~~~ -../../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:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 285 | XtSetArg (arglist[i], XtNsecureSession, True); i++; - | ^~~~~~~~ ../../greeter/Login.h:97:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | # define XtNfailTimeout "failTimeout" | ^~~~~~~~~~~~~ @@ -1584,10 +1610,6 @@ ../../greeter/Login.c:211:6: note: in expansion of macro 'XtNnotifyDone' 211 | {XtNnotifyDone, XtCCallback, XtRFunction, sizeof (XtPointer), | ^~~~~~~~~~~~~ -../../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/Login.h:98:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | # define XtNsessionArgument "sessionArgument" | ^~~~~~~~~~~~~~~~~ @@ -1600,10 +1622,6 @@ ../../greeter/Login.c:213:26: note: in expansion of macro 'XtCSessionArgument' 213 | {XtNsessionArgument, XtCSessionArgument, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~~~~ -../../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/Login.h:99:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | # define XtNsecureSession "secureSession" | ^~~~~~~~~~~~~~~ @@ -1628,9 +1646,6 @@ ../../greeter/Login.c:217:22: note: in expansion of macro 'XtCAllowAccess' 217 | {XtNallowAccess, XtCAllowAccess, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~ -../../greeter/greet.c:396:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 396 | XtSetArg (arglist[0], XtNsessionArgument, (char *) &(greet->string)); - | ^~~~~~~~ ../../greeter/Login.h:101:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | # define XtNallowNullPasswd "allowNullPasswd" | ^~~~~~~~~~~~~~~~~ @@ -1643,31 +1658,28 @@ ../../greeter/Login.c:219:26: note: in expansion of macro 'XtCAllowNullPasswd' 219 | {XtNallowNullPasswd, XtCAllowNullPasswd, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ -../../greeter/greet.c: In function 'GreetUser': ../../greeter/Login.h:102:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | # define XtNallowRootLogin "allowRootLogin" | ^~~~~~~~~~~~~~~~ ../../greeter/Login.c:221:6: note: in expansion of macro 'XtNallowRootLogin' 221 | {XtNallowRootLogin, XtCAllowRootLogin, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~ -../../greeter/greet.c:481:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 481 | XtSetArg (arglist[0], XtNallowNullPasswd, - | ^~~~~~~~ ../../greeter/Login.h:144:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 144 | # define XtCAllowRootLogin "AllowRootLogin" | ^~~~~~~~~~~~~~~~ ../../greeter/Login.c:221:25: note: in expansion of macro 'XtCAllowRootLogin' 221 | {XtNallowRootLogin, XtCAllowRootLogin, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~ +../../greeter/greet.c: In function 'InitGreet': ../../greeter/Login.h:103:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | # define XtNechoPasswd "echoPasswd" | ^~~~~~~~~~~~ ../../greeter/Login.c:223:6: note: in expansion of macro 'XtNechoPasswd' 223 | {XtNechoPasswd, XtCEchoPasswd, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~ -../../greeter/greet.c:483:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 483 | XtSetArg (arglist[1], XtNallowRootLogin, - | ^~~~~~~~ +../../greeter/greet.c:241:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 241 | static char *argv[] = { "xlogin", NULL }; + | ^~~~~~~~ ../../greeter/Login.h:145:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 145 | # define XtCEchoPasswd "EchoPasswd" | ^~~~~~~~~~~~ @@ -1680,12 +1692,36 @@ ../../greeter/Login.c:225:6: note: in expansion of macro 'XtNechoPasswdChar' 225 | {XtNechoPasswdChar, XtCEchoPasswdChar, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~~~ +../../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/Login.h:146:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | # define XtCEchoPasswdChar "EchoPasswdChar" | ^~~~~~~~~~~~~~~~ ../../greeter/Login.c:225:25: note: in expansion of macro 'XtCEchoPasswdChar' 225 | {XtNechoPasswdChar, XtCEchoPasswdChar, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~~~ +../../greeter/greet.c:285:9: 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:9: 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/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); @@ -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 -fcf-protection -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 -fcf-protection -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 -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' @@ -1790,7 +1826,16 @@ 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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -Wall -fpermissive -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o ../../xdm/util.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 -fcf-protection -Wall -fpermissive -MT xdmcp.o -MD -MP -MF .deps/xdmcp.Tpo -c -o xdmcp.o ../../xdm/xdmcp.c +../../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/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 } }, + | ^~~~~~~~~ ../../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); @@ -1799,6 +1844,126 @@ ../../xdm/error.c:108:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 108 | LogPanic (const char * fmt, ...) | ^~~~~~~~ +../../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 +mv -f .deps/genauth.Tpo .deps/genauth.Po +../../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/mitauth.Tpo .deps/mitauth.Po +../../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); + | ^~~~~~~~~~~~~~ +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 -fcf-protection -Wall -fpermissive -MT xdmcp.o -MD -MP -MF .deps/xdmcp.Tpo -c -o xdmcp.o ../../xdm/xdmcp.c +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"); + | ^~~~~~ +mv -f .deps/daemon.Tpo .deps/daemon.Po +../../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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mv -f .deps/protodpy.Tpo .deps/protodpy.Po +mv -f .deps/error.Tpo .deps/error.Po +../../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/auth.c:128:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 128 | { (unsigned short) 18, "MIT-MAGIC-COOKIE-1", + | ^~~~~~~~~~~~~~~~~~~~ +mv -f .deps/netaddr.Tpo .deps/netaddr.Po +mv -f .deps/reset.Tpo .deps/reset.Po +mv -f .deps/policy.Tpo .deps/policy.Po +../../xdm/auth.c: In function 'SaveServerAuthorizations': +../../xdm/auth.c:453:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 453 | if (auths[i]->data_length > 0) + | ^~ +../../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); + | ^ +../../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"); + | ^~~~~~ +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:37: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1470 | "XAUTHORITY", envname); + | ^~~~~~~~~~~~ +../../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:37: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1472 | "XAUTHORITY", envname); + | ^~~~~~~~~~~~ +../../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"); + | ^~~~~~ +../../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: In function 'MakeServerAuthFile': +../../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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mv -f .deps/streams.Tpo .deps/streams.Po +../../xdm/util.c: In function 'makeEnv': +mv -f .deps/dpylist.Tpo .deps/dpylist.Po +../../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/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/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/resource.c:153:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | { "servers", "Servers", DM_STRING, &servers, | ^~~~~~~~~ @@ -1828,18 +1993,12 @@ ../../xdm/resource.c:157:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 157 | { "debugLevel", "DebugLevel", DM_INT, (char **) &debugLevel, | ^~~~~~~~~~~~ -../../xdm/file.c:231:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 231 | { "local", { Local, Permanent, FromFile } }, - | ^~~~~~~ ../../xdm/resource.c:157:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 157 | { "debugLevel", "DebugLevel", DM_INT, (char **) &debugLevel, | ^~~~~~~~~~~~ ../../xdm/resource.c:158:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | "0"} , | ^~~ -../../xdm/file.c:232:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 232 | { "foreign", { Foreign, Permanent, FromFile } }, - | ^~~~~~~~~ ../../xdm/resource.c:159:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 159 | { "errorLogFile","ErrorLogFile", DM_STRING, &errorLogFile, | ^~~~~~~~~~~~~~ @@ -1924,7 +2083,6 @@ ../../xdm/resource.c:175:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 175 | { "accessFile", "AccessFile", DM_STRING, &accessFile, | ^~~~~~~~~~~~ -../../xdm/access.c: In function 'patternMatch': ../../xdm/resource.c:126:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 126 | # define DEF_ACCESS_FILE "" | ^~ @@ -1940,25 +2098,18 @@ ../../xdm/resource.c:178:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 178 | ""} , | ^~ -../../xdm/server.c: In function '_SysErrorMsg': ../../xdm/resource.c:188:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 188 | { "randomDevice", "RandomDevice", DM_STRING, &randomDevice, | ^~~~~~~~~~~~~~ ../../xdm/resource.c:188:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 188 | { "randomDevice", "RandomDevice", DM_STRING, &randomDevice, | ^~~~~~~~~~~~~~ -../../xdm/server.c:68:19: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 68 | return (s ? s : "unknown error"); - | ~~~~~~~^~~~~~~~~~~~~~~~~~ ../config.h:38:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | #define DEV_RANDOM "/dev/urandom" | ^~~~~~~~~~~~~~ ../../xdm/resource.c:189:33: note: in expansion of macro 'DEV_RANDOM' 189 | DEV_RANDOM} , | ^~~~~~~~~~ -../../xdm/access.c:675:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 675 | string = ""; - | ^ ../../xdm/resource.c:191:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 191 | { "greeterLib", "GreeterLib", DM_STRING, &greeterLib, | ^~~~~~~~~~~~ @@ -2085,12 +2236,16 @@ ../../xdm/resource.c:233:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 233 | { "grabServer", "GrabServer", DM_BOOL, boffset(grabServer), | ^~~~~~~~~~~~ +../../xdm/choose.c: In function 'RunChooser': ../../xdm/resource.c:234:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 234 | "false" }, | ^~~~~~~ ../../xdm/resource.c:235:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 235 | { "grabTimeout","GrabTimeout", DM_INT, boffset(grabTimeout), | ^~~~~~~~~~~~~ +../../xdm/choose.c:512:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] + 512 | RunChooser (struct display *d) + | ^~~~~~~~~~ ../../xdm/resource.c:235:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 235 | { "grabTimeout","GrabTimeout", DM_INT, boffset(grabTimeout), | ^~~~~~~~~~~~~ @@ -2115,23 +2270,15 @@ ../../xdm/resource.c:240:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 240 | "15" }, /* SIGTERM */ | ^~~~ -../../xdm/dm.c: In function 'WaitForChild': ../../xdm/resource.c:241:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 241 | { "resetForAuth","ResetForAuth",DM_BOOL, boffset(resetForAuth), | ^~~~~~~~~~~~~~ -../../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"); - | ^~~~~~~~~~~~~~~~~~~~~ ../../xdm/resource.c:241:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 241 | { "resetForAuth","ResetForAuth",DM_BOOL, boffset(resetForAuth), | ^~~~~~~~~~~~~~ ../../xdm/resource.c:242:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 242 | "false" }, | ^~~~~~~ -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:243:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 243 | { "authorize", "Authorize", DM_BOOL, boffset(authorize), | ^~~~~~~~~~~ @@ -2156,12 +2303,6 @@ ../../xdm/resource.c:247:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 247 | { "authName", "AuthName", DM_ARGV, boffset(authNames), | ^~~~~~~~~~ -../../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/resource.c:113:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 113 | # define DEF_AUTH_NAME "MIT-MAGIC-COOKIE-1" | ^~~~~~~~~~~~~~~~~~~~ @@ -2177,12 +2318,6 @@ ../../xdm/resource.c:250:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 250 | "" }, | ^~ -../../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/resource.c:259:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 259 | { "resources", "Resources", DM_STRING, boffset(resources), | ^~~~~~~~~~~ @@ -2207,9 +2342,13 @@ ../../xdm/resource.c:263:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 263 | { "setup", "Setup", DM_STRING, boffset(setup), | ^~~~~~~ +../../xdm/session.c: In function 'xdm_selinux_setup': ../../xdm/resource.c:263:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 263 | { "setup", "Setup", DM_STRING, boffset(setup), | ^~~~~~~ +../../xdm/session.c:89:9: warning: 'security_context_t' is deprecated [-Wdeprecated-declarations] + 89 | security_context_t scontext; + | ^~~~~~~~~~~~~~~~~~ ../../xdm/resource.c:264:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 264 | "" }, | ^~ @@ -2219,22 +2358,28 @@ ../../xdm/resource.c:265:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | { "startup", "Startup", DM_STRING, boffset(startup), | ^~~~~~~~~ +../../xdm/session.c: At top level: ../../xdm/resource.c:266:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 266 | "" }, | ^~ +../../xdm/session.c:175:9: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] + 175 | Debug, + | ^~~~~ ../../xdm/resource.c:267:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 267 | { "reset", "Reset", DM_STRING, boffset(reset), | ^~~~~~~ +../../xdm/session.c:181:9: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] + 181 | LogError, + | ^~~~~~~~ ../../xdm/resource.c:267:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 267 | { "reset", "Reset", DM_STRING, boffset(reset), | ^~~~~~~ +../../xdm/session.c:191:9: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] + 191 | LogOutOfMem, + | ^~~~~~~~~~~ ../../xdm/resource.c:268:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 268 | "" }, | ^~ -../../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/resource.c:269:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 269 | { "session", "Session", DM_STRING, boffset(session), | ^~~~~~~~~ @@ -2253,7 +2398,7 @@ ../../xdm/resource.c:271:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 271 | { "userPath", "Path", DM_STRING, boffset(userPath), | ^~~~~~ -mv -f .deps/daemon.Tpo .deps/daemon.Po +mv -f .deps/file.Tpo .deps/file.Po ../config.h:32:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 32 | #define DEF_USER_PATH "/usr/local/bin:/usr/bin:/bin:/usr/games" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2287,10 +2432,6 @@ ../../xdm/resource.c:277:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 277 | { "failsafeClient","FailsafeClient", DM_STRING, boffset(failsafeClient), | ^~~~~~~~~~~~~~~~ -../../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; - | ^~~~~~~~~~~~~~~~~~ ../../xdm/resource.c:277:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 277 | { "failsafeClient","FailsafeClient", DM_STRING, boffset(failsafeClient), | ^~~~~~~~~~~~~~~~ @@ -2306,90 +2447,89 @@ ../../xdm/resource.c:279:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 279 | { "userAuthDir","UserAuthDir", DM_STRING, boffset(userAuthDir), | ^~~~~~~~~~~~~ -../../xdm/session.c: At top level: -../../xdm/session.c:175:9: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] - 175 | Debug, - | ^~~~~ ../../xdm/resource.c:120:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | # define DEF_USER_AUTH_DIR "/tmp" | ^~~~~~ ../../xdm/resource.c:280:33: note: in expansion of macro 'DEF_USER_AUTH_DIR' 280 | DEF_USER_AUTH_DIR }, | ^~~~~~~~~~~~~~~~~ -../../xdm/session.c:181:9: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] - 181 | LogError, - | ^~~~~~~~ ../../xdm/resource.c:281:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 281 | { "chooser", "Chooser", DM_STRING, boffset(chooser), | ^~~~~~~~~ ../../xdm/resource.c:281:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 281 | { "chooser", "Chooser", DM_STRING, boffset(chooser), | ^~~~~~~~~ -../../xdm/session.c:191:9: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] - 191 | LogOutOfMem, - | ^~~~~~~~~~~ +../../xdm/session.c: In function 'StartClient': ../config.h:11:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11 | #define DEF_CHOOSER "/usr/lib/X11/xdm/chooser" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../xdm/resource.c:282:33: note: in expansion of macro 'DEF_CHOOSER' 282 | DEF_CHOOSER }, | ^~~~~~~~~~~ -mv -f .deps/streams.Tpo .deps/streams.Po -../../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/dm.c: In function 'main': +../../xdm/session.c:567:26: warning: declaration of 'verify' shadows a global declaration [-Wshadow] + 567 | struct verify_info *verify, + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ +../../xdm/session.c:220:33: note: shadowed declaration is here + 220 | static struct verify_info verify; + | ^~~~~~ ../../xdm/resource.c:364:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 364 | {"-server", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~~ -../../xdm/dm.c:183:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 183 | system(cmdbuf); - | ^~~~~~~~~~~~~~ +../../xdm/session.c:814:67: 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/resource.c:365:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | {"-udpPort", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~~~ +../../xdm/session.c:831:45: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 831 | home = getEnv (verify->userEnviron, "HOME"); + | ^~~~~~ +../../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:366:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 366 | {"-error", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~ -In file included from ../../xdm/dm.c:38: -../../xdm/dm.c: In function 'ReopenLogFileNotify': ../../xdm/resource.c:367:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 367 | {"-resources", NULL, XrmoptionSkipArg, (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/session.c:835:56: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 835 | getEnv (verify->userEnviron, "USER"), home, errno); + | ^~~~~~ +../../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:368:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 368 | {"-session", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~~~ ../../xdm/resource.c:369:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 369 | {"-debug", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~ -../../xdm/session.c: In function 'StartClient': +../../xdm/session.c:837:67: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 837 | verify->userEnviron = setEnv(verify->userEnviron, "HOME", "/"); + | ^~~~~~ +../../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:370:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 370 | {"-xrm", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~ -../../xdm/session.c:567:26: warning: declaration of 'verify' shadows a global declaration [-Wshadow] - 567 | struct verify_info *verify, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../xdm/resource.c:371:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 371 | {"-config", ".configFile", XrmoptionSepArg, (caddr_t) NULL } | ^~~~~~~~~ -../../xdm/session.c:220:33: note: shadowed declaration is here - 220 | static struct verify_info verify; - | ^~~~~~ ../../xdm/resource.c:371:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 371 | {"-config", ".configFile", XrmoptionSepArg, (caddr_t) NULL } | ^~~~~~~~~~~~~ +../../xdm/session.c:837:75: warning: passing argument 3 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 837 | verify->userEnviron = setEnv(verify->userEnviron, "HOME", "/"); + | ^~~ +../../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/resource.c:375:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 375 | {"-server", ".servers", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~ @@ -2411,16 +2551,9 @@ ../../xdm/resource.c:378:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 378 | {"-resources", "*resources", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~~~ -../../xdm/session.c:814:67: 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:378:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 378 | {"-resources", "*resources", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~~~ -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:379:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 379 | {"-session", "*session", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~ @@ -2436,12 +2569,7 @@ ../../xdm/resource.c:381:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 381 | {"-xrm", NULL, XrmoptionResArg, (caddr_t) NULL }, | ^~~~~~ -../../xdm/session.c:831:45: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 831 | home = getEnv (verify->userEnviron, "HOME"); - | ^~~~~~ -../../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: In function 'execute': ../../xdm/resource.c:382:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 382 | {"-daemon", ".daemonMode", XrmoptionNoArg, "true" }, | ^~~~~~~~~ @@ -2451,12 +2579,9 @@ ../../xdm/resource.c:382:65: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 382 | {"-daemon", ".daemonMode", XrmoptionNoArg, "true" }, | ^~~~~~ -../../xdm/session.c:835:56: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 835 | getEnv (verify->userEnviron, "USER"), home, errno); - | ^~~~~~ -../../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:980:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 980 | p = "/bin/sh"; + | ^ ../../xdm/resource.c:383:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 383 | {"-nodaemon", ".daemonMode", XrmoptionNoArg, "false" } | ^~~~~~~~~~~ @@ -2466,19 +2591,14 @@ ../../xdm/resource.c:383:65: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 383 | {"-nodaemon", ".daemonMode", XrmoptionNoArg, "false" } | ^~~~~~~ -../../xdm/session.c:837:67: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 837 | verify->userEnviron = setEnv(verify->userEnviron, "HOME", "/"); - | ^~~~~~ +../../xdm/session.c: In function 'systemEnv': +../../xdm/resource.c: In function 'ReinitResources': +../../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); + | ^~~~~~~~~ ../../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: In function 'ReinitResources': -../../xdm/session.c:837:75: warning: passing argument 3 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 837 | verify->userEnviron = setEnv(verify->userEnviron, "HOME", "/"); - | ^~~ -../../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/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2491,7 +2611,12 @@ ../../xdm/resource.c:293:14: note: expected 'char *' but argument is of type 'const char *' 293 | char *class, | ~~~~~~~~~^~~~~ -../../xdm/dm.c: In function 'SetWindowPath': +../../xdm/session.c:1026:28: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1026 | env = setEnv (env, "HOME", home); + | ^~~~~~ +../../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); + | ~~~~~~^~~~ ../config.h:35:24: warning: passing argument 5 of 'GetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 35 | #define DEF_XDM_CONFIG "/etc/X11/xdm/xdm-config" | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2501,52 +2626,18 @@ ../../xdm/resource.c:296:14: note: expected 'char *' but argument is of type 'const char *' 296 | char *default_value) | ~~~~~~~~~^~~~~~~~~~~~~ -../../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", - | ^~~~~~~~~~~~~~~~~~~~ -../../xdm/session.c: In function 'execute': -../../xdm/session.c:980:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 980 | p = "/bin/sh"; - | ^ -mv -f .deps/mitauth.Tpo .deps/mitauth.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); - | ^~~~~~~~~ -../../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:28: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1026 | env = setEnv (env, "HOME", home); - | ^~~~~~ -../../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:28: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1028 | env = setEnv (env, "USER", user); | ^~~~~~ ../../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 'SaveServerAuthorizations': ../../xdm/session.c:1029:28: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1029 | env = setEnv (env, "LOGNAME", user); | ^~~~~~~~~ -../../xdm/auth.c:453:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 453 | if (auths[i]->data_length > 0) - | ^~ ../../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:458:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 458 | (void) fflush (auth_file); - | ^ ../../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); | ^~~~~~ @@ -2575,67 +2666,23 @@ ../../xdm/session.c:836:17: 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:1317:45: 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:37: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1470 | "XAUTHORITY", envname); - | ^~~~~~~~~~~~ -../../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:37: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1472 | "XAUTHORITY", envname); - | ^~~~~~~~~~~~ -../../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); - | ~~~~~~^~~~ -mv -f .deps/genauth.Tpo .deps/genauth.Po -../../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"); - | ^~~~~~ -../../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: In function 'MakeServerAuthFile': -../../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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../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/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/reset.Tpo .deps/reset.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/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) - | ^~~~~~~~~~~~~ -../../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); - | ~~~~~~^~~~~~ -mv -f .deps/error.Tpo .deps/error.Po -mv -f .deps/protodpy.Tpo .deps/protodpy.Po -mv -f .deps/netaddr.Tpo .deps/netaddr.Po -mv -f .deps/policy.Tpo .deps/policy.Po +../../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 ()); + | ^ +In file included from /usr/include/stdio.h:970, + from /usr/include/X11/Xauth.h:59, + from ../../include/dm.h:49: +In function 'snprintf', + inlined from 'StorePid' at ../../xdm/dm.c:1011:9, + inlined from 'main' at ../../xdm/dm.c:164:19: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 11 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ ../../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, @@ -2646,13 +2693,9 @@ ../../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/choose.c: In function 'RunChooser': ../../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/choose.c:512:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] - 512 | RunChooser (struct display *d) - | ^~~~~~~~~~ ../../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); | ^~~~~~~~~~~~~~~ @@ -2671,6 +2714,10 @@ ../../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/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) + | ^~~~~~~~~~~ ../../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); | ^~~~~~~~~~~~~~~ @@ -2681,36 +2728,25 @@ ../../xdm/xdmcp.c:1419:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1419 | char *local_name = ""; | ^~ -mv -f .deps/dpylist.Tpo .deps/dpylist.Po -mv -f .deps/file.Tpo .deps/file.Po -../../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 ()); - | ^ -In file included from /usr/include/stdio.h:970, - from /usr/include/X11/Xauth.h:59, - from ../../include/dm.h:49: -In function 'snprintf', - inlined from 'StorePid' at ../../xdm/dm.c:1011:9, - inlined from 'main' at ../../xdm/dm.c:164:19: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 11 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -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) + | ^~~~~~~~~~~~~~~~~ +../../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/util.Tpo .deps/util.Po mv -f .deps/resource.Tpo .deps/resource.Po +mv -f .deps/server.Tpo .deps/server.Po mv -f .deps/socket.Tpo .deps/socket.Po -mv -f .deps/choose.Tpo .deps/choose.Po mv -f .deps/access.Tpo .deps/access.Po -mv -f .deps/session.Tpo .deps/session.Po mv -f .deps/dm.Tpo .deps/dm.Po -mv -f .deps/auth.Tpo .deps/auth.Po +mv -f .deps/choose.Tpo .deps/choose.Po +mv -f .deps/session.Tpo .deps/session.Po mv -f .deps/xdmcp.Tpo .deps/xdmcp.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 -fcf-protection -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/auth.Tpo .deps/auth.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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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' @@ -2776,8 +2812,8 @@ /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' /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/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' + /usr/bin/install -c -m 644 xdm-config Xresources Xservers '/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' make[3]: Leaving directory '/build/reproducible-path/xdm-1.1.11/build/config' make[2]: 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' @@ -2906,12 +2942,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/3239043/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3239043/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/952144 and its subdirectories -I: Current time: Mon Dec 1 20:42:30 -12 2025 -I: pbuilder-time-stamp: 1764664950 +I: removing directory /srv/workspace/pbuilder/3239043 and its subdirectories +I: Current time: Wed Oct 30 16:21:51 +14 2024 +I: pbuilder-time-stamp: 1730254911