>>> expect: Building main/expect 5.45.4-r4 (using abuild 3.10.0-r2) started Tue, 11 Apr 2023 16:39:32 +0000 >>> expect: Checking sanity of /home/buildozer/aports/main/expect/APKBUILD... >>> expect: Analyzing dependencies... >>> expect: Installing for build: build-base tcl-dev (1/5) Installing tzdata (2023c-r1) (2/5) Installing tcl (8.6.13-r1) (3/5) Installing zlib-dev (1.2.13-r1) (4/5) Installing tcl-dev (8.6.13-r1) (5/5) Installing .makedepends-expect (20230411.163932) Executing busybox-1.36.0-r6.trigger OK: 380 MiB in 106 packages >>> expect: Cleaning up srcdir >>> expect: Cleaning up pkgdir >>> expect: Fetching https://distfiles.alpinelinux.org/distfiles/edge//expect5.45.4.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 36 617k 36 223k 0 0 383k 0 0:00:01 --:--:-- 0:00:01 383k 100 617k 100 617k 0 0 921k 0 --:--:-- --:--:-- --:--:-- 921k >>> expect: Fetching https://distfiles.alpinelinux.org/distfiles/edge//expect5.45.4.tar.gz >>> expect: Checking sha512sums... expect5.45.4.tar.gz: OK 07-file-handle.patch: OK 09-unsafe-traps.patch: OK 10-manpage.patch: OK 12-fdout.patch: OK 22-segfault-with-stubs.patch: OK 24-format.patch: OK >>> expect: Unpacking /var/cache/distfiles/edge/expect5.45.4.tar.gz... >>> expect: 07-file-handle.patch patching file exp_clib.c patching file exp_command.c >>> expect: 09-unsafe-traps.patch patching file exp_trap.c >>> expect: 10-manpage.patch patching file expect.man >>> expect: 12-fdout.patch patching file exp_command.c >>> expect: 22-segfault-with-stubs.patch patching file exp_clib.c Hunk #1 succeeded at 114 (offset -3 lines). Hunk #2 succeeded at 393 (offset -3 lines). Hunk #3 succeeded at 403 (offset -3 lines). >>> expect: 24-format.patch patching file exp_clib.c Hunk #1 succeeded at 1480 (offset -3 lines). patching file exp_command.c >>> expect: Updating ./tclconfig/config.sub checking for correct TEA configuration... ok (TEA 3.9) configure: configuring expect 5.45.4 checking for Tcl configuration... found /usr/lib/tclConfig.sh checking for existence of /usr/lib/tclConfig.sh... loading configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr checking for a BSD-compatible install... /usr/bin/install -c checking for s390x-alpine-linux-musl-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 s390x-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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... yes checking for sin... yes 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 checking for Tcl private include files... private headers found with public headers 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... no checking system version... Linux-5.15.32-0-lts 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... yes checking sys/stropts.h presence... yes checking for sys/stropts.h... yes 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... yes checking if running Sequent running SVR4... no checking build system type... s390x-alpine-linux-musl checking host system type... s390x-alpine-linux-musl checking target system type... s390x-alpine-linux-musl 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... yes checking for libpts="-lpt" in -lpt... no checking for ptsname... yes 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... no 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: ./install-sh: No such file or directory === configuring in testsuite (/home/buildozer/aports/main/expect/src/expect5.45.4/testsuite) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=s390x-alpine-linux-musl' '--host=s390x-alpine-linux-musl' '--sysconfdir=/etc' '--localstatedir=/var' '--mandir=/usr/share/man' '--with-tcl=/usr/lib' '--with-tclinclude=/usr/include' '--disable-rpath' 'build_alias=s390x-alpine-linux-musl' 'host_alias=s390x-alpine-linux-musl' 'CC=gcc' 'CFLAGS=-Os -fomit-frame-pointer' 'LDFLAGS=-Wl,--as-needed,-O1,--sort-common' 'CPPFLAGS=-Os -fomit-frame-pointer' --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/lib/tclConfig.sh checking for existence of /usr/lib/tclConfig.sh... loading checking for a BSD-compatible install... /usr/bin/install -c checking for s390x-alpine-linux-musl-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 s390x-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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... yes checking for sin... yes 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 gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_command.c` -o exp_command.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo expect.c` -o expect.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_inter.c` -o exp_inter.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_regexp.c` -o exp_regexp.o In file included from exp_command.c:27: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_tty.c` -o exp_tty.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=/\*\*/ -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_log.c` -o exp_log.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=/\*\*/ -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_main_sub.c` -o exp_main_sub.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_pty.c` -o exp_pty.o In file included from exp_tty.c:9: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from exp_pty.c:16: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ 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; | ^~ exp_command.c: In function 'Exp_SpawnObjCmd': exp_command.c:998:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 998 | sprintf(value,"%ld",esPtr->fd_slave); | ~~^ ~~~~~~~~~~~~~~~ | | | | | int | long int | %d expect.c: In function 'expIRead': expect.c:1765:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] 1765 | int size; | ^~~~ exp_command.c:595:9: warning: unused variable 'ttyfd' [-Wunused-variable] 595 | int ttyfd; | ^~~~~ 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; | ^~ 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_pty.c:138:21: warning: 'oldHupHandler' defined but not used [-Wunused-variable] 138 | static RETSIGTYPE (*oldHupHandler)(); | ^~~~~~~~~~~~~ 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 */ | ^~~~~~~~~~ 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_command.c: In function 'Exp_DisconnectObjCmd': exp_command.c:3129:9: warning: unused variable 'ttyfd' [-Wunused-variable] 3129 | int ttyfd; | ^~~~~ exp_command.c: At top level: exp_command.c:545:1: warning: 'expSetpgrp' defined but not used [-Wunused-function] 545 | expSetpgrp() | ^~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~ 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=/\*\*/ -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_trap.c` -o exp_trap.o 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=/\*\*/ -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_strf.c` -o exp_strf.o expect.c: In function 'process_di.constprop': 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; | ^~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -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=/\*\*/ -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_glob.c` -o exp_glob.o In file included from exp_console.c:31: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_win.c` -o exp_win.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=/\*\*/ -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_clib.c` -o exp_clib.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 | } | ^ In file included from exp_clib.c:41: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_closetcl.c` -o exp_closetcl.o exp_clib.c: In function 'exp_setpgrp': gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_memmove.c` -o exp_memmove.o exp_clib.c:1825:12: warning: implicit declaration of function 'setpgrp' [-Wimplicit-function-declaration] 1825 | (void) setpgrp(); | ^~~~~~~ exp_clib.c: In function 'exp_spawnv': gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_tty_comm.c` -o exp_tty_comm.o exp_clib.c:1856:17: warning: implicit declaration of function 'exp_init_tty'; did you mean 'exp_init_pty'? [-Wimplicit-function-declaration] 1856 | exp_init_tty(); | ^~~~~~~~~~~~ | exp_init_pty exp_clib.c:1896:20: warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration] 1896 | if (-1 == (pipe(sync_fds))) { | ^~~~ exp_clib.c:1900:17: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 1900 | close(sync_fds[0]); | ^~~~~ | pclose exp_clib.c:1913:24: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 1913 | if ((exp_pid = fork()) == -1) return(-1); | ^~~~ exp_clib.c:1953:22: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 1953 | cc = read(sync_fds[0],&sync_byte,1); | ^~~~ | fread exp_clib.c:1967:22: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 1967 | cc = write(sync2_fds[1]," ",1); | ^~~~~ | fwrite exp_clib.c:1994:25: warning: implicit declaration of function 'waitpid' [-Wimplicit-function-declaration] 1994 | waitpid(exp_pid, NULL, 0); | ^~~~~~~ exp_clib.c:2025:9: warning: implicit declaration of function 'setsid' [-Wimplicit-function-declaration] 2025 | setsid(); | ^~~~~~ exp_clib.c:2222:16: warning: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] 2222 | (void) execvp(file,argv); | ^~~~~~ exp_clib.c:1840:13: warning: unused variable 'ttyfd' [-Wunused-variable] 1840 | int ttyfd; | ^~~~~ exp_clib.c: In function 'i_read': exp_clib.c:2338:26: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] 2338 | if (timeout > 0) alarm(timeout); | ^~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_chan.c` -o exp_chan.o exp_clib.c: In function 'exp_disconnect': exp_clib.c:2861:13: warning: unused variable 'ttyfd' [-Wunused-variable] 2861 | int ttyfd; | ^~~~~ exp_clib.c: At top level: gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo Dbg.c` -o Dbg.o exp_clib.c:1816:1: warning: 'exp_setpgrp' defined but not used [-Wunused-function] 1816 | exp_setpgrp() | ^~~~~~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo pty_termios.c` -o pty_termios.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 In file included from pty_termios.c:87: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_select.c` -o exp_select.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] 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; | ^~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_event.c` -o exp_event.o exp_command.c: In function 'Exp_SpawnObjCmd': exp_command.c:932:39: warning: 'wfd' may be used uninitialized [-Wmaybe-uninitialized] 932 | if (-1 == (write_master = dup(wfd))) { | ^~~~~~~~ exp_command.c:896:24: note: 'wfd' was declared here 896 | int mode, rfd, wfd; | ^~~ exp_command.c:931:60: warning: 'rfd' may be used uninitialized [-Wmaybe-uninitialized] 931 | if ((mode & TCL_READABLE) && (mode & TCL_WRITABLE) && (wfd != rfd)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ exp_command.c:896:19: note: 'rfd' was declared here 896 | int mode, rfd, wfd; | ^~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -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 -DWORDS_BIGENDIAN=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_STROPTS_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_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=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/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -c `echo exp_main_exp.c` -o exp_main_exp.o (echo 'if {![package vsatisfies [package provide Tcl] 8.6]} {return}' ; \ echo 'package ifneeded Expect 5.45.4 \ [list load [file join $dir libexpect5.45.4.so]]'\ ) > pkgIndex.tcl 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] exp_command.c: In function 'Exp_SendObjCmd': exp_command.c:2072:15: warning: 'string' may be used uninitialized [-Wmaybe-uninitialized] 2072 | len = strlen(string); | ^~~~~~~~~~~~~~ exp_command.c:1988:11: note: 'string' was declared here 1988 | char *string; /* string to send */ | ^~~~~~ In function 'TclGetFrame2', inlined from 'debugger_trap' at Dbg.c:682:13: Dbg.c:293:25: warning: 'framePtr' may be used uninitialized [-Wmaybe-uninitialized] 293 | if (framePtr->level == level) { | ~~~~~~~~^~~~~~~ Dbg.c: In function 'debugger_trap': Dbg.c:242:16: note: 'framePtr' was declared here 242 | CallFrame *framePtr; /* frame currently being searched */ | ^~~~~~~~ exp_clib.c: In function 'expectv': exp_clib.c:2692:16: warning: 'return_val' may be used uninitialized [-Wmaybe-uninitialized] 2692 | return return_val; | ^~~~~~~~~~ exp_clib.c:2449:13: note: 'return_val' was declared here 2449 | int return_val; | ^~~~~~~~~~ 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 -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer -Wl,--as-needed,-O1,--sort-common -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 -L/usr/lib -ltclstub8.6 : libexpect5.45.4.so gcc \ -Os -fomit-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Os -fomit-frame-pointer \ -Wl,--as-needed,-O1,--sort-common -Wl,--export-dynamic \ -o expect exp_main_exp.o \ -L/home/buildozer/aports/main/expect/src/expect5.45.4 -lexpect5.45.4 \ -L/usr/lib -ltcl8.6 \ -ldl \ "-Wl,-rpath,/usr/lib" \ -Wl,-rpath,/usr/lib/expect5.45.4 : expect (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 TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/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. >>> expect: Entering fakeroot... (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 TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/timed-run > timed-run TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/timed-read > timed-read TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/ftp-rfc > ftp-rfc TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/autopasswd > autopasswd TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/lpunlock > lpunlock TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/weather > weather /usr/bin/install -c libexpect5.45.4.so /home/buildozer/aports/main/expect/pkg/expect/usr/lib/expect5.45.4/libexpect5.45.4.so TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/passmass > passmass TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/rftp > rftp TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/kibitz > kibitz : /home/buildozer/aports/main/expect/pkg/expect/usr/lib/expect5.45.4/libexpect5.45.4.so /usr/bin/install -c expect /home/buildozer/aports/main/expect/pkg/expect/usr/bin/expect TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/rlogin-cwd > rlogin-cwd TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/xpstat > xpstat TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/tkpasswd > tkpasswd TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/dislocate > dislocate TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/xkibitz > xkibitz Install pkgIndex.tcl /home/buildozer/aports/main/expect/pkg/expect/usr/lib/expect5.45.4 TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/tknewsbiff > tknewsbiff TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/unbuffer > unbuffer TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/mkpasswd > mkpasswd TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/cryptdir > cryptdir TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/decryptdir > decryptdir TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/autoexpect > autoexpect TCL_LIBRARY=`echo /usr/src/tcl8.6.13/library` LD_LIBRARY_PATH=".:/usr/lib:/usr/lib:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot" PATH=".:/usr/lib:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/multixterm > multixterm Installing header files in /home/buildozer/aports/main/expect/pkg/expect/usr/include Installing documentation in /home/buildozer/aports/main/expect/pkg/expect/usr/share/man Installing ./expect.h /usr/bin/install -c -m 644 ./expect.man /home/buildozer/aports/main/expect/pkg/expect/usr/share/man/man1/expect.1 /usr/bin/install -c -m 644 ./libexpect.man /home/buildozer/aports/main/expect/pkg/expect/usr/share/man/man3/libexpect.3 Installing ./expect_tcl.h Installing ./expect_comm.h 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 /home/buildozer/aports/main/expect/pkg/expect/usr/share/man/man1/$i.1 ; \ else true; fi ; \ done 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 /home/buildozer/aports/main/expect/pkg/expect/usr/bin/$i ; \ rm -f $i ; \ else true; fi ; \ done >>> expect-dev*: Running split function dev... >>> expect-dev*: Preparing subpackage expect-dev... >>> expect-dev*: Stripping binaries >>> expect-dev*: Running postcheck for expect-dev >>> expect-doc*: Running split function doc... >>> expect-doc*: Preparing subpackage expect-doc... >>> expect-doc*: Running postcheck for expect-doc >>> expect*: Running postcheck for expect >>> expect*: Preparing package expect... >>> expect*: Stripping binaries >>> WARNING: expect*: Redundant /usr/lib in rpath found >>> expect-dev*: Scanning shared objects >>> expect-doc*: Scanning shared objects >>> expect*: Scanning shared objects >>> expect-dev*: Tracing dependencies... >>> expect-dev*: Package size: 36.0 KB >>> expect-dev*: Compressing data... >>> expect-dev*: Create checksum... >>> expect-dev*: Create expect-dev-5.45.4-r4.apk >>> expect-doc*: Tracing dependencies... >>> expect-doc*: Package size: 112.0 KB >>> expect-doc*: Compressing data... >>> expect-doc*: Create checksum... >>> expect-doc*: Create expect-doc-5.45.4-r4.apk >>> expect*: Tracing dependencies... so:libc.musl-s390x.so.1 so:libtcl8.6.so >>> expect*: Package size: 400.0 KB >>> expect*: Compressing data... >>> expect*: Create checksum... >>> expect*: Create expect-5.45.4-r4.apk >>> expect: Build complete at Tue, 11 Apr 2023 16:39:57 +0000 elapsed time 0h 0m 25s >>> expect: Cleaning up srcdir >>> expect: Cleaning up pkgdir >>> expect: Uninstalling dependencies... (1/5) Purging .makedepends-expect (20230411.163932) (2/5) Purging tcl-dev (8.6.13-r1) (3/5) Purging tcl (8.6.13-r1) (4/5) Purging tzdata (2023c-r1) (5/5) Purging zlib-dev (1.2.13-r1) Executing busybox-1.36.0-r6.trigger OK: 371 MiB in 101 packages >>> expect: Updating the main/s390x repository index... >>> expect: Signing the index...