Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/xorg-x11-xdm.spec'], chrootPath='/var/lib/mock/f42-build-55146850-6532813/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zyhke_gy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zyhke_gy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a4a55cd8aec340b594ae62b98beea8b2', '-D', '/var/lib/mock/f42-build-55146850-6532813/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zyhke_gy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/xorg-x11-xdm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/xorg-x11-xdm-1.1.14-30.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/xorg-x11-xdm.spec'], chrootPath='/var/lib/mock/f42-build-55146850-6532813/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zyhke_gy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zyhke_gy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '66d6bf74ac39488a921ecc4adaf64e51', '-D', '/var/lib/mock/f42-build-55146850-6532813/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zyhke_gy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/xorg-x11-xdm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1689984000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.GTBG3c + umask 022 + cd /builddir/build/BUILD/xorg-x11-xdm-1.1.14-build + test -d /builddir/build/BUILD/xorg-x11-xdm-1.1.14-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/xorg-x11-xdm-1.1.14-build + /usr/bin/rm -rf /builddir/build/BUILD/xorg-x11-xdm-1.1.14-build + /usr/bin/mkdir -p /builddir/build/BUILD/xorg-x11-xdm-1.1.14-build + /usr/bin/mkdir -p /builddir/build/BUILD/xorg-x11-xdm-1.1.14-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1zaLnZ + umask 022 + cd /builddir/build/BUILD/xorg-x11-xdm-1.1.14-build + cd /builddir/build/BUILD/xorg-x11-xdm-1.1.14-build + rm -rf xdm-1.1.14 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xdm-1.1.14.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xdm-1.1.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (xdm-1.0.5-sessreg-utmp-fix-bug177890.patch): + echo 'Patch #1 (xdm-1.0.5-sessreg-utmp-fix-bug177890.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .redhat-sessreg-utmp-fix-bug177890 --fuzz=0 patching file config/GiveConsole Hunk #1 succeeded at 7 (offset -1 lines). Patch #2 (xdm-1.1.14-add-audit-events.patch): + echo 'Patch #2 (xdm-1.1.14-add-audit-events.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .add-audit-events --fuzz=0 patching file configure.ac patching file greeter/greet.c Patch #3 (xdm-1.1.14-fix-with-systemd-daemon-option.patch): + echo 'Patch #3 (xdm-1.1.14-fix-with-systemd-daemon-option.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix-with-systemd-daemon-option --fuzz=0 patching file configure.ac Hunk #1 succeeded at 218 (offset 24 lines). Patch #4 (xdm-1.1.14-xdm-systemd-unit.patch): + echo 'Patch #4 (xdm-1.1.14-xdm-systemd-unit.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .systemd-unit --fuzz=0 patching file xdm.service.in Patch #5 (xdm-1.1.14-add-nolisten-tcp-option.patch): + echo 'Patch #5 (xdm-1.1.14-add-nolisten-tcp-option.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nolisten --fuzz=0 patching file config/Xservers.ws.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.39g7xL + umask 022 + cd /builddir/build/BUILD/xorg-x11-xdm-1.1.14-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xdm-1.1.14 + autoreconf -v --install autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal -I m4 autoreconf: running: /usr/bin/autoconf configure.ac:37: warning: The macro 'AC_LIBTOOL_DLOPEN' is obsolete. configure.ac:37: You should run autoupdate. m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:37: the top level configure.ac:37: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you configure.ac:37: put the 'dlopen' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:37: the top level configure.ac:38: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:38: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:38: the top level autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force autoreconf: Leaving directory '.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-11-22 12:47:27.504601443 +0000 +++ ./configure 2024-11-22 12:47:29.064543515 +0000 @@ -7575,7 +7575,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -25370,7 +25370,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --with-libaudit --with-xdmlibdir=/usr/libexec --with-xdmconfigdir=/etc/X11/xdm --with-xdmscriptdir=/etc/X11/xdm --with-pixmapdir=/usr/share/xdm/pixmaps --enable-xdmshell checking for ppc64le-redhat-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether 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/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert powerpc64le-redhat-linux-gnu file names to powerpc64le-redhat-linux-gnu format... func_convert_file_noop checking how to convert powerpc64le-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for ppc64le-redhat-linux-gnu-file... no checking for file... file checking for ppc64le-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ppc64le-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ppc64le-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for ppc64le-redhat-linux-gnu-strip... no checking for strip... strip checking for ppc64le-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7581: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for ppc64le-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gcc options needed to detect all undeclared functions... none needed checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for ppc64le-redhat-linux-gnu-pkg-config... /usr/bin/ppc64le-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking if gcc supports -Werror=unknown-warning-option... no checking if gcc supports -Werror=unused-command-line-argument... no checking if gcc supports -Wall... yes checking if gcc supports -Wpointer-arith... yes checking if gcc supports -Wmissing-declarations... yes checking if gcc supports -Wformat=2... yes checking if gcc supports -Wstrict-prototypes... yes checking if gcc supports -Wmissing-prototypes... yes checking if gcc supports -Wnested-externs... yes checking if gcc supports -Wbad-function-cast... yes checking if gcc supports -Wold-style-definition... yes checking if gcc supports -Wunused... yes checking if gcc supports -Wuninitialized... yes checking if gcc supports -Wshadow... yes checking if gcc supports -Wmissing-noreturn... yes checking if gcc supports -Wmissing-format-attribute... yes checking if gcc supports -Wredundant-decls... yes checking if gcc supports -Wlogical-op... yes checking if gcc supports -Werror=implicit... yes checking if gcc supports -Werror=nonnull... yes checking if gcc supports -Werror=init-self... yes checking if gcc supports -Werror=main... yes checking if gcc supports -Werror=missing-braces... yes checking if gcc supports -Werror=sequence-point... yes checking if gcc supports -Werror=return-type... yes checking if gcc supports -Werror=trigraphs... yes checking if gcc supports -Werror=array-bounds... yes checking if gcc supports -Werror=write-strings... yes checking if gcc supports -Werror=address... yes checking if gcc supports -Werror=int-to-pointer-cast... yes checking if gcc supports -Werror=pointer-to-int-cast... yes checking if gcc supports -pedantic... yes checking if gcc supports -Werror... yes checking if gcc supports -Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking how to run the C preprocessor... gcc -E checking for ppc64le-redhat-linux-gnu-cpp... no 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 xmu x11 xau xproto >= 7.0.17... yes checking for libbsd-overlay... no checking for library containing getifaddrs... none required checking for library containing getspnam... none required checking for library containing setproctitle... no checking for library containing setusercontext... no checking for library containing arc4random... 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... no 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 for getaddrinfo... yes checking if IPv6 support should be built... yes checking for struct sockaddr_in.sin_len... no checking for socklen_t... yes checking for struct msghdr.msg_control... yes checking if Xtrans should support os-specific local connections... no checking for strcasecmp... yes checking for strlcpy... 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 audit_log_user_message in -laudit... yes checking for libsystemd... 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 xft xrender... yes checking for xpm... yes checking for xaw7... yes checking for xdmcp... yes checking for x11... yes checking for xau... yes checking for xt >= 1.0 x11 xext... yes checking for XdmcpWrap in -lXdmcp... yes checking for xt... yes checking for xt... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating app-defaults/Makefile config.status: creating chooser/Makefile config.status: creating config/Makefile config.status: creating greeter/Makefile config.status: creating include/Makefile config.status: creating man/Makefile config.status: creating xdm/Makefile config.status: creating xdmshell/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j8 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xorg-x11-xdm-1.1.14-build/xdm-1.1.14' Making all in app-defaults make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xdm-1.1.14-build/xdm-1.1.14/app-defaults' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xdm-1.1.14-build/xdm-1.1.14/app-defaults' Making all in chooser make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xdm-1.1.14-build/xdm-1.1.14/chooser' CC chooser.o 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 ‘AddHostname’: chooser.c:287:79: warning: declaration of ‘willing’ shadows a global declaration [-Wshadow] 287 | AddHostname (ARRAY8Ptr 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD chooser make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xdm-1.1.14-build/xdm-1.1.14/chooser' Making all in config make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xdm-1.1.14-build/xdm-1.1.14/config' GEN xdm-config GEN Xservers.ws GEN Xresources GEN Xreset GEN Xsession GEN Xstartup make all-am make[3]: Entering directory '/builddir/build/BUILD/xorg-x11-xdm-1.1.14-build/xdm-1.1.14/config' ln -s Xservers.ws Xservers make[3]: Leaving directory '/builddir/build/BUILD/xorg-x11-xdm-1.1.14-build/xdm-1.1.14/config' make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xdm-1.1.14-build/xdm-1.1.14/config' Making all in greeter make[2]: Entering directory '/builddir/build/BUILD/xorg-x11-xdm-1.1.14-build/xdm-1.1.14/greeter' CC Login.lo CC greet.lo CC verify.lo In file included from LoginP.h:59, from Login.c:73: Login.h:130:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | # define XtNlogoFileName "logoFileName" | ^~~~~~~~~~~~~~ Login.c:145:10: note: in expansion of macro 'XtNlogoFileName' 145 | {XtNlogoFileName, XtCLogoFileName, XtRString, sizeof(char*), | ^~~~~~~~~~~~~~~ Login.h:131:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | # define XtCLogoFileName "LogoFileName" | ^~~~~~~~~~~~~~ Login.c:145:27: note: in expansion of macro 'XtCLogoFileName' 145 | {XtNlogoFileName, XtCLogoFileName, XtRString, sizeof(char*), | ^~~~~~~~~~~~~~~ Login.h:128:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | # define XtNuseShape "useShape" | ^~~~~~~~~~ Login.c:147:10: note: in expansion of macro 'XtNuseShape' 147 | {XtNuseShape, XtCUseShape, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ Login.h:129:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | # define XtCUseShape "UseShape" | ^~~~~~~~~~ Login.c:147:23: note: in expansion of macro 'XtCUseShape' 147 | {XtNuseShape, XtCUseShape, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ Login.h:132:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | # define XtNlogoPadding "logoPadding" | ^~~~~~~~~~~~~ Login.c:149:10: note: in expansion of macro 'XtNlogoPadding' 149 | {XtNlogoPadding, XtCLogoPadding, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~ Login.h:133:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | # define XtCLogoPadding "LogoPadding" | ^~~~~~~~~~~~~ Login.c:149:26: note: in expansion of macro 'XtCLogoPadding' 149 | {XtNlogoPadding, XtCLogoPadding, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~ Login.h:112:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | # define XtNhiColor "hiColor" | ^~~~~~~~~ Login.c:155:6: note: in expansion of macro 'XtNhiColor' 155 | {XtNhiColor, XtCForeground, XtRPixel, sizeof (Pixel), | ^~~~~~~~~~ Login.c:156:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 156 | offset(hipixel), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ Login.h:113:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 113 | # define XtNshdColor "shdColor" | ^~~~~~~~~~ Login.c:157:6: note: in expansion of macro 'XtNshdColor' 157 | {XtNshdColor, XtCForeground, XtRPixel, sizeof (Pixel), | ^~~~~~~~~~~ Login.c:158:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | offset(shdpixel), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ Login.h:114:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 114 | # define XtNinpColor "inpColor" | ^~~~~~~~~~ Login.c:159:6: note: in expansion of macro 'XtNinpColor' 159 | {XtNinpColor, XtCForeground, XtRPixel, sizeof (Pixel), | ^~~~~~~~~~~ Login.c:160:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | offset(inppixel), XtRString, XtDefaultBackground}, | ^~~~~~~~~~~~~~~~~~~ Login.h:115:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 115 | # define XtNframeWidth "frameWidth" | ^~~~~~~~~~~~ Login.c:161:6: note: in expansion of macro 'XtNframeWidth' 161 | {XtNframeWidth, XtCFrameWidth, XtRInt, sizeof(int), | ^~~~~~~~~~~~~ Login.h:116:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | # define XtCFrameWidth "FrameWidth" | ^~~~~~~~~~~~ Login.c:161:21: note: in expansion of macro 'XtCFrameWidth' 161 | {XtNframeWidth, XtCFrameWidth, XtRInt, sizeof(int), | ^~~~~~~~~~~~~ Login.h:117:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 117 | # define XtNinnerFramesWidth "innerFramesWidth" | ^~~~~~~~~~~~~~~~~~ Login.c:163:6: note: in expansion of macro 'XtNinnerFramesWidth' 163 | {XtNinnerFramesWidth, XtCFrameWidth, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~ Login.h:116:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | # define XtCFrameWidth "FrameWidth" | ^~~~~~~~~~~~ Login.c:163:27: note: in expansion of macro 'XtCFrameWidth' 163 | {XtNinnerFramesWidth, XtCFrameWidth, XtRInt, sizeof(int), | ^~~~~~~~~~~~~ Login.h:118:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | # define XtNsepWidth "sepWidth" | ^~~~~~~~~~ Login.c:165:6: note: in expansion of macro 'XtNsepWidth' 165 | {XtNsepWidth, XtCFrameWidth, XtRInt, sizeof(int), | ^~~~~~~~~~~ Login.h:116:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | # define XtCFrameWidth "FrameWidth" | ^~~~~~~~~~~~ Login.c:165:19: note: in expansion of macro 'XtCFrameWidth' 165 | {XtNsepWidth, XtCFrameWidth, XtRInt, sizeof(int), | ^~~~~~~~~~~~~ Login.h:106:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | # define XtNface "face" | ^~~~~~ Login.c:179:6: note: in expansion of macro 'XtNface' 179 | {XtNface, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~ Login.h:107:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | # define XtCFace "Face" | ^~~~~~ Login.c:179:15: note: in expansion of macro 'XtCFace' 179 | {XtNface, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~ Login.h:108:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | # define XtRXftFont "XftFont" | ^~~~~~~~~ Login.c:179:24: note: in expansion of macro 'XtRXftFont' 179 | {XtNface, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~~~~ Login.c:180:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 180 | offset (textFace), XtRString, "Serif-18"}, | ^~~~~~~~~~ Login.h:94:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | # define XtNpromptFace "promptFace" | ^~~~~~~~~~~~ Login.c:181:6: note: in expansion of macro 'XtNpromptFace' 181 | {XtNpromptFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~~~~~~~ Login.h:107:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | # define XtCFace "Face" | ^~~~~~ Login.c:181:21: note: in expansion of macro 'XtCFace' 181 | {XtNpromptFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~ Login.h:108:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | # define XtRXftFont "XftFont" | ^~~~~~~~~ Login.c:181:30: note: in expansion of macro 'XtRXftFont' 181 | {XtNpromptFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~~~~ Login.c:182:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 182 | offset (promptFace), XtRString, "Serif-18:bold"}, | ^~~~~~~~~~~~~~~ Login.h:95:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | # define XtNgreetFace "greetFace" | ^~~~~~~~~~~ Login.c:183:6: note: in expansion of macro 'XtNgreetFace' 183 | {XtNgreetFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~~~~~~ Login.h:107:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | # define XtCFace "Face" | ^~~~~~ Login.c:183:20: note: in expansion of macro 'XtCFace' 183 | {XtNgreetFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~ Login.h:108:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | # define XtRXftFont "XftFont" | ^~~~~~~~~ Login.c:183:29: note: in expansion of macro 'XtRXftFont' 183 | {XtNgreetFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~~~~ Login.c:184:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 184 | offset (greetFace), XtRString, "Serif-24:italic"}, | ^~~~~~~~~~~~~~~~~ Login.h:96:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | # define XtNfailFace "failFace" | ^~~~~~~~~~ Login.c:185:6: note: in expansion of macro 'XtNfailFace' 185 | {XtNfailFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~~~~~ Login.h:107:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | # define XtCFace "Face" | ^~~~~~ Login.c:185:19: note: in expansion of macro 'XtCFace' 185 | {XtNfailFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~ Login.h:108:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | # define XtRXftFont "XftFont" | ^~~~~~~~~ Login.c:185:28: note: in expansion of macro 'XtRXftFont' 185 | {XtNfailFace, XtCFace, XtRXftFont, sizeof (XftFont *), | ^~~~~~~~~~ Login.c:186:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 186 | offset (failFace), XtRString, "Serif-18:bold"}, | ^~~~~~~~~~~~~~~ Login.h:109:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | # define XtRXftColor "XftColor" | ^~~~~~~~~~ Login.c:187:36: note: in expansion of macro 'XtRXftColor' 187 | {XtNforeground, XtCForeground, XtRXftColor, sizeof(XftColor), | ^~~~~~~~~~~ Login.c:188:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 188 | offset(textcolor), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ Login.h:88:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | # define XtNpromptColor "promptColor" | ^~~~~~~~~~~~~ Login.c:189:6: note: in expansion of macro 'XtNpromptColor' 189 | {XtNpromptColor, XtCForeground, XtRXftColor, sizeof(XftColor), | ^~~~~~~~~~~~~~ Login.h:109:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | # define XtRXftColor "XftColor" | ^~~~~~~~~~ Login.c:189:37: note: in expansion of macro 'XtRXftColor' 189 | {XtNpromptColor, XtCForeground, XtRXftColor, sizeof(XftColor), | ^~~~~~~~~~~ greet.c: In function 'InitGreet': Login.c:190:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 190 | offset(promptcolor), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ greet.c:248:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 248 | static char *argv[] = { "xlogin", NULL }; | ^~~~~~~~ Login.h:89:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | # define XtNgreetColor "greetColor" | ^~~~~~~~~~~~ Login.c:191:6: note: in expansion of macro 'XtNgreetColor' 191 | {XtNgreetColor, XtCForeground, XtRXftColor, sizeof(XftColor), | ^~~~~~~~~~~~~ Login.h:109:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | # define XtRXftColor "XftColor" | ^~~~~~~~~~ Login.c:191:36: note: in expansion of macro 'XtRXftColor' 191 | {XtNgreetColor, XtCForeground, XtRXftColor, sizeof(XftColor), | ^~~~~~~~~~~ Login.c:192:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 192 | offset(greetcolor), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ Login.h:90:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | # define XtNfailColor "failColor" | ^~~~~~~~~~~ Login.c:193:6: note: in expansion of macro 'XtNfailColor' 193 | {XtNfailColor, XtCForeground, XtRXftColor, sizeof (XftColor), | ^~~~~~~~~~~~ greet.c:289:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 289 | XtSetArg (arglist[i], XtNnotifyDone, (XtPointer)GreetDone); i++; | ^~~~~~~~ Login.h:109:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | # define XtRXftColor "XftColor" | ^~~~~~~~~~ Login.c:193:35: note: in expansion of macro 'XtRXftColor' 193 | {XtNfailColor, XtCForeground, XtRXftColor, sizeof (XftColor), | ^~~~~~~~~~~ greet.c:292:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 292 | XtSetArg (arglist[i], XtNsecureSession, True); i++; | ^~~~~~~~ Login.c:194:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 194 | offset(failcolor), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ Login.h:82:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | # define XtNgreeting "greeting" | ^~~~~~~~~~ Login.c:196:6: note: in expansion of macro 'XtNgreeting' 196 | {XtNgreeting, XtCGreeting, XtRString, sizeof (char *), | ^~~~~~~~~~~ Login.h:136:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | # define XtCGreeting "Greeting" | ^~~~~~~~~~ Login.c:196:19: note: in expansion of macro 'XtCGreeting' 196 | {XtNgreeting, XtCGreeting, XtRString, sizeof (char *), | ^~~~~~~~~~~ Login.c:197:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 197 | offset(greeting), XtRString, "X Window System"}, | ^~~~~~~~~~~~~~~~~ greet.c: In function 'CloseGreet': Login.h:83:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | # define XtNunsecureGreeting "unsecureGreeting" | ^~~~~~~~~~~~~~~~~~ Login.c:198:6: note: in expansion of macro 'XtNunsecureGreeting' 198 | {XtNunsecureGreeting, XtCGreeting, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~~~~~ greet.c:339:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 339 | XtSetArg (arglist[0], XtNallowAccess, (char *) &allow); | ^~~~~~~~ Login.h:136:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | # define XtCGreeting "Greeting" | ^~~~~~~~~~ Login.c:198:27: note: in expansion of macro 'XtCGreeting' 198 | {XtNunsecureGreeting, XtCGreeting, XtRString, sizeof (char *), | ^~~~~~~~~~~ Login.c:199:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | offset(unsecure_greet), XtRString, "This is an unsecure session"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ greet.c: In function 'Greet': Login.h:84:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | # define XtNnamePrompt "namePrompt" | ^~~~~~~~~~~~ Login.c:200:6: note: in expansion of macro 'XtNnamePrompt' 200 | {XtNnamePrompt, XtCNamePrompt, XtRString, sizeof (char *), | ^~~~~~~~~~~~~ greet.c:363:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 363 | XtSetArg (arglist[0], XtNallowAccess, False); | ^~~~~~~~ Login.h:137:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | # define XtCNamePrompt "NamePrompt" | ^~~~~~~~~~~~ Login.c:200:21: note: in expansion of macro 'XtCNamePrompt' 200 | {XtNnamePrompt, XtCNamePrompt, XtRString, sizeof (char *), | ^~~~~~~~~~~~~ Login.c:201:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 201 | offset(namePrompt), XtRString, "Login: "}, | ^~~~~~~~~~ Login.h:85:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | # define XtNpasswdPrompt "passwdPrompt" | ^~~~~~~~~~~~~~ Login.c:202:6: note: in expansion of macro 'XtNpasswdPrompt' 202 | {XtNpasswdPrompt, XtCPasswdPrompt, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~ greet.c:403:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 403 | XtSetArg (arglist[0], XtNsessionArgument, (char *) &(greet->string)); | ^~~~~~~~ Login.h:138:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 138 | # define XtCPasswdPrompt "PasswdPrompt" | ^~~~~~~~~~~~~~ Login.c:202:23: note: in expansion of macro 'XtCPasswdPrompt' 202 | {XtNpasswdPrompt, XtCPasswdPrompt, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~ Login.c:203:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 203 | offset(passwdPrompt), XtRString, "Password: "}, | ^~~~~~~~~~~~~ greet.c: In function 'log_to_audit_system': Login.h:86:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | # define XtNfail "fail" | ^~~~~~ Login.c:204:6: note: in expansion of macro 'XtNfail' 204 | {XtNfail, XtCFail, XtRString, sizeof (char *), | ^~~~~~~ Login.h:139:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 139 | # define XtCFail "Fail" | ^~~~~~ Login.c:204:15: note: in expansion of macro 'XtCFail' 204 | {XtNfail, XtCFail, XtRString, sizeof (char *), | ^~~~~~~ greet.c:431:42: warning: declaration of 'login' shadows a global declaration [-Wshadow] 431 | char *hostname = NULL, *tty = NULL, *login=NULL; | ^~~~~ greet.c:158:25: note: shadowed declaration is here 158 | static Widget login; | ^~~~~ Login.c:206:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 206 | "Login incorrect or forbidden by policy" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Login.h:149:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 149 | # define XtNchangePasswdMessage "changePasswdMessage" | ^~~~~~~~~~~~~~~~~~~~~ Login.c:208:6: note: in expansion of macro 'XtNchangePasswdMessage' 208 | {XtNchangePasswdMessage, XtCChangePasswdMessage, XtRString, | ^~~~~~~~~~~~~~~~~~~~~~ greet.c:435:36: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 435 | pam_get_item(pamhp, PAM_RHOST, &hostname); | ^~~~~~~~~ | | | char ** Login.h:150:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 150 | # define XtCChangePasswdMessage "ChangePasswdMessage" | ^~~~~~~~~~~~~~~~~~~~~ Login.c:208:30: note: in expansion of macro 'XtCChangePasswdMessage' 208 | {XtNchangePasswdMessage, XtCChangePasswdMessage, XtRString, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/security/pam_appl.h:18, from ../include/dm.h:105, from greet.c:73: /usr/include/security/_pam_types.h:181:68: note: expected 'const void **' but argument is of type 'char **' 181 | pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); | ~~~~~~~~~~~~~^~~~ Login.h:97:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | # define XtNfailTimeout "failTimeout" | ^~~~~~~~~~~~~ Login.c:211:6: note: in expansion of macro 'XtNfailTimeout' 211 | {XtNfailTimeout, XtCFailTimeout, XtRInt, sizeof (int), | ^~~~~~~~~~~~~~ greet.c:436:34: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 436 | pam_get_item(pamhp, PAM_TTY, &tty); | ^~~~ | | | char ** /usr/include/security/_pam_types.h:181:68: note: expected 'const void **' but argument is of type 'char **' 181 | pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); | ~~~~~~~~~~~~~^~~~ Login.h:140:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 140 | # define XtCFailTimeout "FailTimeout" | ^~~~~~~~~~~~~ Login.c:211:22: note: in expansion of macro 'XtCFailTimeout' 211 | {XtNfailTimeout, XtCFailTimeout, XtRInt, sizeof (int), | ^~~~~~~~~~~~~~ greet.c:437:35: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 437 | pam_get_item(pamhp, PAM_USER, &login); | ^~~~~~ | | | char ** Login.h:87:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | # define XtNnotifyDone "notifyDone" | ^~~~~~~~~~~~ Login.c:213:6: note: in expansion of macro 'XtNnotifyDone' 213 | {XtNnotifyDone, XtCCallback, XtRFunction, sizeof (XtPointer), | ^~~~~~~~~~~~~ /usr/include/security/_pam_types.h:181:68: note: expected 'const void **' but argument is of type 'char **' 181 | pam_get_item(const pam_handle_t *pamh, int item_type, const void **item); | ~~~~~~~~~~~~~^~~~ Login.h:98:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | # define XtNsessionArgument "sessionArgument" | ^~~~~~~~~~~~~~~~~ Login.c:215:6: note: in expansion of macro 'XtNsessionArgument' 215 | {XtNsessionArgument, XtCSessionArgument, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~~~~ Login.h:141:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 141 | # define XtCSessionArgument "SessionArgument" | ^~~~~~~~~~~~~~~~~ Login.c:215:26: note: in expansion of macro 'XtCSessionArgument' 215 | {XtNsessionArgument, XtCSessionArgument, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~~~~ Login.h:99:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | # define XtNsecureSession "secureSession" | ^~~~~~~~~~~~~~~ Login.c:217:6: note: in expansion of macro 'XtNsecureSession' 217 | {XtNsecureSession, XtCSecureSession, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~ greet.c: In function 'GreetUser': Login.h:142:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | # define XtCSecureSession "SecureSession" | ^~~~~~~~~~~~~~~ Login.c:217:24: note: in expansion of macro 'XtCSecureSession' 217 | {XtNsecureSession, XtCSecureSession, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~ greet.c:511:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 511 | XtSetArg (arglist[0], XtNallowNullPasswd, | ^~~~~~~~ Login.h:100:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | # define XtNallowAccess "allowAccess" | ^~~~~~~~~~~~~ Login.c:219:6: note: in expansion of macro 'XtNallowAccess' 219 | {XtNallowAccess, XtCAllowAccess, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~ Login.h:143:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 143 | # define XtCAllowAccess "AllowAccess" | ^~~~~~~~~~~~~ Login.c:219:22: note: in expansion of macro 'XtCAllowAccess' 219 | {XtNallowAccess, XtCAllowAccess, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~ greet.c:513:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 513 | XtSetArg (arglist[1], XtNallowRootLogin, | ^~~~~~~~ Login.h:101:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | # define XtNallowNullPasswd "allowNullPasswd" | ^~~~~~~~~~~~~~~~~ Login.c:221:6: note: in expansion of macro 'XtNallowNullPasswd' 221 | {XtNallowNullPasswd, XtCAllowNullPasswd, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ Login.h:144:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 144 | # define XtCAllowNullPasswd "AllowNullPasswd" | ^~~~~~~~~~~~~~~~~ Login.c:221:26: note: in expansion of macro 'XtCAllowNullPasswd' 221 | {XtNallowNullPasswd, XtCAllowNullPasswd, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ Login.h:102:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | # define XtNallowRootLogin "allowRootLogin" | ^~~~~~~~~~~~~~~~ Login.c:223:6: note: in expansion of macro 'XtNallowRootLogin' 223 | {XtNallowRootLogin, XtCAllowRootLogin, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~ Login.h:145:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 145 | # define XtCAllowRootLogin "AllowRootLogin" | ^~~~~~~~~~~~~~~~ Login.c:223:25: note: in expansion of macro 'XtCAllowRootLogin' 223 | {XtNallowRootLogin, XtCAllowRootLogin, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~ Login.h:103:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | # define XtNechoPasswd "echoPasswd" | ^~~~~~~~~~~~ Login.c:225:6: note: in expansion of macro 'XtNechoPasswd' 225 | {XtNechoPasswd, XtCEchoPasswd, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~ Login.h:146:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | # define XtCEchoPasswd "EchoPasswd" | ^~~~~~~~~~~~ Login.c:225:21: note: in expansion of macro 'XtCEchoPasswd' 225 | {XtNechoPasswd, XtCEchoPasswd, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~ Login.h:104:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | # define XtNechoPasswdChar "echoPasswdChar" | ^~~~~~~~~~~~~~~~ Login.c:227:6: note: in expansion of macro 'XtNechoPasswdChar' 227 | {XtNechoPasswdChar, XtCEchoPasswdChar, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~~~ Login.h:147:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 147 | # define XtCEchoPasswdChar "EchoPasswdChar" | ^~~~~~~~~~~~~~~~ Login.c:227:25: note: in expansion of macro 'XtCEchoPasswdChar' 227 | {XtNechoPasswdChar, XtCEchoPasswdChar, XtRString, sizeof (char *), | ^~~~~~~~~~~~~~~~~ greet.c: In function 'log_to_audit_system': greet.c:440:5: warning: ignoring return value of 'audit_log_acct_message' declared with attribute 'warn_unused_result' [-Wunused-result] 440 | audit_log_acct_message(audit_fd, AUDIT_USER_LOGIN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | NULL, "login", login ? login : "(unknown)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | pw ? pw->pw_uid : -1, hostname, NULL, tty, success); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:539: greet.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... Login.c: In function 'AllowAccess': Login.c:1244:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1244 | XtSetArg (arglist[0], XtNallowAccess, (char *) &allow); | ^~~~~~~~ Login.c:1246:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1246 | XtSetArg (arglist[0], XtNallowAccess, !allow); | ^~~~~~~~ Login.c: At top level: Login.c:2044:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2044 | {"delete-previous-character", DeleteBackwardChar}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Login.c:2045:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2045 | {"delete-character", DeleteForwardChar}, | ^~~~~~~~~~~~~~~~~~ Login.c:2046:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2046 | {"move-backward-character", MoveBackwardChar}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ Login.c:2047:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2047 | {"move-forward-character", MoveForwardChar}, | ^~~~~~~~~~~~~~~~~~~~~~~~ Login.c:2048:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2048 | {"move-to-begining", MoveToBegining}, | ^~~~~~~~~~~~~~~~~~ Login.c:2049:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2049 | {"move-to-end", MoveToEnd}, | ^~~~~~~~~~~~~ Login.c:2050:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2050 | {"erase-to-end-of-line", EraseToEndOfLine}, | ^~~~~~~~~~~~~~~~~~~~~~ Login.c:2051:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2051 | {"erase-line", EraseLine}, | ^~~~~~~~~~~~ Login.c:2052:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2052 | {"finish-field", FinishField}, | ^~~~~~~~~~~~~~ Login.c:2053:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2053 | {"tab-field", TabField}, | ^~~~~~~~~~~ Login.c:2054:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2054 | {"abort-session", AbortSession}, | ^~~~~~~~~~~~~~~ Login.c:2055:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2055 | {"abort-display", AbortDisplay}, | ^~~~~~~~~~~~~~~ Login.c:2056:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2056 | {"restart-session", RestartSession}, | ^~~~~~~~~~~~~~~~~ Login.c:2057:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2057 | {"insert-char", InsertChar}, | ^~~~~~~~~~~~~ Login.c:2058:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2058 | {"set-session-argument", SetSessionArgument}, | ^~~~~~~~~~~~~~~~~~~~~~ Login.c:2059:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2059 | {"allow-all-access", AllowAccess}, | ^~~~~~~~~~~~~~~~~~ Login.c:2065:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2065 | /* class_name */ "Login", | ^~~~~~~ Login.c: In function 'SetPrompt': Login.c:852:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 852 | strncpy(prompt, message, messageLen); | ^ Login.c:844:18: note: length computed here 844 | messageLen = strlen(message); | ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/xorg-x11-xdm-1.1.14-build/xdm-1.1.14/greeter' make[1]: *** [Makefile:572: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/xorg-x11-xdm-1.1.14-build/xdm-1.1.14' make: *** [Makefile:483: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.39g7xL (%build) Bad exit status from /var/tmp/rpm-tmp.39g7xL (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 66d6bf74ac39488a921ecc4adaf64e51 -D /var/lib/mock/f42-build-55146850-6532813/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zyhke_gy:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/xorg-x11-xdm.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 66d6bf74ac39488a921ecc4adaf64e51 -D /var/lib/mock/f42-build-55146850-6532813/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zyhke_gy:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/xorg-x11-xdm.spec'