+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/expect.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.t2WJQX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf expect5.45 + /usr/bin/gzip -dc /builddir/build/SOURCES/expect5.45.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd expect5.45 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (expect-5.43.0-log_file.patch):' Patch #0 (expect-5.43.0-log_file.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .log_file --fuzz=0 patching file exp_log.c + echo 'Patch #1 (expect-5.43.0-pkgpath.patch):' Patch #1 (expect-5.43.0-pkgpath.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pkgpath --fuzz=0 patching file configure.in patching file Makefile.in + echo 'Patch #2 (expect-5.45-man-page.patch):' Patch #2 (expect-5.45-man-page.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .man-page --fuzz=0 patching file example/autoexpect.man patching file example/tknewsbiff.man patching file expect.man + echo 'Patch #3 (expect-5.45-match-gt-numchars-segfault.patch):' Patch #3 (expect-5.45-match-gt-numchars-segfault.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .match-gt-numchars-segfault --fuzz=0 patching file expect.c + echo 'Patch #4 (expect-5.45-re-memleak.patch):' Patch #4 (expect-5.45-re-memleak.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .re-memleak --fuzz=0 patching file expect.c + echo 'Patch #5 (expect-5.45-exp-log-buf-overflow.patch):' Patch #5 (expect-5.45-exp-log-buf-overflow.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .exp-log-buf-overflow --fuzz=0 patching file exp_log.c + echo 'Patch #6 (expect-5.45-segfault-with-stubs.patch):' Patch #6 (expect-5.45-segfault-with-stubs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .segfault-with-stubs --fuzz=0 patching file exp_clib.c patching file expect.h + echo 'Patch #7 (expect-5.45-fd-leak.patch):' Patch #7 (expect-5.45-fd-leak.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fd-leak --fuzz=0 patching file exp_command.c + echo 'Patch #100 (expect-5.32.2-random.patch):' Patch #100 (expect-5.32.2-random.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .random --fuzz=0 patching file example/mkpasswd Hunk #1 succeeded at 99 (offset 7 lines). + echo 'Patch #101 (expect-5.45-mkpasswd-dash.patch):' Patch #101 (expect-5.45-mkpasswd-dash.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .mkpasswd-dash --fuzz=0 patching file example/mkpasswd + echo 'Patch #102 (expect-5.45-check-telnet.patch):' Patch #102 (expect-5.45-check-telnet.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .check-telnet --fuzz=0 patching file example/passmass patching file example/weather + echo 'Patch #103 (expect-5.45-passmass-su-full-path.patch):' Patch #103 (expect-5.45-passmass-su-full-path.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .passmass-su-full-path --fuzz=0 patching file example/passmass + echo 'Patch #104 (expect-5.45-mkpasswd-man.patch):' Patch #104 (expect-5.45-mkpasswd-man.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .mkpasswd-man --fuzz=0 patching file example/mkpasswd.man + echo 'Patch #105 (expect-5.45-format-security.patch):' Patch #105 (expect-5.45-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .format-security --fuzz=0 patching file exp_clib.c + aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' + autoconf + cd testsuite + autoconf -I.. + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KkClWr + umask 022 + cd /builddir/build/BUILD + cd expect5.45 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./tclconfig/config.guess ++ basename ./tclconfig/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./tclconfig/config.guess '/usr/lib/rpm/redhat/config.guess' -> './tclconfig/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./tclconfig/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./tclconfig/config.sub ++ basename ./tclconfig/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./tclconfig/config.sub '/usr/lib/rpm/redhat/config.sub' -> './tclconfig/config.sub' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-tcl=/usr/lib64 --with-tk=/usr/lib64 --enable-shared --with-tclinclude=/usr/include/tcl-private/generic checking for correct TEA configuration... ok (TEA 3.9) configure: configuring expect 5.45 checking for Tcl configuration... found /usr/lib64/tclConfig.sh checking for existence of /usr/lib64/tclConfig.sh... loading configure: WARNING: With Tk request ignored - use package require Tk & Expect checking for a BSD-compatible install... /usr/bin/install -c checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking 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 net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... 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-4.16.0-rc2-00328-gebea62367bc4 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 sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking sys/stropts.h usability... no checking sys/stropts.h presence... no checking for sys/stropts.h... no checking sys/sysconfig.h usability... no checking sys/sysconfig.h presence... no checking for sys/sysconfig.h... no checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/ptem.h usability... no checking sys/ptem.h presence... no checking for sys/ptem.h... no checking sys/strredir.h usability... no checking sys/strredir.h presence... no checking for sys/strredir.h... no checking sys/strpty.h usability... no checking sys/strpty.h presence... 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 sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... 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... no checking for openpty in -lutil... yes checking if running Sequent running SVR4... no checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for pid_t... yes checking if running Mach... no checking if running MachTen... no checking if on Pyramid... no checking if on Apollo... no checking if on Interactive... no checking stty to use... /bin/stty checking if stty reads stdout... no checking if running Solaris... no checking for memmove... yes checking for sysconf... yes checking for strftime... yes checking for strchr... yes checking for timezone... yes checking for siglongjmp... yes checking for memcpy... yes checking if WNOHANG requires _POSIX_SOURCE... no checking if any value exists for WNOHANG... yes checking mask type of select... none checking 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 takes no argument... 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/testsuite) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=riscv64-redhat-linux-gnu' '--host=riscv64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-tcl=/usr/lib64' '--with-tk=/usr/lib64' '--enable-shared' '--with-tclinclude=/usr/include/tcl-private/generic' 'build_alias=riscv64-redhat-linux-gnu' 'host_alias=riscv64-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' --cache-file=/dev/null --srcdir=. checking for correct TEA configuration... ok (TEA 3.9) configure: configuring exp_test 0.43 checking for Tcl configuration... found /usr/lib64/tclConfig.sh checking for existence of /usr/lib64/tclConfig.sh... loading checking for a BSD-compatible install... /usr/bin/install -c checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking 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 net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes configure: creating ./config.status config.status: creating Makefile + make -j4 gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_command.c` -o exp_command.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo expect.c` -o expect.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_inter.c` -o exp_inter.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^~ expect.c: In function 'exp_eval_with_one_arg': expect.c:287:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^~ expect.c: In function 'expIRead': expect.c:1763:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^~~~ exp_inter.c:710:13: warning: 'interpreter_cmd' defined but not used [-Wunused-variable] static char interpreter_cmd[] = "interpreter"; ^~~~~~~~~~~~~~~ exp_inter.c:709:13: warning: 'return_cmd' defined but not used [-Wunused-variable] static char return_cmd[] = "return"; ^~~~~~~~~~ exp_command.c: In function 'Exp_SpawnObjCmd': exp_command.c:587:9: warning: unused variable 'ttyfd' [-Wunused-variable] int ttyfd; ^~~~~ expect.c: In function 'Exp_ExpectObjCmd': expect.c:2552:12: warning: variable 'start_time' set but not used [-Wunused-but-set-variable] time_t start_time = 0; /* time when restart label hit */ ^~~~~~~~~~ exp_command.c: In function 'Exp_DisconnectObjCmd': exp_command.c:3120:9: warning: unused variable 'ttyfd' [-Wunused-variable] 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] write(status_pipe[1], &errno, sizeof errno); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: exp_command.c:537:1: warning: 'expSetpgrp' defined but not used [-Wunused-function] expSetpgrp() ^~~~~~~~~~ exp_inter.c: In function 'Exp_InteractObjCmd': exp_inter.c:421:28: warning: 'offsetBytes' may be used uninitialized in this function [-Wmaybe-uninitialized] esPtr->input.buffer + offsetBytes, ^ exp_inter.c:408:9: note: 'offsetBytes' was declared here int offsetBytes; ^~~~~~~~~~~ exp_inter.c:420:5: warning: 'echoBytes' may be used uninitialized in this function [-Wmaybe-uninitialized] (void) expWriteCharsUni(esPtr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ esPtr->input.buffer + offsetBytes, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echoBytes); ~~~~~~~~~~ exp_inter.c:407:9: note: 'echoBytes' was declared here int echoBytes; ^~~~~~~~~ exp_inter.c:1412:31: warning: 'previous_time' may be used uninitialized in this function [-Wmaybe-uninitialized] time_diff = current_time - previous_time; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_log.c` -o exp_log.o expect.c: In function 'process_di.constprop': expect.c:2960:12: warning: 'esPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] *esOut = esPtr; ~~~~~~~^~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_main_sub.c` -o exp_main_sub.o exp_log.c: In function 'expPrintf': exp_log.c:304:9: warning: variable 'fmt' set but not used [-Wunused-but-set-variable] char *fmt; ^~~ exp_command.c: In function 'Exp_SpawnObjCmd': exp_command.c:924:9: warning: 'wfd' may be used uninitialized in this function [-Wmaybe-uninitialized] if (-1 == (write_master = dup(wfd))) { ^ exp_command.c:923:53: warning: 'rfd' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((mode & TCL_READABLE) && (mode & TCL_WRITABLE) && (wfd != rfd)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ exp_log.c: In function 'expWriteBytesAndLogIfTtyU': exp_log.c:101:12: warning: 'wc' may be used uninitialized in this function [-Wmaybe-uninitialized] return wc; ^~ exp_main_sub.c: In function 'exp_interpreter': exp_main_sub.c:306:16: warning: implicit declaration of function 'exp_tty_cooked_echo'; did you mean 'exp_tty_raw_noecho'? [-Wimplicit-function-declaration] tty_changed = exp_tty_cooked_echo(interp,&tty_old,&was_raw,&was_echo); ^~~~~~~~~~~~~~~~~~~ exp_tty_raw_noecho exp_command.c: In function 'Exp_SendObjCmd': exp_command.c:2063:8: warning: 'string' may be used uninitialized in this function [-Wmaybe-uninitialized] len = strlen(string); ^~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_pty.c` -o exp_pty.o expect.c: In function 'Exp_ExpectObjCmd': expect.c:2740:25: warning: 'end_time' may be used uninitialized in this function [-Wmaybe-uninitialized] remtime = end_time - current_time; ~~~~~~~~~^~~~~~~~~~~~~~ exp_pty.c:138:21: warning: 'oldHupHandler' defined but not used [-Wunused-variable] static RETSIGTYPE (*oldHupHandler)(); ^~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_win.c` -o exp_win.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_clib.c` -o exp_clib.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_tty_comm.c` -o exp_tty_comm.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] } ^ exp_win.c: In function 'exp_window_size_get': exp_win.c:105:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ exp_win.c: In function 'exp_win2_size_set': exp_win.c:154:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ exp_win.c: In function 'exp_win2_size_get': exp_win.c:165:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_chan.c` -o exp_chan.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo Dbg.c` -o Dbg.o exp_clib.c: In function 'exp_setpgrp': exp_clib.c:2283:12: warning: implicit declaration of function 'setpgrp'; did you mean 'setjmp'? [-Wimplicit-function-declaration] (void) setpgrp(); ^~~~~~~ setjmp exp_clib.c: In function 'exp_spawnv': exp_clib.c:2314:3: warning: implicit declaration of function 'exp_init_tty'; did you mean 'exp_init_pty'? [-Wimplicit-function-declaration] exp_init_tty(); ^~~~~~~~~~~~ exp_init_pty exp_clib.c:2354:13: warning: implicit declaration of function 'pipe'; did you mean 'time'? [-Wimplicit-function-declaration] if (-1 == (pipe(sync_fds))) { ^~~~ time exp_clib.c:2358:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(sync_fds[0]); ^~~~~ pclose exp_clib.c:2371:17: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] if ((exp_pid = fork()) == -1) return(-1); ^~~~ exp_clib.c:2411:8: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] cc = read(sync_fds[0],&sync_byte,1); ^~~~ fread exp_clib.c:2425:8: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] cc = write(sync2_fds[1]," ",1); ^~~~~ fwrite exp_clib.c:2452:4: warning: implicit declaration of function 'waitpid'; did you mean 'si_pid'? [-Wimplicit-function-declaration] waitpid(exp_pid, NULL, 0); ^~~~~~~ si_pid exp_clib.c:2483:2: warning: implicit declaration of function 'setsid'; did you mean 'setenv'? [-Wimplicit-function-declaration] setsid(); ^~~~~~ setenv exp_clib.c:2679:16: warning: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] (void) execvp(file,argv); ^~~~~~ exp_clib.c:2298:6: warning: unused variable 'ttyfd' [-Wunused-variable] int ttyfd; ^~~~~ exp_clib.c: In function 'i_read': exp_clib.c:2795:19: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] if (timeout > 0) alarm(timeout); ^~~~~ exp_clib.c: In function 'exp_disconnect': exp_clib.c:3318:6: warning: unused variable 'ttyfd' [-Wunused-variable] int ttyfd; ^~~~~ exp_clib.c:3328:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null","r",stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp_clib.c:3329:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null","w",stdout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp_clib.c:3330:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null","w",stderr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: exp_clib.c:2274:1: warning: 'exp_setpgrp' defined but not used [-Wunused-function] exp_setpgrp() ^~~~~~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo pty_termios.c` -o pty_termios.o exp_chan.c:61:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] 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:434:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *handlePtr = (ClientData) esPtr->fdin; ^ exp_chan.c:437:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *handlePtr = (ClientData) esPtr->fdin; ^ exp_chan.c: In function 'exp_background_channelhandlers_run_all': exp_chan.c:610:6: warning: implicit declaration of function 'exp_background_channelhandler'; did you mean 'exp_background_channelhandlers_run_all'? [-Wimplicit-function-declaration] exp_background_channelhandler((ClientData)esPtr,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp_background_channelhandlers_run_all Dbg.c: In function 'debugger_trap': Dbg.c:632:2: warning: enumeration value 'none' not handled in switch [-Wswitch] switch (debug_cmd) { ^~~~~~ Dbg.c:632:2: warning: enumeration value 'up' not handled in switch [-Wswitch] Dbg.c:632:2: warning: enumeration value 'down' not handled in switch [-Wswitch] Dbg.c:632:2: warning: enumeration value 'where' not handled in switch [-Wswitch] Dbg.c:698:2: warning: enumeration value 'none' not handled in switch [-Wswitch] switch (debug_cmd) { ^~~~~~ Dbg.c:698:2: warning: enumeration value 'up' not handled in switch [-Wswitch] Dbg.c:698:2: warning: enumeration value 'down' not handled in switch [-Wswitch] pty_termios.c: In function 'exp_getptymaster': pty_termios.c:473:6: warning: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration] if (openpty(&master, &slave, master_name, 0, 0) != 0) { ^~~~~~~ openat pty_termios.c:379:6: warning: unused variable 'num' [-Wunused-variable] int num; ^~~ pty_termios.c:376:14: warning: unused variable 'stat_buf' [-Wunused-variable] struct stat stat_buf; ^~~~~~~~ pty_termios.c:375:14: warning: unused variable 'bank' [-Wunused-variable] char *hex, *bank; ^~~~ pty_termios.c:375:8: warning: unused variable 'hex' [-Wunused-variable] char *hex, *bank; ^~~ pty_termios.c: In function 'exp_getptyslave': pty_termios.c:644:66: warning: implicit declaration of function 'expErrnoMsg'; did you mean 'Tcl_ErrnoMsg'? [-Wimplicit-function-declaration] sprintf(exp_pty_error,"open(%s,rw) = %d (%s)",slave_name,slave,expErrnoMsg(errno)); ^~~~~~~~~~~ Tcl_ErrnoMsg pty_termios.c:644:45: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Wformat=] sprintf(exp_pty_error,"open(%s,rw) = %d (%s)",slave_name,slave,expErrnoMsg(errno)); ~^ ~~~~~~~~~~~~~~~~~~ %d pty_termios.c:639:7: warning: unused variable 'buf' [-Wunused-variable] char buf[10240]; ^~~ pty_termios.c:638:13: warning: unused variable 'slave2' [-Wunused-variable] int slave, slave2; ^~~~~~ pty_termios.c: In function 'pty_stty': pty_termios.c:275:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^~~~~~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_event.c` -o exp_event.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=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\" -DEXECSCRIPTDIR=\"/usr/lib64/tcl8.6/expect5.45\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_main_exp.c` -o exp_main_exp.o Dbg.c:293:18: warning: 'framePtr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (framePtr->level == level) { ~~~~~~~~^~~~~~~ Dbg.c:242:16: note: 'framePtr' was declared here CallFrame *framePtr; /* frame currently being searched */ ^~~~~~~~ (echo 'if {![package vsatisfies [package provide Tcl] 8.6]} {return}' ; \ echo 'package ifneeded Expect 5.45 \ [list load [file join $dir .. .. libexpect5.45.so]]'\ ) > pkgIndex.tcl exp_clib.c: In function 'expectv': exp_clib.c:2906:6: warning: 'return_val' may be used uninitialized in this function [-Wmaybe-uninitialized] int return_val; ^~~~~~~~~~ exp_event.c: In function 'exp_unblock_background_channelhandler': exp_event.c:116:5: warning: enumeration value 'armed' not handled in switch [-Wswitch] switch (esPtr->bg_status) { ^~~~~~ exp_event.c:116:5: warning: enumeration value 'unarmed' not handled in switch [-Wswitch] rm -f libexpect5.45.so gcc -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--export-dynamic -o libexpect5.45.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 -lutil -lm -Wl,-rpath,/usr/lib64 -L/usr/lib64 -ltclstub8.6 : libexpect5.45.so gcc \ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pipe -O2 -fomit-frame-pointer -Wall -fPIC \ -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--export-dynamic \ -o expect exp_main_exp.o \ -L/builddir/build/BUILD/expect5.45 -lexpect5.45 \ -L/usr/lib64 -ltcl8.6 \ -ldl -lm \ \ : expect + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.G3xqgm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64 + cd expect5.45 + rm -rf /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64 (echo 'if {![package vsatisfies [package provide Tcl] 8.6]} {return}' ; \ echo 'package ifneeded Expect 5.45 \ [list load [file join $dir .. .. libexpect5.45.so]]'\ ) > pkgIndex.tcl /usr/bin/install -c libexpect5.45.so /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/lib64/tcl8.6/expect5.45/libexpect5.45.so : /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/lib64/tcl8.6/expect5.45/libexpect5.45.so Install pkgIndex.tcl /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/lib64/tcl8.6/expect5.45 /usr/bin/install -c expect /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/bin/expect TCL_LIBRARY=`echo /usr/include/tcl-private/library` LD_LIBRARY_PATH=".:/usr/lib64:" PATH=".:/usr/lib64:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" 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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/multixterm > multixterm Installing header files in /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/include Installing ./expect.h Installing ./expect_tcl.h Installing ./expect_comm.h Installing ./tcldbg.h for i in timed-run timed-read ftp-rfc autopasswd lpunlock weather passmass rftp kibitz rlogin-cwd xpstat tkpasswd dislocate xkibitz tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect multixterm end_of_list ; do \ if [ -f $i ] ; then \ /usr/bin/install -c $i /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/bin/$i ; \ rm -f $i ; \ else true; fi ; \ done Installing documentation in /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/share/man /usr/bin/install -c -m 644 ./expect.man /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/share/man/man1/expect.1 /usr/bin/install -c -m 644 ./libexpect.man /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/share/man/man3/libexpect.3 for i in kibitz dislocate xkibitz tknewsbiff unbuffer mkpasswd passmass cryptdir decryptdir autoexpect multixterm end_of_list ; do \ if [ -f ./example/$i.man ] ; then \ /usr/bin/install -c -m 644 ./example/$i.man /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/share/man/man1/$i.1 ; \ else true; fi ; \ done + mv /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/lib64/tcl8.6/expect5.45/libexpect5.45.so /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/lib64 + ln -s libexpect5.45.so /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/lib64/libexpect.so + rm -f /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/bin/cryptdir /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/bin/decryptdir + rm -f /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/share/man/man1/cryptdir.1 /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/share/man/man1/decryptdir.1 + rm -f /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/bin/autopasswd + chrpath --delete /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/lib64/libexpect5.45.so + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: expect-5.45-28.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YL9Oyl + umask 022 + cd /builddir/build/BUILD + cd expect5.45 + DOCDIR=/builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/share/doc/expect + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/share/doc/expect + cp -pr FAQ /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/share/doc/expect + cp -pr HISTORY /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/share/doc/expect + cp -pr NEWS /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/share/doc/expect + cp -pr README /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64/usr/share/doc/expect + exit 0 Provides: expect = 5.45-28.fc28 expect(riscv-64) = 5.45-28.fc28 libexpect5.45.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libexpect5.45.so()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libtcl8.6.so()(64bit) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: expect-devel-5.45-28.fc28.riscv64 Provides: expect-devel = 5.45-28.fc28 expect-devel(riscv-64) = 5.45-28.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: expectk-5.45-28.fc28.riscv64 Provides: expectk = 5.45-28.fc28 expectk(riscv-64) = 5.45-28.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64 Wrote: /builddir/build/SRPMS/expect-5.45-28.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/expect-5.45-28.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/expect-devel-5.45-28.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/expectk-5.45-28.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3hqgiR + umask 022 + cd /builddir/build/BUILD + cd expect5.45 + rm -rf /builddir/build/BUILDROOT/expect-5.45-28.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff