* Package: x11-apps/xdm-1.1.14:0 * Repository: gentoo * Maintainer: x11@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pam xinerama * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking xdm-1.1.14.tar.xz to /var/tmp/portage/x11-apps/xdm-1.1.14/work >>> Source unpacked in /var/tmp/portage/x11-apps/xdm-1.1.14/work >>> Preparing source in /var/tmp/portage/x11-apps/xdm-1.1.14/work/xdm-1.1.14 ... * Running elibtoolize in: xdm-1.1.14/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... * Applying werror/2.4.7 patch ... * Applying ppc64le/2.4.4 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-apps/xdm-1.1.14/work/xdm-1.1.14 ... * econf: updating xdm-1.1.14/config.sub with /usr/share/gnuconfig/config.sub * econf: updating xdm-1.1.14/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/xdm-1.1.14 --htmldir=/usr/share/doc/xdm-1.1.14/html --with-sysroot=/ --libdir=/usr/lib64 --disable-dependency-tracking --disable-selective-werror --disable-static --enable-ipv6 --with-pam --without-systemd-daemon --without-xft --with-xinerama --disable-xpm-logos --with-systemdsystemunitdir=/lib/systemd/system --with-default-vt=vt7 --with-xdmconfigdir=/etc/X11/xdm checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for vfork.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-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 x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) 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... 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 x86_64-pc-linux-gnu-gcc options needed to detect all undeclared functions... (cached) none needed checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking if x86_64-pc-linux-gnu-gcc supports -Werror=unknown-warning-option... no checking if x86_64-pc-linux-gnu-gcc supports -Werror=unused-command-line-argument... no checking if x86_64-pc-linux-gnu-gcc supports -Wall... yes checking if x86_64-pc-linux-gnu-gcc supports -Wpointer-arith... yes checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-declarations... yes checking if x86_64-pc-linux-gnu-gcc supports -Wformat=2... yes checking if x86_64-pc-linux-gnu-gcc supports -Wstrict-prototypes... yes checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-prototypes... yes checking if x86_64-pc-linux-gnu-gcc supports -Wnested-externs... yes checking if x86_64-pc-linux-gnu-gcc supports -Wbad-function-cast... yes checking if x86_64-pc-linux-gnu-gcc supports -Wold-style-definition... yes checking if x86_64-pc-linux-gnu-gcc supports -Wdeclaration-after-statement... yes checking if x86_64-pc-linux-gnu-gcc supports -Wunused... yes checking if x86_64-pc-linux-gnu-gcc supports -Wuninitialized... yes checking if x86_64-pc-linux-gnu-gcc supports -Wshadow... yes checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-noreturn... yes checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-format-attribute... yes checking if x86_64-pc-linux-gnu-gcc supports -Wredundant-decls... yes checking if x86_64-pc-linux-gnu-gcc supports -Wlogical-op... yes configure: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at https://gitlab.freedesktop.org/xorg/app/xdm/-/issues checking if x86_64-pc-linux-gnu-gcc supports -Wimplicit... yes checking if x86_64-pc-linux-gnu-gcc supports -Wnonnull... yes checking if x86_64-pc-linux-gnu-gcc supports -Winit-self... yes checking if x86_64-pc-linux-gnu-gcc supports -Wmain... yes checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-braces... yes checking if x86_64-pc-linux-gnu-gcc supports -Wsequence-point... yes checking if x86_64-pc-linux-gnu-gcc supports -Wreturn-type... yes checking if x86_64-pc-linux-gnu-gcc supports -Wtrigraphs... yes checking if x86_64-pc-linux-gnu-gcc supports -Warray-bounds... yes checking if x86_64-pc-linux-gnu-gcc supports -Wwrite-strings... yes checking if x86_64-pc-linux-gnu-gcc supports -Waddress... yes checking if x86_64-pc-linux-gnu-gcc supports -Wint-to-pointer-cast... yes checking if x86_64-pc-linux-gnu-gcc supports -Wpointer-to-int-cast... yes checking if x86_64-pc-linux-gnu-gcc supports -pedantic... yes checking if x86_64-pc-linux-gnu-gcc supports -Werror... yes checking if x86_64-pc-linux-gnu-gcc supports -Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for x86_64-pc-linux-gnu-cpp... /usr/bin/x86_64-pc-linux-gnu-cpp checking if /usr/bin/x86_64-pc-linux-gnu-cpp requires -undef... yes checking if /usr/bin/x86_64-pc-linux-gnu-cpp requires -traditional... grep: warning: stray \ before " grep: warning: stray \ before " yes checking for mktemp... /usr/bin/mktemp checking for XDM... yes checking for LIBBSD... yes checking for library containing getifaddrs... none required checking for library containing getspnam... none required checking for library containing setproctitle... no checking for setproctitle in libbsd... yes checking for library containing setusercontext... no checking for library containing arc4random... none required checking for library containing crypt... -lcrypt checking for library containing dlopen... none required checking for grp.h... yes checking for syslog.h... yes checking for sys/param.h... yes checking whether key_setnet is declared... no checking for pid_t... yes 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 for struct msghdr.msg_control... yes checking if Xtrans should support os-specific local connections... no checking for strcasecmp... yes checking for strlcpy... yes checking for authdes_seccreate... no checking for authdes_create... no checking if Secure RPC authentication ("SUN-DES-1") should be supported... no checking for security/pam_appl.h... yes checking for library containing pam_open_session... -lpam checking for pam_open_session... yes checking for /dev/urandom... yes checking for path to file listing current logins for sessreg... use sessreg default checking for path to file listing login history for sessreg... use sessreg default checking for XINERAMA... yes checking for XDM_TOOLKIT... yes checking for DMCP... yes checking for XLIB... yes checking for AUTH... yes checking for XDMGREET... yes checking for XdmcpWrap in -lXdmcp... yes checking for XT... yes checking for APPDEFS... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating app-defaults/Makefile config.status: creating chooser/Makefile config.status: creating config/Makefile config.status: creating greeter/Makefile config.status: creating include/Makefile config.status: creating man/Makefile config.status: creating xdm/Makefile config.status: creating xdmshell/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-apps/xdm-1.1.14/work/xdm-1.1.14 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/x11-apps/xdm-1.1.14/work/xdm-1.1.14' Making all in app-defaults make[2]: Entering directory '/var/tmp/portage/x11-apps/xdm-1.1.14/work/xdm-1.1.14/app-defaults' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/x11-apps/xdm-1.1.14/work/xdm-1.1.14/app-defaults' Making all in chooser make[2]: Entering directory '/var/tmp/portage/x11-apps/xdm-1.1.14/work/xdm-1.1.14/chooser' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../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 -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Wimplicit -Wnonnull -Winit-self -Wmain -Wmissing-braces -Wsequence-point -Wreturn-type -Wtrigraphs -Warray-bounds -Wwrite-strings -Waddress -Wint-to-pointer-cast -Wpointer-to-int-cast -fno-strict-aliasing -I/usr/include/uuid -O2 -pipe -march=native -fno-diagnostics-color -c -o chooser.o chooser.c chooser.c:148:6: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 148 | {"xdmAddress", "XdmAddress", XtRARRAY8, sizeof (ARRAY8Ptr), | ^~~~~~~~~~~~ chooser.c:148:25: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 148 | {"xdmAddress", "XdmAddress", XtRARRAY8, sizeof (ARRAY8Ptr), | ^~~~~~~~~~~~ chooser.c:145:21: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 145 | #define XtRARRAY8 "ARRAY8" | ^~~~~~~~ chooser.c:148:40: note: in expansion of macro ‘XtRARRAY8’ 148 | {"xdmAddress", "XdmAddress", XtRARRAY8, sizeof (ARRAY8Ptr), | ^~~~~~~~~ chooser.c:150:6: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 150 | {"clientAddress", "ClientAddress", XtRARRAY8, sizeof (ARRAY8Ptr), | ^~~~~~~~~~~~~~~ chooser.c:150:25: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 150 | {"clientAddress", "ClientAddress", XtRARRAY8, sizeof (ARRAY8Ptr), | ^~~~~~~~~~~~~~~ chooser.c:145:21: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 145 | #define XtRARRAY8 "ARRAY8" | ^~~~~~~~ chooser.c:150:43: note: in expansion of macro ‘XtRARRAY8’ 150 | {"clientAddress", "ClientAddress", XtRARRAY8, sizeof (ARRAY8Ptr), | ^~~~~~~~~ chooser.c:152:6: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 152 | {"connectionType", "ConnectionType", XtRInt, sizeof (int), | ^~~~~~~~~~~~~~~~ chooser.c:152:25: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 152 | {"connectionType", "ConnectionType", XtRInt, sizeof (int), | ^~~~~~~~~~~~~~~~ chooser.c:158:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | { "-xdmaddress", "*xdmAddress", XrmoptionSepArg, NULL }, | ^~~~~~~~~~~~~ chooser.c:158:25: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | { "-xdmaddress", "*xdmAddress", XrmoptionSepArg, NULL }, | ^~~~~~~~~~~~~ chooser.c:159:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 159 | { "-clientaddress", "*clientAddress", XrmoptionSepArg, NULL }, | ^~~~~~~~~~~~~~~~ chooser.c:159:25: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 159 | { "-clientaddress", "*clientAddress", XrmoptionSepArg, NULL }, | ^~~~~~~~~~~~~~~~ chooser.c:160:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | { "-connectionType","*connectionType", XrmoptionSepArg, NULL }, | ^~~~~~~~~~~~~~~~~ chooser.c:160:25: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | { "-connectionType","*connectionType", XrmoptionSepArg, NULL }, | ^~~~~~~~~~~~~~~~~ chooser.c: In function ‘RebuildTable’: chooser.c:280:26: error: passing argument 2 of ‘XawListChange’ from incompatible pointer type [-Wincompatible-pointer-types] 280 | XawListChange (list, newTable, size, 0, TRUE); | ^~~~~~~~ | | | char ** In file included from chooser.c:59: /usr/include/X11/Xaw/List.h:170:27: note: expected ‘const char **’ but argument is of type ‘char **’ 170 | _Xconst char **list, | ^ chooser.c: In function ‘AddHostname’: chooser.c:287:79: warning: declaration of ‘willing’ shadows a global declaration [-Wshadow] 287 | RAY8Ptr hostname, ARRAY8Ptr status, struct sockaddr *addr, int willing) | ~~~~^~~~~~~ In file included from chooser.c:63: ../include/dm.h:332:18: note: shadowed declaration is here 332 | extern char *willing; | ^~~~~~~ chooser.c:386:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 386 | new->fullname = "Unknown"; | ^ chooser.c: In function ‘Choose’: chooser.c:718:25: warning: declaration of ‘buffer’ shadows a global declaration [-Wshadow] 718 | XdmcpBuffer buffer; | ^~~~~~ chooser.c:194:25: note: shadowed declaration is here 194 | static XdmcpBuffer buffer; | ^~~~~~ chooser.c: At top level: chooser.c:1039:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1039 | { "Accept", DoAccept }, | ^~~~~~~~ chooser.c:1040:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1040 | { "Cancel", DoCancel }, | ^~~~~~~~ chooser.c:1041:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1041 | { "CheckWilling", DoCheckWilling }, | ^~~~~~~~~~~~~~ chooser.c:1042:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1042 | { "Ping", DoPing }, | ^~~~~~ chooser.c:1043:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1043 | { "KeySwitch", Switch_Key }, | ^~~~~~~~~~~ chooser.c:1044:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1044 | { "BtnSwitch", Switch_Btn }, | ^~~~~~~~~~~ chooser.c:1045:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1045 | { "Store", Storeold }, | ^~~~~~~ chooser.c:1046:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1046 | { "Setold", Setold }, | ^~~~~~~~ chooser.c: In function ‘Choose’: chooser.c:765:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 765 | write (fd, (char *)buffer.data, buffer.pointer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:497: chooser.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/x11-apps/xdm-1.1.14/work/xdm-1.1.14/chooser' make[1]: *** [Makefile:571: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/x11-apps/xdm-1.1.14/work/xdm-1.1.14' make: *** [Makefile:482: all] Error 2 * ERROR: x11-apps/xdm-1.1.14::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-apps/xdm-1.1.14::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-apps/xdm-1.1.14::gentoo'`. * The complete build log is located at '/var/log/portage/x11-apps:xdm-1.1.14:20231204-135607.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-apps/xdm-1.1.14/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-apps/xdm-1.1.14/temp/environment'. * Working directory: '/var/tmp/portage/x11-apps/xdm-1.1.14/work/xdm-1.1.14' * S: '/var/tmp/portage/x11-apps/xdm-1.1.14/work/xdm-1.1.14'