Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/expect.spec'], chrootPath='/var/lib/mock/f40-build-746837-112834/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/expect.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'} and shell False sh: line 1: tclsh: command not found warning: %patchN is deprecated (17 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Wrote: /builddir/build/SRPMS/expect-5.45.4-20.fc40.src.rpm RPM build warnings: %patchN is deprecated (17 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/expect.spec'], chrootPath='/var/lib/mock/f40-build-746837-112834/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/expect.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'} and shell False warning: %patchN is deprecated (17 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pusRbA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf expect5.45.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/expect5.45.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd expect5.45.4 + rm -rf /builddir/build/BUILD/expect5.45.4-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/expect5.45.4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (expect-5.43.0-log_file.patch):' Patch #0 (expect-5.43.0-log_file.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .log_file --fuzz=0 patching file exp_log.c Patch #1 (expect-5.43.0-pkgpath.patch): + echo 'Patch #1 (expect-5.43.0-pkgpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pkgpath --fuzz=0 patching file configure.in patching file Makefile.in Patch #2 (expect-5.45-man-page.patch): + echo 'Patch #2 (expect-5.45-man-page.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .man-page --fuzz=0 patching file example/autoexpect.man patching file example/tknewsbiff.man patching file expect.man Patch #3 (expect-5.45-match-gt-numchars-segfault.patch): + echo 'Patch #3 (expect-5.45-match-gt-numchars-segfault.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .match-gt-numchars-segfault --fuzz=0 patching file expect.c Hunk #1 succeeded at 2359 (offset -4 lines). Patch #4 (expect-5.45-re-memleak.patch): + echo 'Patch #4 (expect-5.45-re-memleak.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .re-memleak --fuzz=0 patching file expect.c Patch #5 (expect-5.45-exp-log-buf-overflow.patch): + echo 'Patch #5 (expect-5.45-exp-log-buf-overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .exp-log-buf-overflow --fuzz=0 patching file exp_log.c Patch #6 (expect-5.45-segfault-with-stubs.patch): + echo 'Patch #6 (expect-5.45-segfault-with-stubs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .segfault-with-stubs --fuzz=0 patching file exp_clib.c patching file expect.h Patch #7 (expect-5.45-fd-leak.patch): + echo 'Patch #7 (expect-5.45-fd-leak.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fd-leak --fuzz=0 patching file exp_command.c Patch #8 (expect-5.45.4-unification-of-usage-and-man-page.patch): + echo 'Patch #8 (expect-5.45.4-unification-of-usage-and-man-page.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .unification-of-usage-and-man-page --fuzz=0 patching file expect.man patching file exp_main_sub.c Patch #9 (expect-5.45.4-covscan-fixes.patch): + echo 'Patch #9 (expect-5.45.4-covscan-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .covscan-fixes --fuzz=0 patching file exp_chan.c patching file exp_clib.c patching file exp_log.c patching file exp_main_sub.c patching file pty_termios.c Patch #100 (expect-5.32.2-random.patch): + echo 'Patch #100 (expect-5.32.2-random.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .random --fuzz=0 patching file example/mkpasswd Hunk #1 succeeded at 99 (offset 7 lines). Patch #101 (expect-5.45-mkpasswd-dash.patch): + echo 'Patch #101 (expect-5.45-mkpasswd-dash.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mkpasswd-dash --fuzz=0 patching file example/mkpasswd Patch #102 (expect-5.45-check-telnet.patch): + echo 'Patch #102 (expect-5.45-check-telnet.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .check-telnet --fuzz=0 patching file example/passmass patching file example/weather Patch #103 (expect-5.45-passmass-su-full-path.patch): + echo 'Patch #103 (expect-5.45-passmass-su-full-path.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .passmass-su-full-path --fuzz=0 patching file example/passmass Patch #104 (expect-5.45-mkpasswd-man.patch): + echo 'Patch #104 (expect-5.45-mkpasswd-man.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mkpasswd-man --fuzz=0 patching file example/mkpasswd.man + echo 'Patch #105 (expect-5.45-format-security.patch):' Patch #105 (expect-5.45-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .format-security --fuzz=0 patching file exp_clib.c Hunk #1 succeeded at 1946 (offset 8 lines). + echo 'Patch #106 (expect-configure-c99.patch):' Patch #106 (expect-configure-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .configure-c99 --fuzz=0 patching file configure.in patching file tclconfig/tcl.m4 + aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' + autoconf configure.in:21: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:21: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... tclconfig/tcl.m4:45: TEA_PATH_TCLCONFIG is expanded from... configure.in:21: the top level configure.in:46: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:46: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... tclconfig/tcl.m4:3121: TEA_SETUP_COMPILER is expanded from... configure.in:46: the top level configure.in:46: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:46: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... tclconfig/tcl.m4:2159: TEA_MISSING_POSIX_HEADERS is expanded from... tclconfig/tcl.m4:3121: TEA_SETUP_COMPILER is expanded from... configure.in:46: the top level configure.in:46: warning: The macro `AC_HAVE_HEADERS' is obsolete. configure.in:46: You should run autoupdate. ./lib/autoconf/oldnames.m4:35: AC_HAVE_HEADERS is expanded from... tclconfig/tcl.m4:2159: TEA_MISSING_POSIX_HEADERS is expanded from... tclconfig/tcl.m4:3121: TEA_SETUP_COMPILER is expanded from... configure.in:46: the top level configure.in:80: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:80: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... tclconfig/tcl.m4:738: TEA_ENABLE_THREADS is expanded from... configure.in:80: the top level configure.in:87: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:87: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... tclconfig/tcl.m4:680: TEA_ENABLE_SHARED is expanded from... configure.in:87: the top level configure.in:95: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:95: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... tclconfig/tcl.m4:1051: TEA_CONFIG_CFLAGS is expanded from... configure.in:95: the top level configure.in:95: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:95: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... tclconfig/tcl.m4:1051: TEA_CONFIG_CFLAGS is expanded from... configure.in:95: the top level configure.in:95: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:95: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... tclconfig/tcl.m4:1051: TEA_CONFIG_CFLAGS is expanded from... configure.in:95: the top level configure.in:95: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:95: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... tclconfig/tcl.m4:1051: TEA_CONFIG_CFLAGS is expanded from... configure.in:95: the top level configure.in:95: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:95: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... tclconfig/tcl.m4:1051: TEA_CONFIG_CFLAGS is expanded from... configure.in:95: the top level configure.in:95: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:95: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... tclconfig/tcl.m4:2581: TEA_TCL_EARLY_FLAG is expanded from... tclconfig/tcl.m4:2594: TEA_TCL_EARLY_FLAGS is expanded from... tclconfig/tcl.m4:1051: TEA_CONFIG_CFLAGS is expanded from... configure.in:95: the top level configure.in:95: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:95: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... tclconfig/tcl.m4:2629: TEA_TCL_64BIT_FLAGS is expanded from... tclconfig/tcl.m4:1051: TEA_CONFIG_CFLAGS is expanded from... configure.in:95: the top level configure.in:95: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:95: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... tclconfig/tcl.m4:2629: TEA_TCL_64BIT_FLAGS is expanded from... tclconfig/tcl.m4:1051: TEA_CONFIG_CFLAGS is expanded from... configure.in:95: the top level configure.in:101: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:101: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... tclconfig/tcl.m4:867: TEA_ENABLE_SYMBOLS is expanded from... configure.in:101: the top level configure.in:141: warning: The macro `AC_HAVE_HEADERS' is obsolete. configure.in:141: You should run autoupdate. ./lib/autoconf/oldnames.m4:35: AC_HAVE_HEADERS is expanded from... configure.in:141: the top level configure.in:150: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.in:150: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.in:150: the top level configure.in:156: warning: The macro `AC_HEADER_TIME' is obsolete. configure.in:156: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... tclconfig/tcl.m4:2374: TEA_TIME_HANDLER is expanded from... configure.in:156: the top level configure.in:156: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:156: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... tclconfig/tcl.m4:2374: TEA_TIME_HANDLER is expanded from... configure.in:156: the top level configure.in:168: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:168: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.in:168: the top level configure.in:254: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.in:254: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.in:254: the top level configure.in:455: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:455: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.in:455: the top level configure.in:474: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:474: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:474: the top level configure.in:494: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:494: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:494: the top level configure.in:536: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.in:536: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.in:536: the top level configure.in:540: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:540: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:540: the top level configure.in:654: warning: The macro `AC_HEADER_EGREP' is obsolete. configure.in:654: You should run autoupdate. ./lib/autoconf/oldnames.m4:37: AC_HEADER_EGREP is expanded from... configure.in:654: the top level configure.in:727: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:727: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:727: the top level configure.in:753: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:753: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:753: the top level configure.in:771: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:771: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:771: the top level configure.in:794: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:794: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:794: the top level configure.in:817: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:817: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:817: the top level configure.in:842: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:842: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:842: the top level configure.in:886: warning: The macro `AC_HAVE_FUNCS' is obsolete. configure.in:886: You should run autoupdate. ./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from... configure.in:886: the top level configure.in:887: warning: The macro `AC_HAVE_FUNCS' is obsolete. configure.in:887: You should run autoupdate. ./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from... configure.in:887: the top level configure.in:896: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:896: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:896: the top level configure.in:1079: warning: AC_OUTPUT should be used without arguments. configure.in:1079: You should run autoupdate. configure.in:1079: warning: AC_C_BIGENDIAN should be used with AC_CONFIG_HEADERS + cd testsuite + autoconf -I.. configure.in:8: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:8: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ../tclconfig/tcl.m4:45: TEA_PATH_TCLCONFIG is expanded from... configure.in:8: the top level configure.in:11: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:11: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... ../tclconfig/tcl.m4:3121: TEA_SETUP_COMPILER is expanded from... configure.in:11: the top level configure.in:11: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:11: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... ../tclconfig/tcl.m4:2159: TEA_MISSING_POSIX_HEADERS is expanded from... ../tclconfig/tcl.m4:3121: TEA_SETUP_COMPILER is expanded from... configure.in:11: the top level configure.in:11: warning: The macro `AC_HAVE_HEADERS' is obsolete. configure.in:11: You should run autoupdate. ./lib/autoconf/oldnames.m4:35: AC_HAVE_HEADERS is expanded from... ../tclconfig/tcl.m4:2159: TEA_MISSING_POSIX_HEADERS is expanded from... ../tclconfig/tcl.m4:3121: TEA_SETUP_COMPILER is expanded from... configure.in:11: the top level configure.in:14: warning: AC_OUTPUT should be used without arguments. configure.in:14: You should run autoupdate. configure.in:14: warning: AC_C_BIGENDIAN should be used with AC_CONFIG_HEADERS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qs0LgT + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + 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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + 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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 expect5.45.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + 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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + 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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 --- ./configure.backup 2023-11-23 06:51:41.259407534 -0500 +++ ./configure 2023-11-23 06:51:43.439414656 -0500 @@ -1760,7 +1760,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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 + mv ./configure.backup ./configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./testsuite/configure + diff -u ./testsuite/configure.backup ./testsuite/configure + mv ./testsuite/configure.backup ./testsuite/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./testsuite/configure + diff -u ./testsuite/configure.backup ./testsuite/configure + mv ./testsuite/configure.backup ./testsuite/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./testsuite/configure + diff -u ./testsuite/configure.backup ./testsuite/configure --- ./testsuite/configure.backup 2023-11-23 06:51:43.249414035 -0500 +++ ./testsuite/configure 2023-11-23 06:51:43.659415375 -0500 @@ -1684,7 +1684,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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' ./testsuite/configure + diff -u ./testsuite/configure.backup ./testsuite/configure + mv ./testsuite/configure.backup ./testsuite/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'\''"#' ./testsuite/configure + diff -u ./testsuite/configure.backup ./testsuite/configure + mv ./testsuite/configure.backup ./testsuite/configure + '[' 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 ./tclconfig/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./tclconfig/config.sub ++ basename ./tclconfig/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./tclconfig/config.sub '/usr/lib/rpm/redhat/config.sub' -> './tclconfig/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./tclconfig/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./tclconfig/config.guess ++ basename ./tclconfig/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./tclconfig/config.guess '/usr/lib/rpm/redhat/config.guess' -> './tclconfig/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-tcl=/usr/lib64 --with-tk=/usr/lib64 --enable-shared --with-tclinclude=/usr/include/tcl-private/generic checking for correct TEA configuration... ok (TEA 3.9) configure: configuring expect 5.45.4 checking for Tcl configuration... found /usr/lib64/tclConfig.sh checking for existence of /usr/lib64/tclConfig.sh... loading configure: WARNING: With Tk request ignored - use package require Tk & Expect checking for a BSD-compatible install... /usr/bin/install -c checking for riscv64-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 how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib 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 sys/time.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking if the compiler understands -pipe... yes checking whether byte ordering is bigendian... no checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... yes checking for errno.h... yes checking for float.h... yes checking for values.h... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/wait.h... yes checking for dlfcn.h... yes checking for sys/param.h... yes checking for Tcl public headers... /usr/include/tcl-private/generic checking for Tcl private include files... Using srcdir found in tclConfig.sh: /usr/include/tcl-private checking for pthread_mutex_init in -lpthread... yes checking for building with threads... yes (default) checking how to build libraries... shared checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking if compiler supports visibility "hidden"... yes checking if rpath support is requested... yes checking system version... Linux-5.18.8-200.0.riscv64.fc33.riscv64 checking for ar... ar checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... using long checking for build with symbols... no checking for sys/select.h... yes checking for sys/sysmacros.h... yes checking for varargs.h... no checking for sys/stropts.h... no checking for sys/sysconfig.h... no checking for sys/fcntl.h... yes checking for sys/ptem.h... no checking for sys/strredir.h... no checking for sys/strpty.h... no checking for sys/bsdtypes.h... no checking return type of signal handlers... void checking whether struct tm is in sys/time.h or time.h... time.h checking for gcc options needed to detect all undeclared functions... none needed checking for sys/time.h... (cached) yes checking for struct tm.tm_zone... yes checking for gmtime_r... yes checking for localtime_r... yes checking tm_tzadj in struct tm... no checking tm_gmtoff in struct tm... yes checking long timezone variable... yes checking union wait... no checking for gethostname... yes checking for socket... yes checking for select... yes checking for getpseudotty... no checking for getpseudotty in -lseq... no checking for openpty... yes checking if running Sequent running SVR4... no checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for pid_t... yes checking if running Mach... no checking if running MachTen... no checking if on Pyramid... no checking if on Apollo... no checking if on Interactive... no checking stty to use... /bin/stty checking if stty reads stdout... no checking if running Solaris... no checking for memmove... yes checking for sysconf... yes checking for strftime... yes checking for strchr... yes checking for timezone... yes checking for siglongjmp... yes checking for memcpy... yes checking if WNOHANG requires _POSIX_SOURCE... no checking if any value exists for WNOHANG... yes checking mask type of select... none checking return type of signal handlers... (cached) void checking if signals need to be re-armed... no checking if on Convex... no checking if on HP... no checking sane default stty arguments... checking for HP style pty allocation... no checking for HP style pty trapping... no checking for AIX new-style pty allocation... no checking for SGI old-style pty allocation... no checking for SCO style pty allocation... no checking for SVR4 style pty allocation... no checking for OSF/1 style pty allocation... no checking for tcgetattr... yes checking for tcsetattr... yes checking for struct sgttyb... no checking for struct termio... yes checking for struct termios... yes checking if TCGETS or TCGETA in termios.h... no checking if TIOCGWINSZ in termios.h... no checking for Cray-style ptys... no checking for select... yes checking for poll... yes checking event handling... via select checking for _getpty... no checking for getpty... no checking whether setpgrp requires zero arguments... yes checking for SV-style timezone... yes checking for long file names... yes checking for tclsh... /usr/bin/tclsh8.6 configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: executing default commands chmod: cannot access './install-sh': No such file or directory === configuring in testsuite (/builddir/build/BUILD/expect5.45.4/testsuite) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=riscv64-redhat-linux-gnu' '--host=riscv64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--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' '--with-tcl=/usr/lib64' '--with-tk=/usr/lib64' '--enable-shared' '--with-tclinclude=/usr/include/tcl-private/generic' 'build_alias=riscv64-redhat-linux-gnu' 'host_alias=riscv64-redhat-linux-gnu' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -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 ' --cache-file=/dev/null --srcdir=. checking for correct TEA configuration... ok (TEA 3.9) configure: configuring exp_test 0.43 checking for Tcl configuration... found /usr/lib64/tclConfig.sh checking for existence of /usr/lib64/tclConfig.sh... loading checking for a BSD-compatible install... /usr/bin/install -c checking for riscv64-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 how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib 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 grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking if the compiler understands -pipe... yes checking whether byte ordering is bigendian... no checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... yes checking for errno.h... yes checking for float.h... yes checking for values.h... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/wait.h... yes checking for dlfcn.h... yes checking for sys/param.h... yes configure: creating ./config.status config.status: creating Makefile + make -j4 gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_command.c` -o exp_command.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo expect.c` -o expect.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_inter.c` -o exp_inter.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_regexp.c` -o exp_regexp.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_tty.c` -o exp_tty.o exp_tty.c: In function ‘exec_stty’: exp_tty.c:323:13: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 323 | int rc; | ^~ expect.c: In function ‘exp_eval_with_one_arg’: expect.c:287:9: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 287 | int rc; | ^~ expect.c: In function ‘expIRead’: exp_command.c: In function ‘Exp_SpawnObjCmd’: expect.c:1765:9: warning: variable ‘size’ set but not used [-Wunused-but-set-variable] 1765 | int size; | ^~~~ exp_command.c:587:9: warning: unused variable ‘ttyfd’ [-Wunused-variable] 587 | int ttyfd; | ^~~~~ expect.c: In function ‘Exp_ExpectObjCmd’: expect.c:2552:12: warning: variable ‘start_time’ set but not used [-Wunused-but-set-variable] 2552 | time_t start_time = 0; /* time when restart label hit */ | ^~~~~~~~~~ exp_inter.c:710:13: warning: ‘interpreter_cmd’ defined but not used [-Wunused-variable] 710 | static char interpreter_cmd[] = "interpreter"; | ^~~~~~~~~~~~~~~ exp_inter.c:709:13: warning: ‘return_cmd’ defined but not used [-Wunused-variable] 709 | static char return_cmd[] = "return"; | ^~~~~~~~~~ exp_command.c: In function ‘Exp_DisconnectObjCmd’: exp_command.c:3120:9: warning: unused variable ‘ttyfd’ [-Wunused-variable] 3120 | int ttyfd; | ^~~~~ exp_command.c: In function ‘Exp_SpawnObjCmd’: exp_command.c:1353:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1353 | write(status_pipe[1], &errno, sizeof errno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp_command.c: At top level: exp_command.c:537:1: warning: ‘expSetpgrp’ defined but not used [-Wunused-function] 537 | expSetpgrp() | ^~~~~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_log.c` -o exp_log.o exp_inter.c: In function ‘Exp_InteractObjCmd’: exp_inter.c:1412:38: warning: ‘previous_time’ may be used uninitialized [-Wmaybe-uninitialized] 1412 | time_diff = current_time - previous_time; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ exp_inter.c:1347:16: note: ‘previous_time’ was declared here 1347 | time_t previous_time; | ^~~~~~~~~~~~~ exp_inter.c:1404:34: warning: ‘soonest_input’ may be used uninitialized [-Wmaybe-uninitialized] 1404 | u = soonest_input->i_list->state_list->esPtr; | ~~~~~~~~~~~~~^~~~~~~~ exp_inter.c:1355:23: note: ‘soonest_input’ was declared here 1355 | struct input *soonest_input; | ^~~~~~~~~~~~~ In function ‘intEcho’, inlined from ‘Exp_InteractObjCmd’ at exp_inter.c:1487:6: exp_inter.c:420:12: warning: ‘echoBytes’ may be used uninitialized [-Wmaybe-uninitialized] 420 | (void) expWriteCharsUni(esPtr, | ^~~~~~~~~~~~~~~~~~~~~~~ 421 | esPtr->input.buffer + offsetBytes, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 422 | echoBytes); | ~~~~~~~~~~ exp_inter.c: In function ‘Exp_InteractObjCmd’: exp_inter.c:407:9: note: ‘echoBytes’ was declared here 407 | int echoBytes; | ^~~~~~~~~ In function ‘intEcho’, inlined from ‘Exp_InteractObjCmd’ at exp_inter.c:1487:6: exp_inter.c:421:49: warning: ‘offsetBytes’ may be used uninitialized [-Wmaybe-uninitialized] 421 | esPtr->input.buffer + offsetBytes, | ^ exp_inter.c: In function ‘Exp_InteractObjCmd’: exp_inter.c:408:9: note: ‘offsetBytes’ was declared here 408 | int offsetBytes; | ^~~~~~~~~~~ exp_inter.c:1557:18: warning: ‘matchLen’ may be used uninitialized [-Wmaybe-uninitialized] 1557 | skip += matchLen; | ^~ exp_inter.c:1349:13: note: ‘matchLen’ was declared here 1349 | int matchLen; /* # of chars matched */ | ^~~~~~~~ expect.c: In function ‘process_di.constprop.0’: expect.c:2960:12: warning: ‘esPtr’ may be used uninitialized [-Wmaybe-uninitialized] 2960 | *esOut = esPtr; | ~~~~~~~^~~~~~~ expect.c:2907:15: note: ‘esPtr’ was declared here 2907 | ExpState *esPtr; | ^~~~~ exp_log.c: In function ‘expPrintf’: exp_log.c:307:9: warning: variable ‘fmt’ set but not used [-Wunused-but-set-variable] 307 | char *fmt; | ^~~ exp_log.c: In function ‘expWriteBytesAndLogIfTtyU’: exp_log.c:101:12: warning: ‘wc’ may be used uninitialized [-Wmaybe-uninitialized] 101 | return wc; | ^~ exp_log.c:88:9: note: ‘wc’ was declared here 88 | int wc; | ^~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_main_sub.c` -o exp_main_sub.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_pty.c` -o exp_pty.o exp_command.c: In function ‘Exp_SpawnObjCmd’: exp_command.c:917:44: warning: ‘rfd’ may be used uninitialized [-Wmaybe-uninitialized] 917 | if (-1 == (write_master = master = dup(master))) { | ^~~~~~~~~~~ exp_command.c:888:19: note: ‘rfd’ was declared here 888 | int mode, rfd, wfd; | ^~~ exp_command.c:923:60: warning: ‘wfd’ may be used uninitialized [-Wmaybe-uninitialized] 923 | if ((mode & TCL_READABLE) && (mode & TCL_WRITABLE) && (wfd != rfd)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ exp_command.c:888:24: note: ‘wfd’ was declared here 888 | int mode, rfd, wfd; | ^~~ exp_pty.c:138:21: warning: ‘oldHupHandler’ defined but not used [-Wunused-variable] 138 | static RETSIGTYPE (*oldHupHandler)(); | ^~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_trap.c` -o exp_trap.o exp_command.c: In function ‘Exp_SendObjCmd’: exp_command.c:2063:15: warning: ‘string’ may be used uninitialized [-Wmaybe-uninitialized] 2063 | len = strlen(string); | ^~~~~~~~~~~~~~ exp_command.c:1979:11: note: ‘string’ was declared here 1979 | char *string; /* string to send */ | ^~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_strf.c` -o exp_strf.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_console.c` -o exp_console.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_glob.c` -o exp_glob.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_win.c` -o exp_win.o exp_win.c: In function ‘exp_window_size_set’: exp_win.c:90:1: warning: control reaches end of non-void function [-Wreturn-type] 90 | } | ^ exp_win.c: In function ‘exp_window_size_get’: exp_win.c:105:1: warning: control reaches end of non-void function [-Wreturn-type] 105 | } | ^ exp_win.c: In function ‘exp_win2_size_set’: exp_win.c:154:1: warning: control reaches end of non-void function [-Wreturn-type] 154 | } | ^ exp_win.c: In function ‘exp_win2_size_get’: exp_win.c:165:1: warning: control reaches end of non-void function [-Wreturn-type] 165 | } | ^ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_clib.c` -o exp_clib.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_closetcl.c` -o exp_closetcl.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_memmove.c` -o exp_memmove.o exp_clib.c: In function ‘exp_spawnv’: exp_clib.c:2307:13: warning: unused variable ‘ttyfd’ [-Wunused-variable] 2307 | int ttyfd; | ^~~~~ exp_clib.c: In function ‘exp_disconnect’: exp_clib.c:3330:13: warning: unused variable ‘ttyfd’ [-Wunused-variable] 3330 | int ttyfd; | ^~~~~ exp_clib.c: In function ‘exp_spawnv’: gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_tty_comm.c` -o exp_tty_comm.o exp_clib.c:2696:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2696 | write(status_pipe[1], &errno, sizeof errno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_chan.c` -o exp_chan.o exp_clib.c: In function ‘exp_disconnect’: exp_clib.c:3340:9: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3340 | freopen("/dev/null","r",stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp_clib.c:3341:9: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3341 | freopen("/dev/null","w",stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp_clib.c:3342:9: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3342 | freopen("/dev/null","w",stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp_clib.c: At top level: exp_clib.c:2283:1: warning: ‘exp_setpgrp’ defined but not used [-Wunused-function] 2283 | exp_setpgrp() | ^~~~~~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo Dbg.c` -o Dbg.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo pty_termios.c` -o pty_termios.o exp_chan.c:63:5: warning: initialization of ‘struct Tcl_ChannelTypeVersion_ *’ from incompatible pointer type ‘int (*)(void *, int)’ [-Wincompatible-pointer-types] 63 | ExpBlockModeProc, /* Set blocking/nonblocking mode.*/ | ^~~~~~~~~~~~~~~~ exp_chan.c:63:5: note: (near initialization for ‘expChannelType.version’) exp_chan.c: In function ‘ExpGetHandleProc’: exp_chan.c:441:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 441 | *handlePtr = (ClientData) esPtr->fdin; | ^ exp_chan.c:444:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 444 | *handlePtr = (ClientData) esPtr->fdin; | ^ Dbg.c: In function ‘debugger_trap’: Dbg.c:632:9: warning: enumeration value ‘none’ not handled in switch [-Wswitch] 632 | switch (debug_cmd) { | ^~~~~~ Dbg.c:632:9: warning: enumeration value ‘up’ not handled in switch [-Wswitch] Dbg.c:632:9: warning: enumeration value ‘down’ not handled in switch [-Wswitch] Dbg.c:632:9: warning: enumeration value ‘where’ not handled in switch [-Wswitch] Dbg.c:698:9: warning: enumeration value ‘none’ not handled in switch [-Wswitch] 698 | switch (debug_cmd) { | ^~~~~~ Dbg.c:698:9: warning: enumeration value ‘up’ not handled in switch [-Wswitch] Dbg.c:698:9: warning: enumeration value ‘down’ not handled in switch [-Wswitch] pty_termios.c: In function ‘exp_getptymaster’: pty_termios.c:381:13: warning: unused variable ‘num’ [-Wunused-variable] 381 | int num; | ^~~ pty_termios.c:378:21: warning: unused variable ‘stat_buf’ [-Wunused-variable] 378 | struct stat stat_buf; | ^~~~~~~~ pty_termios.c:377:21: warning: unused variable ‘bank’ [-Wunused-variable] 377 | char *hex, *bank; | ^~~~ pty_termios.c:377:15: warning: unused variable ‘hex’ [-Wunused-variable] 377 | char *hex, *bank; | ^~~ pty_termios.c: In function ‘exp_getptyslave’: pty_termios.c:641:14: warning: unused variable ‘buf’ [-Wunused-variable] 641 | char buf[10240]; | ^~~ pty_termios.c:640:20: warning: unused variable ‘slave2’ [-Wunused-variable] 640 | int slave, slave2; | ^~~~~~ pty_termios.c: In function ‘pty_stty’: pty_termios.c:277:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 277 | system(buf); | ^~~~~~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_select.c` -o exp_select.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_event.c` -o exp_event.o exp_event.c: In function ‘exp_unblock_background_channelhandler’: exp_event.c:116:5: warning: enumeration value ‘armed’ not handled in switch [-Wswitch] 116 | switch (esPtr->bg_status) { | ^~~~~~ exp_event.c:116:5: warning: enumeration value ‘unarmed’ not handled in switch [-Wswitch] gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DRETSIGTYPE=void -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_main_exp.c` -o exp_main_exp.o (echo 'if {![package vsatisfies [package provide Tcl] 8.6]} {return}' ; \ echo 'package ifneeded Expect 5.45.4 \ [list load [file join $dir .. .. libexpect5.45.4.so]]'\ ) > pkgIndex.tcl In function ‘TclGetFrame2’, inlined from ‘debugger_trap’ at Dbg.c:682:13: Dbg.c:292:24: warning: ‘framePtr’ may be used uninitialized [-Wmaybe-uninitialized] 292 | for (;framePtr != NULL; framePtr = framePtr->callerVarPtr) { | ^ Dbg.c: In function ‘debugger_trap’: Dbg.c:242:16: note: ‘framePtr’ was declared here 242 | CallFrame *framePtr; /* frame currently being searched */ | ^~~~~~~~ exp_clib.c: In function ‘expectv’: exp_clib.c:3159:16: warning: ‘return_val’ may be used uninitialized [-Wmaybe-uninitialized] 3159 | return return_val; | ^~~~~~~~~~ exp_clib.c:2916:13: note: ‘return_val’ was declared here 2916 | int return_val; | ^~~~~~~~~~ rm -f libexpect5.45.4.so gcc -shared -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Wl,-z,relro -Wl,--as-needed -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 -Wl,--export-dynamic -o libexpect5.45.4.so exp_command.o expect.o exp_inter.o exp_regexp.o exp_tty.o exp_log.o exp_main_sub.o exp_pty.o exp_trap.o exp_strf.o exp_console.o exp_glob.o exp_win.o exp_clib.o exp_closetcl.o exp_memmove.o exp_tty_comm.o exp_chan.o Dbg.o pty_termios.o exp_select.o exp_event.o -lm -Wl,-rpath,/usr/lib64 -L/usr/lib64 -ltclstub8.6 : libexpect5.45.4.so gcc \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC \ -Wl,-z,relro -Wl,--as-needed -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 -Wl,--export-dynamic \ -o expect exp_main_exp.o \ -L/builddir/build/BUILD/expect5.45.4 -lexpect5.45.4 \ -L/usr/lib64 -ltcl8.6 \ -ldl -lm \ \ : expect + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9vUjdZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + 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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + 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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 expect5.45.4 + rm -rf /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64 (echo 'if {![package vsatisfies [package provide Tcl] 8.6]} {return}' ; \ echo 'package ifneeded Expect 5.45.4 \ [list load [file join $dir .. .. libexpect5.45.4.so]]'\ ) > pkgIndex.tcl /usr/bin/install -c libexpect5.45.4.so /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/lib64/tcl8.6/expect5.45.4/libexpect5.45.4.so : /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/lib64/tcl8.6/expect5.45.4/libexpect5.45.4.so Install pkgIndex.tcl /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/lib64/tcl8.6/expect5.45.4 /usr/bin/install -c expect /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/bin/expect TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/timed-run > timed-run TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/timed-read > timed-read TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/ftp-rfc > ftp-rfc TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/autopasswd > autopasswd TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/lpunlock > lpunlock TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/weather > weather TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/passmass > passmass TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/rftp > rftp TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/kibitz > kibitz TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/rlogin-cwd > rlogin-cwd TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/xpstat > xpstat TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/tkpasswd > tkpasswd TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/dislocate > dislocate TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/xkibitz > xkibitz TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/tknewsbiff > tknewsbiff TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/unbuffer > unbuffer TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/mkpasswd > mkpasswd TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/cryptdir > cryptdir TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/decryptdir > decryptdir TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/autoexpect > autoexpect TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/multixterm > multixterm Installing header files in /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/include Installing ./expect.h Installing ./expect_tcl.h Installing ./expect_comm.h Installing ./tcldbg.h for i in timed-run timed-read ftp-rfc autopasswd lpunlock weather passmass rftp kibitz rlogin-cwd xpstat tkpasswd dislocate xkibitz tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect multixterm end_of_list ; do \ if [ -f $i ] ; then \ /usr/bin/install -c $i /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/bin/$i ; \ rm -f $i ; \ else true; fi ; \ done Installing documentation in /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/share/man /usr/bin/install -c -m 644 ./expect.man /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/share/man/man1/expect.1 /usr/bin/install -c -m 644 ./libexpect.man /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/share/man/man3/libexpect.3 for i in kibitz dislocate xkibitz tknewsbiff unbuffer mkpasswd passmass cryptdir decryptdir autoexpect multixterm end_of_list ; do \ if [ -f ./example/$i.man ] ; then \ /usr/bin/install -c -m 644 ./example/$i.man /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/share/man/man1/$i.1 ; \ else true; fi ; \ done + mv /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/lib64/tcl8.6/expect5.45.4/libexpect5.45.4.so /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/lib64 + ln -s libexpect5.45.4.so /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/lib64/libexpect.so + rm -f /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/bin/cryptdir /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/bin/decryptdir + rm -f /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/share/man/man1/cryptdir.1 /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/share/man/man1/decryptdir.1 + rm -f /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/bin/autopasswd + mv /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/bin/mkpasswd /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/bin/mkpasswd-expect + mv /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/share/man/man1/mkpasswd.1 /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/share/man/man1/mkpasswd-expect.1 + sed -i 's/mkpasswd/mkpasswd-expect/g;s/MKPASSWD/MKPASSWD-EXPECT/g' /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/share/man/man1/mkpasswd-expect.1 + sed -i s/mkpasswd/mkpasswd-expect/g /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/bin/mkpasswd-expect + chrpath --delete /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/lib64/libexpect5.45.4.so + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 5.45.4-20.fc40 --unique-debug-suffix -5.45.4-20.fc40.riscv64 --unique-debug-src-base expect-5.45.4-20.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/expect5.45.4 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/expect-5.45.4-20.fc40.riscv64 1209 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/autoexpect from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/tkpasswd from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/rlogin-cwd from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/multixterm from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/passmass from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/xkibitz from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/kibitz from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/rftp from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/dislocate from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/lpunlock from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/tknewsbiff from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/timed-read from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/mkpasswd-expect from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/timed-run from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/xpstat from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/weather from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/ftp-rfc from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/unbuffer from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.I2fTnd + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + 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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + 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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 expect5.45.4 + make test (echo 'if {![package vsatisfies [package provide Tcl] 8.6]} {return}' ; \ echo 'package ifneeded Expect 5.45.4 \ [list load [file join $dir .. .. libexpect5.45.4.so]]'\ ) > pkgIndex.tcl (echo 'package ifneeded Expect 5.45.4 \ [list load [file join $dir libexpect5.45.4.so]]'\ ) > pkgIndex.tcl TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 `echo ./tests/all.tcl` cat.test expect.test logfile.test via sendvia send_uservia send_stdoutpid.test send.test spawn.test stty.test all.tcl: Total 29 Passed 29 Skipped 0 Failed 0 Sourced 0 Test Files. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: expect-5.45.4-20.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.O0EPPs + umask 022 + cd /builddir/build/BUILD + cd expect5.45.4 + DOCDIR=/builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/share/doc/expect + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/share/doc/expect + cp -pr /builddir/build/BUILD/expect5.45.4/FAQ /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/share/doc/expect + cp -pr /builddir/build/BUILD/expect5.45.4/HISTORY /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/share/doc/expect + cp -pr /builddir/build/BUILD/expect5.45.4/NEWS /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/share/doc/expect + cp -pr /builddir/build/BUILD/expect5.45.4/README /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64/usr/share/doc/expect + RPM_EC=0 ++ jobs -p + exit 0 Provides: expect = 5.45.4-20.fc40 expect(riscv-64) = 5.45.4-20.fc40 libexpect5.45.4.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libexpect5.45.4.so()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libtcl8.6.so()(64bit) rtld(GNU_HASH) Processing files: expect-devel-5.45.4-20.fc40.riscv64 Provides: expect-devel = 5.45.4-20.fc40 expect-devel(riscv-64) = 5.45.4-20.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: expectk-5.45.4-20.fc40.riscv64 Provides: expectk = 5.45.4-20.fc40 expectk(riscv-64) = 5.45.4-20.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh Processing files: expect-debugsource-5.45.4-20.fc40.riscv64 Provides: expect-debugsource = 5.45.4-20.fc40 expect-debugsource(riscv-64) = 5.45.4-20.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: expect-debuginfo-5.45.4-20.fc40.riscv64 Provides: debuginfo(build-id) = 1a9c3d95c7442f41b498aaa06873e1ffddfb2792 debuginfo(build-id) = e51c4c21e110f5cd4db1538e9dd9e61ca82b211e expect-debuginfo = 5.45.4-20.fc40 expect-debuginfo(riscv-64) = 5.45.4-20.fc40 libexpect5.45.4.so-5.45.4-20.fc40.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: expect-debugsource(riscv-64) = 5.45.4-20.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64 Wrote: /builddir/build/RPMS/expectk-5.45.4-20.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/expect-devel-5.45.4-20.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/expect-5.45.4-20.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/expect-debuginfo-5.45.4-20.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/expect-debugsource-5.45.4-20.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YtJXuu + umask 022 + cd /builddir/build/BUILD + cd expect5.45.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/expect-5.45.4-20.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.S5JUcQ + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/expect5.45.4-SPECPARTS + rm -rf expect5.45.4 expect5.45.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (17 usages found), use %patch N (or %patch -P N) Child return code was: 0