Diff of the two buildlogs: -- --- b1/build.log 2024-12-13 07:44:12.201358925 +0000 +++ b2/build.log 2024-12-13 07:45:02.119089197 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Dec 12 19:42:14 -12 2024 -I: pbuilder-time-stamp: 1734075734 +I: Current time: Fri Jan 16 04:07:14 +14 2026 +I: pbuilder-time-stamp: 1768486034 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -35,54 +35,86 @@ 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/45860/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/61867/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +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 Jan 15 14:07 /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/61867/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/61867/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='80a20bb991e34396ba34f56311f45739' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='45860' - PS1='# ' - PS2='> ' + INVOCATION_ID=df902a6eea3b445db1cbae0371266568 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=61867 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.YoXtTBhV/pbuilderrc_46JK --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.YoXtTBhV/b1 --logfile b1/build.log xdm_1.1.11-6.1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.YoXtTBhV/pbuilderrc_bW6s --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.YoXtTBhV/b2 --logfile b2/build.log xdm_1.1.11-6.1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/45860/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/61867/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -244,7 +276,7 @@ Get: 94 http://deb.debian.org/debian trixie/main i386 quilt all 0.68-1 [437 kB] Get: 95 http://deb.debian.org/debian trixie/main i386 systemd-dev all 257~rc3-1 [69.3 kB] Get: 96 http://deb.debian.org/debian trixie/main i386 xutils-dev i386 1:7.7+7 [241 kB] -Fetched 35.2 MB in 1s (53.9 MB/s) +Fetched 35.2 MB in 1s (37.3 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 ... 19952 files and directories currently installed.) @@ -650,7 +682,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.1_source.changes +I: user script /srv/workspace/pbuilder/61867/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/61867/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.1_source.changes dpkg-buildpackage: info: source package xdm dpkg-buildpackage: info: source version 1:1.1.11-6.1 dpkg-buildpackage: info: source distribution unstable @@ -658,31 +694,30 @@ dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 fakeroot debian/rules clean -libfakeroot internal error: payload not recognized! -/bin/sh: 1: Bad substitution +/bin/sh: line 1: ${VERSION\#\#*-}: bad substitution rm -f stampdir/genscripts mkdir stampdir ->stampdir/stampdir -mkdir -p stampdir/log ->stampdir/logdir -rm -f stampdir/patch rm -f debian/*.config \ debian/*.postinst \ debian/*.postrm \ debian/*.preinst \ debian/*.prerm +>stampdir/stampdir +mkdir -p stampdir/log +>stampdir/logdir +rm -f stampdir/patch Unapplying patches...Removing patch doc_mention_xdm.options.diff Restoring man/xdm.man Removing patch debian.diff -Restoring config/xdm-config.cpp -Restoring config/Xservers.ws.cpp Restoring config/Xsession.cpp +Restoring config/Xservers.ws.cpp +Restoring config/xdm-config.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 @@ -697,8 +732,8 @@ Restoring xdm/auth.c Removing patch greeter-xrender.diff -Restoring configure.ac Restoring greeter/Login.c +Restoring configure.ac No patches applied successful. @@ -716,7 +751,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 @@ -1176,7 +1211,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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -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 @@ -1194,12 +1229,45 @@ make[3]: Leaving directory '/build/reproducible-path/xdm-1.1.11/build/config' Making all in greeter make[3]: Entering directory '/build/reproducible-path/xdm-1.1.11/build/greeter' -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../greeter -I.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/uuid -I/usr/include/uuid -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 -Wformat -Werror=format-security -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/uuid -I/usr/include/uuid -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 -Wformat -Werror=format-security -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/uuid -I/usr/include/uuid -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 -Wformat -Werror=format-security -Wall -fpermissive -MT verify.lo -MD -MP -MF .deps/verify.Tpo -c -o verify.lo ../../greeter/verify.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../greeter -I.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/uuid -I/usr/include/uuid -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 -Wformat -Werror=format-security -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/uuid -I/usr/include/uuid -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 -Wformat -Werror=format-security -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/uuid -I/usr/include/uuid -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 -Wformat -Werror=format-security -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/uuid -I/usr/include/uuid -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 -Wformat -Werror=format-security -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/uuid -I/usr/include/uuid -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 -Wformat -Werror=format-security -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/uuid -I/usr/include/uuid -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 -Wformat -Werror=format-security -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/uuid -I/usr/include/uuid -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 -Wformat -Werror=format-security -Wall -fpermissive -MT verify.lo -MD -MP -MF .deps/verify.Tpo -c ../../greeter/verify.c -fPIC -DPIC -o .libs/verify.o +../../greeter/verify.c:65:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 65 | "TZ", /* SYSV and SVR4, but never hurts */ + | ^~~~ +../../greeter/verify.c: In function 'userEnv': +../../greeter/verify.c:101:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 101 | env = setEnv (env, "DISPLAY", d->name); + | ^~~~~~~~~ +../../greeter/verify.c:101:24: note: expected 'char *' but argument is of type 'const char *' +../../greeter/verify.c:102:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 102 | env = setEnv (env, "HOME", home); + | ^~~~~~ +../../greeter/verify.c:102:24: note: expected 'char *' but argument is of type 'const char *' +../../greeter/verify.c:103:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 103 | env = setEnv (env, "LOGNAME", user); /* POSIX, System V */ + | ^~~~~~~~~ +../../greeter/verify.c:103:24: note: expected 'char *' but argument is of type 'const char *' +../../greeter/verify.c:104:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 104 | env = setEnv (env, "USER", user); /* BSD */ + | ^~~~~~ +../../greeter/verify.c:104:24: note: expected 'char *' but argument is of type 'const char *' +../../greeter/verify.c:105:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 105 | env = setEnv (env, "PATH", useSystemPath ? d->systemPath : d->userPath); + | ^~~~~~ +../../greeter/verify.c:105:24: note: expected 'char *' but argument is of type 'const char *' +../../greeter/verify.c:106:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 106 | env = setEnv (env, "SHELL", shell); + | ^~~~~~~ +../../greeter/verify.c:106:24: note: expected 'char *' but argument is of type 'const char *' +../../greeter/verify.c: In function 'Verify': +../../greeter/verify.c:546:41: warning: passing argument 2 of '__xdm_parseArgs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 546 | argv = parseArgs (argv, "xsession"); + | ^~~~~~~~~~ +../../greeter/verify.c:546:41: note: expected 'char *' but argument is of type 'const char *' In file included from ../../greeter/LoginP.h:59, from ../../greeter/Login.c:73: ../../greeter/Login.h:129:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] @@ -1619,39 +1687,6 @@ ../../greeter/Login.c:225:25: note: in expansion of macro 'XtCEchoPasswdChar' 225 | {XtNechoPasswdChar, XtCEchoPasswdChar, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~~~ -../../greeter/verify.c:65:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 65 | "TZ", /* SYSV and SVR4, but never hurts */ - | ^~~~ -../../greeter/verify.c: In function 'userEnv': -../../greeter/verify.c:101:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 101 | env = setEnv (env, "DISPLAY", d->name); - | ^~~~~~~~~ -../../greeter/verify.c:101:24: note: expected 'char *' but argument is of type 'const char *' -../../greeter/verify.c:102:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 102 | env = setEnv (env, "HOME", home); - | ^~~~~~ -../../greeter/verify.c:102:24: note: expected 'char *' but argument is of type 'const char *' -../../greeter/verify.c:103:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 103 | env = setEnv (env, "LOGNAME", user); /* POSIX, System V */ - | ^~~~~~~~~ -../../greeter/verify.c:103:24: note: expected 'char *' but argument is of type 'const char *' -../../greeter/verify.c:104:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 104 | env = setEnv (env, "USER", user); /* BSD */ - | ^~~~~~ -../../greeter/verify.c:104:24: note: expected 'char *' but argument is of type 'const char *' -../../greeter/verify.c:105:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 105 | env = setEnv (env, "PATH", useSystemPath ? d->systemPath : d->userPath); - | ^~~~~~ -../../greeter/verify.c:105:24: note: expected 'char *' but argument is of type 'const char *' -../../greeter/verify.c:106:24: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 106 | env = setEnv (env, "SHELL", shell); - | ^~~~~~~ -../../greeter/verify.c:106:24: note: expected 'char *' but argument is of type 'const char *' -../../greeter/verify.c: In function 'Verify': -../../greeter/verify.c:546:41: warning: passing argument 2 of '__xdm_parseArgs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 546 | argv = parseArgs (argv, "xsession"); - | ^~~~~~~~~~ -../../greeter/verify.c:546:41: note: expected 'char *' but argument is of type 'const char *' ../../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); @@ -1659,50 +1694,50 @@ ../../greeter/Login.c:1238:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1238 | XtSetArg (arglist[0], XtNallowAccess, !allow); | ^~~~~~~~ +../../greeter/Login.c: At top level: ../../greeter/greet.c: In function 'InitGreet': ../../greeter/greet.c:241:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 241 | static char *argv[] = { "xlogin", NULL }; | ^~~~~~~~ +../../greeter/Login.c:2030:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 2030 | {"delete-previous-character", DeleteBackwardChar}, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../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.c:2031:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 2031 | {"delete-character", DeleteForwardChar}, + | ^~~~~~~~~~~~~~~~~~ ../../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/Login.c:2032:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 2032 | {"move-backward-character", MoveBackwardChar}, + | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../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/Login.c:2033:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 2033 | {"move-forward-character", MoveForwardChar}, + | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../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: At top level: -../../greeter/Login.c:2030:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 2030 | {"delete-previous-character", DeleteBackwardChar}, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../greeter/Login.c:2031:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 2031 | {"delete-character", DeleteForwardChar}, - | ^~~~~~~~~~~~~~~~~~ -../../greeter/Login.c:2032:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 2032 | {"move-backward-character", MoveBackwardChar}, - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -../../greeter/Login.c:2033:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 2033 | {"move-forward-character", MoveForwardChar}, - | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../greeter/Login.c:2034:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2034 | {"move-to-begining", MoveToBegining}, | ^~~~~~~~~~~~~~~~~~ +../../greeter/greet.c:483:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 483 | XtSetArg (arglist[1], XtNallowRootLogin, + | ^~~~~~~~ ../../greeter/Login.c:2035:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2035 | {"move-to-end", MoveToEnd}, | ^~~~~~~~~~~~~ @@ -1733,13 +1768,13 @@ ../../greeter/Login.c:2044:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2044 | {"set-session-argument", SetSessionArgument}, | ^~~~~~~~~~~~~~~~~~~~~~ +mv -f .deps/verify.Tpo .deps/verify.Plo ../../greeter/Login.c:2045:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2045 | {"allow-all-access", AllowAccess}, | ^~~~~~~~~~~~~~~~~~ ../../greeter/Login.c:2051:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2051 | /* class_name */ "Login", | ^~~~~~~ -mv -f .deps/verify.Tpo .deps/verify.Plo mv -f .deps/greet.Tpo .deps/greet.Plo ../../greeter/Login.c: In function 'SetPrompt': ../../greeter/Login.c:844:5: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] @@ -1749,7 +1784,7 @@ 836 | messageLen = strlen(message); | ^~~~~~~~~~~~~~~ mv -f .deps/Login.Tpo .deps/Login.Plo -/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/uuid -I/usr/include/uuid -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 -Wformat -Werror=format-security -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/uuid -I/usr/include/uuid -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 -Wformat -Werror=format-security -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' @@ -1775,6 +1810,48 @@ 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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT genauth.o -MD -MP -MF .deps/genauth.Tpo -c -o genauth.o ../../xdm/genauth.c gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT mitauth.o -MD -MP -MF .deps/mitauth.Tpo -c -o mitauth.o ../../xdm/mitauth.c gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT netaddr.o -MD -MP -MF .deps/netaddr.Tpo -c -o netaddr.o ../../xdm/netaddr.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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT policy.o -MD -MP -MF .deps/policy.Tpo -c -o policy.o ../../xdm/policy.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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT protodpy.o -MD -MP -MF .deps/protodpy.Tpo -c -o protodpy.o ../../xdm/protodpy.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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT reset.o -MD -MP -MF .deps/reset.Tpo -c -o reset.o ../../xdm/reset.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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT resource.o -MD -MP -MF .deps/resource.Tpo -c -o resource.o ../../xdm/resource.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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT server.o -MD -MP -MF .deps/server.Tpo -c -o server.o ../../xdm/server.c +gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT session.o -MD -MP -MF .deps/session.Tpo -c -o session.o ../../xdm/session.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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT xdmcp.o -MD -MP -MF .deps/xdmcp.Tpo -c -o xdmcp.o ../../xdm/xdmcp.c +../../xdm/dm.c: In function 'WaitForChild': +../../xdm/dm.c:551:36: warning: passing argument 2 of 'SendFailed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 551 | SendFailed (d, "Cannot open display"); + | ^~~~~~~~~~~~~~~~~~~~~ +In file included from ../../xdm/dm.c:36: +../../include/dm.h:481:50: note: expected 'char *' but argument is of type 'const char *' + 481 | extern void SendFailed (struct display *d, char *reason); + | ~~~~~~^~~~~~ +../../xdm/dm.c:577:32: warning: format '%i' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=] + 577 | Debug("time %i %i try %i of %i%s\n", now, d->lastReserv, + | ~^ ~~~ + | | | + | int time_t {aka long int} + | %li +../../xdm/dm.c:577:35: warning: format '%i' expects argument of type 'int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=] + 577 | Debug("time %i %i try %i of %i%s\n", now, d->lastReserv, + | ~^ ~~~~~~~~~~~~~ + | | | + | int time_t {aka long int} + | %li +../../xdm/dm.c: In function 'main': +../../xdm/dm.c:183:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 183 | system(cmdbuf); + | ^~~~~~~~~~~~~~ +In file included from ../../xdm/dm.c:38: +../../xdm/dm.c: In function 'ReopenLogFileNotify': +../../include/dm_error.h:37:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 37 | #define WRITES(fd, buf) write(fd, buf, strlen(buf)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../xdm/dm.c:275:5: note: in expansion of macro 'WRITES' + 275 | WRITES(STDERR_FILENO, "ReopenLogFileNotify handling SIGUSR2\n"); + | ^~~~~~ ../../xdm/auth.c:128:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | { (unsigned short) 18, "MIT-MAGIC-COOKIE-1", | ^~~~~~~~~~~~~~~~~~~~ @@ -1785,6 +1862,13 @@ ../../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/dm.c: In function 'SetWindowPath': +../../xdm/dm.c:770:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 770 | asprintf(&newwindowpath, "%lu", num); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../xdm/dm.c:772:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 772 | asprintf(&newwindowpath, "%s:%lu", windowpath, num); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../xdm/auth.c: 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"); @@ -1806,20 +1890,12 @@ 466 | extern char **setEnv (char **e, char *name, char *value); | ~~~~~~^~~~ ../../xdm/auth.c: In function 'RemoveUserAuthorization': -../../xdm/choose.c: In function 'AddChooserHost': ../../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/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: 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); @@ -1828,85 +1904,16 @@ ../../xdm/auth.c:1476:13: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 1476 | chown (envname, verify->uid, verify->gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../xdm/choose.c: In function 'RunChooser': -../../xdm/choose.c:512:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] - 512 | RunChooser (struct display *d) - | ^~~~~~~~~~ ../../xdm/error.c: In function 'LogVWrite': ../../xdm/error.c:57:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | write(STDERR_FILENO, buf, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../xdm/error.c: In function 'LogPanic': -../../xdm/access.c: In function 'patternMatch': -mv -f .deps/daemon.Tpo .deps/daemon.Po -../../xdm/error.c:108:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] - 108 | LogPanic (const char * fmt, ...) - | ^~~~~~~~ -../../xdm/access.c:675:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 675 | string = ""; - | ^ -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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT policy.o -MD -MP -MF .deps/policy.Tpo -c -o policy.o ../../xdm/policy.c -../../xdm/dm.c: In function 'WaitForChild': -../../xdm/dm.c:551:36: warning: passing argument 2 of 'SendFailed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 551 | SendFailed (d, "Cannot open display"); - | ^~~~~~~~~~~~~~~~~~~~~ -In file included from ../../xdm/dm.c:36: -../../include/dm.h:481:50: note: expected 'char *' but argument is of type 'const char *' - 481 | extern void SendFailed (struct display *d, char *reason); - | ~~~~~~^~~~~~ -../../xdm/dm.c:577:32: warning: format '%i' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=] - 577 | Debug("time %i %i try %i of %i%s\n", now, d->lastReserv, - | ~^ ~~~ - | | | - | int time_t {aka long int} - | %li -../../xdm/dm.c:577:35: warning: format '%i' expects argument of type 'int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=] - 577 | Debug("time %i %i try %i of %i%s\n", now, d->lastReserv, - | ~^ ~~~~~~~~~~~~~ - | | | - | int time_t {aka long int} - | %li ../../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/dm.c: In function 'main': -../../xdm/dm.c:183:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 183 | system(cmdbuf); - | ^~~~~~~~~~~~~~ -In file included from ../../xdm/dm.c:38: -../../xdm/dm.c: In function 'ReopenLogFileNotify': -../../include/dm_error.h:37:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 37 | #define WRITES(fd, buf) write(fd, buf, strlen(buf)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../xdm/dm.c:275:5: note: in expansion of macro 'WRITES' - 275 | WRITES(STDERR_FILENO, "ReopenLogFileNotify handling SIGUSR2\n"); - | ^~~~~~ -../../xdm/dm.c: In function 'SetWindowPath': -../../xdm/dm.c:770:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 770 | asprintf(&newwindowpath, "%lu", num); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../xdm/dm.c:772:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 772 | asprintf(&newwindowpath, "%s:%lu", windowpath, num); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mv -f .deps/error.Tpo .deps/error.Po -mv -f .deps/genauth.Tpo .deps/genauth.Po -gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT protodpy.o -MD -MP -MF .deps/protodpy.Tpo -c -o protodpy.o ../../xdm/protodpy.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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT reset.o -MD -MP -MF .deps/reset.Tpo -c -o reset.o ../../xdm/reset.c -mv -f .deps/mitauth.Tpo .deps/mitauth.Po -gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT resource.o -MD -MP -MF .deps/resource.Tpo -c -o resource.o ../../xdm/resource.c -mv -f .deps/choose.Tpo .deps/choose.Po -gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT server.o -MD -MP -MF .deps/server.Tpo -c -o server.o ../../xdm/server.c -mv -f .deps/netaddr.Tpo .deps/netaddr.Po -mv -f .deps/policy.Tpo .deps/policy.Po -gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT session.o -MD -MP -MF .deps/session.Tpo -c -o session.o ../../xdm/session.c -mv -f .deps/dpylist.Tpo .deps/dpylist.Po -gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT streams.o -MD -MP -MF .deps/streams.Tpo -c -o streams.o ../../xdm/streams.c -mv -f .deps/reset.Tpo .deps/reset.Po -gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o ../../xdm/util.c ../../xdm/resource.c:153:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | { "servers", "Servers", DM_STRING, &servers, | ^~~~~~~~~ @@ -1996,12 +2003,16 @@ ../../xdm/resource.c:169:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 169 | { "autoRescan", "AutoRescan", DM_BOOL, (char **) &autoRescan, | ^~~~~~~~~~~~ +../../xdm/error.c: In function 'LogPanic': ../../xdm/resource.c:170:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 170 | "true"} , | ^~~~~~ ../../xdm/resource.c:171:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 171 | { "removeDomainname","RemoveDomainname",DM_BOOL,(char **) &removeDomainname, | ^~~~~~~~~~~~~~~~~~ +../../xdm/error.c:108:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] + 108 | LogPanic (const char * fmt, ...) + | ^~~~~~~~ ../../xdm/resource.c:171:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 171 | { "removeDomainname","RemoveDomainname",DM_BOOL,(char **) &removeDomainname, | ^~~~~~~~~~~~~~~~~~ @@ -2107,15 +2118,23 @@ ../../xdm/resource.c:217:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 217 | { "openDelay", "OpenDelay", DM_INT, boffset(openDelay), | ^~~~~~~~~~~ +../../xdm/choose.c: In function 'AddChooserHost': ../../xdm/resource.c:218:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 218 | "15" }, | ^~~~ ../../xdm/resource.c:219:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 219 | { "openRepeat", "OpenRepeat", DM_INT, boffset(openRepeat), | ^~~~~~~~~~~~ +../../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"); + | ^~~~~~~~~~~ ../../xdm/resource.c:219:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 219 | { "openRepeat", "OpenRepeat", DM_INT, boffset(openRepeat), | ^~~~~~~~~~~~ +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/resource.c:220:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 220 | "5" }, | ^~~ @@ -2152,6 +2171,7 @@ ../../xdm/resource.c:227:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 227 | { "pingInterval","PingInterval",DM_INT, boffset(pingInterval), | ^~~~~~~~~~~~~~ +../../xdm/access.c: In function 'patternMatch': ../../xdm/resource.c:228:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 228 | "5" }, | ^~~ @@ -2161,6 +2181,13 @@ ../../xdm/resource.c:229:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 229 | { "pingTimeout","PingTimeout", DM_INT, boffset(pingTimeout), | ^~~~~~~~~~~~~ +../../xdm/server.c: In function '_SysErrorMsg': +../../xdm/access.c:675:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 675 | string = ""; + | ^ +../../xdm/server.c:68:19: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 68 | return (s ? s : "unknown error"); + | ~~~~~~~^~~~~~~~~~~~~~~~~~ ../../xdm/resource.c:230:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 230 | "5" }, | ^~~ @@ -2197,6 +2224,10 @@ ../../xdm/resource.c:237:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 237 | { "resetSignal","Signal", DM_INT, boffset(resetSignal), | ^~~~~~~~ +../../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:238:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 238 | "1" }, /* SIGHUP */ | ^~~ @@ -2209,12 +2240,22 @@ ../../xdm/resource.c:240:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 240 | "15" }, /* SIGTERM */ | ^~~~ +../../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:241:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 241 | { "resetForAuth","ResetForAuth",DM_BOOL, boffset(resetForAuth), | ^~~~~~~~~~~~~~ +../../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:241:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 241 | { "resetForAuth","ResetForAuth",DM_BOOL, boffset(resetForAuth), | ^~~~~~~~~~~~~~ +../../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:242:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 242 | "false" }, | ^~~~~~~ @@ -2254,12 +2295,18 @@ ../../xdm/resource.c:249:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | { "authFile", "AuthFile", DM_STRING, boffset(clientAuthFile), | ^~~~~~~~~~ +../../xdm/util.c: In function 'makeEnv': ../../xdm/resource.c:250:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 250 | "" }, | ^~ +mv -f .deps/daemon.Tpo .deps/daemon.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/resource.c:259:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 259 | { "resources", "Resources", DM_STRING, boffset(resources), | ^~~~~~~~~~~ +mv -f .deps/streams.Tpo .deps/streams.Po ../../xdm/resource.c:259:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 259 | { "resources", "Resources", DM_STRING, boffset(resources), | ^~~~~~~~~~~ @@ -2278,15 +2325,22 @@ ../../xdm/resource.c:262:33: note: in expansion of macro 'XRDB_PROGRAM' 262 | XRDB_PROGRAM }, | ^~~~~~~~~~~~ +../../xdm/session.c: In function 'StartClient': ../../xdm/resource.c:263:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 263 | { "setup", "Setup", DM_STRING, boffset(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:567:26: warning: declaration of 'verify' shadows a global declaration [-Wshadow] + 567 | struct verify_info *verify, + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../../xdm/resource.c:264:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 264 | "" }, | ^~ +../../xdm/session.c:220:33: note: shadowed declaration is here + 220 | static struct verify_info verify; + | ^~~~~~ ../../xdm/resource.c:265:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | { "startup", "Startup", DM_STRING, boffset(startup), | ^~~~~~~~~ @@ -2320,18 +2374,34 @@ ../../xdm/resource.c:271:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 271 | { "userPath", "Path", DM_STRING, boffset(userPath), | ^~~~~~~~~~ +../../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:271:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 271 | { "userPath", "Path", DM_STRING, boffset(userPath), | ^~~~~~ +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/util.c: In function 'parseArgs': ../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" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../xdm/resource.c:272:33: note: in expansion of macro 'DEF_USER_PATH' 272 | DEF_USER_PATH }, | ^~~~~~~~~~~~~ +../../xdm/util.c:236:41: warning: pointer 'argv' may be used after 'realloc' [-Wuse-after-free] + 236 | free (argv); + | ^~~~~~~~~~~ ../../xdm/resource.c:273:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 273 | { "systemPath", "Path", DM_STRING, boffset(systemPath), | ^~~~~~~~~~~~ +../../xdm/util.c:231:43: note: call to 'realloc' here + 231 | newargv = realloc ((char *) argv, + | ^~~~~~~~~~~~~~~~~~~~~~~ + 232 | (unsigned) ((i + 2) * sizeof (char *))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../xdm/resource.c:273:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 273 | { "systemPath", "Path", DM_STRING, boffset(systemPath), | ^~~~~~ @@ -2344,6 +2414,12 @@ ../../xdm/resource.c:275:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 275 | { "systemShell","Shell", DM_STRING, boffset(systemShell), | ^~~~~~~~~~~~~ +../../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:275:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 275 | { "systemShell","Shell", DM_STRING, boffset(systemShell), | ^~~~~~~ @@ -2356,9 +2432,15 @@ ../../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:835:56: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 835 | getEnv (verify->userEnviron, "USER"), home, errno); + | ^~~~~~ ../../xdm/resource.c:277:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 277 | { "failsafeClient","FailsafeClient", DM_STRING, boffset(failsafeClient), | ^~~~~~~~~~~~~~~~ +../../include/dm.h:468:38: note: expected 'char *' but argument is of type 'const char *' + 468 | extern char *getEnv (char **e, char *name); + | ~~~~~~^~~~ ../config.h:14:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14 | #define DEF_FAILSAFE_CLIENT "/usr/bin/xterm" | ^~~~~~~~~~~~~~~~ @@ -2371,6 +2453,12 @@ ../../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: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:120:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | # define DEF_USER_AUTH_DIR "/tmp" | ^~~~~~ @@ -2383,12 +2471,18 @@ ../../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:837:75: warning: passing argument 3 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 837 | verify->userEnviron = setEnv(verify->userEnviron, "HOME", "/"); + | ^~~ ../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 }, | ^~~~~~~~~~~ +../../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:364:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 364 | {"-server", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~~ @@ -2416,6 +2510,7 @@ ../../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: In function 'execute': ../../xdm/resource.c:375:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 375 | {"-server", ".servers", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~ @@ -2425,6 +2520,9 @@ ../../xdm/resource.c:376:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 376 | {"-udpPort", ".requestPort", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~ +../../xdm/session.c:980:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 980 | p = "/bin/sh"; + | ^ ../../xdm/resource.c:376:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 376 | {"-udpPort", ".requestPort", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~~~~~ @@ -2437,6 +2535,7 @@ ../../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: In function 'systemEnv': ../../xdm/resource.c:378:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 378 | {"-resources", "*resources", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~~~ @@ -2446,6 +2545,12 @@ ../../xdm/resource.c:379:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 379 | {"-session", "*session", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~ +../../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:380:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 380 | {"-debug", "*debugLevel", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~ @@ -2455,6 +2560,12 @@ ../../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: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/resource.c:382:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 382 | {"-daemon", ".daemonMode", XrmoptionNoArg, "true" }, | ^~~~~~~~~ @@ -2464,29 +2575,59 @@ ../../xdm/resource.c:382:65: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 382 | {"-daemon", ".daemonMode", XrmoptionNoArg, "true" }, | ^~~~~~ +../../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); + | ^~~~~~ ../../xdm/resource.c:383:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 383 | {"-nodaemon", ".daemonMode", XrmoptionNoArg, "false" } | ^~~~~~~~~~~ -mv -f .deps/file.Tpo .deps/file.Po +../../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:383:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 383 | {"-nodaemon", ".daemonMode", XrmoptionNoArg, "false" } | ^~~~~~~~~~~~~ +../../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/resource.c:383:65: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 383 | {"-nodaemon", ".daemonMode", XrmoptionNoArg, "false" } | ^~~~~~~ +../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' + 466 | extern char **setEnv (char **e, char *name, char *value); + | ~~~~~~^~~~ +../../xdm/session.c:1031:24: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1031 | env = setEnv (env, "PATH", d->systemPath); + | ^~~~~~ +../../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/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../xdm/session.c:1032:24: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1032 | env = setEnv (env, "SHELL", d->systemShell); + | ^~~~~~~ +../../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:292:14: note: expected 'char *' but argument is of type 'const char *' 292 | char *name, | ~~~~~~~~~^~~~ ../../xdm/resource.c:419:47: warning: passing argument 2 of 'GetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 419 | GetResource ("DisplayManager.configFile", "DisplayManager.ConfigFile", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../xdm/session.c:1034:32: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1034 | env = setEnv (env, "XAUTHORITY", d->authFile); + | ^~~~~~~~~~~~ ../../xdm/resource.c:293:14: note: expected 'char *' but argument is of type 'const char *' 293 | char *class, | ~~~~~~~~~^~~~~ +../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' + 466 | extern char **setEnv (char **e, char *name, char *value); + | ~~~~~~^~~~ +../../xdm/xdmcp.c: In function 'manage': ../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" | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2496,152 +2637,12 @@ ../../xdm/resource.c:296:14: note: expected 'char *' but argument is of type 'const char *' 296 | char *default_value) | ~~~~~~~~~^~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../xdm -I.. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fpermissive -MT xdmcp.o -MD -MP -MF .deps/xdmcp.Tpo -c -o xdmcp.o ../../xdm/xdmcp.c -../../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/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/session.c:181:9: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] - 181 | LogError, - | ^~~~~~~~ -../../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/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': -../../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/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/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: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: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/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); - | ~~~~~~^~~~~ -mv -f .deps/protodpy.Tpo .deps/protodpy.Po -../../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"; - | ^ -../../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/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); - | ^~~~~~~~~ -../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' - 466 | extern char **setEnv (char **e, char *name, char *value); - | ~~~~~~^~~~ -../../xdm/session.c:1031:24: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1031 | env = setEnv (env, "PATH", d->systemPath); - | ^~~~~~ -../../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' - 466 | extern char **setEnv (char **e, char *name, char *value); - | ~~~~~~^~~~ -../../xdm/session.c:1032:24: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1032 | env = setEnv (env, "SHELL", d->systemShell); - | ^~~~~~~ -../../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:1034:32: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1034 | env = setEnv (env, "XAUTHORITY", d->authFile); - | ^~~~~~~~~~~~ -../../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:1036:32: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1036 | env = setEnv (env, "WINDOWPATH", d->windowPath); | ^~~~~~~~~~~~ ../../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: In function 'StartClient': -../../xdm/session.c:836:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] - 836 | chdir ("/"); - | ^~~~~~~~~~~ -mv -f .deps/streams.Tpo .deps/streams.Po -../../xdm/session.c: In function 'SessionExit': -../../xdm/session.c:508:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] - 508 | SessionExit (struct display *d, int status, int removeAuth) - | ^~~~~~~~~~~ -../../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/util.c: In function 'makeEnv': -../../xdm/util.c:104:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 104 | asprintf(&result, "%s=%s", name, value); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../xdm/util.c: In function 'parseArgs': -../../xdm/util.c:236:41: warning: pointer 'argv' may be used after 'realloc' [-Wuse-after-free] - 236 | free (argv); - | ^~~~~~~~~~~ -../../xdm/util.c:231:43: note: call to 'realloc' here - 231 | newargv = realloc ((char *) argv, - | ^~~~~~~~~~~~~~~~~~~~~~~ - 232 | (unsigned) ((i + 2) * sizeof (char *))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mv -f .deps/auth.Tpo .deps/auth.Po -mv -f .deps/access.Tpo .deps/access.Po -mv -f .deps/resource.Tpo .deps/resource.Po -mv -f .deps/server.Tpo .deps/server.Po -../../xdm/xdmcp.c: In function 'manage': ../../xdm/xdmcp.c:1208:45: warning: passing argument 3 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1208 | send_failed (from, fromlen, "(no name)", sessionID, | ^~~~~~~~~~~ @@ -2654,24 +2655,34 @@ ../../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); | ~~~~~~^~~~~~ +mv -f .deps/genauth.Tpo .deps/genauth.Po +../../xdm/session.c: In function 'StartClient': ../../xdm/xdmcp.c:1222:19: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1222 | "out of memory", fd); | ^~~~~~~~~~~~~~~ ../../xdm/xdmcp.c:77:98: note: expected 'char *' but argument is of type 'const char *' 77 | static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd); | ~~~~~~^~~~~~ +../../xdm/session.c:836:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] + 836 | chdir ("/"); + | ^~~~~~~~~~~ ../../xdm/xdmcp.c:1239:19: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1239 | "out of memory", fd); | ^~~~~~~~~~~~~~~ ../../xdm/xdmcp.c:77:98: note: expected 'char *' but argument is of type 'const char *' 77 | static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd); | ~~~~~~^~~~~~ +mv -f .deps/mitauth.Tpo .deps/mitauth.Po ../../xdm/xdmcp.c:1248:19: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1248 | "out of memory", fd); | ^~~~~~~~~~~~~~~ ../../xdm/xdmcp.c:77:98: note: expected 'char *' but argument is of type 'const char *' 77 | static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd); | ~~~~~~^~~~~~ +../../xdm/choose.c: In function 'RunChooser': +../../xdm/choose.c:512:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] + 512 | RunChooser (struct display *d) + | ^~~~~~~~~~ ../../xdm/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); | ^~~~~~~~~~~~~~~ @@ -2682,12 +2693,36 @@ ../../xdm/xdmcp.c:1419:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1419 | char *local_name = ""; | ^~ +../../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/error.Tpo .deps/error.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/reset.Tpo .deps/reset.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 +mv -f .deps/server.Tpo .deps/server.Po +mv -f .deps/dpylist.Tpo .deps/dpylist.Po +mv -f .deps/resource.Tpo .deps/resource.Po +mv -f .deps/file.Tpo .deps/file.Po mv -f .deps/util.Tpo .deps/util.Po -mv -f .deps/dm.Tpo .deps/dm.Po +mv -f .deps/choose.Tpo .deps/choose.Po mv -f .deps/socket.Tpo .deps/socket.Po +mv -f .deps/dm.Tpo .deps/dm.Po mv -f .deps/session.Tpo .deps/session.Po +mv -f .deps/access.Tpo .deps/access.Po +mv -f .deps/auth.Tpo .deps/auth.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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -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 +/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -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 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -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 @@ -2704,7 +2739,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 -I/usr/include/uuid -I/usr/include/uuid -I/usr/include/uuid -DBINDIR="\"/usr/bin\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -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 -I/usr/include/uuid -I/usr/include/uuid -I/usr/include/uuid -DBINDIR="\"/usr/bin\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -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 -I/usr/include/uuid -I/usr/include/uuid -I/usr/include/uuid -DBINDIR=\"/usr/bin\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdm-1.1.11=. -fstack-protector-strong -Wformat -Werror=format-security -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' @@ -2714,7 +2749,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 @@ -2735,7 +2770,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' @@ -2747,12 +2782,12 @@ make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/build/reproducible-path/xdm-1.1.11/debian/tmp/usr/share/X11/xdm/pixmaps' /usr/bin/mkdir -p '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' - /usr/bin/install -c -m 644 ../../config/xorg-bw.xpm ../../config/xorg.xpm '/build/reproducible-path/xdm-1.1.11/debian/tmp/usr/share/X11/xdm/pixmaps' - /usr/bin/install -c -m 644 ../../config/Xaccess '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' /usr/bin/mkdir -p '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' - /usr/bin/install -c ../../config/GiveConsole ../../config/TakeConsole ../../config/Xsetup_0 ../../config/Xwilling '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' /usr/bin/mkdir -p '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' /usr/bin/mkdir -p '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' + /usr/bin/install -c -m 644 ../../config/xorg-bw.xpm ../../config/xorg.xpm '/build/reproducible-path/xdm-1.1.11/debian/tmp/usr/share/X11/xdm/pixmaps' + /usr/bin/install -c -m 644 ../../config/Xaccess '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' + /usr/bin/install -c ../../config/GiveConsole ../../config/TakeConsole ../../config/Xsetup_0 ../../config/Xwilling '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' /usr/bin/install -c -m 644 xdm-config Xresources Xservers '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' /usr/bin/install -c Xreset Xsession Xstartup '/build/reproducible-path/xdm-1.1.11/debian/tmp/etc/X11/xdm' make[4]: Leaving directory '/build/reproducible-path/xdm-1.1.11/build/config' @@ -2763,7 +2798,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' @@ -2789,7 +2824,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' @@ -2874,8 +2909,8 @@ dh_gencontrol: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_md5sums dh_builddeb -dpkg-deb: building package 'xdm' in '../xdm_1.1.11-6.1_i386.deb'. dpkg-deb: building package 'xdm-dbgsym' in '../xdm-dbgsym_1.1.11-6.1_i386.deb'. +dpkg-deb: building package 'xdm' in '../xdm_1.1.11-6.1_i386.deb'. dpkg-genbuildinfo --build=binary -O../xdm_1.1.11-6.1_i386.buildinfo dpkg-genchanges --build=binary -O../xdm_1.1.11-6.1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2883,12 +2918,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/61867/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/61867/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/45860 and its subdirectories -I: Current time: Thu Dec 12 19:44:11 -12 2024 -I: pbuilder-time-stamp: 1734075851 +I: removing directory /srv/workspace/pbuilder/61867 and its subdirectories +I: Current time: Fri Jan 16 04:08:00 +14 2026 +I: pbuilder-time-stamp: 1768486080