Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xorg-x11-xdm.spec'], chrootPath='/var/lib/mock/f33-build-137554-42029/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xorg-x11-xdm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580428800 Wrote: /builddir/build/SRPMS/xorg-x11-xdm-1.1.11-22.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xorg-x11-xdm.spec'], chrootPath='/var/lib/mock/f33-build-137554-42029/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xorg-x11-xdm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580428800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.p9aiS6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xdm-1.1.11 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/xdm-1.1.11.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xdm-1.1.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #11 (xdm-1.0.5-sessreg-utmp-fix-bug177890.patch):' Patch #11 (xdm-1.0.5-sessreg-utmp-fix-bug177890.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .redhat-sessreg-utmp-fix-bug177890 --fuzz=0 patching file config/GiveConsole Hunk #1 succeeded at 7 (offset -1 lines). Patch #15 (xdm-1.1.10-add-audit-event.patch): + echo 'Patch #15 (xdm-1.1.10-add-audit-event.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .add-audit-events --fuzz=0 patching file config.h.in patching file configure.ac patching file greeter/greet.c Patch #16 (xdm-service.patch): + echo 'Patch #16 (xdm-service.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .systemd --fuzz=0 patching file xdm.service.in Patch #17 (xdm-1.1.11-include_crypt_h.patch): + echo 'Patch #17 (xdm-1.1.11-include_crypt_h.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .crypt_h --fuzz=0 patching file xdm/session.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GTmG75 + umask 022 + cd /builddir/build/BUILD + cd xdm-1.1.11 + autoreconf -v --install autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:27: installing './compile' autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --with-libaudit --with-xdmlibdir=/usr/libexec --with-xdmconfigdir=/etc/X11/xdm --with-xdmscriptdir=/etc/X11/xdm --with-pixmapdir=/usr/share/xdm/pixmaps --enable-xdmshell checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/xdm-1.1.11/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/xdm-1.1.11/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gcc option to accept ISO C99... none needed checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking if gcc supports -Werror=unknown-warning-option... no checking if gcc supports -Werror=unused-command-line-argument... no checking if gcc supports -Wall... yes checking if gcc supports -Wpointer-arith... yes checking if gcc supports -Wmissing-declarations... yes checking if gcc supports -Wformat=2... yes checking if gcc supports -Wstrict-prototypes... yes checking if gcc supports -Wmissing-prototypes... yes checking if gcc supports -Wnested-externs... yes checking if gcc supports -Wbad-function-cast... yes checking if gcc supports -Wold-style-definition... yes checking if gcc supports -Wdeclaration-after-statement... yes checking if gcc supports -Wunused... yes checking if gcc supports -Wuninitialized... yes checking if gcc supports -Wshadow... yes checking if gcc supports -Wmissing-noreturn... yes checking if gcc supports -Wmissing-format-attribute... yes checking if gcc supports -Wredundant-decls... yes checking if gcc supports -Wlogical-op... yes checking if gcc supports -Werror=implicit... yes checking if gcc supports -Werror=nonnull... yes checking if gcc supports -Werror=init-self... yes checking if gcc supports -Werror=main... yes checking if gcc supports -Werror=missing-braces... yes checking if gcc supports -Werror=sequence-point... yes checking if gcc supports -Werror=return-type... yes checking if gcc supports -Werror=trigraphs... yes checking if gcc supports -Werror=array-bounds... yes checking if gcc supports -Werror=write-strings... yes checking if gcc supports -Werror=address... yes checking if gcc supports -Werror=int-to-pointer-cast... yes checking if gcc supports -Werror=pointer-to-int-cast... yes checking if gcc supports -pedantic... yes checking if gcc supports -Werror... yes checking if gcc supports -Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking for cpp... /usr/bin/cpp checking if /usr/bin/cpp requires -undef... yes checking if /usr/bin/cpp requires -traditional... yes checking for mktemp... /usr/bin/mktemp checking for library containing getifaddrs... none required checking for library containing getspnam... none required checking for library containing setproctitle... no checking for library containing setusercontext... no checking for library containing arc4random... no checking for library containing crypt... -lcrypt checking for library containing dlopen... -ldl checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking whether key_setnet is declared... no checking return type of signal handlers... void checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for daemon... yes checking for sigaction... yes checking for openlog... yes checking for asprintf... yes checking for setproctitle... no checking for setusercontext... no checking for mkstemp... yes checking for getifaddrs... yes checking for getspnam... yes checking for arc4random... no checking if Xtrans should support UNIX socket connections... yes checking if Xtrans should support TCP socket connections... yes checking for library containing socket... none required checking for library containing gethostbyname... none required checking for getaddrinfo... yes checking if IPv6 support should be built... yes checking for struct sockaddr_in.sin_len... no checking for socklen_t... yes checking for struct msghdr.msg_control... yes checking if Xtrans should support os-specific local connections... no checking for strcasecmp... yes checking for strlcpy... no checking for authdes_seccreate... no checking for authdes_create... no checking if Secure RPC authentication ("SUN-DES-1") should be supported... no checking for library containing pam_open_session... -lpam checking for pam_open_session... yes checking for audit_log_user_message in -laudit... yes checking for /dev/urandom... yes checking for /var/adm/utmpx... no checking for /var/run/utmp... no checking for /var/log/utmp... no checking for /var/adm/utmp... no checking for /usr/adm/utmp... no checking for /etc/utmp... no checking for path to file listing current logins for sessreg... /var/run/utmp checking for /var/adm/wtmpx... no checking for /var/log/wtmp... yes checking for path to file listing login history for sessreg... /var/log/wtmp checking for XDM... yes checking for XINERAMA... yes checking for XFT... yes checking for XPM... yes checking for XDM_TOOLKIT... yes checking for DMCP... yes checking for XLIB... yes checking for AUTH... yes checking for XDMGREET... yes checking for XdmcpWrap in -lXdmcp... yes checking for XT... yes checking for APPDEFS... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating app-defaults/Makefile config.status: creating chooser/Makefile config.status: creating config/Makefile config.status: creating greeter/Makefile config.status: creating include/Makefile config.status: creating man/Makefile config.status: creating xdm/Makefile config.status: creating xdmshell/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xdm-1.1.11' Making all in app-defaults make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/app-defaults' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/app-defaults' Making all in chooser make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/chooser' CC chooser.o chooser.c:161:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 161 | {"xdmAddress", "XdmAddress", XtRARRAY8, sizeof (ARRAY8Ptr), | ^~~~~~~~~~~~ chooser.c:161:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 161 | {"xdmAddress", "XdmAddress", XtRARRAY8, sizeof (ARRAY8Ptr), | ^~~~~~~~~~~~ chooser.c:158:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | #define XtRARRAY8 "ARRAY8" | ^~~~~~~~ chooser.c:161:35: note: in expansion of macro 'XtRARRAY8' 161 | {"xdmAddress", "XdmAddress", XtRARRAY8, sizeof (ARRAY8Ptr), | ^~~~~~~~~ chooser.c:163:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 163 | {"clientAddress", "ClientAddress", XtRARRAY8, sizeof (ARRAY8Ptr), | ^~~~~~~~~~~~~~~ chooser.c:163:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 163 | {"clientAddress", "ClientAddress", XtRARRAY8, sizeof (ARRAY8Ptr), | ^~~~~~~~~~~~~~~ chooser.c:158:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | #define XtRARRAY8 "ARRAY8" | ^~~~~~~~ chooser.c:163:41: note: in expansion of macro 'XtRARRAY8' 163 | {"clientAddress", "ClientAddress", XtRARRAY8, sizeof (ARRAY8Ptr), | ^~~~~~~~~ chooser.c:165:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | {"connectionType", "ConnectionType", XtRInt, sizeof (int), | ^~~~~~~~~~~~~~~~ chooser.c:165:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | {"connectionType", "ConnectionType", XtRInt, sizeof (int), | ^~~~~~~~~~~~~~~~ chooser.c:171:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 171 | { "-xdmaddress", "*xdmAddress", XrmoptionSepArg, NULL }, | ^~~~~~~~~~~~~ chooser.c:171:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 171 | { "-xdmaddress", "*xdmAddress", XrmoptionSepArg, NULL }, | ^~~~~~~~~~~~~ chooser.c:172:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 172 | { "-clientaddress", "*clientAddress", XrmoptionSepArg, NULL }, | ^~~~~~~~~~~~~~~~ chooser.c:172:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 172 | { "-clientaddress", "*clientAddress", XrmoptionSepArg, NULL }, | ^~~~~~~~~~~~~~~~ chooser.c:173:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 173 | { "-connectionType","*connectionType", XrmoptionSepArg, NULL }, | ^~~~~~~~~~~~~~~~~ chooser.c:173:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 173 | { "-connectionType","*connectionType", XrmoptionSepArg, NULL }, | ^~~~~~~~~~~~~~~~~ chooser.c: In function 'AddHostname': chooser.c:321:79: warning: declaration of 'willing' shadows a global declaration [-Wshadow] 321 | AddHostname (ARRAY8Ptr hostname, ARRAY8Ptr status, struct sockaddr *addr, int willing) | ~~~~^~~~~~~ In file included from chooser.c:63: ../include/dm.h:330:14: note: shadowed declaration is here 330 | extern char *willing; | ^~~~~~~ chooser.c:421:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 421 | new->fullname = "Unknown"; | ^ chooser.c: In function 'Choose': chooser.c:887:14: warning: declaration of 'buffer' shadows a global declaration [-Wshadow] 887 | XdmcpBuffer buffer; | ^~~~~~ chooser.c:207:20: note: shadowed declaration is here 207 | static XdmcpBuffer buffer; | ^~~~~~ chooser.c: At top level: chooser.c:1257:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1257 | { "Accept", DoAccept }, | ^~~~~~~~ chooser.c:1258:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1258 | { "Cancel", DoCancel }, | ^~~~~~~~ chooser.c:1259:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1259 | { "CheckWilling", DoCheckWilling }, | ^~~~~~~~~~~~~~ chooser.c:1260:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1260 | { "Ping", DoPing }, | ^~~~~~ chooser.c:1261:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1261 | { "KeySwitch", Switch_Key }, | ^~~~~~~~~~~ chooser.c:1262:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1262 | { "BtnSwitch", Switch_Btn }, | ^~~~~~~~~~~ chooser.c:1263:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1263 | { "Store", Storeold }, | ^~~~~~~ chooser.c:1264:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1264 | { "Setold", Setold }, | ^~~~~~~~ chooser.c: In function 'Choose': chooser.c:983:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 983 | write (fd, (char *)buffer.data, buffer.pointer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD chooser make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/chooser' Making all in config make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/config' GEN Xservers.ws GEN Xreset GEN xdm-config GEN Xresources GEN Xsession GEN Xstartup make all-am make[3]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/config' ln -s Xservers.ws Xservers make[3]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/config' make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/config' Making all in greeter make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/greeter' CC Login.lo CC greet.lo CC verify.lo verify.c:65:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | "TZ", /* SYSV and SVR4, but never hurts */ | ^~~~ verify.c: In function 'userEnv': 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); | ^~~~~~~~~ verify.c:101:24: note: expected 'char *' but argument is of type 'const char *' 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); | ^~~~~~ verify.c:102:24: note: expected 'char *' but argument is of type 'const char *' 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 */ | ^~~~~~~~~ verify.c:103:24: note: expected 'char *' but argument is of type 'const char *' 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 */ | ^~~~~~ verify.c:104:24: note: expected 'char *' but argument is of type 'const char *' 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); | ^~~~~~ verify.c:105:24: note: expected 'char *' but argument is of type 'const char *' 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); | ^~~~~~~ verify.c:106:24: note: expected 'char *' but argument is of type 'const char *' verify.c: In function 'Verify': verify.c:546:27: warning: passing argument 2 of '__xdm_parseArgs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 546 | argv = parseArgs (argv, "xsession"); | ^~~~~~~~~~ verify.c:546:27: note: expected 'char *' but argument is of type 'const char *' In file included from LoginP.h:59, from Login.c:73: Login.h:129:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | # define XtNlogoFileName "logoFileName" | ^~~~~~~~~~~~~~ Login.c:141:10: note: in expansion of macro 'XtNlogoFileName' 141 | {XtNlogoFileName, XtCLogoFileName, XtRString, sizeof(char*), | ^~~~~~~~~~~~~~~ Login.h:130:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | # define XtCLogoFileName "LogoFileName" | ^~~~~~~~~~~~~~ Login.c:141:27: note: in expansion of macro 'XtCLogoFileName' 141 | {XtNlogoFileName, XtCLogoFileName, XtRString, sizeof(char*), | ^~~~~~~~~~~~~~~ Login.h:127:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | # define XtNuseShape "useShape" | ^~~~~~~~~~ Login.c:143:10: note: in expansion of macro 'XtNuseShape' 143 | {XtNuseShape, XtCUseShape, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ Login.h:128:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | # define XtCUseShape "UseShape" | ^~~~~~~~~~ Login.c:143:23: note: in expansion of macro 'XtCUseShape' 143 | {XtNuseShape, XtCUseShape, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ Login.h:131:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | # define XtNlogoPadding "logoPadding" | ^~~~~~~~~~~~~ Login.c:145:10: note: in expansion of macro 'XtNlogoPadding' 145 | {XtNlogoPadding, XtCLogoPadding, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~ Login.h:132:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | # define XtCLogoPadding "LogoPadding" | ^~~~~~~~~~~~~ Login.c:145:26: note: in expansion of macro 'XtCLogoPadding' 145 | {XtNlogoPadding, XtCLogoPadding, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~ Login.h:112:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | # define XtNhiColor "hiColor" | ^~~~~~~~~ Login.c:151:6: note: in expansion of macro 'XtNhiColor' 151 | {XtNhiColor, XtCForeground, XtRPixel, sizeof (Pixel), | ^~~~~~~~~~ Login.c:152:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 152 | offset(hipixel), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ In file included from LoginP.h:59, from Login.c:73: Login.h:113:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 113 | # define XtNshdColor "shdColor" | ^~~~~~~~~~ Login.c:153:6: note: in expansion of macro 'XtNshdColor' 153 | {XtNshdColor, XtCForeground, XtRPixel, sizeof (Pixel), | ^~~~~~~~~~~ Login.c:154:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 154 | offset(shdpixel), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ In file included from LoginP.h:59, from Login.c:73: Login.h:114:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 114 | # define XtNframeWidth "frameWidth" | ^~~~~~~~~~~~ Login.c:155:6: note: in expansion of macro 'XtNframeWidth' 155 | {XtNframeWidth, XtCFrameWidth, XtRInt, sizeof(int), | ^~~~~~~~~~~~~ Login.h:115:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 115 | # define XtCFrameWidth "FrameWidth" | ^~~~~~~~~~~~ Login.c:155:21: note: in expansion of macro 'XtCFrameWidth' 155 | {XtNframeWidth, XtCFrameWidth, XtRInt, sizeof(int), | ^~~~~~~~~~~~~ Login.h:116:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | # define XtNinnerFramesWidth "innerFramesWidth" | ^~~~~~~~~~~~~~~~~~ Login.c:157:6: note: in expansion of macro 'XtNinnerFramesWidth' 157 | {XtNinnerFramesWidth, XtCFrameWidth, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~ Login.h:115:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 115 | # define XtCFrameWidth "FrameWidth" | ^~~~~~~~~~~~ Login.c:157:27: note: in expansion of macro 'XtCFrameWidth' 157 | {XtNinnerFramesWidth, XtCFrameWidth, XtRInt, sizeof(int), | ^~~~~~~~~~~~~ Login.h:117:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 117 | # define XtNsepWidth "sepWidth" | ^~~~~~~~~~ Login.c:159:6: note: in expansion of macro 'XtNsepWidth' 159 | {XtNsepWidth, XtCFrameWidth, XtRInt, sizeof(int), | ^~~~~~~~~~~ Login.h:115:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 115 | # define XtCFrameWidth "FrameWidth" | ^~~~~~~~~~~~ Login.c:159:19: note: in expansion of macro 'XtCFrameWidth' 159 | {XtNsepWidth, XtCFrameWidth, XtRInt, sizeof(int), | ^~~~~~~~~~~~~ Login.h:106:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | # define XtNface "face" | ^~~~~~ Login.c:173:6: note: in expansion of macro 'XtNface' 173 | {XtNface, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~ Login.h:107:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | # define XtCFace "Face" | ^~~~~~ Login.c:173:15: note: in expansion of macro 'XtCFace' 173 | {XtNface, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~ Login.h:108:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | # define XtRXftFont "XftFont" | ^~~~~~~~~ Login.c:173:24: note: in expansion of macro 'XtRXftFont' 173 | {XtNface, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~~~~ Login.c:174:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 174 | offset (textFace), XtRString, "Serif-18"}, | ^~~~~~~~~~ In file included from LoginP.h:59, from Login.c:73: Login.h:94:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | # define XtNpromptFace "promptFace" | ^~~~~~~~~~~~ Login.c:175:6: note: in expansion of macro 'XtNpromptFace' 175 | {XtNpromptFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~~~~~~~ Login.h:107:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | # define XtCFace "Face" | ^~~~~~ Login.c:175:21: note: in expansion of macro 'XtCFace' 175 | {XtNpromptFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~ Login.h:108:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | # define XtRXftFont "XftFont" | ^~~~~~~~~ Login.c:175:30: note: in expansion of macro 'XtRXftFont' 175 | {XtNpromptFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~~~~ Login.c:176:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 176 | offset (promptFace), XtRString, "Serif-18:bold"}, | ^~~~~~~~~~~~~~~ In file included from LoginP.h:59, from Login.c:73: Login.h:95:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | # define XtNgreetFace "greetFace" | ^~~~~~~~~~~ Login.c:177:6: note: in expansion of macro 'XtNgreetFace' 177 | {XtNgreetFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~~~~~~ Login.h:107:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | # define XtCFace "Face" | ^~~~~~ Login.c:177:20: note: in expansion of macro 'XtCFace' 177 | {XtNgreetFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~ Login.h:108:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | # define XtRXftFont "XftFont" | ^~~~~~~~~ Login.c:177:29: note: in expansion of macro 'XtRXftFont' 177 | {XtNgreetFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~~~~ Login.c:178:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 178 | offset (greetFace), XtRString, "Serif-24:italic"}, | ^~~~~~~~~~~~~~~~~ In file included from LoginP.h:59, from Login.c:73: Login.h:96:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | # define XtNfailFace "failFace" | ^~~~~~~~~~ Login.c:179:6: note: in expansion of macro 'XtNfailFace' 179 | {XtNfailFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~~~~~ Login.h:107:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | # define XtCFace "Face" | ^~~~~~ Login.c:179:19: note: in expansion of macro 'XtCFace' 179 | {XtNfailFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~ Login.h:108:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | # define XtRXftFont "XftFont" | ^~~~~~~~~ Login.c:179:28: note: in expansion of macro 'XtRXftFont' 179 | {XtNfailFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~~~~ Login.c:180:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 180 | offset (failFace), XtRString, "Serif-18:bold"}, | ^~~~~~~~~~~~~~~ In file included from LoginP.h:59, from Login.c:73: Login.h:109:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | # define XtRXftColor "XftColor" | ^~~~~~~~~~ Login.c:181:36: note: in expansion of macro 'XtRXftColor' 181 | {XtNforeground, XtCForeground, XtRXftColor, sizeof(XftColor), | ^~~~~~~~~~~ Login.c:182:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 182 | offset(textcolor), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ In file included from LoginP.h:59, from Login.c:73: Login.h:88:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | # define XtNpromptColor "promptColor" | ^~~~~~~~~~~~~ Login.c:183:6: note: in expansion of macro 'XtNpromptColor' 183 | {XtNpromptColor, XtCForeground, XtRXftColor, sizeof(XftColor), | ^~~~~~~~~~~~~~ Login.h:109:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | # define XtRXftColor "XftColor" | ^~~~~~~~~~ Login.c:183:37: note: in expansion of macro 'XtRXftColor' 183 | {XtNpromptColor, XtCForeground, XtRXftColor, sizeof(XftColor), | ^~~~~~~~~~~ Login.c:184:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 184 | offset(promptcolor), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ In file included from LoginP.h:59, from Login.c:73: Login.h:89:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | # define XtNgreetColor "greetColor" | ^~~~~~~~~~~~ Login.c:185:6: note: in expansion of macro 'XtNgreetColor' 185 | {XtNgreetColor, XtCForeground, XtRXftColor, sizeof(XftColor), | ^~~~~~~~~~~~~ Login.h:109:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | # define XtRXftColor "XftColor" | ^~~~~~~~~~ Login.c:185:36: note: in expansion of macro 'XtRXftColor' 185 | {XtNgreetColor, XtCForeground, XtRXftColor, sizeof(XftColor), | ^~~~~~~~~~~ Login.c:186:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 186 | offset(greetcolor), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ In file included from LoginP.h:59, from Login.c:73: Login.h:90:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | # define XtNfailColor "failColor" | ^~~~~~~~~~~ Login.c:187:6: note: in expansion of macro 'XtNfailColor' 187 | {XtNfailColor, XtCForeground, XtRXftColor, sizeof (XftColor), | ^~~~~~~~~~~~ Login.h:109:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | # define XtRXftColor "XftColor" | ^~~~~~~~~~ Login.c:187:35: note: in expansion of macro 'XtRXftColor' 187 | {XtNfailColor, XtCForeground, XtRXftColor, sizeof (XftColor), | ^~~~~~~~~~~ Login.c:188:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 188 | offset(failcolor), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ In file included from LoginP.h:59, from Login.c:73: Login.h:82:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | # define XtNgreeting "greeting" | ^~~~~~~~~~ Login.c:190:6: note: in expansion of macro 'XtNgreeting' 190 | {XtNgreeting, XtCGreeting, XtRString, sizeof (char *), | ^~~~~~~~~~~ Login.h:135:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 135 | # define XtCGreeting "Greeting" | ^~~~~~~~~~ Login.c:190:19: note: in expansion of macro 'XtCGreeting' 190 | {XtNgreeting, XtCGreeting, XtRString, sizeof (char *), | ^~~~~~~~~~~ Login.c:191:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 191 | offset(greeting), XtRString, "X Window System"}, | ^~~~~~~~~~~~~~~~~ In file included from LoginP.h:59, from Login.c:73: Login.h:83:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | # define XtNunsecureGreeting "unsecureGreeting" | ^~~~~~~~~~~~~~~~~~ Login.c:192:6: note: in expansion of macro 'XtNunsecureGreeting' 192 | {XtNunsecureGreeting, XtCGreeting, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~~~~~ Login.h:135:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 135 | # define XtCGreeting "Greeting" | ^~~~~~~~~~ Login.c:192:27: note: in expansion of macro 'XtCGreeting' 192 | {XtNunsecureGreeting, XtCGreeting, XtRString, sizeof (char *), | ^~~~~~~~~~~ Login.c:193:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 193 | offset(unsecure_greet), XtRString, "This is an unsecure session"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from LoginP.h:59, from Login.c:73: Login.h:84:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | # define XtNnamePrompt "namePrompt" | ^~~~~~~~~~~~ Login.c:194:6: note: in expansion of macro 'XtNnamePrompt' 194 | {XtNnamePrompt, XtCNamePrompt, XtRString, sizeof (char *), | ^~~~~~~~~~~~~ Login.h:136:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | # define XtCNamePrompt "NamePrompt" | ^~~~~~~~~~~~ Login.c:194:21: note: in expansion of macro 'XtCNamePrompt' 194 | {XtNnamePrompt, XtCNamePrompt, XtRString, sizeof (char *), | ^~~~~~~~~~~~~ Login.c:195:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | offset(namePrompt), XtRString, "Login: "}, | ^~~~~~~~~~ In file included from LoginP.h:59, from Login.c:73: Login.h:85:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | # define XtNpasswdPrompt "passwdPrompt" | ^~~~~~~~~~~~~~ Login.c:196:6: note: in expansion of macro 'XtNpasswdPrompt' 196 | {XtNpasswdPrompt, XtCPasswdPrompt, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~ Login.h:137:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | # define XtCPasswdPrompt "PasswdPrompt" | ^~~~~~~~~~~~~~ Login.c:196:23: note: in expansion of macro 'XtCPasswdPrompt' 196 | {XtNpasswdPrompt, XtCPasswdPrompt, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~ Login.c:197:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 197 | offset(passwdPrompt), XtRString, "Password: "}, | ^~~~~~~~~~~~~ In file included from LoginP.h:59, from Login.c:73: Login.h:86:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | # define XtNfail "fail" | ^~~~~~ Login.c:198:6: note: in expansion of macro 'XtNfail' 198 | {XtNfail, XtCFail, XtRString, sizeof (char *), | ^~~~~~~ Login.h:138:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 138 | # define XtCFail "Fail" | ^~~~~~ Login.c:198:15: note: in expansion of macro 'XtCFail' 198 | {XtNfail, XtCFail, XtRString, sizeof (char *), | ^~~~~~~ Login.c:200:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | "Login incorrect or forbidden by policy" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from LoginP.h:59, from Login.c:73: Login.h:148:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 148 | # define XtNchangePasswdMessage "changePasswdMessage" | ^~~~~~~~~~~~~~~~~~~~~ Login.c:202:6: note: in expansion of macro 'XtNchangePasswdMessage' 202 | {XtNchangePasswdMessage, XtCChangePasswdMessage, XtRString, | ^~~~~~~~~~~~~~~~~~~~~~ Login.h:149:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 149 | # define XtCChangePasswdMessage "ChangePasswdMessage" | ^~~~~~~~~~~~~~~~~~~~~ Login.c:202:30: note: in expansion of macro 'XtCChangePasswdMessage' 202 | {XtNchangePasswdMessage, XtCChangePasswdMessage, XtRString, | ^~~~~~~~~~~~~~~~~~~~~~ Login.h:97:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | # define XtNfailTimeout "failTimeout" | ^~~~~~~~~~~~~ Login.c:205:6: note: in expansion of macro 'XtNfailTimeout' 205 | {XtNfailTimeout, XtCFailTimeout, XtRInt, sizeof (int), | ^~~~~~~~~~~~~~ Login.h:139:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 139 | # define XtCFailTimeout "FailTimeout" | ^~~~~~~~~~~~~ Login.c:205:22: note: in expansion of macro 'XtCFailTimeout' 205 | {XtNfailTimeout, XtCFailTimeout, XtRInt, sizeof (int), | ^~~~~~~~~~~~~~ Login.h:87:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | # define XtNnotifyDone "notifyDone" | ^~~~~~~~~~~~ Login.c:207:6: note: in expansion of macro 'XtNnotifyDone' 207 | {XtNnotifyDone, XtCCallback, XtRFunction, sizeof (XtPointer), | ^~~~~~~~~~~~~ Login.h:98:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | # define XtNsessionArgument "sessionArgument" | ^~~~~~~~~~~~~~~~~ Login.c:209:6: note: in expansion of macro 'XtNsessionArgument' 209 | {XtNsessionArgument, XtCSessionArgument, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~~~~ Login.h:140:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 140 | # define XtCSessionArgument "SessionArgument" | ^~~~~~~~~~~~~~~~~ Login.c:209:26: note: in expansion of macro 'XtCSessionArgument' 209 | {XtNsessionArgument, XtCSessionArgument, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~~~~ Login.h:99:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | # define XtNsecureSession "secureSession" | ^~~~~~~~~~~~~~~ Login.c:211:6: note: in expansion of macro 'XtNsecureSession' 211 | {XtNsecureSession, XtCSecureSession, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~ Login.h:141:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 141 | # define XtCSecureSession "SecureSession" | ^~~~~~~~~~~~~~~ Login.c:211:24: note: in expansion of macro 'XtCSecureSession' 211 | {XtNsecureSession, XtCSecureSession, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~ Login.h:100:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | # define XtNallowAccess "allowAccess" | ^~~~~~~~~~~~~ Login.c:213:6: note: in expansion of macro 'XtNallowAccess' 213 | {XtNallowAccess, XtCAllowAccess, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~ Login.h:142:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | # define XtCAllowAccess "AllowAccess" | ^~~~~~~~~~~~~ Login.c:213:22: note: in expansion of macro 'XtCAllowAccess' 213 | {XtNallowAccess, XtCAllowAccess, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~ Login.h:101:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | # define XtNallowNullPasswd "allowNullPasswd" | ^~~~~~~~~~~~~~~~~ Login.c:215:6: note: in expansion of macro 'XtNallowNullPasswd' 215 | {XtNallowNullPasswd, XtCAllowNullPasswd, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ Login.h:143:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 143 | # define XtCAllowNullPasswd "AllowNullPasswd" | ^~~~~~~~~~~~~~~~~ Login.c:215:26: note: in expansion of macro 'XtCAllowNullPasswd' 215 | {XtNallowNullPasswd, XtCAllowNullPasswd, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ Login.h:102:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | # define XtNallowRootLogin "allowRootLogin" | ^~~~~~~~~~~~~~~~ Login.c:217:6: note: in expansion of macro 'XtNallowRootLogin' 217 | {XtNallowRootLogin, XtCAllowRootLogin, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~ Login.h:144:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 144 | # define XtCAllowRootLogin "AllowRootLogin" | ^~~~~~~~~~~~~~~~ Login.c:217:25: note: in expansion of macro 'XtCAllowRootLogin' 217 | {XtNallowRootLogin, XtCAllowRootLogin, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~ Login.h:103:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | # define XtNechoPasswd "echoPasswd" | ^~~~~~~~~~~~ Login.c:219:6: note: in expansion of macro 'XtNechoPasswd' 219 | {XtNechoPasswd, XtCEchoPasswd, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~ Login.h:145:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 145 | # define XtCEchoPasswd "EchoPasswd" | ^~~~~~~~~~~~ Login.c:219:21: note: in expansion of macro 'XtCEchoPasswd' 219 | {XtNechoPasswd, XtCEchoPasswd, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~ Login.h:104:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | # define XtNechoPasswdChar "echoPasswdChar" | ^~~~~~~~~~~~~~~~ Login.c:221:6: note: in expansion of macro 'XtNechoPasswdChar' 221 | {XtNechoPasswdChar, XtCEchoPasswdChar, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~~~ Login.h:146:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | # define XtCEchoPasswdChar "EchoPasswdChar" | ^~~~~~~~~~~~~~~~ Login.c:221:25: note: in expansion of macro 'XtCEchoPasswdChar' 221 | {XtNechoPasswdChar, XtCEchoPasswdChar, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~~~ Login.c: In function 'AllowAccess': Login.c:1232:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1232 | XtSetArg (arglist[0], XtNallowAccess, (char *) &allow); | ^~~~~~~~ Login.c:1234:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1234 | XtSetArg (arglist[0], XtNallowAccess, !allow); | ^~~~~~~~ Login.c: At top level: Login.c:2026:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2026 | {"delete-previous-character", DeleteBackwardChar}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Login.c:2027:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2027 | {"delete-character", DeleteForwardChar}, | ^~~~~~~~~~~~~~~~~~ Login.c:2028:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2028 | {"move-backward-character", MoveBackwardChar}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ Login.c:2029:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2029 | {"move-forward-character", MoveForwardChar}, | ^~~~~~~~~~~~~~~~~~~~~~~~ Login.c:2030:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2030 | {"move-to-begining", MoveToBegining}, | ^~~~~~~~~~~~~~~~~~ Login.c:2031:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2031 | {"move-to-end", MoveToEnd}, | ^~~~~~~~~~~~~ Login.c:2032:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2032 | {"erase-to-end-of-line", EraseToEndOfLine}, | ^~~~~~~~~~~~~~~~~~~~~~ Login.c:2033:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2033 | {"erase-line", EraseLine}, | ^~~~~~~~~~~~ Login.c:2034:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2034 | {"finish-field", FinishField}, | ^~~~~~~~~~~~~~ Login.c:2035:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2035 | {"tab-field", TabField}, | ^~~~~~~~~~~ Login.c:2036:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2036 | {"abort-session", AbortSession}, | ^~~~~~~~~~~~~~~ Login.c:2037:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2037 | {"abort-display", AbortDisplay}, | ^~~~~~~~~~~~~~~ Login.c:2038:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2038 | {"restart-session", RestartSession}, | ^~~~~~~~~~~~~~~~~ Login.c:2039:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2039 | {"insert-char", InsertChar}, | ^~~~~~~~~~~~~ Login.c:2040:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2040 | {"set-session-argument", SetSessionArgument}, | ^~~~~~~~~~~~~~~~~~~~~~ Login.c:2041:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2041 | {"allow-all-access", AllowAccess}, | ^~~~~~~~~~~~~~~~~~ Login.c:2047:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2047 | /* class_name */ "Login", | ^~~~~~~ greet.c: In function 'InitGreet': greet.c:248:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 248 | static char *argv[] = { "xlogin", NULL }; | ^~~~~~~~ greet.c:289:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 289 | XtSetArg (arglist[i], XtNnotifyDone, (XtPointer)GreetDone); i++; | ^~~~~~~~ greet.c:292:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 292 | XtSetArg (arglist[i], XtNsecureSession, True); i++; | ^~~~~~~~ greet.c: In function 'CloseGreet': greet.c:339:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 339 | XtSetArg (arglist[0], XtNallowAccess, (char *) &allow); | ^~~~~~~~ greet.c: In function 'Greet': greet.c:363:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 363 | XtSetArg (arglist[0], XtNallowAccess, False); | ^~~~~~~~ greet.c:403:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 403 | XtSetArg (arglist[0], XtNsessionArgument, (char *) &(greet->string)); | ^~~~~~~~ greet.c: In function 'log_to_audit_system': greet.c:431:39: warning: declaration of 'login' shadows a global declaration [-Wshadow] 431 | char *hostname = NULL, *tty = NULL, *login=NULL; | ^~~~~ greet.c:158:16: note: shadowed declaration is here 158 | static Widget login; | ^~~~~ greet.c:435:33: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 435 | pam_get_item(pamhp, PAM_RHOST, &hostname); | ^~~~~~~~~ | | | char ** In file included from /usr/include/security/pam_appl.h:18, from ../include/dm.h:108, from greet.c:73: /usr/include/security/_pam_types.h:175:68: note: expected 'const void **' but argument is of type 'char **' 175 | pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); | ~~~~~~~~~~~~~^~~~ greet.c:436:31: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 436 | pam_get_item(pamhp, PAM_TTY, &tty); | ^~~~ | | | char ** In file included from /usr/include/security/pam_appl.h:18, from ../include/dm.h:108, from greet.c:73: /usr/include/security/_pam_types.h:175:68: note: expected 'const void **' but argument is of type 'char **' 175 | pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); | ~~~~~~~~~~~~~^~~~ greet.c:437:32: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 437 | pam_get_item(pamhp, PAM_USER, &login); | ^~~~~~ | | | char ** In file included from /usr/include/security/pam_appl.h:18, from ../include/dm.h:108, from greet.c:73: /usr/include/security/_pam_types.h:175:68: note: expected 'const void **' but argument is of type 'char **' 175 | pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); | ~~~~~~~~~~~~~^~~~ greet.c: In function 'GreetUser': greet.c:511:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 511 | XtSetArg (arglist[0], XtNallowNullPasswd, | ^~~~~~~~ greet.c:513:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 513 | XtSetArg (arglist[1], XtNallowRootLogin, | ^~~~~~~~ In file included from /usr/include/string.h:495, from /usr/include/X11/Intrinsic.h:61, from /usr/include/X11/IntrinsicP.h:51, from Login.c:59: In function 'strncpy', inlined from 'SetPrompt' at Login.c:840:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Login.c: In function 'SetPrompt': Login.c:832:18: note: length computed here 832 | messageLen = strlen(message); | ^~~~~~~~~~~~~~~ CCLD libXdmGreet.la make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/greeter' Making all in include make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/include' Making all in man make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/man' GEN xdm.1 GEN xdmshell.1 make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/man' Making all in xdm make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/xdm' CC auth.o CC choose.o CC daemon.o CC access.o CC dm.o auth.c:130:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | { (unsigned short) 18, "MIT-MAGIC-COOKIE-1", | ^~~~~~~~~~~~~~~~~~~~ auth.c:134:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | { (unsigned short) 19, "XDM-AUTHORIZATION-1", | ^~~~~~~~~~~~~~~~~~~~~ auth.c: In function 'SaveServerAuthorizations': auth.c:455:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 455 | if (auths[i]->data_length > 0) | ^~ auth.c:460:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 460 | (void) fflush (auth_file); | ^ choose.c: In function 'AddChooserHost': choose.c:386:28: warning: passing argument 2 of 'parseArgs' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 386 | *argp = parseArgs (*argp, "BROADCAST"); | ^~~~~~~~~~~ In file included from 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); | ~~~~~~^~~~~~ auth.c: In function 'SetUserAuthorization': auth.c:1319:38: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1319 | home = getEnv (verify->userEnviron, "HOME"); | ^~~~~~ In file included from auth.c:43: ../include/dm.h:468:38: note: expected 'char *' but argument is of type 'const char *' 468 | extern char *getEnv (char **e, char *name); | ~~~~~~^~~~ auth.c:1472:9: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1472 | "XAUTHORITY", envname); | ^~~~~~~~~~~~ In file included from auth.c:43: ../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' 466 | extern char **setEnv (char **e, char *name, char *value); | ~~~~~~^~~~ auth.c:1474:9: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1474 | "XAUTHORITY", envname); | ^~~~~~~~~~~~ In file included from auth.c:43: ../include/dm.h:466:39: note: expected 'char *' but argument is of type 'const char *' 466 | extern char **setEnv (char **e, char *name, char *value); | ~~~~~~^~~~ auth.c: In function 'RemoveUserAuthorization': auth.c:1496:41: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1496 | home = getEnv (verify->userEnviron, "HOME"); | ^~~~~~ In file included from auth.c:43: ../include/dm.h:468:38: note: expected 'char *' but argument is of type 'const char *' 468 | extern char *getEnv (char **e, char *name); | ~~~~~~^~~~ access.c: In function 'patternMatch': access.c:675:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 675 | string = ""; | ^ auth.c: In function 'MakeServerAuthFile': auth.c:352:14: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 352 | (void) chown(d->authFile, 0, statb.st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ auth.c: In function 'SetUserAuthorization': auth.c:1478:6: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 1478 | chown (envname, verify->uid, verify->gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ choose.c: In function 'RunChooser': choose.c:512:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 512 | RunChooser (struct display *d) | ^~~~~~~~~~ dm.c: In function 'WaitForChild': dm.c:513:22: warning: passing argument 2 of 'SendFailed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 513 | SendFailed (d, "Cannot open display"); | ^~~~~~~~~~~~~~~~~~~~~ In file included from 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); | ~~~~~~^~~~~~ dm.c:539:18: warning: format '%i' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=] 539 | Debug("time %i %i try %i of %i%s\n", now, d->lastReserv, | ~^ ~~~ | | | | int time_t {aka long int} | %li dm.c:539:21: warning: format '%i' expects argument of type 'int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=] 539 | Debug("time %i %i try %i of %i%s\n", now, d->lastReserv, | ~^ ~~~~~~~~~~~~~ | | | | int time_t {aka long int} | %li dm.c: In function 'main': dm.c:180:2: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 180 | system(cmdbuf); | ^~~~~~~~~~~~~~ dm.c: In function 'SetWindowPath': dm.c:732:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 732 | asprintf(&newwindowpath, "%lu", num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dm.c:734:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 734 | asprintf(&newwindowpath, "%s:%lu", windowpath, num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC dpylist.o dm.c: In function 'main': dm.c:973:35: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 973 | (void) snprintf (pidstr, 11, "%ld", (long) getpid ()); | ^ In file included from /usr/include/stdio.h:871, from /usr/include/X11/Xauth.h:59, from ../include/dm.h:49, from dm.c:36: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 11 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC error.o error.c: In function 'LogVWrite': error.c:56:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | write(STDERR_FILENO, buf, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error.c: In function 'LogPanic': error.c:93:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 93 | LogPanic (const char * fmt, ...) | ^~~~~~~~ CC file.o CC genauth.o CC mitauth.o CC netaddr.o file.c:231:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 231 | { "local", { Local, Permanent, FromFile } }, | ^~~~~~~ file.c:232:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 232 | { "foreign", { Foreign, Permanent, FromFile } }, | ^~~~~~~~~ CC policy.o CC protodpy.o CC reset.o CC resource.o CC server.o CC session.o CC socket.o session.c:178:2: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] 178 | Debug, | ^~~~~ session.c:184:2: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] 184 | LogError, | ^~~~~~~~ session.c:194:2: warning: initialization left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format] 194 | LogOutOfMem, | ^~~~~~~~~~~ session.c: In function 'StartClient': session.c:570:25: warning: declaration of 'verify' shadows a global declaration [-Wshadow] 570 | struct verify_info *verify, | ~~~~~~~~~~~~~~~~~~~~^~~~~~ session.c:223:27: note: shadowed declaration is here 223 | static struct verify_info verify; | ^~~~~~ session.c:817:53: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 817 | verify->userEnviron = setEnv(verify->userEnviron, "WINDOWPATH", d->windowPath); | ^~~~~~~~~~~~ In file included from 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); | ~~~~~~^~~~ session.c:834:38: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 834 | home = getEnv (verify->userEnviron, "HOME"); | ^~~~~~ In file included from session.c:40: ../include/dm.h:468:38: note: expected 'char *' but argument is of type 'const char *' 468 | extern char *getEnv (char **e, char *name); | ~~~~~~^~~~ session.c:838:35: warning: passing argument 2 of 'getEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 838 | getEnv (verify->userEnviron, "USER"), home, errno); | ^~~~~~ In file included from session.c:40: ../include/dm.h:468:38: note: expected 'char *' but argument is of type 'const char *' 468 | extern char *getEnv (char **e, char *name); | ~~~~~~^~~~ session.c:840:53: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 840 | verify->userEnviron = setEnv(verify->userEnviron, "HOME", "/"); | ^~~~~~ In file included from 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); | ~~~~~~^~~~ session.c:840:61: warning: passing argument 3 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 840 | verify->userEnviron = setEnv(verify->userEnviron, "HOME", "/"); | ^~~ In file included from session.c:40: ../include/dm.h:466:51: note: expected 'char *' but argument is of type 'const char *' 466 | extern char **setEnv (char **e, char *name, char *value); | ~~~~~~^~~~~ session.c: In function 'execute': session.c:983:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 983 | p = "/bin/sh"; | ^ session.c: In function 'systemEnv': session.c:1027:24: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1027 | env = setEnv (env, "DISPLAY", d->name); | ^~~~~~~~~ In file included from 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); | ~~~~~~^~~~ session.c:1029:21: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1029 | env = setEnv (env, "HOME", home); | ^~~~~~ In file included from 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); | ~~~~~~^~~~ session.c:1031:21: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1031 | env = setEnv (env, "USER", user); | ^~~~~~ In file included from 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); | ~~~~~~^~~~ resource.c:153:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | { "servers", "Servers", DM_STRING, &servers, | ^~~~~~~~~ resource.c:153:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | { "servers", "Servers", DM_STRING, &servers, | ^~~~~~~~~ In file included from ../include/dm.h:42, from resource.c:36: ../config.h:20:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 20 | #define DEF_SERVER_LINE ":0 local /usr/bin/X :0" | ^~~~~~~~~~~~~~~~~~~~~~~~ resource.c:154:5: note: in expansion of macro 'DEF_SERVER_LINE' 154 | DEF_SERVER_LINE} , | ^~~~~~~~~~~~~~~ resource.c:155:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 155 | { "requestPort","RequestPort", DM_INT, (char **) &request_port, | ^~~~~~~~~~~~~ resource.c:155:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 155 | { "requestPort","RequestPort", DM_INT, (char **) &request_port, | ^~~~~~~~~~~~~ resource.c:145:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 145 | #define DEF_UDP_PORT "177" /* registered XDMCP port, dont change */ | ^~~~~ resource.c:156:5: note: in expansion of macro 'DEF_UDP_PORT' 156 | DEF_UDP_PORT} , | ^~~~~~~~~~~~ resource.c:157:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 157 | { "debugLevel", "DebugLevel", DM_INT, (char **) &debugLevel, | ^~~~~~~~~~~~ resource.c:157:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 157 | { "debugLevel", "DebugLevel", DM_INT, (char **) &debugLevel, | ^~~~~~~~~~~~ resource.c:158:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | "0"} , | ^~~ resource.c:159:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 159 | { "errorLogFile","ErrorLogFile", DM_STRING, &errorLogFile, | ^~~~~~~~~~~~~~ resource.c:159:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 159 | { "errorLogFile","ErrorLogFile", DM_STRING, &errorLogFile, | ^~~~~~~~~~~~~~ resource.c:160:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | ""} , | ^~ resource.c:161:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 161 | { "daemonMode", "DaemonMode", DM_BOOL, (char **) &daemonMode, | ^~~~~~~~~~~~ resource.c:161:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 161 | { "daemonMode", "DaemonMode", DM_BOOL, (char **) &daemonMode, | ^~~~~~~~~~~~ resource.c:162:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 162 | "true"} , | ^~~~~~ resource.c:163:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 163 | { "pidFile", "PidFile", DM_STRING, &pidFile, | ^~~~~~~~~ resource.c:163:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 163 | { "pidFile", "PidFile", DM_STRING, &pidFile, | ^~~~~~~~~ session.c:1032:21: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1032 | env = setEnv (env, "LOGNAME", user); | ^~~~~~~~~ In file included from 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); | ~~~~~~^~~~ resource.c:164:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 164 | ""} , | ^~ resource.c:165:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | { "lockPidFile","LockPidFile", DM_BOOL, (char **) &lockPidFile, | ^~~~~~~~~~~~~ resource.c:165:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | { "lockPidFile","LockPidFile", DM_BOOL, (char **) &lockPidFile, | ^~~~~~~~~~~~~ resource.c:166:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 166 | "true"} , | ^~~~~~ session.c:1034:24: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1034 | env = setEnv (env, "PATH", d->systemPath); | ^~~~~~ In file included from 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); | ~~~~~~^~~~ resource.c:167:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 167 | { "authDir", "authDir", DM_STRING, &authDir, | ^~~~~~~~~ resource.c:167:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 167 | { "authDir", "authDir", DM_STRING, &authDir, | ^~~~~~~~~ In file included from ../include/dm.h:42, from resource.c:36: ../config.h:8:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 8 | #define DEF_AUTH_DIR "/var/lib/xdm" | ^~~~~~~~~~~~~~ resource.c:168:5: note: in expansion of macro 'DEF_AUTH_DIR' 168 | DEF_AUTH_DIR} , | ^~~~~~~~~~~~ session.c:1035:24: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1035 | env = setEnv (env, "SHELL", d->systemShell); | ^~~~~~~ resource.c:169:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 169 | { "autoRescan", "AutoRescan", DM_BOOL, (char **) &autoRescan, | ^~~~~~~~~~~~ resource.c:169:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 169 | { "autoRescan", "AutoRescan", DM_BOOL, (char **) &autoRescan, | ^~~~~~~~~~~~ resource.c:170:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 170 | "true"} , | ^~~~~~ resource.c:171:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 171 | { "removeDomainname","RemoveDomainname",DM_BOOL,(char **) &removeDomainname, | ^~~~~~~~~~~~~~~~~~ resource.c:171:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 171 | { "removeDomainname","RemoveDomainname",DM_BOOL,(char **) &removeDomainname, | ^~~~~~~~~~~~~~~~~~ resource.c:172:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 172 | "true"} , | ^~~~~~ resource.c:173:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 173 | { "keyFile", "KeyFile", DM_STRING, &keyFile, | ^~~~~~~~~ resource.c:173:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 173 | { "keyFile", "KeyFile", DM_STRING, &keyFile, | ^~~~~~~~~ resource.c:123:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | # define DEF_KEY_FILE "" | ^~ resource.c:174:5: note: in expansion of macro 'DEF_KEY_FILE' 174 | DEF_KEY_FILE} , | ^~~~~~~~~~~~ resource.c:175:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 175 | { "accessFile", "AccessFile", DM_STRING, &accessFile, | ^~~~~~~~~~~~ resource.c:175:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 175 | { "accessFile", "AccessFile", DM_STRING, &accessFile, | ^~~~~~~~~~~~ resource.c:126:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 126 | # define DEF_ACCESS_FILE "" | ^~ resource.c:176:5: note: in expansion of macro 'DEF_ACCESS_FILE' 176 | DEF_ACCESS_FILE} , | ^~~~~~~~~~~~~~~ resource.c:177:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 177 | { "exportList", "ExportList", DM_ARGV, (char **) &exportList, | ^~~~~~~~~~~~ resource.c:177:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 177 | { "exportList", "ExportList", DM_ARGV, (char **) &exportList, | ^~~~~~~~~~~~ resource.c:178:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 178 | ""} , | ^~ resource.c:180:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 180 | { "randomFile", "RandomFile", DM_STRING, &randomFile, | ^~~~~~~~~~~~ resource.c:180:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 180 | { "randomFile", "RandomFile", DM_STRING, &randomFile, | ^~~~~~~~~~~~ resource.c:129:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | # define DEF_RANDOM_FILE "/dev/mem" | ^~~~~~~~~~ resource.c:181:5: note: in expansion of macro 'DEF_RANDOM_FILE' 181 | DEF_RANDOM_FILE} , | ^~~~~~~~~~~~~~~ resource.c:182:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 182 | { "prngdSocket", "PrngdSocket", DM_STRING, &prngdSocket, | ^~~~~~~~~~~~~ resource.c:182:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 182 | { "prngdSocket", "PrngdSocket", DM_STRING, &prngdSocket, | ^~~~~~~~~~~~~ resource.c:135:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 135 | # define DEF_PRNGD_SOCKET "/tmp/entropy" | ^~~~~~~~~~~~~~ resource.c:183:5: note: in expansion of macro 'DEF_PRNGD_SOCKET' 183 | DEF_PRNGD_SOCKET}, | ^~~~~~~~~~~~~~~~ resource.c:184:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 184 | { "prngdPort", "PrngdPort", DM_INT, (char **) &prngdPort, | ^~~~~~~~~~~ resource.c:184:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 184 | { "prngdPort", "PrngdPort", DM_INT, (char **) &prngdPort, | ^~~~~~~~~~~ resource.c:139:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 139 | # define DEF_PRNGD_PORT "0" | ^~~ resource.c:185:5: note: in expansion of macro 'DEF_PRNGD_PORT' 185 | DEF_PRNGD_PORT}, | ^~~~~~~~~~~~~~ resource.c:188:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 188 | { "randomDevice", "RandomDevice", DM_STRING, &randomDevice, | ^~~~~~~~~~~~~~ In file included from 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); | ~~~~~~^~~~ session.c:1037:25: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1037 | env = setEnv (env, "XAUTHORITY", d->authFile); | ^~~~~~~~~~~~ In file included from 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); | ~~~~~~^~~~ resource.c:188:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 188 | { "randomDevice", "RandomDevice", DM_STRING, &randomDevice, | ^~~~~~~~~~~~~~ In file included from ../include/dm.h:42, from resource.c:36: ../config.h:38:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | #define DEV_RANDOM "/dev/urandom" | ^~~~~~~~~~~~~~ resource.c:189:5: note: in expansion of macro 'DEV_RANDOM' 189 | DEV_RANDOM} , | ^~~~~~~~~~ resource.c:191:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 191 | { "greeterLib", "GreeterLib", DM_STRING, &greeterLib, | ^~~~~~~~~~~~ resource.c:191:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 191 | { "greeterLib", "GreeterLib", DM_STRING, &greeterLib, | ^~~~~~~~~~~~ In file included from ../include/dm.h:42, from resource.c:36: ../config.h:17:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17 | #define DEF_GREETER_LIB "/usr/libexec/libXdmGreet.so" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resource.c:192:5: note: in expansion of macro 'DEF_GREETER_LIB' 192 | DEF_GREETER_LIB} , | ^~~~~~~~~~~~~~~ resource.c:193:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 193 | { "choiceTimeout","ChoiceTimeout",DM_INT, (char **) &choiceTimeout, | ^~~~~~~~~~~~~~~ session.c:1039:25: warning: passing argument 2 of 'setEnv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1039 | env = setEnv (env, "WINDOWPATH", d->windowPath); | ^~~~~~~~~~~~ In file included from 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); | ~~~~~~^~~~ resource.c:193:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 193 | { "choiceTimeout","ChoiceTimeout",DM_INT, (char **) &choiceTimeout, | ^~~~~~~~~~~~~~~ resource.c:194:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 194 | "15"} , | ^~~~ resource.c:195:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | { "sourceAddress","SourceAddress",DM_BOOL, (char **) &sourceAddress, | ^~~~~~~~~~~~~~~ resource.c:195:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | { "sourceAddress","SourceAddress",DM_BOOL, (char **) &sourceAddress, | ^~~~~~~~~~~~~~~ resource.c:196:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | "false"} , | ^~~~~~~ resource.c:197:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 197 | { "willing", "Willing", DM_STRING, &willing, | ^~~~~~~~~ resource.c:197:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 197 | { "willing", "Willing", DM_STRING, &willing, | ^~~~~~~~~ resource.c:198:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 198 | ""} , | ^~ resource.c:215:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 215 | { "serverAttempts","ServerAttempts",DM_INT, boffset(serverAttempts), | ^~~~~~~~~~~~~~~~ resource.c:215:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 215 | { "serverAttempts","ServerAttempts",DM_INT, boffset(serverAttempts), | ^~~~~~~~~~~~~~~~ resource.c:216:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 216 | "1" }, | ^~~ resource.c:217:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 217 | { "openDelay", "OpenDelay", DM_INT, boffset(openDelay), | ^~~~~~~~~~~ resource.c:217:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 217 | { "openDelay", "OpenDelay", DM_INT, boffset(openDelay), | ^~~~~~~~~~~ resource.c:218:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 218 | "15" }, | ^~~~ resource.c:219:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 219 | { "openRepeat", "OpenRepeat", DM_INT, boffset(openRepeat), | ^~~~~~~~~~~~ resource.c:219:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 219 | { "openRepeat", "OpenRepeat", DM_INT, boffset(openRepeat), | ^~~~~~~~~~~~ resource.c:220:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 220 | "5" }, | ^~~ resource.c:221:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 221 | { "openTimeout","OpenTimeout", DM_INT, boffset(openTimeout), | ^~~~~~~~~~~~~ resource.c:221:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 221 | { "openTimeout","OpenTimeout", DM_INT, boffset(openTimeout), | ^~~~~~~~~~~~~ resource.c:222:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 222 | "120" }, | ^~~~~ resource.c:223:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 223 | { "startAttempts","StartAttempts",DM_INT, boffset(startAttempts), | ^~~~~~~~~~~~~~~ resource.c:223:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 223 | { "startAttempts","StartAttempts",DM_INT, boffset(startAttempts), | ^~~~~~~~~~~~~~~ resource.c:224:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 224 | "4" }, | ^~~ resource.c:225:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 225 | { "reservAttempts","ReservAttempts",DM_INT, boffset(reservAttempts), | ^~~~~~~~~~~~~~~~ resource.c:225:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 225 | { "reservAttempts","ReservAttempts",DM_INT, boffset(reservAttempts), | ^~~~~~~~~~~~~~~~ resource.c:226:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 226 | "2" }, | ^~~ resource.c:227:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 227 | { "pingInterval","PingInterval",DM_INT, boffset(pingInterval), | ^~~~~~~~~~~~~~ resource.c:227:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 227 | { "pingInterval","PingInterval",DM_INT, boffset(pingInterval), | ^~~~~~~~~~~~~~ resource.c:228:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 228 | "5" }, | ^~~ resource.c:229:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 229 | { "pingTimeout","PingTimeout", DM_INT, boffset(pingTimeout), | ^~~~~~~~~~~~~ resource.c:229:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 229 | { "pingTimeout","PingTimeout", DM_INT, boffset(pingTimeout), | ^~~~~~~~~~~~~ resource.c:230:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 230 | "5" }, | ^~~ resource.c:231:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 231 | { "terminateServer","TerminateServer",DM_BOOL, boffset(terminateServer), | ^~~~~~~~~~~~~~~~~ resource.c:231:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 231 | { "terminateServer","TerminateServer",DM_BOOL, boffset(terminateServer), | ^~~~~~~~~~~~~~~~~ resource.c:232:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 232 | "false" }, | ^~~~~~~ resource.c:233:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 233 | { "grabServer", "GrabServer", DM_BOOL, boffset(grabServer), | ^~~~~~~~~~~~ resource.c:233:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 233 | { "grabServer", "GrabServer", DM_BOOL, boffset(grabServer), | ^~~~~~~~~~~~ resource.c:234:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 234 | "false" }, | ^~~~~~~ resource.c:235:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 235 | { "grabTimeout","GrabTimeout", DM_INT, boffset(grabTimeout), | ^~~~~~~~~~~~~ resource.c:235:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 235 | { "grabTimeout","GrabTimeout", DM_INT, boffset(grabTimeout), | ^~~~~~~~~~~~~ resource.c:236:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 236 | "3" }, | ^~~ resource.c:237:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 237 | { "resetSignal","Signal", DM_INT, boffset(resetSignal), | ^~~~~~~~~~~~~ resource.c:237:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 237 | { "resetSignal","Signal", DM_INT, boffset(resetSignal), | ^~~~~~~~ resource.c:238:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 238 | "1" }, /* SIGHUP */ | ^~~ resource.c:239:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 239 | { "termSignal", "Signal", DM_INT, boffset(termSignal), | ^~~~~~~~~~~~ resource.c:239:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 239 | { "termSignal", "Signal", DM_INT, boffset(termSignal), | ^~~~~~~~ resource.c:240:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 240 | "15" }, /* SIGTERM */ | ^~~~ resource.c:241:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 241 | { "resetForAuth","ResetForAuth",DM_BOOL, boffset(resetForAuth), | ^~~~~~~~~~~~~~ resource.c:241:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 241 | { "resetForAuth","ResetForAuth",DM_BOOL, boffset(resetForAuth), | ^~~~~~~~~~~~~~ resource.c:242:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 242 | "false" }, | ^~~~~~~ resource.c:243:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 243 | { "authorize", "Authorize", DM_BOOL, boffset(authorize), | ^~~~~~~~~~~ resource.c:243:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 243 | { "authorize", "Authorize", DM_BOOL, boffset(authorize), | ^~~~~~~~~~~ resource.c:244:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 244 | "true" }, | ^~~~~~ session.c: In function 'StartClient': resource.c:245:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 245 | { "authComplain","AuthComplain",DM_BOOL, boffset(authComplain), | ^~~~~~~~~~~~~~ resource.c:245:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 245 | { "authComplain","AuthComplain",DM_BOOL, boffset(authComplain), | ^~~~~~~~~~~~~~ resource.c:246:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 246 | "true" }, | ^~~~~~ resource.c:247:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 247 | { "authName", "AuthName", DM_ARGV, boffset(authNames), | ^~~~~~~~~~ resource.c:247:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 247 | { "authName", "AuthName", DM_ARGV, boffset(authNames), | ^~~~~~~~~~ resource.c:111:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | # define DEF_AUTH_NAME "XDM-AUTHORIZATION-1 MIT-MAGIC-COOKIE-1" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resource.c:111:25: note: in definition of macro 'DEF_AUTH_NAME' 111 | # define DEF_AUTH_NAME "XDM-AUTHORIZATION-1 MIT-MAGIC-COOKIE-1" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ session.c:839:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 839 | chdir ("/"); | ^~~~~~~~~~~ resource.c:249:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | { "authFile", "AuthFile", DM_STRING, boffset(clientAuthFile), | ^~~~~~~~~~ resource.c:249:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | { "authFile", "AuthFile", DM_STRING, boffset(clientAuthFile), | ^~~~~~~~~~ resource.c:250:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 250 | "" }, | ^~ resource.c:259:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 259 | { "resources", "Resources", DM_STRING, boffset(resources), | ^~~~~~~~~~~ resource.c:259:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 259 | { "resources", "Resources", DM_STRING, boffset(resources), | ^~~~~~~~~~~ resource.c:260:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 260 | "" }, | ^~ resource.c:261:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 261 | { "xrdb", "Xrdb", DM_STRING, boffset(xrdb), | ^~~~~~ resource.c:261:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 261 | { "xrdb", "Xrdb", DM_STRING, boffset(xrdb), | ^~~~~~ server.c: In function '_SysErrorMsg': server.c:68:19: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | return (s ? s : "unknown error"); | ~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from ../include/dm.h:42, from resource.c:36: ../config.h:243:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 243 | #define XRDB_PROGRAM "/usr/bin/xrdb" | ^~~~~~~~~~~~~~~ resource.c:262:5: note: in expansion of macro 'XRDB_PROGRAM' 262 | XRDB_PROGRAM }, | ^~~~~~~~~~~~ resource.c:263:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 263 | { "setup", "Setup", DM_STRING, boffset(setup), | ^~~~~~~ resource.c:263:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 263 | { "setup", "Setup", DM_STRING, boffset(setup), | ^~~~~~~ resource.c:264:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 264 | "" }, | ^~ resource.c:265:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | { "startup", "Startup", DM_STRING, boffset(startup), | ^~~~~~~~~ resource.c:265:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | { "startup", "Startup", DM_STRING, boffset(startup), | ^~~~~~~~~ resource.c:266:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 266 | "" }, | ^~ resource.c:267:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 267 | { "reset", "Reset", DM_STRING, boffset(reset), | ^~~~~~~ resource.c:267:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 267 | { "reset", "Reset", DM_STRING, boffset(reset), | ^~~~~~~ resource.c:268:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 268 | "" }, | ^~ resource.c:269:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 269 | { "session", "Session", DM_STRING, boffset(session), | ^~~~~~~~~ resource.c:269:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 269 | { "session", "Session", DM_STRING, boffset(session), | ^~~~~~~~~ In file included from ../include/dm.h:42, from resource.c:36: ../config.h:23:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 23 | #define DEF_SESSION "/usr/bin/xterm -ls" | ^~~~~~~~~~~~~~~~~~~~ resource.c:270:5: note: in expansion of macro 'DEF_SESSION' 270 | DEF_SESSION }, | ^~~~~~~~~~~ resource.c:271:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 271 | { "userPath", "Path", DM_STRING, boffset(userPath), | ^~~~~~~~~~ resource.c:271:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 271 | { "userPath", "Path", DM_STRING, boffset(userPath), | ^~~~~~ In file included from ../include/dm.h:42, from resource.c:36: ../config.h:32:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 32 | #define DEF_USER_PATH "/bin:/usr/bin:/usr/bin:/usr/ucb" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../config.h:32:23: note: in definition of macro 'DEF_USER_PATH' 32 | #define DEF_USER_PATH "/bin:/usr/bin:/usr/bin:/usr/ucb" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resource.c:273:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 273 | { "systemPath", "Path", DM_STRING, boffset(systemPath), | ^~~~~~~~~~~~ resource.c:273:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 273 | { "systemPath", "Path", DM_STRING, boffset(systemPath), | ^~~~~~ In file included from ../include/dm.h:42, from resource.c:36: ../config.h:26:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 26 | #define DEF_SYSTEM_PATH "/etc:/bin:/usr/bin:/usr/bin:/usr/ucb" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../config.h:26:25: note: in definition of macro 'DEF_SYSTEM_PATH' 26 | #define DEF_SYSTEM_PATH "/etc:/bin:/usr/bin:/usr/bin:/usr/ucb" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resource.c:275:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 275 | { "systemShell","Shell", DM_STRING, boffset(systemShell), | ^~~~~~~~~~~~~ resource.c:275:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 275 | { "systemShell","Shell", DM_STRING, boffset(systemShell), | ^~~~~~~ In file included from ../include/dm.h:42, from resource.c:36: ../config.h:29:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 29 | #define DEF_SYSTEM_SHELL "/bin/sh" | ^~~~~~~~~ resource.c:276:5: note: in expansion of macro 'DEF_SYSTEM_SHELL' 276 | DEF_SYSTEM_SHELL }, | ^~~~~~~~~~~~~~~~ resource.c:277:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 277 | { "failsafeClient","FailsafeClient", DM_STRING, boffset(failsafeClient), | ^~~~~~~~~~~~~~~~ resource.c:277:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 277 | { "failsafeClient","FailsafeClient", DM_STRING, boffset(failsafeClient), | ^~~~~~~~~~~~~~~~ In file included from ../include/dm.h:42, from resource.c:36: ../config.h:14:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14 | #define DEF_FAILSAFE_CLIENT "/usr/bin/xterm" | ^~~~~~~~~~~~~~~~ resource.c:278:5: note: in expansion of macro 'DEF_FAILSAFE_CLIENT' 278 | DEF_FAILSAFE_CLIENT }, | ^~~~~~~~~~~~~~~~~~~ resource.c:279:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 279 | { "userAuthDir","UserAuthDir", DM_STRING, boffset(userAuthDir), | ^~~~~~~~~~~~~ resource.c:279:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 279 | { "userAuthDir","UserAuthDir", DM_STRING, boffset(userAuthDir), | ^~~~~~~~~~~~~ resource.c:120:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | # define DEF_USER_AUTH_DIR "/tmp" | ^~~~~~ resource.c:280:5: note: in expansion of macro 'DEF_USER_AUTH_DIR' 280 | DEF_USER_AUTH_DIR }, | ^~~~~~~~~~~~~~~~~ resource.c:281:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 281 | { "chooser", "Chooser", DM_STRING, boffset(chooser), | ^~~~~~~~~ resource.c:281:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 281 | { "chooser", "Chooser", DM_STRING, boffset(chooser), | ^~~~~~~~~ In file included from ../include/dm.h:42, from resource.c:36: ../config.h:11:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11 | #define DEF_CHOOSER "/usr/libexec/chooser" | ^~~~~~~~~~~~~~~~~~~~~~ resource.c:282:5: note: in expansion of macro 'DEF_CHOOSER' 282 | DEF_CHOOSER }, | ^~~~~~~~~~~ resource.c:364:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 364 | {"-server", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~~ resource.c:365:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | {"-udpPort", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~~~ resource.c:366:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 366 | {"-error", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~ resource.c:367:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 367 | {"-resources", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~~~~~ resource.c:368:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 368 | {"-session", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~~~ resource.c:369:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 369 | {"-debug", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~~~ resource.c:370:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 370 | {"-xrm", NULL, XrmoptionSkipArg, (caddr_t) NULL }, | ^~~~~~ resource.c:371:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 371 | {"-config", ".configFile", XrmoptionSepArg, (caddr_t) NULL } | ^~~~~~~~~ resource.c:371:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 371 | {"-config", ".configFile", XrmoptionSepArg, (caddr_t) NULL } | ^~~~~~~~~~~~~ resource.c:375:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 375 | {"-server", ".servers", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~ resource.c:375:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 375 | {"-server", ".servers", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~ resource.c:376:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 376 | {"-udpPort", ".requestPort", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~ resource.c:376:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 376 | {"-udpPort", ".requestPort", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~~~~~ resource.c:377:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 377 | {"-error", ".errorLogFile", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~ resource.c:377:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 377 | {"-error", ".errorLogFile", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~~~~~~ resource.c:378:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 378 | {"-resources", "*resources", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~~~ resource.c:378:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 378 | {"-resources", "*resources", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~~~ resource.c:379:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 379 | {"-session", "*session", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~ session.c: In function 'SessionExit': resource.c:379:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 379 | {"-session", "*session", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~ session.c:511:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 511 | SessionExit (struct display *d, int status, int removeAuth) | ^~~~~~~~~~~ resource.c:380:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 380 | {"-debug", "*debugLevel", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~ resource.c:380:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 380 | {"-debug", "*debugLevel", XrmoptionSepArg, (caddr_t) NULL }, | ^~~~~~~~~~~~~ resource.c:381:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 381 | {"-xrm", NULL, XrmoptionResArg, (caddr_t) NULL }, | ^~~~~~ resource.c:382:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 382 | {"-daemon", ".daemonMode", XrmoptionNoArg, "true" }, | ^~~~~~~~~ resource.c:382:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 382 | {"-daemon", ".daemonMode", XrmoptionNoArg, "true" }, | ^~~~~~~~~~~~~ resource.c:382:46: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 382 | {"-daemon", ".daemonMode", XrmoptionNoArg, "true" }, | ^~~~~~ resource.c:383:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 383 | {"-nodaemon", ".daemonMode", XrmoptionNoArg, "false" } | ^~~~~~~~~~~ resource.c:383:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 383 | {"-nodaemon", ".daemonMode", XrmoptionNoArg, "false" } | ^~~~~~~~~~~~~ resource.c:383:48: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 383 | {"-nodaemon", ".daemonMode", XrmoptionNoArg, "false" } | ^~~~~~~ resource.c: In function 'ReinitResources': 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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ resource.c:292:14: note: expected 'char *' but argument is of type 'const char *' 292 | char *name, | ~~~~~~~~~^~~~ 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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ resource.c:293:14: note: expected 'char *' but argument is of type 'const char *' 293 | char *class, | ~~~~~~~~~^~~~~ In file included from ../include/dm.h:42, from resource.c:36: ../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" | ^~~~~~~~~~~~~~~~~~~~~~~~~ resource.c:420:24: note: in expansion of macro 'DEF_XDM_CONFIG' 420 | DM_STRING, &config, DEF_XDM_CONFIG); | ^~~~~~~~~~~~~~ resource.c:296:14: note: expected 'char *' but argument is of type 'const char *' 296 | char *default_value) | ~~~~~~~~~^~~~~~~~~~~~~ session.c: In function 'SessionPingFailed': session.c:288:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 288 | SessionPingFailed (struct display *d) | ^~~~~~~~~~~~~~~~~ session.c: In function 'ManageSession': session.c:325:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 325 | ManageSession (struct display *d) | ^~~~~~~~~~~~~ CC streams.o CC util.o CC xdmcp.o CC xdmauth.o CC prngc.o util.c: In function 'makeEnv': util.c:104:2: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 104 | asprintf(&result, "%s=%s", name, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdmcp.c: In function 'manage': xdmcp.c:1208:31: warning: passing argument 3 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1208 | send_failed (from, fromlen, "(no name)", sessionID, | ^~~~~~~~~~~ xdmcp.c:77:68: note: expected 'char *' but argument is of type 'const char *' 77 | static void send_failed (struct sockaddr *from, int fromlen, char *name, CARD32 sessionID, char *reason, int fd); | ~~~~~~^~~~ xdmcp.c:1209:5: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1209 | "out of memory", fd); | ^~~~~~~~~~~~~~~ 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); | ~~~~~~^~~~~~ xdmcp.c:1222:5: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1222 | "out of memory", fd); | ^~~~~~~~~~~~~~~ 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); | ~~~~~~^~~~~~ xdmcp.c:1239:5: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1239 | "out of memory", fd); | ^~~~~~~~~~~~~~~ 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); | ~~~~~~^~~~~~ xdmcp.c:1248:5: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1248 | "out of memory", fd); | ^~~~~~~~~~~~~~~ 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); | ~~~~~~^~~~~~ xdmcp.c:1282:9: warning: passing argument 5 of 'send_failed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1282 | "out of memory", fd); | ^~~~~~~~~~~~~~~ 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); | ~~~~~~^~~~~~ xdmcp.c: In function 'NetworkAddressToHostname': xdmcp.c:1419:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1419 | char *local_name = ""; | ^~ xdmauth.c: In function 'XdmGetAuthHelper': xdmauth.c:128:22: warning: passing argument 1 of 'XdmPrintDataHex' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | XdmPrintDataHex ("Local server auth", (char *)new->data, new->data_length); | ^~~~~~~~~~~~~~~~~~~ xdmauth.c:47:24: note: expected 'char *' but argument is of type 'const char *' 47 | XdmPrintDataHex (char *s, char *a, int l) | ~~~~~~^ xdmauth.c: In function 'XdmGetXdmcpAuth': xdmauth.c:178:22: warning: passing argument 1 of 'XdmPrintDataHex' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 178 | XdmPrintDataHex ("Accept packet auth", xdmcpauth->data, xdmcpauth->data_length); | ^~~~~~~~~~~~~~~~~~~~ xdmauth.c:47:24: note: expected 'char *' but argument is of type 'const char *' 47 | XdmPrintDataHex (char *s, char *a, int l) | ~~~~~~^ xdmauth.c:179:22: warning: passing argument 1 of 'XdmPrintDataHex' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 179 | XdmPrintDataHex ("Auth file auth", fileauth->data, fileauth->data_length); | ^~~~~~~~~~~~~~~~ xdmauth.c:47:24: note: expected 'char *' but argument is of type 'const char *' 47 | XdmPrintDataHex (char *s, char *a, int l) | ~~~~~~^ xdmauth.c: In function 'XdmGetKey': xdmauth.c:237:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 237 | Debug ("Key entry for \"%s\" %d bytes\n", id, strlen(key)); | ~^ ~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld xdmauth.c: In function 'XdmCheckAuthentication': xdmauth.c:273:24: warning: passing argument 1 of 'XdmPrintArray8Hex' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 273 | XdmPrintArray8Hex ("Request packet auth", authenticationData); | ^~~~~~~~~~~~~~~~~~~~~ xdmauth.c:59:26: note: expected 'char *' but argument is of type 'const char *' 59 | XdmPrintArray8Hex (char *s, ARRAY8Ptr a) | ~~~~~~^ prngc.c: In function 'get_prngd_bytes': prngc.c:133:15: warning: passing argument 1 of 'atomicio' from incompatible pointer type [-Wincompatible-pointer-types] 133 | if (atomicio(write, fd, msg, sizeof(msg)) != sizeof(msg)) { | ^~~~~ | | | ssize_t (*)(int, const void *, size_t) {aka long int (*)(int, const void *, long unsigned int)} prngc.c:46:25: note: expected 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} but argument is of type 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} 46 | static ssize_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD xdm make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/xdm' Making all in xdmshell make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/xdmshell' CC xdmshell.o xdmshell.c: In function 'main': xdmshell.c:142:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | args[1] = "-nodaemon"; | ^ xdmshell.c:143:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 143 | args[2] = "-udpPort"; | ^ xdmshell.c:144:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 144 | args[3] = "0"; | ^ CCLD xdmshell make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/xdmshell' make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11' GEN xdm.service make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11' make[1]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UXNqK7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64 + cd xdm-1.1.11 looking for xdmshell + echo looking for xdmshell + find . -name '*xdmshell*' ./xdmshell ./xdmshell/xdmshell ./xdmshell/xdmshell.o ./xdmshell/xdmshell.c ./man/xdmshell.man ./man/xdmshell.1 + make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64 'INSTALL=install -p' Making install in app-defaults make[1]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/app-defaults' make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/app-defaults' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/share/X11/app-defaults' install -p -m 644 Chooser '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/share/X11/app-defaults' make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/app-defaults' make[1]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/app-defaults' Making install in chooser make[1]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/chooser' make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/chooser' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/libexec' /bin/sh ../libtool --mode=install install -p chooser '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/libexec' libtool: install: install -p chooser /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/libexec/chooser make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/chooser' make[1]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/chooser' Making install in config make[1]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/config' make install-am make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/config' make[3]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/config' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/share/xdm/pixmaps' install -p -m 644 xorg-bw.xpm xorg.xpm '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/share/xdm/pixmaps' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/etc/X11/xdm' install -p -m 644 Xaccess '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/etc/X11/xdm' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/etc/X11/xdm' install -p GiveConsole TakeConsole Xsetup_0 Xwilling '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/etc/X11/xdm' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/etc/X11/xdm' install -p -m 644 xdm-config Xresources Xservers '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/etc/X11/xdm' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/etc/X11/xdm' install -p Xreset Xsession Xstartup '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/etc/X11/xdm' make[3]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/config' make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/config' make[1]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/config' Making install in greeter make[1]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/greeter' make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/greeter' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/libexec' /bin/sh ../libtool --mode=install install -p libXdmGreet.la '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/libexec' libtool: install: install -p .libs/libXdmGreet.so /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/libexec/libXdmGreet.so libtool: install: install -p .libs/libXdmGreet.lai /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/libexec/libXdmGreet.la libtool: warning: remember to run 'libtool --finish /usr/libexec' make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/greeter' make[1]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/greeter' Making install in include make[1]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/include' make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/include' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/include' make[1]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/include' Making install in man make[1]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/man' make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/share/man/man1' install -p -m 644 xdm.1 '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/share/man/man1' install -p -m 644 xdmshell.1 '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/man' make[1]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/man' Making install in xdm make[1]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/xdm' make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/xdm' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/bin' /bin/sh ../libtool --mode=install install -p xdm '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/bin' libtool: install: install -p xdm /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/bin/xdm make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/xdm' make[1]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/xdm' Making install in xdmshell make[1]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/xdmshell' make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11/xdmshell' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/bin' /bin/sh ../libtool --mode=install install -p xdmshell '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/bin' libtool: install: install -p xdmshell /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/bin/xdmshell make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/xdmshell' make[1]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11/xdmshell' make[1]: Entering directory '/builddir/build/BUILD/xdm-1.1.11' make[2]: Entering directory '/builddir/build/BUILD/xdm-1.1.11' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/lib/systemd/system' install -p -m 644 xdm.service '/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/lib/systemd/system' make[2]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11' make[1]: Leaving directory '/builddir/build/BUILD/xdm-1.1.11' + echo looking for xdmshell looking for xdmshell + find /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64 -name '*xdmshell*' /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/share/man/man1/xdmshell.1 /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/bin/xdmshell + find /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64 -name '*.la' -exec rm -f '{}' ';' + install -p -m 755 /builddir/build/SOURCES/Xsetup_0 /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/etc/X11/xdm/Xsetup_0 + mkdir -p /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/etc/pam.d + install -p -m 644 /builddir/build/SOURCES/xdm.pamd /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/etc/pam.d/xdm + rm -f /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/etc/X11/xdm/Xsession + cd /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/etc/X11/xdm + ln -sf ../xinit/Xsession . + mkdir -p /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/var/lib/xdm + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.11-22.fc33 --unique-debug-suffix -1.1.11-22.fc33.riscv64 --unique-debug-src-base xorg-x11-xdm-1.1.11-22.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xdm-1.1.11 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/bin/xdmshell explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/bin/xdm explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/libexec/libXdmGreet.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/libexec/chooser extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/bin/xdmshell extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/bin/xdm extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/libexec/libXdmGreet.so extracting debug info from /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/libexec/chooser original debug info size: 804kB, size after compression: 728kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 888 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /etc/X11/xdm/GiveConsole from /bin/sh to #!/usr/bin/sh *** WARNING: ./etc/X11/xdm/Xreset is executable but has no shebang, removing executable bit *** WARNING: ./etc/X11/xdm/Xstartup is executable but has no shebang, removing executable bit mangling shebang in /etc/X11/xdm/Xsetup_0 from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/X11/xdm/TakeConsole from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/X11/xdm/Xwilling from /bin/sh to #!/usr/bin/sh Processing files: xorg-x11-xdm-1.1.11-22.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GnLex7 + umask 022 + cd /builddir/build/BUILD + cd xdm-1.1.11 + DOCDIR=/builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/share/doc/xorg-x11-xdm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/share/doc/xorg-x11-xdm + cp -pr AUTHORS /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/share/doc/xorg-x11-xdm + cp -pr COPYING /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/share/doc/xorg-x11-xdm + cp -pr README /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/share/doc/xorg-x11-xdm + cp -pr ChangeLog /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64/usr/share/doc/xorg-x11-xdm + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(xorg-x11-xdm) = 1:1.1.11-22.fc33 libXdmGreet.so()(64bit) xdm xorg-x11-xdm = 1:1.1.11-22.fc33 xorg-x11-xdm(riscv-64) = 1:1.1.11-22.fc33 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libXau.so.6()(64bit) libXaw.so.7()(64bit) libXdmcp.so.6()(64bit) libXft.so.2()(64bit) libXinerama.so.1()(64bit) libXmu.so.6()(64bit) libXpm.so.4()(64bit) libXt.so.6()(64bit) libaudit.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) rtld(GNU_HASH) Processing files: xorg-x11-xdm-debugsource-1.1.11-22.fc33.riscv64 Provides: xorg-x11-xdm-debugsource = 1:1.1.11-22.fc33 xorg-x11-xdm-debugsource(riscv-64) = 1:1.1.11-22.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xorg-x11-xdm-debuginfo-1.1.11-22.fc33.riscv64 Provides: debuginfo(build-id) = 36d6533036b5b13758462b09c2d121ae2aefdb51 debuginfo(build-id) = 51e73ed3beff2338f99b8b6c03bc0f9cab404543 debuginfo(build-id) = a25140b4d57daf79b6055860f16298f88ec79dbe debuginfo(build-id) = c15458d7a2beae1bc09ab4a2daac8a0c65e87ab3 xorg-x11-xdm-debuginfo = 1:1.1.11-22.fc33 xorg-x11-xdm-debuginfo(riscv-64) = 1:1.1.11-22.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xorg-x11-xdm-debugsource(riscv-64) = 1:1.1.11-22.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64 Wrote: /builddir/build/RPMS/xorg-x11-xdm-1.1.11-22.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/xorg-x11-xdm-debugsource-1.1.11-22.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/xorg-x11-xdm-debuginfo-1.1.11-22.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2pt9A5 + umask 022 + cd /builddir/build/BUILD + cd xdm-1.1.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xorg-x11-xdm-1.1.11-22.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0