=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/lang/tcl-expect", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for tcl-expect-5.45.0nb6 --- pkgIndex.tcl-hand --- --- exp_command.o --- --- expect.o --- --- exp_inter.o --- --- pkgIndex.tcl-hand --- (echo 'if {![package vsatisfies [package provide Tcl] 8.6]} {return}' ; echo 'package ifneeded Expect 5.45 [list load [file join $dir libexpect545.so]]' ) > pkgIndex.tcl --- exp_command.o --- gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -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_POSIX_PTHREAD_SEMANTICS=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=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_SYSCONF_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_PTEM_H=1 -DHAVE_STRREDIR_H=1 -DRETSIGTYPE=int -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DSOLARIS=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 --- expect.o --- gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -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_POSIX_PTHREAD_SEMANTICS=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=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_SYSCONF_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_PTEM_H=1 -DHAVE_STRREDIR_H=1 -DRETSIGTYPE=int -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DSOLARIS=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 --- exp_regexp.o --- --- exp_command.o --- -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=64 -DSELECT_MASK_TYPE=fd_set -DREARM_SIG=1 -DHAVE_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_SGTTYB=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DHAVE_TCGETS_OR_TCGETA_IN_TERMIOS_H=1 -DHAVE_TIOCGWINSZ_IN_TERMIOS_H=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/opt/pkg/lib/expect5.45\" -DEXECSCRIPTDIR=\"/opt/pkg/lib\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/opt/pkg/include/tcl/generic" -I"/opt/pkg/include/tcl/unix" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-error=implicit-int -Wno-error=incompatible-pointer-types -Wno-error=implicit-function-declaration -I/opt/pkg/include -I/usr/include -pipe -O2 -Wall -fPIC -I/opt/pkg/include -I/usr/include -c `echo exp_command.c` -o exp_command.o --- expect.o --- -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=64 -DSELECT_MASK_TYPE=fd_set -DREARM_SIG=1 -DHAVE_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_SGTTYB=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DHAVE_TCGETS_OR_TCGETA_IN_TERMIOS_H=1 -DHAVE_TIOCGWINSZ_IN_TERMIOS_H=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/opt/pkg/lib/expect5.45\" -DEXECSCRIPTDIR=\"/opt/pkg/lib\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/opt/pkg/include/tcl/generic" -I"/opt/pkg/include/tcl/unix" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-error=implicit-int -Wno-error=incompatible-pointer-types -Wno-error=implicit-function-declaration -I/opt/pkg/include -I/usr/include -pipe -O2 -Wall -fPIC -I/opt/pkg/include -I/usr/include -c `echo expect.c` -o expect.o --- exp_inter.o --- gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -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_POSIX_PTHREAD_SEMANTICS=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=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_SYSCONF_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_PTEM_H=1 -DHAVE_STRREDIR_H=1 -DRETSIGTYPE=int -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DSOLARIS=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 --- exp_regexp.o --- gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -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_POSIX_PTHREAD_SEMANTICS=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=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_SYSCONF_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_PTEM_H=1 -DHAVE_STRREDIR_H=1 -DRETSIGTYPE=int -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DSOLARIS=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 --- exp_inter.o --- -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=64 -DSELECT_MASK_TYPE=fd_set -DREARM_SIG=1 -DHAVE_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_SGTTYB=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DHAVE_TCGETS_OR_TCGETA_IN_TERMIOS_H=1 -DHAVE_TIOCGWINSZ_IN_TERMIOS_H=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/opt/pkg/lib/expect5.45\" -DEXECSCRIPTDIR=\"/opt/pkg/lib\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/opt/pkg/include/tcl/generic" -I"/opt/pkg/include/tcl/unix" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-error=implicit-int -Wno-error=incompatible-pointer-types -Wno-error=implicit-function-declaration -I/opt/pkg/include -I/usr/include -pipe -O2 -Wall -fPIC -I/opt/pkg/include -I/usr/include -c `echo exp_inter.c` -o exp_inter.o --- exp_regexp.o --- -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=64 -DSELECT_MASK_TYPE=fd_set -DREARM_SIG=1 -DHAVE_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_SGTTYB=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DHAVE_TCGETS_OR_TCGETA_IN_TERMIOS_H=1 -DHAVE_TIOCGWINSZ_IN_TERMIOS_H=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/opt/pkg/lib/expect5.45\" -DEXECSCRIPTDIR=\"/opt/pkg/lib\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/opt/pkg/include/tcl/generic" -I"/opt/pkg/include/tcl/unix" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-error=implicit-int -Wno-error=incompatible-pointer-types -Wno-error=implicit-function-declaration -I/opt/pkg/include -I/usr/include -pipe -O2 -Wall -fPIC -I/opt/pkg/include -I/usr/include -c `echo exp_regexp.c` -o exp_regexp.o --- exp_tty.o --- gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45\" -DPACKAGE_STRING=\"expect\ 5.45\" -DPACKAGE_BUGREPORT=\"\" -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_POSIX_PTHREAD_SEMANTICS=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=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_SYSCONF_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_PTEM_H=1 -DHAVE_STRREDIR_H=1 -DRETSIGTYPE=int -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DSOLARIS=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=64 -DSELECT_MASK_TYPE=fd_set -DREARM_SIG=1 -DHAVE_PTMX=1 -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_SGTTYB=1 -DHAVE_TERMIO=1 -DHAVE_TERMIOS=1 -DHAVE_TCGETS_OR_TCGETA_IN_TERMIOS_H=1 -DHAVE_TIOCGWINSZ_IN_TERMIOS_H=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/opt/pkg/lib/expect5.45\" -DEXECSCRIPTDIR=\"/opt/pkg/lib\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/opt/pkg/include/tcl/generic" -I"/opt/pkg/include/tcl/unix" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-error=implicit-int -Wno-error=incompatible-pointer-types -Wno-error=implicit-function-declaration -I/opt/pkg/include -I/usr/include -pipe -O2 -Wall -fPIC -I/opt/pkg/include -I/usr/include -c `echo exp_tty.c` -o exp_tty.o --- exp_command.o --- exp_command.c: In function 'Exp_SpawnObjCmd': exp_command.c:587:9: warning: unused variable 'ttyfd' [-Wunused-variable] 587 | int ttyfd; | ^~~~~ exp_command.c: In function 'Exp_DisconnectObjCmd': exp_command.c:3120:9: warning: unused variable 'ttyfd' [-Wunused-variable] 3120 | int ttyfd; | ^~~~~ exp_command.c: In function 'exp_create_commands': exp_command.c:3506:1: warning: old-style function definition [-Wold-style-definition] 3506 | exp_create_commands(interp,c) | ^~~~~~~~~~~~~~~~~~~ In file included from exp_command.c:72: exp_command.h:226:27: warning: passing argument 5 of 'tclStubsPtr->tcl_CreateObjCommand' from incompatible pointer type [-Wincompatible-pointer-types] 226 | #define exp_deleteObjProc (void (*)())0 | ^~~~~~~~~~~~~ | | | void (*)(void) exp_command.c:3521:44: note: in expansion of macro 'exp_deleteObjProc' 3521 | c->objproc,c->data,exp_deleteObjProc); | ^~~~~~~~~~~~~~~~~ exp_command.h:226:27: note: expected 'void (*)(void *)' but argument is of type 'void (*)(void)' 226 | #define exp_deleteObjProc (void (*)())0 | ^~~~~~~~~~~~~ exp_command.c:3521:44: note: in expansion of macro 'exp_deleteObjProc' 3521 | c->objproc,c->data,exp_deleteObjProc); | ^~~~~~~~~~~~~~~~~ exp_command.h:225:24: warning: passing argument 5 of 'tclStubsPtr->tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 225 | #define exp_deleteProc (void (*)())0 | ^~~~~~~~~~~~~ | | | void (*)(void) exp_command.c:3524:33: note: in expansion of macro 'exp_deleteProc' 3524 | c->data,exp_deleteProc); | ^~~~~~~~~~~~~~ exp_command.h:225:24: note: expected 'void (*)(void *)' but argument is of type 'void (*)(void)' 225 | #define exp_deleteProc (void (*)())0 | ^~~~~~~~~~~~~ exp_command.c:3524:33: note: in expansion of macro 'exp_deleteProc' 3524 | c->data,exp_deleteProc); | ^~~~~~~~~~~~~~ exp_command.h:226:27: warning: passing argument 5 of 'tclStubsPtr->tcl_CreateObjCommand' from incompatible pointer type [-Wincompatible-pointer-types] 226 | #define exp_deleteObjProc (void (*)())0 | ^~~~~~~~~~~~~ | | | void (*)(void) exp_command.c:3533:25: note: in expansion of macro 'exp_deleteObjProc' 3533 | exp_deleteObjProc); | ^~~~~~~~~~~~~~~~~ exp_command.h:226:27: note: expected 'void (*)(void *)' but argument is of type 'void (*)(void)' 226 | #define exp_deleteObjProc (void (*)())0 | ^~~~~~~~~~~~~ exp_command.c:3533:25: note: in expansion of macro 'exp_deleteObjProc' 3533 | exp_deleteObjProc); | ^~~~~~~~~~~~~~~~~ exp_command.h:225:24: warning: passing argument 5 of 'tclStubsPtr->tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 225 | #define exp_deleteProc (void (*)())0 | ^~~~~~~~~~~~~ | | | void (*)(void) exp_command.c:3536:33: note: in expansion of macro 'exp_deleteProc' 3536 | c->data,exp_deleteProc); | ^~~~~~~~~~~~~~ exp_command.h:225:24: note: expected 'void (*)(void *)' but argument is of type 'void (*)(void)' 225 | #define exp_deleteProc (void (*)())0 | ^~~~~~~~~~~~~ exp_command.c:3536:33: note: in expansion of macro 'exp_deleteProc' 3536 | c->data,exp_deleteProc); | ^~~~~~~~~~~~~~ exp_command.c: At top level: exp_command.c:537:1: warning: 'expSetpgrp' defined but not used [-Wunused-function] 537 | expSetpgrp() | ^~~~~~~~~~ --- expect.o --- In file included from expect.c:44: retoglob.c: In function 'ExpChopNested': retoglob.c:519:1: warning: old-style function definition [-Wold-style-definition] 519 | ExpChopNested (xstr,xstrlen, open, close) | ^~~~~~~~~~~~~ retoglob.c: In function 'ExpLiteral': retoglob.c:548:1: warning: old-style function definition [-Wold-style-definition] 548 | ExpLiteral (nexto, str, strlen) | ^~~~~~~~~~ retoglob.c: In function 'ExpBackslash': retoglob.c:570:1: warning: old-style function definition [-Wold-style-definition] 570 | ExpBackslash (prefix, str, strlen) | ^~~~~~~~~~~~ retoglob.c: In function 'ExpCollapseStar': retoglob.c:597:1: warning: old-style function definition [-Wold-style-definition] 597 | ExpCollapseStar (src, last) | ^~~~~~~~~~~~~~~ retoglob.c: In function 'ExpCollapseQForward': retoglob.c:644:1: warning: old-style function definition [-Wold-style-definition] 644 | ExpCollapseQForward (src, last) | ^~~~~~~~~~~~~~~~~~~ retoglob.c: In function 'ExpCollapseQBack': retoglob.c:692:1: warning: old-style function definition [-Wold-style-definition] 692 | ExpCollapseQBack (src, last) | ^~~~~~~~~~~~~~~~ retoglob.c: In function 'ExpCountStar': retoglob.c:734:1: warning: old-style function definition [-Wold-style-definition] 734 | ExpCountStar (src, last) | ^~~~~~~~~~~~ expect.c: In function 'exp_eval_with_one_arg': expect.c:287:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 287 | int rc; | ^~ expect.c: In function 'expIRead': expect.c:1763:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] 1763 | int size; | ^~~~ expect.c: In function 'Exp_ExpectObjCmd': expect.c:2547:12: warning: variable 'start_time' set but not used [-Wunused-but-set-variable] 2547 | time_t start_time = 0; /* time when restart label hit */ | ^~~~~~~~~~ --- exp_inter.o --- exp_inter.c:710:13: warning: 'interpreter_cmd' defined but not used [-Wunused-variable] 710 | static char interpreter_cmd[] = "interpreter"; | ^~~~~~~~~~~~~~~ exp_inter.c:709:13: warning: 'return_cmd' defined but not used [-Wunused-variable] 709 | static char return_cmd[] = "return"; | ^~~~~~~~~~ --- exp_tty.o --- exp_tty.c: In function 'exec_stty': exp_tty.c:323:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 323 | int rc; | ^~ exp_tty.c: In function 'Exp_SystemCmd': exp_tty.c:664:13: warning: assignment to 'int (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 664 | old = signal(SIGCHLD, SIG_DFL); | ^ exp_tty.c:666:25: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 666 | signal(SIGCHLD, old); /* restore signal handler */ | ^~~ | | | int (*)(void) In file included from /usr/include/signal.h:42, from exp_tty.c:5: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ exp_tty.c: At top level: exp_tty.c:800:1: error: conflicting types for 'exp_init_tty_cmds'; have 'void(struct Tcl_Interp *)' 800 | exp_init_tty_cmds(struct Tcl_Interp *interp) | ^~~~~~~~~~~~~~~~~ In file included from exp_tty.c:37: exp_command.h:323:25: note: previous declaration of 'exp_init_tty_cmds' with type 'void(void)' 323 | EXTERN void exp_init_tty_cmds(); | ^~~~~~~~~~~~~~~~~ *** [exp_tty.o] Error code 1 bmake: stopped making "all" in /tmp/work/lang/tcl-expect/work/expect5.45 --- exp_inter.o --- exp_inter.c: In function 'Exp_InteractObjCmd': exp_inter.c:1412:38: warning: 'previous_time' may be used uninitialized [-Wmaybe-uninitialized] 1412 | time_diff = current_time - previous_time; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ exp_inter.c:1347:16: note: 'previous_time' was declared here 1347 | time_t previous_time; | ^~~~~~~~~~~~~ exp_inter.c:1404:34: warning: 'soonest_input' may be used uninitialized [-Wmaybe-uninitialized] 1404 | u = soonest_input->i_list->state_list->esPtr; | ~~~~~~~~~~~~~^~~~~~~~ exp_inter.c:1355:23: note: 'soonest_input' was declared here 1355 | struct input *soonest_input; | ^~~~~~~~~~~~~ In function 'intEcho', inlined from 'Exp_InteractObjCmd' at exp_inter.c:1487:6: exp_inter.c:420:12: warning: 'echoBytes' may be used uninitialized [-Wmaybe-uninitialized] 420 | (void) expWriteCharsUni(esPtr, | ^~~~~~~~~~~~~~~~~~~~~~~ 421 | esPtr->input.buffer + offsetBytes, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 422 | echoBytes); | ~~~~~~~~~~ exp_inter.c: In function 'Exp_InteractObjCmd': exp_inter.c:407:9: note: 'echoBytes' was declared here 407 | int echoBytes; | ^~~~~~~~~ In function 'intEcho', inlined from 'Exp_InteractObjCmd' at exp_inter.c:1487:6: exp_inter.c:421:49: warning: 'offsetBytes' may be used uninitialized [-Wmaybe-uninitialized] 421 | esPtr->input.buffer + offsetBytes, | ^ exp_inter.c: In function 'Exp_InteractObjCmd': exp_inter.c:408:9: note: 'offsetBytes' was declared here 408 | int offsetBytes; | ^~~~~~~~~~~ --- expect.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; | ^~~~~ --- exp_command.o --- exp_command.c: In function 'Exp_SpawnObjCmd': exp_command.c:917:44: warning: 'rfd' may be used uninitialized [-Wmaybe-uninitialized] 917 | if (-1 == (write_master = master = dup(master))) { | ^~~~~~~~~~~ exp_command.c:888:19: note: 'rfd' was declared here 888 | int mode, rfd, wfd; | ^~~ exp_command.c:923:60: warning: 'wfd' may be used uninitialized [-Wmaybe-uninitialized] 923 | if ((mode & TCL_READABLE) && (mode & TCL_WRITABLE) && (wfd != rfd)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ exp_command.c:888:24: note: 'wfd' was declared here 888 | int mode, rfd, wfd; | ^~~ exp_command.c: In function 'Exp_SendObjCmd': exp_command.c:2063:15: warning: 'string' may be used uninitialized [-Wmaybe-uninitialized] 2063 | len = strlen(string); | ^~~~~~~~~~~~~~ exp_command.c:1979:11: note: 'string' was declared here 1979 | char *string; /* string to send */ | ^~~~~~ bmake: 1 error bmake: stopped making "all" in /tmp/work/lang/tcl-expect/work/expect5.45 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/tcl-expect *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/tcl-expect