<86>Nov 11 03:36:28 userdel[128874]: delete user 'rooter' <86>Nov 11 03:36:28 userdel[128874]: removed group 'rooter' owned by 'rooter' <86>Nov 11 03:36:28 groupadd[128885]: group added to /etc/group: name=rooter, GID=567 <86>Nov 11 03:36:28 groupadd[128885]: group added to /etc/gshadow: name=rooter <86>Nov 11 03:36:28 groupadd[128885]: new group: name=rooter, GID=567 <86>Nov 11 03:36:28 useradd[128898]: new user: name=rooter, UID=567, GID=567, home=/root, shell=/bin/bash <86>Nov 11 03:36:28 userdel[128909]: delete user 'builder' <86>Nov 11 03:36:28 userdel[128909]: removed group 'builder' owned by 'builder' <86>Nov 11 03:36:28 userdel[128909]: removed shadow group 'builder' owned by 'builder' <86>Nov 11 03:36:28 groupadd[128920]: group added to /etc/group: name=builder, GID=568 <86>Nov 11 03:36:28 groupadd[128920]: group added to /etc/gshadow: name=builder <86>Nov 11 03:36:28 groupadd[128920]: new group: name=builder, GID=568 <86>Nov 11 03:36:28 useradd[128927]: new user: name=builder, UID=568, GID=568, home=/usr/src, shell=/bin/bash <13>Nov 11 03:36:34 rpmi: rpm-build-tcl-0.5.1-alt1 1519671307 installed <13>Nov 11 03:36:36 rpmi: libtcl-8.6.10-alt0.rc0.2 sisyphus+238933.76.11.1 1572638693 installed <13>Nov 11 03:36:37 rpmi: tcl-8.6.10-alt0.rc0.2 sisyphus+238933.76.11.1 1572638693 installed <13>Nov 11 03:36:37 rpmi: tcl-devel-8.6.10-alt0.rc0.2 sisyphus+238933.76.11.1 1572638693 installed <13>Nov 11 03:36:37 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/tcl-dp-4.0b2-alt4.nosrc.rpm Installing tcl-dp-4.0b2-alt4.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.24215 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf tcl-dp-4.0b2 + echo 'Source #0 (tcl-dp-4.0b2.tar.bz2):' Source #0 (tcl-dp-4.0b2.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/tcl-dp-4.0b2.tar.bz2 + /bin/tar -xf - + cd tcl-dp-4.0b2 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (tcl-dp-4.0b2-alt1-fix-includes.patch):' Patch #0 (tcl-dp-4.0b2-alt1-fix-includes.patch): + /usr/bin/patch -p1 patching file generic/dpCmds.c patching file generic/dpRPC.c + echo 'Patch #1 (tcl-dp-4.0b2-alt1-remove-tcphassockets.patch):' Patch #1 (tcl-dp-4.0b2-alt1-remove-tcphassockets.patch): + /usr/bin/patch -p1 patching file generic/dpInit.c + echo 'Patch #2 (tcl-dp-4.0b2-alt1-fix-tcl-version-check.patch):' Patch #2 (tcl-dp-4.0b2-alt1-fix-tcl-version-check.patch): + /usr/bin/patch -p1 patching file generic/dpInit.c + echo 'Patch #3 (tcl-dp-4.0b2-alt1-fix-configure.patch):' Patch #3 (tcl-dp-4.0b2-alt1-fix-configure.patch): + /usr/bin/patch -p1 patching file unix/Makefile.in patching file unix/configure + echo 'Patch #4 (tcl-dp-4.0b2-alt1-fix-syntax.patch):' Patch #4 (tcl-dp-4.0b2-alt1-fix-syntax.patch): + /usr/bin/patch -p1 patching file examples/ftp/client.tcl patching file examples/ftp/server.tcl patching file examples/whiteboard/wbServer.tcl patching file library/rpc.tcl + echo 'Patch #6 (tcl-dp-4.0b2-alt1-fix-serial-module.patch):' Patch #6 (tcl-dp-4.0b2-alt1-fix-serial-module.patch): + /usr/bin/patch -p1 patching file unix/dpSerial.c + echo 'Patch #7 (tcl-dp-4.0b2-alt1-pkgindex.patch):' Patch #7 (tcl-dp-4.0b2-alt1-pkgindex.patch): + /usr/bin/patch -p1 patching file tekilib/pkgIndex.tcl + echo 'Patch #8 (tcl-dp-4.0b2-alt-tcltk8.6.patch):' Patch #8 (tcl-dp-4.0b2-alt-tcltk8.6.patch): + /usr/bin/patch -p1 patching file generic/dpCmds.c patching file generic/dpFilters.c patching file generic/dpRPC.c + set +x + set +a + sed s,@lib@,lib64, -i tekilib/pkgIndex.tcl + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.88284 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd tcl-dp-4.0b2 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- unix/configure + xargs -ri dirname -- '{}' + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + unix/configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --with-tcl=/usr/share/tcl/tcl8 --enable-shared creating cache ./config.cache checking for ranlib... ranlib checking how to run the C preprocessor... cc -E checking for unistd.h... yes checking for limits.h... yes checking whether make sets ${MAKE}... yes Found Tcl 8.0 in /usr/share/tcl/tcl8 make: *** No rule to make target 'topDirName'. Stop. unix/configure: line 775: test: 8.6: integer expression expected checking for uname... 1 checking checking for ip multicast... yes updating cache ./config.cache creating ./config.status creating Makefile + make make: Entering directory '/usr/src/RPM/BUILD/tcl-dp-4.0b2' if [ ! -d /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs ]; then \ mkdir -p /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs; \ fi x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpChan.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c: In function 'Dp_RegisterChannelType': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:79:6: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 79 | if (strcmp(chanTypePtr->name, newTypePtr->name)==0) { | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c: In function 'Dp_ListChannelTypes': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:155:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 155 | len = strlen(chanTypePtr->name); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:155:15: warning: incompatible implicit declaration of built-in function 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:17:1: note: include '' or provide a declaration of 'strlen' 16 | #include "generic/dpInt.h" +++ |+#include 17 | /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:160:13: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 160 | memcpy (newStr, str, currLen); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:160:13: warning: incompatible implicit declaration of built-in function 'memcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:160:13: note: include '' or provide a declaration of 'memcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c: In function 'DpTranslateOption': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:260:11: warning: incompatible implicit declaration of built-in function 'strlen' 260 | len = strlen(name); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:260:11: note: include '' or provide a declaration of 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:262:24: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 262 | if ((c == 'b') && (strncmp(name, "baudrate", len) == 0)) { | ^~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:262:50: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 262 | if ((c == 'b') && (strncmp(name, "baudrate", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:264:57: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 264 | } else if ((c == 'c') && (strncmp(name, "charsize", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:266:54: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 266 | } else if ((c == 'g') && (strncmp(name, "group", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:268:53: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 268 | } else if ((c == 'h') && (strncmp(name, "host", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:270:58: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 270 | } else if ((c == 'k') && (strncmp(name, "keepAlive", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:272:55: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 272 | } else if ((c == 'l') && (strncmp(name, "linger", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:274:57: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 274 | } else if ((c == 'l') && (strncmp(name, "loopback", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:276:55: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 276 | } else if ((c == 'm') && (strncmp(name, "myport", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:278:55: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 278 | } else if ((c == 'p') && (strncmp(name, "parity", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:280:53: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 280 | } else if ((c == 'p') && (strncmp(name, "peek", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:282:53: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 282 | } else if ((c == 'p') && (strncmp(name, "port", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:284:59: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 284 | } else if ((c == 'r') && (strncmp(name, "recvBuffer", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:286:58: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 286 | } else if ((c == 'r') && (strncmp(name, "reuseAddr", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:288:59: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 288 | } else if ((c == 's') && (strncmp(name, "sendBuffer", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:290:57: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 290 | } else if ((c == 's') && (strncmp(name, "stopbits", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:292:57: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 292 | } else if ((c == 'm') && (strncmp(name, "myIpAddr", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:294:59: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 294 | } else if ((c == 'd') && (strncmp(name, "destIpAddr", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:296:57: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 296 | } else if ((c == 'd') && (strncmp(name, "destport", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:298:56: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 298 | } else if ((c == 'a') && (strncmp(name, "address", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:300:59: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 300 | } else if ((c == 'i') && (strncmp(name, "identifier", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:302:57: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 302 | } else if ((c == 's') && (strncmp(name, "sequence", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:304:56: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 304 | } else if ((c == 'c') && (strncmp(name, "channel", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:306:57: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 306 | } else if ((c == 'i') && (strncmp(name, "infilter", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:308:58: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 308 | } else if ((c == 'o') && (strncmp(name, "outfilter", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:310:54: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 310 | } else if ((c == 'i') && (strncmp(name, "inset", len) == 0)) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:312:55: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 312 | } else if ((c == 'o') && (strncmp(name, "outset", len) == 0)) | ^~~ : note: built-in 'strncmp' declared here x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpCmds.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpCmds.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpCmds.c: In function 'Dp_CopyCmd': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpCmds.c:238:13: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 238 | sprintf(interp->result, "%d", totalRead); | ^~~~~~~ In file included from /usr/include/tcl/generic/tclPort.h:25, from /usr/include/tcl/generic/tclInt.h:36, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpCmds.c:15: /usr/include/tcl.h:499:11: note: declared here 499 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpCmds.c:259:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 259 | sprintf(interp->result, "%d", totalRead); | ^~~~~~~ In file included from /usr/include/tcl/generic/tclPort.h:25, from /usr/include/tcl/generic/tclInt.h:36, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpCmds.c:15: /usr/include/tcl.h:499:11: note: declared here 499 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpInit.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:28:19: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, char **)'} [-Wincompatible-pointer-types] 28 | {"dp_accept", Dp_AcceptCmd}, | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:28:19: note: (near initialization for 'commands[0].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:29:20: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, char **)'} [-Wincompatible-pointer-types] 29 | {"dp_connect", Dp_ConnectCmd}, | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:29:20: note: (near initialization for 'commands[1].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:30:18: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, char **)'} [-Wincompatible-pointer-types] 30 | {"dp_copy", Dp_CopyCmd}, | ^~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:30:18: note: (near initialization for 'commands[2].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:31:20: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, char **)'} [-Wincompatible-pointer-types] 31 | {"dp_netinfo", Dp_NetInfoCmd}, | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:31:20: note: (near initialization for 'commands[3].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:32:17: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, char **)'} [-Wincompatible-pointer-types] 32 | {"dp_RDO", Dp_RDOCmd}, | ^~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:32:17: note: (near initialization for 'commands[4].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:33:17: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, char **)'} [-Wincompatible-pointer-types] 33 | {"dp_RPC", Dp_RPCCmd}, | ^~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:33:17: note: (near initialization for 'commands[5].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:34:18: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, char **)'} [-Wincompatible-pointer-types] 34 | {"dp_admin", Dp_AdminCmd}, | ^~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:34:18: note: (near initialization for 'commands[6].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:35:22: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, char **)'} [-Wincompatible-pointer-types] 35 | {"dp_CancelRPC", Dp_CancelRPCCmd}, | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:35:22: note: (near initialization for 'commands[7].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:36:18: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, char **)'} [-Wincompatible-pointer-types] 36 | {"dp_send", Dp_SendCmd}, | ^~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:36:18: note: (near initialization for 'commands[8].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:37:18: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' {aka 'int (*)(void *, struct Tcl_Interp *, int, char **)'} [-Wincompatible-pointer-types] 37 | {"dp_recv", Dp_RecvCmd}, | ^~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:37:18: note: (near initialization for 'commands[9].cmdProc') x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpRPC.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c: In function 'DpReadRPCChannel': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:327:13: warning: implicit declaration of function 'DpClose'; did you mean 'pclose'? [-Wimplicit-function-declaration] 327 | DpClose(interp, chan); | ^~~~~~~ | pclose In file included from /usr/include/tcl/generic/tclPort.h:25, from /usr/include/tcl/generic/tclInt.h:36, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:95: /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c: In function 'DpProcessRPCMessage': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:505:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 505 | entryPtr = Tcl_FindHashEntry(&activeRPCs, (char *)id); | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:524:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 524 | rv[0] = interp->result; | ^~ In file included from /usr/include/tcl/generic/tclPort.h:25, from /usr/include/tcl/generic/tclInt.h:36, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:95: /usr/include/tcl.h:499:11: note: declared here 499 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:525:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 525 | rv[1] = Tcl_GetVar(interp, "errorInfo", TCL_GLOBAL_ONLY); | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:526:29: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] 526 | errMsg = Tcl_Merge(2, rv); | ^~ | | | char ** In file included from /usr/include/tcl.h:2441, from /usr/include/tcl/generic/tclPort.h:25, from /usr/include/tcl/generic/tclInt.h:36, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:95: /usr/include/tclDecls.h:585:16: note: expected 'const char * const*' but argument is of type 'char **' 585 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:535:9: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 535 | interp->result) != TCL_OK) { | ^~~~~~ In file included from /usr/include/tcl/generic/tclPort.h:25, from /usr/include/tcl/generic/tclInt.h:36, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:95: /usr/include/tcl.h:499:11: note: declared here 499 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:561:44: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] 561 | Tcl_SplitList(interp, message, &argc, &argv); | ^~~~~ | | | char *** In file included from /usr/include/tcl.h:2441, from /usr/include/tcl/generic/tclPort.h:25, from /usr/include/tcl/generic/tclInt.h:36, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:95: /usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***' 723 | CONST84 char ***argvPtr); | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c: In function 'DpTimeoutHandler': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:657:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 657 | int id = (int)clientData; | ^ In file included from /usr/include/tcl/generic/tclPort.h:25, from /usr/include/tcl/generic/tclInt.h:36, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:95: /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:667:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 667 | entryPtr = Tcl_FindHashEntry(&activeRPCs, (char *)id); | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c: In function 'DpParseEventList': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:700:51: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] 700 | if (Tcl_SplitList(interp, eventList, &eventc, &eventv) != | ^~~~~~~ | | | char *** In file included from /usr/include/tcl.h:2441, from /usr/include/tcl/generic/tclPort.h:25, from /usr/include/tcl/generic/tclInt.h:36, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:95: /usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***' 723 | CONST84 char ***argvPtr); | ^ In file included from /usr/include/tcl/generic/tclPort.h:25, from /usr/include/tcl/generic/tclInt.h:36, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:95: /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c: In function 'MakeActivationRecord': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:776:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 776 | entryPtr = Tcl_CreateHashEntry(&activeRPCs, (char *)i, &isNew); | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:785:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 785 | DpTimeoutHandler, (ClientData)i); | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c: In function 'Dp_RPCCmd': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:930:34: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] 930 | command = Tcl_Merge(rpcArgc, rpcArgv); | ^~~~~~~ | | | char ** In file included from /usr/include/tcl.h:2441, from /usr/include/tcl/generic/tclPort.h:25, from /usr/include/tcl/generic/tclInt.h:36, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:95: /usr/include/tclDecls.h:585:16: note: expected 'const char * const*' but argument is of type 'char **' 585 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^~~~~~~~~ In file included from /usr/include/tcl/generic/tclPort.h:25, from /usr/include/tcl/generic/tclInt.h:36, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:95: /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:994:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 994 | entryPtr = Tcl_FindHashEntry(&activeRPCs, (char *)activePtr->id); | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c: In function 'Dp_RDOCmd': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:1094:30: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] 1094 | cmd = Tcl_Merge(rpcArgc, rpcArgv); | ^~~~~~~ | | | char ** In file included from /usr/include/tcl.h:2441, from /usr/include/tcl/generic/tclPort.h:25, from /usr/include/tcl/generic/tclInt.h:36, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:95: /usr/include/tclDecls.h:585:16: note: expected 'const char * const*' but argument is of type 'char **' 585 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:1103:31: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] 1103 | cmdStr = Tcl_Merge(argc, argv); | ^~~~ | | | char ** In file included from /usr/include/tcl.h:2441, from /usr/include/tcl/generic/tclPort.h:25, from /usr/include/tcl/generic/tclInt.h:36, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:95: /usr/include/tclDecls.h:585:16: note: expected 'const char * const*' but argument is of type 'char **' 585 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:1116:31: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] 1116 | cmdStr = Tcl_Merge(argc, argv); | ^~~~ | | | char ** In file included from /usr/include/tcl.h:2441, from /usr/include/tcl/generic/tclPort.h:25, from /usr/include/tcl/generic/tclInt.h:36, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:95: /usr/include/tclDecls.h:585:16: note: expected 'const char * const*' but argument is of type 'char **' 585 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c: In function 'Dp_CancelRPCCmd': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:1250:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1250 | chanName = Tcl_GetChannelName(chan); | ^ x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpTcp.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:76:6: warning: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types] 76 | SockBlockMode, /* Proc to set blocking mode on socket */ | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:76:6: note: (near initialization for 'tcpChannelType.version') /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:79:6: warning: initialization of 'int (*)(void *, const char *, int, int *)' from incompatible pointer type 'int (*)(void *, char *, int, int *)' [-Wincompatible-pointer-types] 79 | TcpOutput, /* Proc to send output to a socket */ | ^~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:79:6: note: (near initialization for 'tcpChannelType.outputProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:81:6: warning: initialization of 'int (*)(void *, Tcl_Interp *, const char *, const char *)' {aka 'int (*)(void *, struct Tcl_Interp *, const char *, const char *)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, char *)' {aka 'int (*)(void *, struct Tcl_Interp *, char *, char *)'} [-Wincompatible-pointer-types] 81 | TcpSetOption, /* Proc to set a socket option */ | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:81:6: note: (near initialization for 'tcpChannelType.setOptionProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:82:6: warning: initialization of 'int (*)(void *, Tcl_Interp *, const char *, Tcl_DString *)' {aka 'int (*)(void *, struct Tcl_Interp *, const char *, struct Tcl_DString *)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, Tcl_DString *)' {aka 'int (*)(void *, struct Tcl_Interp *, char *, struct Tcl_DString *)'} [-Wincompatible-pointer-types] 82 | TcpGetOption, /* Proc to set a socket option */ | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:82:6: note: (near initialization for 'tcpChannelType.getOptionProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c: In function 'DpOpenTcpChannel': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:143:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 143 | size_t len = strlen(argv[i]); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:143:15: warning: incompatible implicit declaration of built-in function 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:24:1: note: include '' or provide a declaration of 'strlen' 23 | #include "generic/dpInt.h" +++ |+#include 24 | #include "generic/dpPort.h" /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:145:6: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 145 | if (strncmp(argv[i], "-async", len)==0) { | ^~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:166:10: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 166 | if (strcmp (argv[v], "any") == 0) { | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:263:9: warning: implicit declaration of function 'DpClose'; did you mean 'pclose'? [-Wimplicit-function-declaration] 263 | DpClose(interp, chan); | ^~~~~~~ | pclose /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c: In function 'Dp_TcpAccept': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:337:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 337 | statePtr->sockFile = (ClientData)sock; | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:370:30: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] 370 | argRet = Tcl_Merge(argc, argv); | ^~~~ | | | char ** In file included from /usr/include/tcl.h:2441, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dp.h:22, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInt.h:26, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:23: /usr/include/tclDecls.h:585:16: note: expected 'const char * const*' but argument is of type 'char **' 585 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c: In function 'CreateClientChannel': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:721:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 721 | memset((char *)&destSockAddr, 0, sizeof(destSockAddr)); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:721:5: warning: incompatible implicit declaration of built-in function 'memset' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:721:5: note: include '' or provide a declaration of 'memset' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:789:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 789 | statePtr->sockFile = (ClientData)sock; | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c: In function 'CreateServerChannel': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:860:5: warning: incompatible implicit declaration of built-in function 'memset' 860 | memset((char *)&mySockAddr, 0, sizeof(mySockAddr)); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:860:5: note: include '' or provide a declaration of 'memset' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:885:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 885 | statePtr->sockFile = (ClientData)sock; | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c: In function 'DpSetAddress': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:1191:5: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 1191 | memcpy ((char *)ipAddrPtr, (char *) h->h_addr_list[0], | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:1191:5: warning: incompatible implicit declaration of built-in function 'memcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:1191:5: note: include '' or provide a declaration of 'memcpy' x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpSock.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c: In function 'DpHostToIpAddr': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c:45:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 45 | if (strcmp (host, "localhost") == 0) { | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c:78:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 78 | memcpy ((char *)ipAddrPtr, | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c:78:2: warning: incompatible implicit declaration of built-in function 'memcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c:20:1: note: include '' or provide a declaration of 'memcpy' 19 | #include "generic/dpInt.h" +++ |+#include 20 | #include "generic/dpPort.h" /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c: In function 'DpIpAddrToHost': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c:114:6: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 114 | strcpy(hostPtr, "localhost"); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c:114:6: warning: incompatible implicit declaration of built-in function 'strcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c:114:6: note: include '' or provide a declaration of 'strcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c:120:6: warning: incompatible implicit declaration of built-in function 'strcpy' 120 | strcpy(hostPtr, hEnt->h_name); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c:120:6: note: include '' or provide a declaration of 'strcpy' x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpUdp.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:51:6: warning: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types] 51 | SockBlockMode, /* Proc to set blocking mode on socket */ | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:51:6: note: (near initialization for 'udpChannelType.version') /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:54:6: warning: initialization of 'int (*)(void *, const char *, int, int *)' from incompatible pointer type 'int (*)(void *, char *, int, int *)' [-Wincompatible-pointer-types] 54 | UdpIpmOutput, /* Proc to send output to a socket */ | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:54:6: note: (near initialization for 'udpChannelType.outputProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:56:6: warning: initialization of 'int (*)(void *, Tcl_Interp *, const char *, const char *)' {aka 'int (*)(void *, struct Tcl_Interp *, const char *, const char *)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, char *)' {aka 'int (*)(void *, struct Tcl_Interp *, char *, char *)'} [-Wincompatible-pointer-types] 56 | UdpSetOption, /* Proc to set a socket option */ | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:56:6: note: (near initialization for 'udpChannelType.setOptionProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:57:6: warning: initialization of 'int (*)(void *, Tcl_Interp *, const char *, Tcl_DString *)' {aka 'int (*)(void *, struct Tcl_Interp *, const char *, struct Tcl_DString *)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, Tcl_DString *)' {aka 'int (*)(void *, struct Tcl_Interp *, char *, struct Tcl_DString *)'} [-Wincompatible-pointer-types] 57 | UdpGetOption, /* Proc to set a socket option */ | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:57:6: note: (near initialization for 'udpChannelType.getOptionProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c: In function 'UdpSetOption': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:181:13: warning: implicit declaration of function 'DpUdpSetSocketOption' [-Wimplicit-function-declaration] 181 | return DpUdpSetSocketOption (statePtr, option, value); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c: In function 'UdpGetOption': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:295:6: warning: implicit declaration of function 'DpUdpGetSocketOption' [-Wimplicit-function-declaration] 295 | DpUdpGetSocketOption (statePtr, option, &size); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c: In function 'DpOpenUdpChannel': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:378:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 378 | size_t len = strlen(argv[i]); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:378:15: warning: incompatible implicit declaration of built-in function 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:25:1: note: include '' or provide a declaration of 'strlen' 24 | #include "generic/dpInt.h" +++ |+#include 25 | #include "generic/dpPort.h" /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:380:6: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 380 | if (strncmp(argv[i], "-host", len)==0) { | ^~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:398:10: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 398 | if (strcmp (argv[v], "any") == 0) { | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:437:14: warning: implicit declaration of function 'DpCreateUdpSocket' [-Wimplicit-function-declaration] 437 | result = DpCreateUdpSocket(interp, myIpAddr, statePtr); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:465:9: warning: implicit declaration of function 'DpClose'; did you mean 'pclose'? [-Wimplicit-function-declaration] 465 | DpClose(interp, chan); | ^~~~~~~ | pclose /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c: In function 'DpCreateUdpSocket': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:631:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 631 | memset((char *)&sockAddr, 0, sizeof(sockAddr)); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:631:5: warning: incompatible implicit declaration of built-in function 'memset' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:631:5: note: include '' or provide a declaration of 'memset' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:653:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 653 | statePtr->sockFile = (ClientData)statePtr->sock; | ^ x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpSerial.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:63:5: warning: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types] 63 | SerialBlock, | ^~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:63:5: note: (near initialization for 'serialChannelType.version') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:66:5: warning: initialization of 'int (*)(void *, const char *, int, int *)' from incompatible pointer type 'int (*)(void *, char *, int, int *)' [-Wincompatible-pointer-types] 66 | SerialOutput, | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:66:5: note: (near initialization for 'serialChannelType.outputProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:68:5: warning: initialization of 'int (*)(void *, Tcl_Interp *, const char *, const char *)' {aka 'int (*)(void *, struct Tcl_Interp *, const char *, const char *)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, char *)' {aka 'int (*)(void *, struct Tcl_Interp *, char *, char *)'} [-Wincompatible-pointer-types] 68 | SerialSetOption, | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:68:5: note: (near initialization for 'serialChannelType.setOptionProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:69:5: warning: initialization of 'int (*)(void *, Tcl_Interp *, const char *, Tcl_DString *)' {aka 'int (*)(void *, struct Tcl_Interp *, const char *, struct Tcl_DString *)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, Tcl_DString *)' {aka 'int (*)(void *, struct Tcl_Interp *, char *, struct Tcl_DString *)'} [-Wincompatible-pointer-types] 69 | SerialGetOption, | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:69:5: note: (near initialization for 'serialChannelType.getOptionProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c: In function 'DpOpenSerialChannel': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:111:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 111 | strcpy(devStr, ""); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:111:5: warning: incompatible implicit declaration of built-in function 'strcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:22:1: note: include '' or provide a declaration of 'strcpy' 21 | #include "generic/dpInt.h" +++ |+#include 22 | /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:114:16: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 114 | int len = strlen(argv[i]); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:114:16: warning: incompatible implicit declaration of built-in function 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:114:16: note: include '' or provide a declaration of 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:116:10: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 116 | if (strncmp(argv[i], "-device", len) == 0) { | ^~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:116:38: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 116 | if (strncmp(argv[i], "-device", len) == 0) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:119:40: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 119 | } else if (strncmp(argv[i], "-block", len) == 0) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:124:43: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 124 | } else if (strncmp(argv[i], "-readonly", len) == 0) { | ^~~ : note: built-in 'strncmp' declared here /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:150:9: warning: implicit declaration of function 'DppOpenSerialChannel'; did you mean 'DpOpenSerialChannel'? [-Wimplicit-function-declaration] 150 | if (DppOpenSerialChannel(interp, (ClientData)ssPtr, devStr, flags) | ^~~~~~~~~~~~~~~~~~~~ | DpOpenSerialChannel /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:158:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 158 | ssPtr->theFile = (FileHandle)ssPtr->fd; | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:172:9: warning: implicit declaration of function 'DpClose'; did you mean 'pclose'? [-Wimplicit-function-declaration] 172 | DpClose(interp, chan); | ^~~~~~~ | pclose /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c: In function 'SerialBlock': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:210:12: warning: implicit declaration of function 'DppSerialBlock'; did you mean 'SerialBlock'? [-Wimplicit-function-declaration] 210 | return DppSerialBlock(instanceData, mode); | ^~~~~~~~~~~~~~ | SerialBlock /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c: In function 'SerialInput': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:238:12: warning: implicit declaration of function 'DppSerialInput'; did you mean 'SerialInput'? [-Wimplicit-function-declaration] 238 | return DppSerialInput(instanceData, bufPtr, bufSize, errorPtr); | ^~~~~~~~~~~~~~ | SerialInput /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c: In function 'SerialOutput': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:266:12: warning: implicit declaration of function 'DppSerialOutput'; did you mean 'SerialOutput'? [-Wimplicit-function-declaration] 266 | return DppSerialOutput(instanceData, bufPtr, toWrite, errorPtr); | ^~~~~~~~~~~~~~~ | SerialOutput /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c: In function 'SerialClose': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:296:10: warning: implicit declaration of function 'DppSerialClose'; did you mean 'SerialClose'? [-Wimplicit-function-declaration] 296 | rc = DppSerialClose(instanceData); | ^~~~~~~~~~~~~~ | SerialClose /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:299:28: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 299 | Tcl_SetResult(interp, Tcl_PosixError(interp), TCL_VOLATILE); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/tcl.h:2441, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPort.h:19, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:20: /usr/include/tclDecls.h:694:54: note: expected 'char *' but argument is of type 'const char *' 694 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c: In function 'SerialSetOption': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:351:18: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 351 | if (!strcmp(valStr, "none")) { | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:361:20: warning: implicit declaration of function 'DppSerialSetOption'; did you mean 'SerialSetOption'? [-Wimplicit-function-declaration] 361 | return DppSerialSetOption(ssPtr, DP_PARITY, optVal); | ^~~~~~~~~~~~~~~~~~ | SerialSetOption /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c: In function 'SerialGetOption': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:446:2: warning: implicit declaration of function 'DppSerialGetOption'; did you mean 'SerialGetOption'? [-Wimplicit-function-declaration] 446 | DppSerialGetOption(ssPtr, DP_CHARSIZE, dsPtr); | ^~~~~~~~~~~~~~~~~~ | SerialGetOption /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c: In function 'SerialWatch': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:575:5: warning: implicit declaration of function 'DppSerialWatchFile' [-Wimplicit-function-declaration] 575 | DppSerialWatchFile(instanceData, mask); | ^~~~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSock.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpUnixSock.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSock.c: In function 'SockClose': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSock.c:164:31: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 164 | Tcl_SetResult(interp, Tcl_PosixError(interp), TCL_STATIC); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/tcl.h:2441, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dp.h:22, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInt.h:26, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSock.c:14: /usr/include/tclDecls.h:694:54: note: expected 'char *' but argument is of type 'const char *' 694 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSerial.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpUnixSerial.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSerial.c: In function 'DppOpenSerialChannel': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSerial.c:155:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 155 | strcpy(ssPtr->deviceName, devStr); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSerial.c:155:5: warning: incompatible implicit declaration of built-in function 'strcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSerial.c:6:1: note: include '' or provide a declaration of 'strcpy' 5 | #include +++ |+#include 6 | /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSerial.c: In function 'DppSerialSetOption': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSerial.c:401:24: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 401 | sprintf(baud, "%ld", optionVal); | ~~^ ~~~~~~~~~ | | | | | int | long int | %d /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSerial.c: In function 'DppCheckDevice': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSerial.c:661:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 661 | if (strlen(devStr) == 7) { | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSerial.c:661:9: warning: incompatible implicit declaration of built-in function 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSerial.c:661:9: note: include '' or provide a declaration of 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSerial.c:662:10: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 662 | if (strncmp(devStr, "serial", 6) == 0) { | ^~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSerial.c:662:36: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 662 | if (strncmp(devStr, "serial", 6) == 0) { | ^ : note: built-in 'strncmp' declared here x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpInit.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpUnixInit.o x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c -DLLIB=\"/usr/src/RPM/BUILD/tcl-dp-4.0b2/library\" /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEmail.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpUnixEmail.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEmail.c:193:5: warning: initialization of 'int (*)(void *, const char *, int, int *)' from incompatible pointer type 'int (*)(void *, char *, int, int *)' [-Wincompatible-pointer-types] 193 | OutputEmailChannel, /* outputProc */ | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEmail.c:193:5: note: (near initialization for 'emailChannelType.outputProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEmail.c:195:5: warning: initialization of 'int (*)(void *, Tcl_Interp *, const char *, const char *)' {aka 'int (*)(void *, struct Tcl_Interp *, const char *, const char *)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, char *)' {aka 'int (*)(void *, struct Tcl_Interp *, char *, char *)'} [-Wincompatible-pointer-types] 195 | SOPEmailChannel, /* setOptionProc */ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEmail.c:195:5: note: (near initialization for 'emailChannelType.setOptionProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEmail.c:196:5: warning: initialization of 'int (*)(void *, Tcl_Interp *, const char *, Tcl_DString *)' {aka 'int (*)(void *, struct Tcl_Interp *, const char *, struct Tcl_DString *)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, Tcl_DString *)' {aka 'int (*)(void *, struct Tcl_Interp *, char *, struct Tcl_DString *)'} [-Wincompatible-pointer-types] 196 | GOPEmailChannel, /* getOptionProc */ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEmail.c:196:5: note: (near initialization for 'emailChannelType.getOptionProc') x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSOURCE=\"dp\" -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpLocks.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpLocks.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpLocks.c: In function 'PutLock': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpLocks.c:50:31: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 50 | sprintf(pid, "%ld", (long)getpid()); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpLocks.c:57:11: warning: implicit declaration of function 'symlink' [-Wimplicit-function-declaration] 57 | while(symlink(pid, lockFilePath) == -1) { | ^~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpLocks.c:58:7: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 58 | sleep(1); | ^~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpLocks.c: In function 'RemoveLock': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpLocks.c:87:8: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 87 | if(unlink(lockFilePath) != 0) { | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpLocks.c:16:32: warning: format not a string literal and no format arguments [-Wformat-security] 16 | fprintf(fp, buffer); \ | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpLocks.c:89:2: note: in expansion of macro 'ERROR' 89 | ERROR(8); | ^~~~~ x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpPlugF.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:101:5: warning: initialization of 'int (*)(void *, const char *, int, int *)' from incompatible pointer type 'int (*)(void *, char *, int, int *)' [-Wincompatible-pointer-types] 101 | OutputPlugFChannel, /* outputProc */ | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:101:5: note: (near initialization for 'plugFChannelType.outputProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:103:5: warning: initialization of 'int (*)(void *, Tcl_Interp *, const char *, const char *)' {aka 'int (*)(void *, struct Tcl_Interp *, const char *, const char *)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, char *)' {aka 'int (*)(void *, struct Tcl_Interp *, char *, char *)'} [-Wincompatible-pointer-types] 103 | SOPPlugFChannel, /* setOptionProc */ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:103:5: note: (near initialization for 'plugFChannelType.setOptionProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:104:5: warning: initialization of 'int (*)(void *, Tcl_Interp *, const char *, Tcl_DString *)' {aka 'int (*)(void *, struct Tcl_Interp *, const char *, struct Tcl_DString *)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, Tcl_DString *)' {aka 'int (*)(void *, struct Tcl_Interp *, char *, struct Tcl_DString *)'} [-Wincompatible-pointer-types] 104 | GOPPlugFChannel, /* getOptionProc */ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:104:5: note: (near initialization for 'plugFChannelType.getOptionProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c: In function 'DpCreatePlugFChannel': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:178:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 178 | size_t len = strlen(argv[i]); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:178:15: warning: incompatible implicit declaration of built-in function 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:17:1: note: include '' or provide a declaration of 'strlen' 16 | #include +++ |+#include 17 | /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:180:6: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 180 | if (strncmp(argv[i], "-channel", len)==0) { | ^~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c: In function 'InputPlugFChannel': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:436:17: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 436 | memcpy(buf + transferred, x->outBuf + x->outUsed, | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:436:17: warning: incompatible implicit declaration of built-in function 'memcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:436:17: note: include '' or provide a declaration of 'memcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:441:17: warning: incompatible implicit declaration of built-in function 'memcpy' 441 | memcpy(buf + transferred, x->outBuf + x->outUsed, | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:441:17: note: include '' or provide a declaration of 'memcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c: In function 'OutputPlugFChannel': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:570:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 570 | if (strcmp(cx, "none")) { | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c: In function 'SOPPlugFChannel': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:745:46: warning: incompatible implicit declaration of built-in function 'strlen' 745 | error = (data->outFilter) (optionValue, strlen(optionValue), NULL, | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:745:46: note: include '' or provide a declaration of 'strlen' x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpFilters.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpFilters.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpFilters.c: In function 'TclFilter': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpFilters.c:1405:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1405 | needed = strlen(interp->result); | ^~~~~~ In file included from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dp.h:22, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpFilters.c:2: /usr/include/tcl.h:499:11: note: declared here 499 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpFilters.c:1414:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1414 | memcpy(*outBuf, interp->result, needed); | ^~~~~~ In file included from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dp.h:22, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpFilters.c:2: /usr/include/tcl.h:499:11: note: declared here 499 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpFilters.c: In function 'HexOut': /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpFilters.c:1494:16: warning: implicit declaration of function 'isxdigit' [-Wimplicit-function-declaration] 1494 | if(isxdigit(inBuf[i]) && isxdigit(inBuf[i+1])) { | ^~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpFilters.c:1495:20: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] 1495 | if(isdigit(inBuf[i])) { | ^~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpFilters.c:1498:26: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] 1498 | t1 = tolower(inBuf[i]) - 'a' + 10; | ^~~~~~~ x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpIdentity.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpIdentity.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpIdentity.c:78:5: warning: initialization of 'int (*)(void *, const char *, int, int *)' from incompatible pointer type 'int (*)(void *, char *, int, int *)' [-Wincompatible-pointer-types] 78 | OutputIdChannel, /* outputProc */ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpIdentity.c:78:5: note: (near initialization for 'idChannelType.outputProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpIdentity.c:80:5: warning: initialization of 'int (*)(void *, Tcl_Interp *, const char *, const char *)' {aka 'int (*)(void *, struct Tcl_Interp *, const char *, const char *)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, char *)' {aka 'int (*)(void *, struct Tcl_Interp *, char *, char *)'} [-Wincompatible-pointer-types] 80 | SOPIdChannel, /* setOptionProc */ | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpIdentity.c:80:5: note: (near initialization for 'idChannelType.setOptionProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpIdentity.c:81:5: warning: initialization of 'int (*)(void *, Tcl_Interp *, const char *, Tcl_DString *)' {aka 'int (*)(void *, struct Tcl_Interp *, const char *, struct Tcl_DString *)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, Tcl_DString *)' {aka 'int (*)(void *, struct Tcl_Interp *, char *, struct Tcl_DString *)'} [-Wincompatible-pointer-types] 81 | GOPIdChannel, /* getOptionProc */ | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpIdentity.c:81:5: note: (near initialization for 'idChannelType.getOptionProc') x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPackOff.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpPackOff.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPackOff.c:86:5: warning: initialization of 'int (*)(void *, const char *, int, int *)' from incompatible pointer type 'int (*)(void *, char *, int, int *)' [-Wincompatible-pointer-types] 86 | OutputPOChannel, /* outputProc */ | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPackOff.c:86:5: note: (near initialization for 'poChannelType.outputProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPackOff.c:88:5: warning: initialization of 'int (*)(void *, Tcl_Interp *, const char *, const char *)' {aka 'int (*)(void *, struct Tcl_Interp *, const char *, const char *)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, char *)' {aka 'int (*)(void *, struct Tcl_Interp *, char *, char *)'} [-Wincompatible-pointer-types] 88 | SOPPOChannel, /* setOptionProc */ | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPackOff.c:88:5: note: (near initialization for 'poChannelType.setOptionProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPackOff.c:89:5: warning: initialization of 'int (*)(void *, Tcl_Interp *, const char *, Tcl_DString *)' {aka 'int (*)(void *, struct Tcl_Interp *, const char *, struct Tcl_DString *)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, Tcl_DString *)' {aka 'int (*)(void *, struct Tcl_Interp *, char *, struct Tcl_DString *)'} [-Wincompatible-pointer-types] 89 | GOPPOChannel, /* getOptionProc */ | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPackOff.c:89:5: note: (near initialization for 'poChannelType.getOptionProc') x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpIPM.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:55:6: warning: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types] 55 | SockBlockMode, /* Proc to set blocking mode on socket */ | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:55:6: note: (near initialization for 'ipmChannelType.version') /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:58:6: warning: initialization of 'int (*)(void *, const char *, int, int *)' from incompatible pointer type 'int (*)(void *, char *, int, int *)' [-Wincompatible-pointer-types] 58 | UdpIpmOutput, /* Proc to send output to a socket */ | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:58:6: note: (near initialization for 'ipmChannelType.outputProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:60:6: warning: initialization of 'int (*)(void *, Tcl_Interp *, const char *, const char *)' {aka 'int (*)(void *, struct Tcl_Interp *, const char *, const char *)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, char *)' {aka 'int (*)(void *, struct Tcl_Interp *, char *, char *)'} [-Wincompatible-pointer-types] 60 | IpmSetOption, /* Proc to set a socket option */ | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:60:6: note: (near initialization for 'ipmChannelType.setOptionProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:61:6: warning: initialization of 'int (*)(void *, Tcl_Interp *, const char *, Tcl_DString *)' {aka 'int (*)(void *, struct Tcl_Interp *, const char *, struct Tcl_DString *)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, Tcl_DString *)' {aka 'int (*)(void *, struct Tcl_Interp *, char *, struct Tcl_DString *)'} [-Wincompatible-pointer-types] 61 | IpmGetOption, /* Proc to set a socket option */ | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:61:6: note: (near initialization for 'ipmChannelType.getOptionProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c: In function 'DpOpenIpmChannel': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:123:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 123 | size_t len = strlen(argv[i]); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:123:15: warning: incompatible implicit declaration of built-in function 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:16:1: note: include '' or provide a declaration of 'strlen' 15 | #include "generic/dpInt.h" +++ |+#include 16 | /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:125:6: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 125 | if (strncmp(argv[i], "-group", len)==0) { | ^~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:191:25: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] 191 | str = Tcl_Merge(ac, av); | ^~ | | | char ** In file included from /usr/include/tcl.h:2441, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dp.h:22, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInt.h:26, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:15: /usr/include/tclDecls.h:585:16: note: expected 'const char * const*' but argument is of type 'char **' 585 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:197:9: warning: implicit declaration of function 'DpClose'; did you mean 'pclose'? [-Wimplicit-function-declaration] 197 | DpClose(interp, chan); | ^~~~~~~ | pclose /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c: In function 'IpmSetOption': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:326:20: warning: implicit declaration of function 'DpIpmSetSocketOption' [-Wimplicit-function-declaration] 326 | return DpIpmSetSocketOption(statePtr, option, value); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:370:15: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] 370 | &argc, &argv); | ^~~~~ | | | char *** In file included from /usr/include/tcl.h:2441, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dp.h:22, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInt.h:26, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:15: /usr/include/tclDecls.h:723:21: note: expected 'const char ***' but argument is of type 'char ***' 723 | CONST84 char ***argvPtr); | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:372:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 372 | if (!strcmp(argv[i], &optionValue[1])) { | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:389:23: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] 389 | Tcl_Merge(argc-1, argv), -1); | ^~~~ | | | char ** In file included from /usr/include/tcl.h:2441, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dp.h:22, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInt.h:26, from /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:15: /usr/include/tclDecls.h:585:16: note: expected 'const char * const*' but argument is of type 'char **' 585 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c: In function 'IpmGetOption': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:477:17: warning: implicit declaration of function 'DpIpmGetSocketOption' [-Wimplicit-function-declaration] 477 | if (DpIpmGetSocketOption(statePtr, option, &value) != 0) { | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c: In function 'CreateIPMSocket': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:572:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 572 | statePtr->sockFile = (ClientData)sock; | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:579:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 579 | memset(&statePtr->sockaddr, 0, sizeof(statePtr->sockaddr)); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:579:5: warning: incompatible implicit declaration of built-in function 'memset' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:579:5: note: include '' or provide a declaration of 'memset' rm -f libdp40.so x86_64-alt-linux-gcc -O -D_TCL80 -shared -o libdp40.so /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpChan.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpCmds.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpInit.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpRPC.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpTcp.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpSock.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpUdp.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpSerial.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpUnixSock.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpUnixSerial.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpUnixInit.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpUnixEmail.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpLocks.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpPlugF.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpFilters.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpIdentity.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpPackOff.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpIPM.o -L/usr/lib64 -ltcl8.6 -lpthread -ltcl8.6 -lpthread -ltclstub8.6 -lc x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -c /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEFilter.c -o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpEFilter.o /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEFilter.c: In function 'Match': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEFilter.c:296:30: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] 296 | if(pattern[i] != tolower(getchar())) | ^~~~~~~ x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -D__LINUX__ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpEFilter.o \ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/objs/dpLocks.o -o dpfilter cp ./dpfilter /usr/src/RPM/BUILD/tcl-dp-4.0b2/library make: Leaving directory '/usr/src/RPM/BUILD/tcl-dp-4.0b2' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.45174 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/tcl-dp-buildroot + : + /bin/rm -rf -- /usr/src/tmp/tcl-dp-buildroot + cd tcl-dp-4.0b2 + mkdir -p /usr/src/tmp/tcl-dp-buildroot/usr/lib64/tcl /usr/src/tmp/tcl-dp-buildroot/usr/share/doc /usr/src/tmp/tcl-dp-buildroot/usr/share/tcl/dp40b2/library /usr/src/tmp/tcl-dp-buildroot/usr/share/tcl/dp40b2/api /usr/src/tmp/tcl-dp-buildroot/usr/share/tcl/dp40b2/examples/conference/ /usr/src/tmp/tcl-dp-buildroot/usr/share/tcl/dp40b2/examples/ftp/ /usr/src/tmp/tcl-dp-buildroot/usr/share/tcl/dp40b2/examples/tictactoe/ /usr/src/tmp/tcl-dp-buildroot/usr/share/tcl/dp40b2/examples/whiteboard/ + install -p -m0644 library/acl.tcl library/distribObj.tcl library/dp_atclose.tcl library/dp_atexit.tcl library/ldelete.tcl library/oo.tcl library/rpc.tcl /usr/src/tmp/tcl-dp-buildroot/usr/share/tcl/dp40b2/library/ + install -p -m0644 api/dpApi.c api/dpApi.h api/dpExample.c api/makefile.win api/readme.api /usr/src/tmp/tcl-dp-buildroot/usr/share/tcl/dp40b2/api/ + install -p -m0644 examples/conference/README examples/conference/enter.tcl examples/conference/room.tcl /usr/src/tmp/tcl-dp-buildroot/usr/share/tcl/dp40b2/examples/conference/ + install -p -m0644 examples/ftp/client.tcl examples/ftp/server.tcl /usr/src/tmp/tcl-dp-buildroot/usr/share/tcl/dp40b2/examples/ftp/ + install -p -m0644 examples/tictactoe/README examples/tictactoe/board.tcl examples/tictactoe/interface.tcl examples/tictactoe/playerO.tcl examples/tictactoe/playerX.tcl /usr/src/tmp/tcl-dp-buildroot/usr/share/tcl/dp40b2/examples/tictactoe/ + install -p -m0644 examples/whiteboard/readme examples/whiteboard/wbClient.tcl examples/whiteboard/wbServer.tcl /usr/src/tmp/tcl-dp-buildroot/usr/share/tcl/dp40b2/examples/whiteboard/ + install libdp40.so /usr/src/tmp/tcl-dp-buildroot/usr/lib64/tcl/ + install tekilib/pkgIndex.tcl /usr/src/tmp/tcl-dp-buildroot/usr/share/tcl/dp40b2/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/tcl-dp-buildroot (auto) mode of './usr/lib64/tcl/libdp40.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/tcl-dp-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/tcl-dp-buildroot/ (default) Compressing files in /usr/src/tmp/tcl-dp-buildroot (auto) Adjusting library links in /usr/src/tmp/tcl-dp-buildroot ./usr/lib64: Verifying ELF objects in /usr/src/tmp/tcl-dp-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: tcl-dp-4.0b2-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.45174 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd tcl-dp-4.0b2 + DOCDIR=/usr/src/tmp/tcl-dp-buildroot/usr/share/doc/tcl-dp-4.0b2 + export DOCDIR + rm -rf /usr/src/tmp/tcl-dp-buildroot/usr/share/doc/tcl-dp-4.0b2 + /bin/mkdir -p /usr/src/tmp/tcl-dp-buildroot/usr/share/doc/tcl-dp-4.0b2 + cp -prL CHANGES LICENSE FAQ README TODO doc/ /usr/src/tmp/tcl-dp-buildroot/usr/share/doc/tcl-dp-4.0b2 + chmod -R go-w /usr/src/tmp/tcl-dp-buildroot/usr/share/doc/tcl-dp-4.0b2 + chmod -R a+rX /usr/src/tmp/tcl-dp-buildroot/usr/share/doc/tcl-dp-4.0b2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.THr2GO find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell,tcl) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zOKDSK find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,tcl) Provides: tcl(Debug) = 1.0, tcl(Progress-Tcl) = 1.0, tcl(Progress-Tk) = 1.0, tcl(Undo) = 1.0, tcl(Wise) = 1.0, tcl(dp) = 4.0 Requires: tcl >= 8.0, tcl <= 9.0, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.4)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), libtcl8.6.so()(64bit) >= set:nh7wUEbw3zlXCJ6J8K1FanhZkTnS3F0bP0JGel8OCoDs99doqSTknVQAUXiZA0OkrWuT6aEu0bRrKmGKfyssCP4b4ERtn4HEVaTvpTcPqoj1a9oxWWnyz4mp2HkXE4zI0Nw0, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tZA54M Creating tcl-dp-debuginfo package Processing files: tcl-dp-debuginfo-4.0b2-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.p961WN find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bifZtK find-requires: running scripts (debuginfo) Requires: tcl-dp = 4.0b2-alt4, debug64(libc.so.6), debug64(libpthread.so.0), debug64(libtcl8.6.so) Adding to tcl-dp-debuginfo a strict dependency on tcl-dp Wrote: /usr/src/RPM/RPMS/x86_64/tcl-dp-4.0b2-alt4.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/tcl-dp-debuginfo-4.0b2-alt4.x86_64.rpm 6.30user 1.34system 0:11.93elapsed 64%CPU (0avgtext+0avgdata 33524maxresident)k 0inputs+0outputs (0major+328529minor)pagefaults 0swaps 13.62user 5.23system 0:28.57elapsed 65%CPU (0avgtext+0avgdata 111212maxresident)k 0inputs+0outputs (0major+695348minor)pagefaults 0swaps