* Package: x11-apps/xdm-1.1.11-r1 * Repository: gentoo * Maintainer: x11@gentoo.org * USE: abi_x86_32 consolekit elibc_glibc ipv6 kernel_linux pam policykit userland_GNU x86 * FEATURES: preserve-libs sandbox >>> Unpacking source... >>> Unpacking xdm-1.1.11.tar.bz2 to /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work >>> Source unpacked in /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work >>> Preparing source in /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11 ... * Applying xdm-consolekit.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --foreign ... [ ok ] * Running elibtoolize in: xdm-1.1.11/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.2 patch ... * Applying target-nm/2.4.2 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11 ... >>> Working in BUILD_DIR: "/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build" * econf: updating xdm-1.1.11/config.guess with /usr/share/gnuconfig/config.guess * econf: updating xdm-1.1.11/config.sub with /usr/share/gnuconfig/config.sub /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --docdir=/usr/share/doc/xdm-1.1.11-r1 --enable-ipv6 --with-pam --with-systemdsystemunitdir=/usr/lib/systemd/system --with-default-vt=vt7 --with-xdmconfigdir=/etc/X11/xdm --with-consolekit checking for i686-pc-linux-gnu-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 how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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 /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/missing: Unknown `--is-lightweight' option Try `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/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... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU 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... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i686-pc-linux-gnu-nm -B checking the name lister (/usr/bin/i686-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for i686-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from gcc object... ok checking for sysroot... no checking for i686-pc-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... yes 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/i686-pc-linux-gnu/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... no 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... -std=gnu99 checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for i686-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking if gcc -std=gnu99 supports -Werror=unknown-warning-option... no checking if gcc -std=gnu99 supports -Werror=unused-command-line-argument... no checking if gcc -std=gnu99 supports-Wall... yes checking if gcc -std=gnu99 supports-Wpointer-arith... yes checking if gcc -std=gnu99 supports-Wmissing-declarations... yes checking if gcc -std=gnu99 supports-Wformat=2... yes checking if gcc -std=gnu99 supports-Wstrict-prototypes... yes checking if gcc -std=gnu99 supports-Wmissing-prototypes... yes checking if gcc -std=gnu99 supports-Wnested-externs... yes checking if gcc -std=gnu99 supports-Wbad-function-cast... yes checking if gcc -std=gnu99 supports-Wold-style-definition... yes checking if gcc -std=gnu99 supports-Wdeclaration-after-statement... yes checking if gcc -std=gnu99 supports-Wunused... yes checking if gcc -std=gnu99 supports-Wuninitialized... yes checking if gcc -std=gnu99 supports-Wshadow... yes checking if gcc -std=gnu99 supports-Wcast-qual... yes checking if gcc -std=gnu99 supports-Wmissing-noreturn... yes checking if gcc -std=gnu99 supports-Wmissing-format-attribute... yes checking if gcc -std=gnu99 supports-Wredundant-decls... yes checking if gcc -std=gnu99 supports-Werror=implicit... yes checking if gcc -std=gnu99 supports-Werror=nonnull... yes checking if gcc -std=gnu99 supports-Werror=init-self... yes checking if gcc -std=gnu99 supports-Werror=main... yes checking if gcc -std=gnu99 supports-Werror=missing-braces... yes checking if gcc -std=gnu99 supports-Werror=sequence-point... yes checking if gcc -std=gnu99 supports-Werror=return-type... yes checking if gcc -std=gnu99 supports-Werror=trigraphs... yes checking if gcc -std=gnu99 supports-Werror=array-bounds... yes checking if gcc -std=gnu99 supports-Werror=write-strings... yes checking if gcc -std=gnu99 supports-Werror=address... yes checking if gcc -std=gnu99 supports-Werror=int-to-pointer-cast... yes checking if gcc -std=gnu99 supports-Werror=pointer-to-int-cast... yes checking if gcc -std=gnu99 supports-pedantic... yes checking if gcc -std=gnu99 supports-Werror... yes checking if gcc -std=gnu99 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... -lbsd checking for library containing setusercontext... no checking for library containing arc4random... none required 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... yes checking for setusercontext... no checking for mkstemp... yes checking for getifaddrs... yes checking for getspnam... yes checking for arc4random... yes 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 if IPv6 support should be built... yes checking for struct sockaddr_in.sin_len... no checking for socklen_t... yes checking if Xtrans should support os-specific local connections... no checking for authdes_seccreate... no checking for authdes_create... yes checking for library containing getsecretkey... none required checking if Secure RPC authentication ("SUN-DES-1") should be supported... yes checking for library containing pam_open_session... -lpam checking for pam_open_session... yes checking for /dev/urandom... yes checking for /var/adm/utmpx... no checking for /var/run/utmp... yes 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 CK_CONNECTOR... 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 >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11 ... >>> Working in BUILD_DIR: "/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build" make -j9 V=1 make all-recursive make[1]: Entering directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build' Making all in app-defaults make[2]: Entering directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build/app-defaults' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build/app-defaults' Making all in chooser make[2]: Entering directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build/chooser' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser -I.. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -c /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:161:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] {"xdmAddress", "XdmAddress", XtRARRAY8, sizeof (ARRAY8Ptr), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:161:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:161:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:163:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] {"clientAddress", "ClientAddress", XtRARRAY8, sizeof (ARRAY8Ptr), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:163:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:163:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:165:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] {"connectionType", "ConnectionType", XtRInt, sizeof (int), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:165:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:171:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] { "-xdmaddress", "*xdmAddress", XrmoptionSepArg, NULL }, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:171:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:172:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] { "-clientaddress", "*clientAddress", XrmoptionSepArg, NULL }, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:172:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:173:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] { "-connectionType","*connectionType", XrmoptionSepArg, NULL }, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:173:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] In file included from /usr/include/string.h:633:0, from /usr/include/X11/Intrinsic.h:61, from /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:52: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c: In function ‘HostnameCompare’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:21: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:295:34: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] return strcmp (*(char **)a, *(char **)b); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c: In function ‘AddHostname’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:321:79: warning: declaration of ‘willing’ shadows a global declaration [-Wshadow] AddHostname (ARRAY8Ptr hostname, ARRAY8Ptr status, struct sockaddr *addr, int willing) ^ In file included from /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:63:0: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include/dm.h:333:14: warning: shadowed declaration is here [-Wshadow] extern char *willing; ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:343:18: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] hostAddr.data = (CARD8 *) ""; ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:421:16: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] new->fullname = "Unknown"; ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c: In function ‘Choose’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:887:14: warning: declaration of ‘buffer’ shadows a global declaration [-Wshadow] XdmcpBuffer buffer; ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:207:20: warning: shadowed declaration is here [-Wshadow] static XdmcpBuffer buffer; ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c: At top level: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:1257:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] { "Accept", DoAccept }, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:1258:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] { "Cancel", DoCancel }, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:1259:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] { "CheckWilling", DoCheckWilling }, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:1260:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] { "Ping", DoPing }, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:1261:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] { "KeySwitch", Switch_Key }, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:1262:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] { "BtnSwitch", Switch_Btn }, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:1263:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] { "Store", Storeold }, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:1264:5: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] { "Setold", Setold }, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c: In function ‘Choose’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/chooser/chooser.c:983:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write (fd, (char *)buffer.data, buffer.pointer); ^ /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -lXinerama -lXaw7 -lXt -lX11 -lXdmcp -Wl,-O1 -Wl,--as-needed -o chooser chooser.o -lpam -ldl -lcrypt -lbsd libtool: link: gcc -std=gnu99 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -Wl,-O1 -o chooser chooser.o -lXinerama -lXaw7 -lXt -lX11 -lXdmcp -Wl,--as-needed -lpam -ldl -lcrypt -lbsd make[2]: Leaving directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build/chooser' Making all in config make[2]: Entering directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build/config' /usr/bin/cpp -undef -traditional -DBINDIR="/usr/bin" -DDEFAULTVT="vt7" -DUTMP_FILE="/var/run/utmp" -DWTMP_FILE="/var/log/wtmp" -DXDMDIR="/usr/lib/X11/xdm" -DXDMLOGDIR="/var/log" -DXDMXAUTHDIR="/var/lib/xdm" -DXDMPIDDIR="/var/run" -DXDMCONFIGDIR="/etc/X11/xdm" -DXDMSCRIPTDIR="/usr/lib/X11/xdm" -DSU="su" -DCHOOSERPATH="/usr/lib/X11/xdm/chooser" -DXPM -DBITMAPDIR=/usr/lib/X11/xdm/pixmaps -DXDM_PIXMAP=xorg.xpm -DXDM_BWPIXMAP=xorg-bw.xpm -DSHELL_CMD="/bin/sh" -DMKTEMP_COMMAND=/usr/bin/mktemp < /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/config/Xservers.ws.cpp | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > Xservers.ws /usr/bin/cpp -undef -traditional -DBINDIR="/usr/bin" -DDEFAULTVT="vt7" -DUTMP_FILE="/var/run/utmp" -DWTMP_FILE="/var/log/wtmp" -DXDMDIR="/usr/lib/X11/xdm" -DXDMLOGDIR="/var/log" -DXDMXAUTHDIR="/var/lib/xdm" -DXDMPIDDIR="/var/run" -DXDMCONFIGDIR="/etc/X11/xdm" -DXDMSCRIPTDIR="/usr/lib/X11/xdm" -DSU="su" -DCHOOSERPATH="/usr/lib/X11/xdm/chooser" -DXPM -DBITMAPDIR=/usr/lib/X11/xdm/pixmaps -DXDM_PIXMAP=xorg.xpm -DXDM_BWPIXMAP=xorg-bw.xpm -DSHELL_CMD="/bin/sh" -DMKTEMP_COMMAND=/usr/bin/mktemp < /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/config/xdm-config.cpp | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > xdm-config /usr/bin/cpp -undef -traditional -DBINDIR="/usr/bin" -DDEFAULTVT="vt7" -DUTMP_FILE="/var/run/utmp" -DWTMP_FILE="/var/log/wtmp" -DXDMDIR="/usr/lib/X11/xdm" -DXDMLOGDIR="/var/log" -DXDMXAUTHDIR="/var/lib/xdm" -DXDMPIDDIR="/var/run" -DXDMCONFIGDIR="/etc/X11/xdm" -DXDMSCRIPTDIR="/usr/lib/X11/xdm" -DSU="su" -DCHOOSERPATH="/usr/lib/X11/xdm/chooser" -DXPM -DBITMAPDIR=/usr/lib/X11/xdm/pixmaps -DXDM_PIXMAP=xorg.xpm -DXDM_BWPIXMAP=xorg-bw.xpm -DSHELL_CMD="/bin/sh" -DMKTEMP_COMMAND=/usr/bin/mktemp < /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/config/Xreset.cpp | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > Xreset /usr/bin/cpp -undef -traditional -DBINDIR="/usr/bin" -DDEFAULTVT="vt7" -DUTMP_FILE="/var/run/utmp" -DWTMP_FILE="/var/log/wtmp" -DXDMDIR="/usr/lib/X11/xdm" -DXDMLOGDIR="/var/log" -DXDMXAUTHDIR="/var/lib/xdm" -DXDMPIDDIR="/var/run" -DXDMCONFIGDIR="/etc/X11/xdm" -DXDMSCRIPTDIR="/usr/lib/X11/xdm" -DSU="su" -DCHOOSERPATH="/usr/lib/X11/xdm/chooser" -DXPM -DBITMAPDIR=/usr/lib/X11/xdm/pixmaps -DXDM_PIXMAP=xorg.xpm -DXDM_BWPIXMAP=xorg-bw.xpm -DSHELL_CMD="/bin/sh" -DMKTEMP_COMMAND=/usr/bin/mktemp < /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/config/Xresources.cpp | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > Xresources /usr/bin/cpp -undef -traditional -DBINDIR="/usr/bin" -DDEFAULTVT="vt7" -DUTMP_FILE="/var/run/utmp" -DWTMP_FILE="/var/log/wtmp" -DXDMDIR="/usr/lib/X11/xdm" -DXDMLOGDIR="/var/log" -DXDMXAUTHDIR="/var/lib/xdm" -DXDMPIDDIR="/var/run" -DXDMCONFIGDIR="/etc/X11/xdm" -DXDMSCRIPTDIR="/usr/lib/X11/xdm" -DSU="su" -DCHOOSERPATH="/usr/lib/X11/xdm/chooser" -DXPM -DBITMAPDIR=/usr/lib/X11/xdm/pixmaps -DXDM_PIXMAP=xorg.xpm -DXDM_BWPIXMAP=xorg-bw.xpm -DSHELL_CMD="/bin/sh" -DMKTEMP_COMMAND=/usr/bin/mktemp < /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/config/Xsession.cpp | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > Xsession /usr/bin/cpp -undef -traditional -DBINDIR="/usr/bin" -DDEFAULTVT="vt7" -DUTMP_FILE="/var/run/utmp" -DWTMP_FILE="/var/log/wtmp" -DXDMDIR="/usr/lib/X11/xdm" -DXDMLOGDIR="/var/log" -DXDMXAUTHDIR="/var/lib/xdm" -DXDMPIDDIR="/var/run" -DXDMCONFIGDIR="/etc/X11/xdm" -DXDMSCRIPTDIR="/usr/lib/X11/xdm" -DSU="su" -DCHOOSERPATH="/usr/lib/X11/xdm/chooser" -DXPM -DBITMAPDIR=/usr/lib/X11/xdm/pixmaps -DXDM_PIXMAP=xorg.xpm -DXDM_BWPIXMAP=xorg-bw.xpm -DSHELL_CMD="/bin/sh" -DMKTEMP_COMMAND=/usr/bin/mktemp < /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/config/Xstartup.cpp | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > Xstartup make all-am make[3]: Entering directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build/config' ln -s Xservers.ws Xservers make[3]: Leaving directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build/config' make[2]: Leaving directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build/config' Making all in greeter make[2]: Entering directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build/greeter' /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter -I.. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/freetype2 -DGREET_LIB -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -c -o Login.lo /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter -I.. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/freetype2 -DGREET_LIB -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -c -o greet.lo /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/greet.c /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter -I.. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/freetype2 -DGREET_LIB -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -c -o verify.lo /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter -I.. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/freetype2 -DGREET_LIB -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -c /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/greet.c -fPIC -DPIC -o .libs/greet.o libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter -I.. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/freetype2 -DGREET_LIB -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -c /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c -fPIC -DPIC -o .libs/Login.o libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter -I.. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/freetype2 -DGREET_LIB -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -c /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c -fPIC -DPIC -o .libs/verify.o /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c:65:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] "TZ", /* SYSV and SVR4, but never hurts */ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c: In function 'userEnv': /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c:101:5: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [enabled by default] env = setEnv (env, "DISPLAY", d->name); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c:101:5: note: expected 'char *' but argument is of type 'const char *' /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c:102:5: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [enabled by default] env = setEnv (env, "HOME", home); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c:102:5: note: expected 'char *' but argument is of type 'const char *' /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c:103:5: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [enabled by default] env = setEnv (env, "LOGNAME", user); /* POSIX, System V */ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c:103:5: note: expected 'char *' but argument is of type 'const char *' /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c:104:5: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [enabled by default] env = setEnv (env, "USER", user); /* BSD */ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c:104:5: note: expected 'char *' but argument is of type 'const char *' /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c:105:5: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [enabled by default] env = setEnv (env, "PATH", useSystemPath ? d->systemPath : d->userPath); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c:105:5: note: expected 'char *' but argument is of type 'const char *' /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c:106:5: warning: passing argument 2 of '__xdm_setEnv' discards 'const' qualifier from pointer target type [enabled by default] env = setEnv (env, "SHELL", shell); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c:106:5: note: expected 'char *' but argument is of type 'const char *' /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c: In function 'Verify': /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c:546:3: warning: passing argument 2 of '__xdm_parseArgs' discards 'const' qualifier from pointer target type [enabled by default] argv = parseArgs (argv, "xsession"); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/verify.c:546:3: note: expected 'char *' but argument is of type 'const char *' /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:141:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNlogoFileName, XtCLogoFileName, XtRString, sizeof(char*), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:141:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:143:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNuseShape, XtCUseShape, XtRBoolean, sizeof(Boolean), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:143:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:145:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNlogoPadding, XtCLogoPadding, XtRInt, sizeof(int), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:145:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:151:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNhiColor, XtCForeground, XtRPixel, sizeof (Pixel), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:152:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] offset(hipixel), XtRString, XtDefaultForeground}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:153:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNshdColor, XtCForeground, XtRPixel, sizeof (Pixel), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:154:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] offset(shdpixel), XtRString, XtDefaultForeground}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:155:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNframeWidth, XtCFrameWidth, XtRInt, sizeof(int), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:155:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:157:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNinnerFramesWidth, XtCFrameWidth, XtRInt, sizeof(int), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:157:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:159:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNsepWidth, XtCFrameWidth, XtRInt, sizeof(int), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:159:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:173:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNface, XtCFace, XtRXftFont, sizeof (XftFont *), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:173:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:173:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:174:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] offset (textFace), XtRString, "Serif-18"}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:175:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNpromptFace, XtCFace, XtRXftFont, sizeof (XftFont *), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:175:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:175:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:176:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] offset (promptFace), XtRString, "Serif-18:bold"}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:177:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNgreetFace, XtCFace, XtRXftFont, sizeof (XftFont *), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:177:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:177:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:178:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] offset (greetFace), XtRString, "Serif-24:italic"}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:179:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNfailFace, XtCFace, XtRXftFont, sizeof (XftFont *), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:179:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:179:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:180:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] offset (failFace), XtRString, "Serif-18:bold"}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:181:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNforeground, XtCForeground, XtRXftColor, sizeof(XftColor), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:182:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] offset(textcolor), XtRString, XtDefaultForeground}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:183:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNpromptColor, XtCForeground, XtRXftColor, sizeof(XftColor), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:183:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:184:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] offset(promptcolor), XtRString, XtDefaultForeground}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:185:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNgreetColor, XtCForeground, XtRXftColor, sizeof(XftColor), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:185:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:186:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] offset(greetcolor), XtRString, XtDefaultForeground}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:187:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNfailColor, XtCForeground, XtRXftColor, sizeof (XftColor), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:187:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:188:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] offset(failcolor), XtRString, XtDefaultForeground}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:190:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNgreeting, XtCGreeting, XtRString, sizeof (char *), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:190:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:191:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] offset(greeting), XtRString, "X Window System"}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:192:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNunsecureGreeting, XtCGreeting, XtRString, sizeof (char *), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:192:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:193:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] offset(unsecure_greet), XtRString, "This is an unsecure session"}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:194:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNnamePrompt, XtCNamePrompt, XtRString, sizeof (char *), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:194:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:195:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] offset(namePrompt), XtRString, "Login: "}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:196:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNpasswdPrompt, XtCPasswdPrompt, XtRString, sizeof (char *), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:196:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:197:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] offset(passwdPrompt), XtRString, "Password: "}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:198:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNfail, XtCFail, XtRString, sizeof (char *), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:198:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:201:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] }, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:202:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNchangePasswdMessage, XtCChangePasswdMessage, XtRString, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:202:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:204:2: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] (XtPointer) "Password Change Required" }, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:205:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNfailTimeout, XtCFailTimeout, XtRInt, sizeof (int), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:205:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:207:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNnotifyDone, XtCCallback, XtRFunction, sizeof (XtPointer), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:209:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNsessionArgument, XtCSessionArgument, XtRString, sizeof (char *), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:209:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:211:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNsecureSession, XtCSecureSession, XtRBoolean, sizeof (Boolean), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:211:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:213:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNallowAccess, XtCAllowAccess, XtRBoolean, sizeof (Boolean), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:213:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:215:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNallowNullPasswd, XtCAllowNullPasswd, XtRBoolean, sizeof (Boolean), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:215:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:217:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNallowRootLogin, XtCAllowRootLogin, XtRBoolean, sizeof(Boolean), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:217:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:219:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNechoPasswd, XtCEchoPasswd, XtRBoolean, sizeof(Boolean), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:219:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:221:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {XtNechoPasswdChar, XtCEchoPasswdChar, XtRString, sizeof (char *), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:221:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:222:39: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] offset(echo_passwd_char), XtRString, (XtPointer) "*" } ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c: In function 'realizeValue': /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:272:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] w->login.f##Face, (FcChar8 *) m, l) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:293:29: note: in expansion of macro 'TEXT_WIDTH' #define STRING_WIDTH(f, s) TEXT_WIDTH (f, s, strlen(s)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:302:30: note: in expansion of macro 'STRING_WIDTH' #define TEXT_PROMPT_W(w, m) (STRING_WIDTH(prompt, m) + w->login.inframeswidth) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:304:27: note: in expansion of macro 'TEXT_PROMPT_W' #define DEF_PROMPT_W(w,n) TEXT_PROMPT_W(w, w->login.prompts[n].defaultPrompt) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:308:34: note: in expansion of macro 'DEF_PROMPT_W' #define MAX_DEF_PROMPT_W(w) (max(DEF_PROMPT_W(w,0), DEF_PROMPT_W(w,1))) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:305:33: note: in expansion of macro 'MAX_DEF_PROMPT_W' #define CUR_PROMPT_W(w,n) (max(MAX_DEF_PROMPT_W(w), PROMPT_TEXT(w,n) ? \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:325:37: note: in expansion of macro 'CUR_PROMPT_W' #define VALUE_X(w,n) (PROMPT_X(w) + CUR_PROMPT_W(w,n)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:380:9: note: in expansion of macro 'VALUE_X' x = VALUE_X (w,promptNum); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:272:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] w->login.f##Face, (FcChar8 *) m, l) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:293:29: note: in expansion of macro 'TEXT_WIDTH' #define STRING_WIDTH(f, s) TEXT_WIDTH (f, s, strlen(s)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:302:30: note: in expansion of macro 'STRING_WIDTH' #define TEXT_PROMPT_W(w, m) (STRING_WIDTH(prompt, m) + w->login.inframeswidth) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:304:27: note: in expansion of macro 'TEXT_PROMPT_W' #define DEF_PROMPT_W(w,n) TEXT_PROMPT_W(w, w->login.prompts[n].defaultPrompt) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:308:53: note: in expansion of macro 'DEF_PROMPT_W' #define MAX_DEF_PROMPT_W(w) (max(DEF_PROMPT_W(w,0), DEF_PROMPT_W(w,1))) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:305:33: note: in expansion of macro 'MAX_DEF_PROMPT_W' #define CUR_PROMPT_W(w,n) (max(MAX_DEF_PROMPT_W(w), PROMPT_TEXT(w,n) ? \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:325:37: note: in expansion of macro 'CUR_PROMPT_W' #define VALUE_X(w,n) (PROMPT_X(w) + CUR_PROMPT_W(w,n)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:380:9: note: in expansion of macro 'VALUE_X' x = VALUE_X (w,promptNum); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:272:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] w->login.f##Face, (FcChar8 *) m, l) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:293:29: note: in expansion of macro 'TEXT_WIDTH' #define STRING_WIDTH(f, s) TEXT_WIDTH (f, s, strlen(s)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:302:30: note: in expansion of macro 'STRING_WIDTH' #define TEXT_PROMPT_W(w, m) (STRING_WIDTH(prompt, m) + w->login.inframeswidth) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:304:27: note: in expansion of macro 'TEXT_PROMPT_W' #define DEF_PROMPT_W(w,n) TEXT_PROMPT_W(w, w->login.prompts[n].defaultPrompt) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:308:34: note: in expansion of macro 'DEF_PROMPT_W' #define MAX_DEF_PROMPT_W(w) (max(DEF_PROMPT_W(w,0), DEF_PROMPT_W(w,1))) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:305:33: note: in expansion of macro 'MAX_DEF_PROMPT_W' #define CUR_PROMPT_W(w,n) (max(MAX_DEF_PROMPT_W(w), PROMPT_TEXT(w,n) ? \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:325:37: note: in expansion of macro 'CUR_PROMPT_W' #define VALUE_X(w,n) (PROMPT_X(w) + CUR_PROMPT_W(w,n)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:327:41: note: in expansion of macro 'VALUE_X' #define MAX_VALUE_W(w,n) (PROMPT_W(w) - VALUE_X (w,n) - CURSOR_W - 1 - \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:384:13: note: in expansion of macro 'MAX_VALUE_W' width = MAX_VALUE_W(w,promptNum); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:272:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] w->login.f##Face, (FcChar8 *) m, l) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:293:29: note: in expansion of macro 'TEXT_WIDTH' #define STRING_WIDTH(f, s) TEXT_WIDTH (f, s, strlen(s)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:302:30: note: in expansion of macro 'STRING_WIDTH' #define TEXT_PROMPT_W(w, m) (STRING_WIDTH(prompt, m) + w->login.inframeswidth) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:304:27: note: in expansion of macro 'TEXT_PROMPT_W' #define DEF_PROMPT_W(w,n) TEXT_PROMPT_W(w, w->login.prompts[n].defaultPrompt) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:308:53: note: in expansion of macro 'DEF_PROMPT_W' #define MAX_DEF_PROMPT_W(w) (max(DEF_PROMPT_W(w,0), DEF_PROMPT_W(w,1))) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:305:33: note: in expansion of macro 'MAX_DEF_PROMPT_W' #define CUR_PROMPT_W(w,n) (max(MAX_DEF_PROMPT_W(w), PROMPT_TEXT(w,n) ? \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:325:37: note: in expansion of macro 'CUR_PROMPT_W' #define VALUE_X(w,n) (PROMPT_X(w) + CUR_PROMPT_W(w,n)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:327:41: note: in expansion of macro 'VALUE_X' #define MAX_VALUE_W(w,n) (PROMPT_W(w) - VALUE_X (w,n) - CURSOR_W - 1 - \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:384:13: note: in expansion of macro 'MAX_VALUE_W' width = MAX_VALUE_W(w,promptNum); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c: In function 'realizeCursor': /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:272:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] w->login.f##Face, (FcChar8 *) m, l) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:293:29: note: in expansion of macro 'TEXT_WIDTH' #define STRING_WIDTH(f, s) TEXT_WIDTH (f, s, strlen(s)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:302:30: note: in expansion of macro 'STRING_WIDTH' #define TEXT_PROMPT_W(w, m) (STRING_WIDTH(prompt, m) + w->login.inframeswidth) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:304:27: note: in expansion of macro 'TEXT_PROMPT_W' #define DEF_PROMPT_W(w,n) TEXT_PROMPT_W(w, w->login.prompts[n].defaultPrompt) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:308:34: note: in expansion of macro 'DEF_PROMPT_W' #define MAX_DEF_PROMPT_W(w) (max(DEF_PROMPT_W(w,0), DEF_PROMPT_W(w,1))) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:305:33: note: in expansion of macro 'MAX_DEF_PROMPT_W' #define CUR_PROMPT_W(w,n) (max(MAX_DEF_PROMPT_W(w), PROMPT_TEXT(w,n) ? \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:325:37: note: in expansion of macro 'CUR_PROMPT_W' #define VALUE_X(w,n) (PROMPT_X(w) + CUR_PROMPT_W(w,n)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:464:9: note: in expansion of macro 'VALUE_X' x = VALUE_X (w, w->login.activePrompt); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:272:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] w->login.f##Face, (FcChar8 *) m, l) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:293:29: note: in expansion of macro 'TEXT_WIDTH' #define STRING_WIDTH(f, s) TEXT_WIDTH (f, s, strlen(s)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:302:30: note: in expansion of macro 'STRING_WIDTH' #define TEXT_PROMPT_W(w, m) (STRING_WIDTH(prompt, m) + w->login.inframeswidth) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:304:27: note: in expansion of macro 'TEXT_PROMPT_W' #define DEF_PROMPT_W(w,n) TEXT_PROMPT_W(w, w->login.prompts[n].defaultPrompt) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:308:53: note: in expansion of macro 'DEF_PROMPT_W' #define MAX_DEF_PROMPT_W(w) (max(DEF_PROMPT_W(w,0), DEF_PROMPT_W(w,1))) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:305:33: note: in expansion of macro 'MAX_DEF_PROMPT_W' #define CUR_PROMPT_W(w,n) (max(MAX_DEF_PROMPT_W(w), PROMPT_TEXT(w,n) ? \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:325:37: note: in expansion of macro 'CUR_PROMPT_W' #define VALUE_X(w,n) (PROMPT_X(w) + CUR_PROMPT_W(w,n)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:464:9: note: in expansion of macro 'VALUE_X' x = VALUE_X (w, w->login.activePrompt); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:272:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] w->login.f##Face, (FcChar8 *) m, l) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:293:29: note: in expansion of macro 'TEXT_WIDTH' #define STRING_WIDTH(f, s) TEXT_WIDTH (f, s, strlen(s)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:302:30: note: in expansion of macro 'STRING_WIDTH' #define TEXT_PROMPT_W(w, m) (STRING_WIDTH(prompt, m) + w->login.inframeswidth) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:304:27: note: in expansion of macro 'TEXT_PROMPT_W' #define DEF_PROMPT_W(w,n) TEXT_PROMPT_W(w, w->login.prompts[n].defaultPrompt) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:308:34: note: in expansion of macro 'DEF_PROMPT_W' #define MAX_DEF_PROMPT_W(w) (max(DEF_PROMPT_W(w,0), DEF_PROMPT_W(w,1))) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:305:33: note: in expansion of macro 'MAX_DEF_PROMPT_W' #define CUR_PROMPT_W(w,n) (max(MAX_DEF_PROMPT_W(w), PROMPT_TEXT(w,n) ? \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:325:37: note: in expansion of macro 'CUR_PROMPT_W' #define VALUE_X(w,n) (PROMPT_X(w) + CUR_PROMPT_W(w,n)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:327:41: note: in expansion of macro 'VALUE_X' #define MAX_VALUE_W(w,n) (PROMPT_W(w) - VALUE_X (w,n) - CURSOR_W - 1 - \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:493:7: note: in expansion of macro 'MAX_VALUE_W' MAX_VALUE_W(w, w->login.activePrompt)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:272:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] w->login.f##Face, (FcChar8 *) m, l) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:293:29: note: in expansion of macro 'TEXT_WIDTH' #define STRING_WIDTH(f, s) TEXT_WIDTH (f, s, strlen(s)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:302:30: note: in expansion of macro 'STRING_WIDTH' #define TEXT_PROMPT_W(w, m) (STRING_WIDTH(prompt, m) + w->login.inframeswidth) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:304:27: note: in expansion of macro 'TEXT_PROMPT_W' #define DEF_PROMPT_W(w,n) TEXT_PROMPT_W(w, w->login.prompts[n].defaultPrompt) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:308:53: note: in expansion of macro 'DEF_PROMPT_W' #define MAX_DEF_PROMPT_W(w) (max(DEF_PROMPT_W(w,0), DEF_PROMPT_W(w,1))) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:305:33: note: in expansion of macro 'MAX_DEF_PROMPT_W' #define CUR_PROMPT_W(w,n) (max(MAX_DEF_PROMPT_W(w), PROMPT_TEXT(w,n) ? \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:325:37: note: in expansion of macro 'CUR_PROMPT_W' #define VALUE_X(w,n) (PROMPT_X(w) + CUR_PROMPT_W(w,n)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:327:41: note: in expansion of macro 'VALUE_X' #define MAX_VALUE_W(w,n) (PROMPT_W(w) - VALUE_X (w,n) - CURSOR_W - 1 - \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:493:7: note: in expansion of macro 'MAX_VALUE_W' MAX_VALUE_W(w, w->login.activePrompt)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:272:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] w->login.f##Face, (FcChar8 *) m, l) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:293:29: note: in expansion of macro 'TEXT_WIDTH' #define STRING_WIDTH(f, s) TEXT_WIDTH (f, s, strlen(s)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:302:30: note: in expansion of macro 'STRING_WIDTH' #define TEXT_PROMPT_W(w, m) (STRING_WIDTH(prompt, m) + w->login.inframeswidth) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:304:27: note: in expansion of macro 'TEXT_PROMPT_W' #define DEF_PROMPT_W(w,n) TEXT_PROMPT_W(w, w->login.prompts[n].defaultPrompt) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:308:34: note: in expansion of macro 'DEF_PROMPT_W' #define MAX_DEF_PROMPT_W(w) (max(DEF_PROMPT_W(w,0), DEF_PROMPT_W(w,1))) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:305:33: note: in expansion of macro 'MAX_DEF_PROMPT_W' #define CUR_PROMPT_W(w,n) (max(MAX_DEF_PROMPT_W(w), PROMPT_TEXT(w,n) ? \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:325:37: note: in expansion of macro 'CUR_PROMPT_W' #define VALUE_X(w,n) (PROMPT_X(w) + CUR_PROMPT_W(w,n)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:327:41: note: in expansion of macro 'VALUE_X' #define MAX_VALUE_W(w,n) (PROMPT_W(w) - VALUE_X (w,n) - CURSOR_W - 1 - \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:496:12: note: in expansion of macro 'MAX_VALUE_W' x += MAX_VALUE_W(w, w->login.activePrompt); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:272:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] w->login.f##Face, (FcChar8 *) m, l) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:293:29: note: in expansion of macro 'TEXT_WIDTH' #define STRING_WIDTH(f, s) TEXT_WIDTH (f, s, strlen(s)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:302:30: note: in expansion of macro 'STRING_WIDTH' #define TEXT_PROMPT_W(w, m) (STRING_WIDTH(prompt, m) + w->login.inframeswidth) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:304:27: note: in expansion of macro 'TEXT_PROMPT_W' #define DEF_PROMPT_W(w,n) TEXT_PROMPT_W(w, w->login.prompts[n].defaultPrompt) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:308:53: note: in expansion of macro 'DEF_PROMPT_W' #define MAX_DEF_PROMPT_W(w) (max(DEF_PROMPT_W(w,0), DEF_PROMPT_W(w,1))) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:305:33: note: in expansion of macro 'MAX_DEF_PROMPT_W' #define CUR_PROMPT_W(w,n) (max(MAX_DEF_PROMPT_W(w), PROMPT_TEXT(w,n) ? \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:325:37: note: in expansion of macro 'CUR_PROMPT_W' #define VALUE_X(w,n) (PROMPT_X(w) + CUR_PROMPT_W(w,n)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:327:41: note: in expansion of macro 'VALUE_X' #define MAX_VALUE_W(w,n) (PROMPT_W(w) - VALUE_X (w,n) - CURSOR_W - 1 - \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:496:12: note: in expansion of macro 'MAX_VALUE_W' x += MAX_VALUE_W(w, w->login.activePrompt); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/greet.c: In function 'InitGreet': /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/greet.c:241:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] static char *argv[] = { "xlogin", NULL }; ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c: In function 'draw_it': /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:272:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] w->login.f##Face, (FcChar8 *) m, l) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:293:29: note: in expansion of macro 'TEXT_WIDTH' #define STRING_WIDTH(f, s) TEXT_WIDTH (f, s, strlen(s)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:302:30: note: in expansion of macro 'STRING_WIDTH' #define TEXT_PROMPT_W(w, m) (STRING_WIDTH(prompt, m) + w->login.inframeswidth) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:304:27: note: in expansion of macro 'TEXT_PROMPT_W' #define DEF_PROMPT_W(w,n) TEXT_PROMPT_W(w, w->login.prompts[n].defaultPrompt) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:308:34: note: in expansion of macro 'DEF_PROMPT_W' #define MAX_DEF_PROMPT_W(w) (max(DEF_PROMPT_W(w,0), DEF_PROMPT_W(w,1))) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:305:33: note: in expansion of macro 'MAX_DEF_PROMPT_W' #define CUR_PROMPT_W(w,n) (max(MAX_DEF_PROMPT_W(w), PROMPT_TEXT(w,n) ? \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:325:37: note: in expansion of macro 'CUR_PROMPT_W' #define VALUE_X(w,n) (PROMPT_X(w) + CUR_PROMPT_W(w,n)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:736:19: note: in expansion of macro 'VALUE_X' int in_frame_x = VALUE_X(w,p) - w->login.inframeswidth - 3; ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:272:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] w->login.f##Face, (FcChar8 *) m, l) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:293:29: note: in expansion of macro 'TEXT_WIDTH' #define STRING_WIDTH(f, s) TEXT_WIDTH (f, s, strlen(s)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:302:30: note: in expansion of macro 'STRING_WIDTH' #define TEXT_PROMPT_W(w, m) (STRING_WIDTH(prompt, m) + w->login.inframeswidth) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:304:27: note: in expansion of macro 'TEXT_PROMPT_W' #define DEF_PROMPT_W(w,n) TEXT_PROMPT_W(w, w->login.prompts[n].defaultPrompt) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:308:53: note: in expansion of macro 'DEF_PROMPT_W' #define MAX_DEF_PROMPT_W(w) (max(DEF_PROMPT_W(w,0), DEF_PROMPT_W(w,1))) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:305:33: note: in expansion of macro 'MAX_DEF_PROMPT_W' #define CUR_PROMPT_W(w,n) (max(MAX_DEF_PROMPT_W(w), PROMPT_TEXT(w,n) ? \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:325:37: note: in expansion of macro 'CUR_PROMPT_W' #define VALUE_X(w,n) (PROMPT_X(w) + CUR_PROMPT_W(w,n)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:736:19: note: in expansion of macro 'VALUE_X' int in_frame_x = VALUE_X(w,p) - w->login.inframeswidth - 3; ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/greet.c: In function 'pamconv': /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/greet.c:724:9: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] m = (struct pam_message *)*msg; ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:272:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] w->login.f##Face, (FcChar8 *) m, l) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:293:29: note: in expansion of macro 'TEXT_WIDTH' #define STRING_WIDTH(f, s) TEXT_WIDTH (f, s, strlen(s)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:302:30: note: in expansion of macro 'STRING_WIDTH' #define TEXT_PROMPT_W(w, m) (STRING_WIDTH(prompt, m) + w->login.inframeswidth) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:304:27: note: in expansion of macro 'TEXT_PROMPT_W' #define DEF_PROMPT_W(w,n) TEXT_PROMPT_W(w, w->login.prompts[n].defaultPrompt) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:308:34: note: in expansion of macro 'DEF_PROMPT_W' #define MAX_DEF_PROMPT_W(w) (max(DEF_PROMPT_W(w,0), DEF_PROMPT_W(w,1))) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:305:33: note: in expansion of macro 'MAX_DEF_PROMPT_W' #define CUR_PROMPT_W(w,n) (max(MAX_DEF_PROMPT_W(w), PROMPT_TEXT(w,n) ? \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:325:37: note: in expansion of macro 'CUR_PROMPT_W' #define VALUE_X(w,n) (PROMPT_X(w) + CUR_PROMPT_W(w,n)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:740:31: note: in expansion of macro 'VALUE_X' int in_width = PROMPT_W(w) - VALUE_X(w,p) - LOGO_W(w); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:272:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] w->login.f##Face, (FcChar8 *) m, l) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:293:29: note: in expansion of macro 'TEXT_WIDTH' #define STRING_WIDTH(f, s) TEXT_WIDTH (f, s, strlen(s)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:302:30: note: in expansion of macro 'STRING_WIDTH' #define TEXT_PROMPT_W(w, m) (STRING_WIDTH(prompt, m) + w->login.inframeswidth) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:304:27: note: in expansion of macro 'TEXT_PROMPT_W' #define DEF_PROMPT_W(w,n) TEXT_PROMPT_W(w, w->login.prompts[n].defaultPrompt) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:308:53: note: in expansion of macro 'DEF_PROMPT_W' #define MAX_DEF_PROMPT_W(w) (max(DEF_PROMPT_W(w,0), DEF_PROMPT_W(w,1))) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:305:33: note: in expansion of macro 'MAX_DEF_PROMPT_W' #define CUR_PROMPT_W(w,n) (max(MAX_DEF_PROMPT_W(w), PROMPT_TEXT(w,n) ? \ ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:325:37: note: in expansion of macro 'CUR_PROMPT_W' #define VALUE_X(w,n) (PROMPT_X(w) + CUR_PROMPT_W(w,n)) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:740:31: note: in expansion of macro 'VALUE_X' int in_width = PROMPT_W(w) - VALUE_X(w,p) - LOGO_W(w); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/greet.c: In function 'GreetUser': /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/greet.c:666:19: warning: ignoring return value of 'getdomainname', declared with attribute warn_unused_result [-Wunused-result] getdomainname(domainname, sizeof domainname); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:279:10: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] x, y, (FcChar8 *) m, l) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:786:6: note: in expansion of macro 'DRAW_STRING' DRAW_STRING (prompt, PROMPT_X(w), PROMPT_Y(w,p), ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c: At top level: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2026:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"delete-previous-character", DeleteBackwardChar}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2027:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"delete-character", DeleteForwardChar}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2028:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"move-backward-character", MoveBackwardChar}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2029:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"move-forward-character", MoveForwardChar}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2030:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"move-to-begining", MoveToBegining}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2031:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"move-to-end", MoveToEnd}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2032:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"erase-to-end-of-line", EraseToEndOfLine}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2033:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"erase-line", EraseLine}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2034:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"finish-field", FinishField}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2035:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"tab-field", TabField}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2036:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"abort-session", AbortSession}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2037:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"abort-display", AbortDisplay}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2038:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"restart-session", RestartSession}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2039:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"insert-char", InsertChar}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2040:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"set-session-argument", SetSessionArgument}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2041:3: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] {"allow-all-access", AllowAccess}, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/greeter/Login.c:2047:23: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] /* class_name */ "Login", ^ /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/freetype2 -DGREET_LIB -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -module -avoid-version -Wl,-O1 -Wl,--as-needed -o libXdmGreet.la -rpath /usr/lib/X11/xdm Login.lo greet.lo verify.lo -lXt -lX11 -lXext -lXaw7 -lXt -lX11 -lXdmcp -lXinerama -lXft -lXpm -lX11 -lpam -ldl -lcrypt -lbsd libtool: link: gcc -shared -fPIC -DPIC .libs/Login.o .libs/greet.o .libs/verify.o -Wl,--as-needed -lXext -lXaw7 -lXt -lXdmcp -lXinerama -lXft -lXpm -lX11 -lpam -ldl -lcrypt -lbsd -march=corei7-avx -mtune=corei7-avx -O2 -Wl,-O1 -Wl,-soname -Wl,libXdmGreet.so -o .libs/libXdmGreet.so libtool: link: ( cd ".libs" && rm -f "libXdmGreet.la" && ln -s "../libXdmGreet.la" "libXdmGreet.la" ) make[2]: Leaving directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build/greeter' Making all in include make[2]: Entering directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build/include' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build/include' Making all in man make[2]: Entering directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build/man' /bin/sed -e 's|__vendorversion__|"xdm 1.1.11" "X Version 11"|' -e 's|__xorgversion__|"xdm 1.1.11" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__apploaddir__|/usr/share/X11/app-defaults|g' -e 's|__appmansuffix__|1|g' -e 's|__drivermansuffix__|4|g' -e 's|__adminmansuffix__|8|g' -e 's|__libmansuffix__|3|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' -e 's|CHOOSERPATH|/usr/lib/X11/xdm/chooser|g' -e 's|XDMLOGDIR|/var/log|g' -e 's|XDMDIR|/etc/X11/xdm|g' -e 's|BINDIR|/usr/bin|g' -e 's|XDMPIDDIR|/var/run|g' -e 's|XDMXAUTHDIR|/var/lib/xdm|g' -e 's|DEF_USER_PATH|/bin:/usr/bin:/usr/bin:/usr/ucb|g' -e 's|DEF_SYSTEM_PATH|/etc:/bin:/usr/bin:/usr/bin:/usr/ucb|g' -e 's|DEF_GREETER_LIB|/usr/lib/X11/xdm/libXdmGreet.so|g' -e 's|DEV_RANDOM|/dev/urandom|g' -e 's|ARC4_RANDOM|yes|g' < /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/man/xdm.man > xdm.1 /bin/sed -e 's|__vendorversion__|"xdm 1.1.11" "X Version 11"|' -e 's|__xorgversion__|"xdm 1.1.11" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__apploaddir__|/usr/share/X11/app-defaults|g' -e 's|__appmansuffix__|1|g' -e 's|__drivermansuffix__|4|g' -e 's|__adminmansuffix__|8|g' -e 's|__libmansuffix__|3|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' -e 's|CHOOSERPATH|/usr/lib/X11/xdm/chooser|g' -e 's|XDMLOGDIR|/var/log|g' -e 's|XDMDIR|/etc/X11/xdm|g' -e 's|BINDIR|/usr/bin|g' -e 's|XDMPIDDIR|/var/run|g' -e 's|XDMXAUTHDIR|/var/lib/xdm|g' -e 's|DEF_USER_PATH|/bin:/usr/bin:/usr/bin:/usr/ucb|g' -e 's|DEF_SYSTEM_PATH|/etc:/bin:/usr/bin:/usr/bin:/usr/ucb|g' -e 's|DEF_GREETER_LIB|/usr/lib/X11/xdm/libXdmGreet.so|g' -e 's|DEV_RANDOM|/dev/urandom|g' -e 's|ARC4_RANDOM|yes|g' < /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/man/xdmshell.man > xdmshell.1 make[2]: Leaving directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build/man' Making all in xdm make[2]: Entering directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build/xdm' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm -I.. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/ConsoleKit/ck-connector -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DUSE_CONSOLEKIT -DHASXDMAUTH -DSECURE_RPC -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -c /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/access.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm -I.. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/ConsoleKit/ck-connector -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DUSE_CONSOLEKIT -DHASXDMAUTH -DSECURE_RPC -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -c /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm -I.. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/ConsoleKit/ck-connector -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DUSE_CONSOLEKIT -DHASXDMAUTH -DSECURE_RPC -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -c /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/choose.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm -I.. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/ConsoleKit/ck-connector -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DUSE_CONSOLEKIT -DHASXDMAUTH -DSECURE_RPC -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -c /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/daemon.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm -I.. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/ConsoleKit/ck-connector -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DUSE_CONSOLEKIT -DHASXDMAUTH -DSECURE_RPC -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -c /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/dm.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm -I.. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/ConsoleKit/ck-connector -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DUSE_CONSOLEKIT -DHASXDMAUTH -DSECURE_RPC -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -c /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/dpylist.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm -I.. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/ConsoleKit/ck-connector -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DUSE_CONSOLEKIT -DHASXDMAUTH -DSECURE_RPC -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -c /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/error.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm -I.. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/ConsoleKit/ck-connector -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DUSE_CONSOLEKIT -DHASXDMAUTH -DSECURE_RPC -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -c /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/file.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm -I.. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/ConsoleKit/ck-connector -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DUSE_CONSOLEKIT -DHASXDMAUTH -DSECURE_RPC -march=corei7-avx -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer -c /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/genauth.c /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/genauth.c: In function ‘InitXdmcpWrapper’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/genauth.c:350:5: error: implicit declaration of function ‘arc4random’ [-Werror=implicit-function-declaration] sum[0] = arc4random(); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/choose.c: In function ‘AddChooserHost’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/genauth.c:350:5: warning: nested extern declaration of ‘arc4random’ [-Wnested-externs] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/choose.c:386:2: warning: passing argument 2 of ‘parseArgs’ discards ‘const’ qualifier from pointer target type [enabled by default] *argp = parseArgs (*argp, "BROADCAST"); ^ In file included from /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/choose.c:35:0: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include/dm.h:468:15: note: expected ‘char *’ but argument is of type ‘const char *’ extern char **parseArgs (char **argv, char *string); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/dm.c: In function ‘WaitForChild’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/dm.c:513:7: warning: passing argument 2 of ‘SendFailed’ discards ‘const’ qualifier from pointer target type [enabled by default] SendFailed (d, "Cannot open display"); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/choose.c: In function ‘RunChooser’: In file included from /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/dm.c:36:0: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include/dm.h:484:13: note: expected ‘char *’ but argument is of type ‘const char *’ extern void SendFailed (struct display *d, char *reason); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/choose.c:522:5: error: implicit declaration of function ‘setproctitle’ [-Werror=implicit-function-declaration] setproctitle("chooser %s", d->name); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/choose.c:522:5: warning: nested extern declaration of ‘setproctitle’ [-Wnested-externs] /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/dm.c:541:4: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘time_t’ [-Wformat=] crash ? " crash" : ""); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/dm.c:541:4: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘time_t’ [-Wformat=] cc1: some warnings being treated as errors make[2]: *** [genauth.o] Error 1 make[2]: *** Waiting for unfinished jobs.... cc1: some warnings being treated as errors make[2]: *** [choose.o] Error 1 /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/file.c:231:2: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] { "local", { Local, Permanent, FromFile } }, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/file.c:232:2: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] { "foreign", { Foreign, Permanent, FromFile } }, ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/dm.c: In function ‘main’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/dm.c:180:8: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] system(cmdbuf); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/dm.c: In function ‘SetWindowPath’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/dm.c:732:11: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&newwindowpath, "%lu", num); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/dm.c:734:11: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&newwindowpath, "%s:%lu", windowpath, num); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/access.c: In function ‘scanHostlist’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/access.c:656:19: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual] temp.data = (BYTE *) BROADCAST_STRING; ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/access.c: In function ‘patternMatch’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/access.c:675:9: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] string = ""; ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/error.c: In function ‘LogVWrite’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/error.c:56:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, buf, len); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/error.c: In function ‘LogPanic’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/error.c:93:1: warning: function might be candidate for attribute ‘noreturn’ [-Wsuggest-attribute=noreturn] LogPanic (const char * fmt, ...) ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c:130:1: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] { (unsigned short) 18, "MIT-MAGIC-COOKIE-1", ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c:134:1: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] { (unsigned short) 19, "XDM-AUTHORIZATION-1", ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c:139:1: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] { (unsigned short) 9, "SUN-DES-1", ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c: In function ‘SetUserAuthorization’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c:1319:2: warning: passing argument 2 of ‘getEnv’ discards ‘const’ qualifier from pointer target type [enabled by default] home = getEnv (verify->userEnviron, "HOME"); ^ In file included from /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c:43:0: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include/dm.h:471:14: note: expected ‘char *’ but argument is of type ‘const char *’ extern char *getEnv (char **e, char *name); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c:1472:9: warning: passing argument 2 of ‘setEnv’ discards ‘const’ qualifier from pointer target type [enabled by default] "XAUTHORITY", envname); ^ In file included from /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c:43:0: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include/dm.h:469:15: note: expected ‘char *’ but argument is of type ‘const char *’ extern char **setEnv (char **e, char *name, char *value); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c:1474:9: warning: passing argument 2 of ‘setEnv’ discards ‘const’ qualifier from pointer target type [enabled by default] "XAUTHORITY", envname); ^ In file included from /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c:43:0: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include/dm.h:469:15: note: expected ‘char *’ but argument is of type ‘const char *’ extern char **setEnv (char **e, char *name, char *value); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c: In function ‘RemoveUserAuthorization’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c:1496:5: warning: passing argument 2 of ‘getEnv’ discards ‘const’ qualifier from pointer target type [enabled by default] home = getEnv (verify->userEnviron, "HOME"); ^ In file included from /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c:43:0: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/include/dm.h:471:14: note: expected ‘char *’ but argument is of type ‘const char *’ extern char *getEnv (char **e, char *name); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c: In function ‘MakeServerAuthFile’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c:352:7: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result [-Wunused-result] (void) chown(d->authFile, 0, statb.st_gid); ^ /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c: In function ‘SetUserAuthorization’: /var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11/xdm/auth.c:1478:12: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result [-Wunused-result] chown (envname, verify->uid, verify->gid); ^ make[2]: Leaving directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build/xdm' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build' make: *** [all] Error 2 * ERROR: x11-apps/xdm-1.1.11-r1 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-apps/xdm-1.1.11-r1'`, * the complete build log and the output of `emerge -pqv '=x11-apps/xdm-1.1.11-r1'`. * The complete build log is located at '/var/tmp/portage/x11-apps/xdm-1.1.11-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-apps/xdm-1.1.11-r1/temp/environment'. * Working directory: '/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11_build' * S: '/var/tmp/portage/x11-apps/xdm-1.1.11-r1/work/xdm-1.1.11'