Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/expect.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-219931-16804/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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 sh: line 1: tclsh: command not found sh: line 1: tclsh: command not found Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/expect-5.45.4-5.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/expect.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-219931-16804/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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 Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9hRbeM + 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 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/expect-5.45-pkgpath.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/exp-log-buf-overflow.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/err-fd-leak.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/format-security.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hcaxRM + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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 + 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:470: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:470: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:470: the top level configure.in:489: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:489: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:489: the top level configure.in:537: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:537: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:537: the top level configure.in:642: warning: The macro `AC_HEADER_EGREP' is obsolete. configure.in:642: You should run autoupdate. ./lib/autoconf/oldnames.m4:37: AC_HEADER_EGREP is expanded from... configure.in:642: the top level configure.in:715: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:715: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:715: the top level configure.in:740: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:740: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:740: the top level configure.in:757: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:757: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:757: the top level configure.in:779: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:779: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:779: the top level configure.in:801: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:801: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:801: the top level configure.in:825: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:825: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:825: the top level configure.in:868: warning: The macro `AC_HAVE_FUNCS' is obsolete. configure.in:868: You should run autoupdate. ./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from... configure.in:868: the top level configure.in:869: warning: The macro `AC_HAVE_FUNCS' is obsolete. configure.in:869: You should run autoupdate. ./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from... configure.in:869: the top level configure.in:878: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:878: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.in:878: the top level configure.in:1060: warning: AC_OUTPUT should be used without arguments. configure.in:1060: You should run autoupdate. configure.in:1060: 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 + '[' '-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' ./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 2024-07-26 20:14:23.834691567 +0800 +++ ./testsuite/configure 2024-07-26 20:14:23.862692062 +0800 @@ -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 + 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 2024-07-26 20:14:23.482685351 +0800 +++ ./configure 2024-07-26 20:14:23.898692698 +0800 @@ -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 + '[' 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/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./tclconfig/config.sub ++ basename ./tclconfig/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./tclconfig/config.sub '/usr/lib/rpm/OpenCloudOS/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/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./tclconfig/config.guess ++ basename ./tclconfig/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./tclconfig/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './tclconfig/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --with-tcl=/usr/lib64 --with-tk=/usr/lib64 --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 loongarch64-opencloudos-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 loongarch64-opencloudos-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.10.134-16.2_rc2.an23.loongarch64 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... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking target system type... loongarch64-opencloudos-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 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=loongarch64-opencloudos-linux-gnu' '--host=loongarch64-opencloudos-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' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-shared' '--with-tcl=/usr/lib64' '--with-tk=/usr/lib64' '--with-tclinclude=/usr/include/tcl-private/generic' 'build_alias=loongarch64-opencloudos-linux-gnu' 'host_alias=loongarch64-opencloudos-linux-gnu' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' --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 loongarch64-opencloudos-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 loongarch64-opencloudos-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 + /usr/bin/make -O -j32 V=1 VERBOSE=1 (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 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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_memmove.c` -o exp_memmove.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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_tty_comm.c` -o exp_tty_comm.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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_main_exp.c` -o exp_main_exp.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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo pty_termios.c` -o pty_termios.o pty_termios.c: In function 'exp_getptymaster': pty_termios.c:473:13: warning: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration] 473 | if (openpty(&master, &slave, master_name, 0, 0) != 0) { | ^~~~~~~ | openat pty_termios.c:379:13: warning: unused variable 'num' [-Wunused-variable] 379 | int num; | ^~~ pty_termios.c:376:21: warning: unused variable 'stat_buf' [-Wunused-variable] 376 | struct stat stat_buf; | ^~~~~~~~ pty_termios.c:375:21: warning: unused variable 'bank' [-Wunused-variable] 375 | char *hex, *bank; | ^~~~ pty_termios.c:375:15: warning: unused variable 'hex' [-Wunused-variable] 375 | char *hex, *bank; | ^~~ pty_termios.c: In function 'exp_getptyslave': pty_termios.c:644:80: warning: implicit declaration of function 'expErrnoMsg'; did you mean 'Tcl_ErrnoMsg'? [-Wimplicit-function-declaration] 644 | sprintf(exp_pty_error,"open(%s,rw) = %d (%s)",slave_name,slave,expErrnoMsg(errno)); | ^~~~~~~~~~~ | Tcl_ErrnoMsg pty_termios.c:644:59: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Wformat=] 644 | sprintf(exp_pty_error,"open(%s,rw) = %d (%s)",slave_name,slave,expErrnoMsg(errno)); | ~^ ~~~~~~~~~~~~~~~~~~ | | | | char * int | %d pty_termios.c:639:14: warning: unused variable 'buf' [-Wunused-variable] 639 | char buf[10240]; | ^~~ pty_termios.c:638:20: warning: unused variable 'slave2' [-Wunused-variable] 638 | int slave, slave2; | ^~~~~~ pty_termios.c: In function 'pty_stty': pty_termios.c:275:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 275 | 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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_pty.c` -o exp_pty.o 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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_trap.c` -o exp_trap.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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_chan.c` -o exp_chan.o exp_chan.c:61:5: warning: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types] 61 | ExpBlockModeProc, /* Set blocking/nonblocking mode.*/ | ^~~~~~~~~~~~~~~~ exp_chan.c:61:5: note: (near initialization for 'expChannelType.version') exp_chan.c: In function 'ExpGetHandleProc': exp_chan.c:439:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 439 | *handlePtr = (ClientData) esPtr->fdin; | ^ exp_chan.c:442:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 442 | *handlePtr = (ClientData) esPtr->fdin; | ^ exp_chan.c: In function 'exp_background_channelhandlers_run_all': exp_chan.c:653:13: warning: implicit declaration of function 'exp_background_channelhandler'; did you mean 'exp_background_channelhandlers_run_all'? [-Wimplicit-function-declaration] 653 | exp_background_channelhandler((ClientData)esPtr,0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | exp_background_channelhandlers_run_all 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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -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; | ^~ 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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_log.c` -o exp_log.o exp_log.c: In function 'expPrintf': exp_log.c:304:9: warning: variable 'fmt' set but not used [-Wunused-but-set-variable] 304 | 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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_main_sub.c` -o exp_main_sub.o exp_main_sub.c: In function 'exp_interpreter': exp_main_sub.c:306:23: warning: implicit declaration of function 'exp_tty_cooked_echo' [-Wimplicit-function-declaration] 306 | tty_changed = exp_tty_cooked_echo(interp,&tty_old,&was_raw,&was_echo); | ^~~~~~~~~~~~~~~~~~~ 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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo Dbg.c` -o Dbg.o 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] 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 */ | ^~~~~~~~ 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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_inter.c` -o exp_inter.o 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_inter.c: In function 'Exp_InteractObjCmd': 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 */ | ^~~~~~~~ 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; | ^~~~~~~~~~~ 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; | ^~~~~~~~~ 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; | ^~~~~~~~~~~~~ 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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_clib.c` -o exp_clib.o exp_clib.c: In function 'exp_setpgrp': exp_clib.c:1821:12: warning: implicit declaration of function 'setpgrp' [-Wimplicit-function-declaration] 1821 | (void) setpgrp(); | ^~~~~~~ exp_clib.c: In function 'exp_spawnv': exp_clib.c:1852:17: warning: implicit declaration of function 'exp_init_tty'; did you mean 'exp_init_pty'? [-Wimplicit-function-declaration] 1852 | exp_init_tty(); | ^~~~~~~~~~~~ | exp_init_pty exp_clib.c:1892:20: warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration] 1892 | if (-1 == (pipe(sync_fds))) { | ^~~~ exp_clib.c:1896:17: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 1896 | close(sync_fds[0]); | ^~~~~ | pclose exp_clib.c:1909:24: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 1909 | if ((exp_pid = fork()) == -1) return(-1); | ^~~~ exp_clib.c:1949:22: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 1949 | cc = read(sync_fds[0],&sync_byte,1); | ^~~~ | fread exp_clib.c:1963:22: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 1963 | cc = write(sync2_fds[1]," ",1); | ^~~~~ | fwrite exp_clib.c:1990:25: warning: implicit declaration of function 'waitpid' [-Wimplicit-function-declaration] 1990 | waitpid(exp_pid, NULL, 0); | ^~~~~~~ exp_clib.c:2021:9: warning: implicit declaration of function 'setsid' [-Wimplicit-function-declaration] 2021 | setsid(); | ^~~~~~ exp_clib.c:2217:16: warning: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] 2217 | (void) execvp(file,argv); | ^~~~~~ exp_clib.c:1836:13: warning: unused variable 'ttyfd' [-Wunused-variable] 1836 | int ttyfd; | ^~~~~ exp_clib.c: In function 'i_read': exp_clib.c:2333:26: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] 2333 | if (timeout > 0) alarm(timeout); | ^~~~~ exp_clib.c: In function 'exp_disconnect': exp_clib.c:2856:13: warning: unused variable 'ttyfd' [-Wunused-variable] 2856 | int ttyfd; | ^~~~~ exp_clib.c:2866:9: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 2866 | freopen("/dev/null","r",stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp_clib.c:2867:9: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 2867 | freopen("/dev/null","w",stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp_clib.c:2868:9: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 2868 | freopen("/dev/null","w",stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp_clib.c: At top level: exp_clib.c:1812:1: warning: 'exp_setpgrp' defined but not used [-Wunused-function] 1812 | exp_setpgrp() | ^~~~~~~~~~~ exp_clib.c: In function 'expectv': exp_clib.c:2444:13: warning: 'return_val' may be used uninitialized [-Wmaybe-uninitialized] 2444 | int return_val; | ^~~~~~~~~~ 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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_command.c` -o exp_command.o exp_command.c: In function 'Exp_SpawnObjCmd': exp_command.c:587:9: warning: unused variable 'ttyfd' [-Wunused-variable] 587 | int ttyfd; | ^~~~~ 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() | ^~~~~~~~~~ exp_command.c: In function 'Exp_SpawnObjCmd': 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_command.c:923:60: warning: 'rfd' may be used uninitialized [-Wmaybe-uninitialized] 923 | if ((mode & TCL_READABLE) && (mode & TCL_WRITABLE) && (wfd != rfd)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ exp_command.c:888:19: note: 'rfd' was declared here 888 | int mode, rfd, wfd; | ^~~ 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 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo expect.c` -o expect.o 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': expect.c:1765:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] 1765 | int size; | ^~~~ expect.c: In function 'Exp_ExpectObjCmd': expect.c:2547:12: warning: variable 'start_time' set but not used [-Wunused-but-set-variable] 2547 | time_t start_time = 0; /* time when restart label hit */ | ^~~~~~~~~~ expect.c: In function 'process_di.constprop.0': expect.c:2955:12: warning: 'esPtr' may be used uninitialized [-Wmaybe-uninitialized] 2955 | *esOut = esPtr; | ~~~~~~~^~~~~~~ expect.c:2902:15: note: 'esPtr' was declared here 2902 | ExpState *esPtr; | ^~~~~ expect.c: In function 'Exp_ExpectObjCmd': expect.c:2735:32: warning: 'end_time' may be used uninitialized [-Wmaybe-uninitialized] 2735 | remtime = end_time - current_time; | ~~~~~~~~~^~~~~~~~~~~~~~ expect.c:2549:12: note: 'end_time' was declared here 2549 | time_t end_time; /* future time at which to give up */ | ^~~~~~~~ rm -f libexpect5.45.4.so gcc -shared -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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 pty_termios.c:644:80: warning: type of 'expErrnoMsg' does not match original declaration [-Wlto-type-mismatch] 644 | sprintf(exp_pty_error,"open(%s,rw) = %d (%s)",slave_name,slave,expErrnoMsg(errno)); | ^ exp_pty.c:357:1: note: return value type mismatch 357 | expErrnoMsg(errorNo) | ^ exp_pty.c:357:1: note: 'expErrnoMsg' was previously declared here exp_pty.c:357:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used exp_clib.c:1949:22: warning: type of 'read' does not match original declaration [-Wlto-type-mismatch] 1949 | cc = read(sync_fds[0],&sync_byte,1); | ^ /usr/include/bits/unistd-decl.h:29:16: note: return value type mismatch 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^ /usr/include/bits/unistd-decl.h:29:16: note: type 'ssize_t' should match type 'int' /usr/include/bits/unistd-decl.h:29:16: note: '__read_alias' was previously declared here /usr/include/bits/unistd-decl.h:29:16: note: code may be misoptimized unless '-fno-strict-aliasing' is used exp_clib.c:1963:22: warning: type of 'write' does not match original declaration [-Wlto-type-mismatch] 1963 | cc = write(sync2_fds[1]," ",1); | ^ /usr/include/unistd.h:378:16: note: return value type mismatch 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^ /usr/include/unistd.h:378:16: note: type 'ssize_t' should match type 'int' /usr/include/unistd.h:378:16: note: 'write' was previously declared here /usr/include/unistd.h:378:16: note: code may be misoptimized unless '-fno-strict-aliasing' is used gcc \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -pipe -O2 -fomit-frame-pointer -Wall -fPIC \ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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.bg57Kv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64 + cd expect5.45.4 + rm -rf /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' (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 -p libexpect5.45.4.so /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/lib64/tcl8.6/expect5.45.4/libexpect5.45.4.so : /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/lib64/tcl8.6/expect5.45.4/libexpect5.45.4.so Install pkgIndex.tcl /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/lib64/tcl8.6/expect5.45.4 /usr/bin/install -p expect /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/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-5.ocs23.loongarch64/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 -p $i /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/bin/$i ; \ rm -f $i ; \ else true; fi ; \ done Installing documentation in /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/share/man /usr/bin/install -p -m 644 ./expect.man /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/share/man/man1/expect.1 /usr/bin/install -p -m 644 ./libexpect.man /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/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 -p -m 644 ./example/$i.man /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/share/man/man1/$i.1 ; \ else true; fi ; \ done + mv /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/lib64/tcl8.6/expect5.45.4/libexpect5.45.4.so /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64//usr/lib64/ + ln -s libexpect5.45.4.so /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/lib64/libexpect.so + rm -f /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/bin/cryptdir /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/bin/decryptdir + rm -f /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/bin/autopasswd + rm -f /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/share/man/man1/cryptdir.1 /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/share/man/man1/decryptdir.1 + mv /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/bin/mkpasswd /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/bin/mkpasswd-expect + mv /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/share/man/man1/mkpasswd.1 /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/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-5.ocs23.loongarch64/usr/share/man/man1/mkpasswd-expect.1 + sed -i s/mkpasswd/mkpasswd-expect/g /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/bin/mkpasswd-expect + chrpath --delete /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/lib64/libexpect5.45.4.so + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 5.45.4-5.ocs23 --unique-debug-suffix -5.45.4-5.ocs23.loongarch64 --unique-debug-src-base expect-5.45.4-5.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/expect5.45.4 extracting debug info from /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/lib64/libexpect5.45.4.so extracting debug info from /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/bin/expect 1179 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/bin/timed-run 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/ftp-rfc 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/weather 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/rftp 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/rlogin-cwd 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/tkpasswd 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/xkibitz 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/unbuffer from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/autoexpect 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/mkpasswd-expect from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.4RKEBC + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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-5.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.O8dYBV + umask 022 + cd /builddir/build/BUILD + cd expect5.45.4 + DOCDIR=/builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/share/doc/expect + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/share/doc/expect + cp -pr FAQ /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/share/doc/expect + cp -pr HISTORY /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/share/doc/expect + cp -pr NEWS /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/share/doc/expect + cp -pr README /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/share/doc/expect + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.K7zUw5 + umask 022 + cd /builddir/build/BUILD + cd expect5.45.4 + LICENSEDIR=/builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/share/licenses/expect + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/share/licenses/expect + cp -pr license.terms /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64/usr/share/licenses/expect + RPM_EC=0 ++ jobs -p + exit 0 Provides: expect = 5.45.4-5.ocs23 expect(loongarch-64) = 5.45.4-5.ocs23 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-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libexpect5.45.4.so()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(64bit) libtcl8.6.so()(64bit) rtld(GNU_HASH) Processing files: expect-devel-5.45.4-5.ocs23.loongarch64 Provides: expect-devel = 5.45.4-5.ocs23 expect-devel(loongarch-64) = 5.45.4-5.ocs23 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-5.ocs23.loongarch64 Provides: expectk = 5.45.4-5.ocs23 expectk(loongarch-64) = 5.45.4-5.ocs23 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-5.ocs23.loongarch64 Provides: expect-debugsource = 5.45.4-5.ocs23 expect-debugsource(loongarch-64) = 5.45.4-5.ocs23 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-5.ocs23.loongarch64 Provides: debuginfo(build-id) = 6121d8f6580b47c8c386395439389eb6bc1ea9db debuginfo(build-id) = 7850f7a1fbc3fecc80854204c97a232478ad03ac expect-debuginfo = 5.45.4-5.ocs23 expect-debuginfo(loongarch-64) = 5.45.4-5.ocs23 libexpect5.45.4.so-5.45.4-5.ocs23.loongarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: expect-debugsource(loongarch-64) = 5.45.4-5.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/expect-5.45.4-5.ocs23.loongarch64 Wrote: /builddir/build/RPMS/expect-devel-5.45.4-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/expectk-5.45.4-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/expect-debugsource-5.45.4-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/expect-5.45.4-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/expect-debuginfo-5.45.4-5.ocs23.loongarch64.rpm Child return code was: 0