<86>Nov 14 02:11:57 userdel[1121449]: delete user 'rooter' <86>Nov 14 02:11:57 userdel[1121449]: removed group 'rooter' owned by 'rooter' <86>Nov 14 02:11:57 userdel[1121449]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 14 02:11:57 groupadd[1121538]: group added to /etc/group: name=rooter, GID=1871 <86>Nov 14 02:11:57 groupadd[1121538]: group added to /etc/gshadow: name=rooter <86>Nov 14 02:11:57 groupadd[1121538]: new group: name=rooter, GID=1871 <86>Nov 14 02:11:57 useradd[1121612]: new user: name=rooter, UID=1871, GID=1871, home=/root, shell=/bin/bash, from=none <86>Nov 14 02:11:57 userdel[1121699]: delete user 'builder' <86>Nov 14 02:11:57 userdel[1121699]: removed group 'builder' owned by 'builder' <86>Nov 14 02:11:57 userdel[1121699]: removed shadow group 'builder' owned by 'builder' <86>Nov 14 02:11:57 groupadd[1121781]: group added to /etc/group: name=builder, GID=1872 <86>Nov 14 02:11:57 groupadd[1121781]: group added to /etc/gshadow: name=builder <86>Nov 14 02:11:57 groupadd[1121781]: new group: name=builder, GID=1872 <86>Nov 14 02:11:57 useradd[1121855]: new user: name=builder, UID=1872, GID=1872, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/tcl-dp-4.0b2-alt6.src.rpm: bad symbols in the license tag: , <13>Nov 14 02:12:00 rpmi: rpm-build-tcl-0.6.2-alt1 sisyphus+299320.100.1.1 1651401392 installed <13>Nov 14 02:12:01 rpmi: libtcl-8.6.13-alt1 sisyphus+310696.100.1.1 1669548266 installed <13>Nov 14 02:12:01 rpmi: tcl-8.6.13-alt1 sisyphus+310696.100.1.1 1669548266 installed <13>Nov 14 02:12:01 rpmi: tcl-devel-8.6.13-alt1 sisyphus+310696.100.1.1 1669548266 installed <13>Nov 14 02:12:01 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/tcl-dp-4.0b2-alt6.nosrc.rpm (w1.gzdio) Installing tcl-dp-4.0b2-alt6.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.61928 + 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): + /usr/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 + echo 'Patch #9 (tcl.fix.make.patch):' Patch #9 (tcl.fix.make.patch): + /usr/bin/patch -p1 patching file unix/Makefile.in + set +x + set +a + sed s,@lib@,lib64, -i tekilib/pkgIndex.tcl + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.61928 + 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 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + 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 -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR unix/configure + echo 'rpm-build: warning: unix/configure script does not support --runstatedir' rpm-build: warning: unix/configure script does not support --runstatedir + 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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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:13: 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:17:1: note: include '' or provide a declaration of 'strcmp' 16 | #include "generic/dpInt.h" +++ |+#include 17 | /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: note: include '' or provide a declaration of 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:155:15: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:155:15: note: include '' or provide a declaration of 'strlen' /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: note: include '' or provide a declaration of 'memcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpChan.c:160:13: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] /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' [-Wbuiltin-declaration-mismatch] 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:24: note: include '' or provide a declaration of 'strncmp' /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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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:514:11: note: declared here 514 | 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); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | 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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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:25: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 28 | {"dp_accept", Dp_AcceptCmd}, | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:28:25: note: (near initialization for 'commands[0].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:29:25: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 29 | {"dp_connect", Dp_ConnectCmd}, | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:29:25: note: (near initialization for 'commands[1].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:30:25: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 30 | {"dp_copy", Dp_CopyCmd}, | ^~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:30:25: note: (near initialization for 'commands[2].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:31:25: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 31 | {"dp_netinfo", Dp_NetInfoCmd}, | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:31:25: note: (near initialization for 'commands[3].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:32:25: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 32 | {"dp_RDO", Dp_RDOCmd}, | ^~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:32:25: note: (near initialization for 'commands[4].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:33:25: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 33 | {"dp_RPC", Dp_RPCCmd}, | ^~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:33:25: note: (near initialization for 'commands[5].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:34:25: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 34 | {"dp_admin", Dp_AdminCmd}, | ^~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:34:25: note: (near initialization for 'commands[6].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:35:25: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 35 | {"dp_CancelRPC", Dp_CancelRPCCmd}, | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:35:25: note: (near initialization for 'commands[7].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:36:25: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 36 | {"dp_send", Dp_SendCmd}, | ^~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:36:25: note: (near initialization for 'commands[8].cmdProc') /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:37:25: warning: initialization of 'int (*)(void *, Tcl_Interp *, int, const char **)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, int, char **)' [-Wincompatible-pointer-types] 37 | {"dp_recv", Dp_RecvCmd}, | ^~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpInit.c:37:25: 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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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:21: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 524 | rv[0] = interp->result; | ^~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:525:27: 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:43: 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:2418: /usr/include/tclDecls.h:584:66: note: expected 'const char * const*' but argument is of type 'char **' 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:535:30: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 535 | interp->result) != TCL_OK) { | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:561:51: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] 561 | Tcl_SplitList(interp, message, &argc, &argv); | ^~~~~ | | | char *** /usr/include/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' 722 | 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; | ^ /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 *** /usr/include/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' 722 | CONST84 char ***argvPtr); | ^ /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:53: 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:43: 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 ** /usr/include/tclDecls.h:584:66: note: expected 'const char * const*' but argument is of type 'char **' 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^ /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 ** /usr/include/tclDecls.h:584:66: note: expected 'const char * const*' but argument is of type 'char **' 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:1103:38: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] 1103 | cmdStr = Tcl_Merge(argc, argv); | ^~~~ | | | char ** /usr/include/tclDecls.h:584:66: note: expected 'const char * const*' but argument is of type 'char **' 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpRPC.c:1116:38: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] 1116 | cmdStr = Tcl_Merge(argc, argv); | ^~~~ | | | char ** /usr/include/tclDecls.h:584:66: note: expected 'const char * const*' but argument is of type 'char **' 584 | 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:26: 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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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 *)' from incompatible pointer type 'int (*)(void *, 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 *)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, 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:22: 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: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:143:22: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 143 | size_t len = strlen(argv[i]); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:143:22: note: include '' or provide a declaration of 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:145:13: 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:145:13: note: include '' or provide a declaration of 'strncmp' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:166:17: 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:166:17: note: include '' or provide a declaration of 'strcmp' /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:2418, 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:584:66: note: expected 'const char * const*' but argument is of type 'char **' 584 | 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: note: include '' or provide a declaration of 'memset' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:721:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] /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:35: 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' [-Wbuiltin-declaration-mismatch] 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:35: 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: note: include '' or provide a declaration of 'memcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixTcp.c:1191:5: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] /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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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:20:1: note: include '' or provide a declaration of 'strcmp' 19 | #include "generic/dpInt.h" +++ |+#include 20 | #include "generic/dpPort.h" /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c:78:9: 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:9: note: include '' or provide a declaration of 'memcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c:78:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c:78:9: note: include '' or provide a declaration of 'memcpy' /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:9: 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:9: note: include '' or provide a declaration of 'strcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c:114:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c:114:9: note: include '' or provide a declaration of 'strcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c:120:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 120 | strcpy(hostPtr, hEnt->h_name); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSock.c:120:9: 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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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 *)' from incompatible pointer type 'int (*)(void *, 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 *)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, 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:20: 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:13: 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:22: 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: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:378:22: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 378 | size_t len = strlen(argv[i]); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:378:22: note: include '' or provide a declaration of 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:380:13: 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:380:13: note: include '' or provide a declaration of 'strncmp' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:398:17: 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:398:17: note: include '' or provide a declaration of 'strcmp' /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: note: include '' or provide a declaration of 'memset' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixUdp.c:631:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] /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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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 *)' from incompatible pointer type 'int (*)(void *, 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 *)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, 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: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:111:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 111 | strcpy(devStr, ""); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:111:5: note: include '' or provide a declaration of 'strcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:114:19: 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:19: note: include '' or provide a declaration of 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:114:19: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:114:19: note: include '' or provide a declaration of 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:116:13: 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:13: note: include '' or provide a declaration of 'strncmp' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpSerial.c:116:41: 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:47: 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: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] 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:31: 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:2418, 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:693:65: note: expected 'char *' but argument is of type 'const char *' 693 | 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:351:18: note: include '' or provide a declaration of 'strcmp' /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:9: 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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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:2418, 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:693:65: note: expected 'char *' but argument is of type 'const char *' 693 | 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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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: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:155:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 155 | strcpy(ssPtr->deviceName, devStr); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSerial.c:155:5: note: include '' or provide a declaration of 'strcpy' /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:34: 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: note: include '' or provide a declaration of 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSerial.c:661:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] /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:13: 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:13: note: include '' or provide a declaration of 'strncmp' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpSerial.c:662:39: 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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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 *)' from incompatible pointer type 'int (*)(void *, 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 *)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, 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') /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEmail.c: In function 'CleanUpFiles': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEmail.c:1249:5: warning: ignoring return value of 'truncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1249 | truncate(seekFile, wtwtSeek); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEmail.c:1250:5: warning: ignoring return value of 'truncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1250 | truncate(spoolFile, wtwtSpool); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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:9: 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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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 *)' from incompatible pointer type 'int (*)(void *, 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 *)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, 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:22: 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: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:178:22: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 178 | size_t len = strlen(argv[i]); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:178:22: note: include '' or provide a declaration of 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:180:13: 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:180:13: note: include '' or provide a declaration of 'strncmp' /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: note: include '' or provide a declaration of 'memcpy' /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:436:17: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] /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' [-Wbuiltin-declaration-mismatch] 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:570:9: note: include '' or provide a declaration of 'strcmp' /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:53: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 745 | error = (data->outFilter) (optionValue, strlen(optionValue), NULL, | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpPlugF.c:745:53: 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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpFilters.c:1414:9: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1414 | memcpy(*outBuf, interp->result, needed); | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | 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:5:1: note: include '' or provide a declaration of 'isxdigit' 4 | #include +++ |+#include 5 | /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:1495:20: note: include '' or provide a declaration of 'isdigit' /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; | ^~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/generic/dpFilters.c:1498:26: note: include '' or provide a declaration of 'tolower' x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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 *)' from incompatible pointer type 'int (*)(void *, 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 *)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, 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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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 *)' from incompatible pointer type 'int (*)(void *, 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 *)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, 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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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 *)' from incompatible pointer type 'int (*)(void *, 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 *)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, char *, 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:22: 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: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:123:22: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 123 | size_t len = strlen(argv[i]); | ^~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:123:22: note: include '' or provide a declaration of 'strlen' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:125:13: 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:125:13: note: include '' or provide a declaration of 'strncmp' /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:2418, 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:584:66: note: expected 'const char * const*' but argument is of type 'char **' 584 | 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:36: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] 370 | &argc, &argv); | ^~~~~ | | | char *** /usr/include/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' 722 | CONST84 char ***argvPtr); | ^ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:372:30: 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:372:30: note: include '' or provide a declaration of 'strcmp' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:389:51: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] 389 | Tcl_Merge(argc-1, argv), -1); | ^~~~ | | | char ** /usr/include/tclDecls.h:584:66: note: expected 'const char * const*' but argument is of type 'char **' 584 | 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:27: 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: note: include '' or provide a declaration of 'memset' /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpUnixIpm.c:579:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] /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 -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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())) | ^~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEFilter.c:37:1: note: include '' or provide a declaration of 'tolower' 36 | #include "generic/dpInt.h" +++ |+#include 37 | /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEFilter.c: In function 'Demultiplex': /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEFilter.c:174:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 174 | fgets(stdinBuffer, ARBITRARY_LIMIT, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEFilter.c:184:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 184 | fgets(chanBuffer, ARBITRARY_LIMIT, fpChan); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEFilter.c:190:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 190 | fgets(chanBuffer, ARBITRARY_LIMIT, fpChan); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/tcl-dp-4.0b2/unix/dpEFilter.c:206:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 206 | fgets(buffer2, ARBITRARY_LIMIT, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-alt-linux-gcc -O -D_TCL80 -I/usr/include/tcl/generic -I/usr/src/RPM/BUILD/tcl-dp-4.0b2 -fPIC -fpermissive -Wdeclaration-missing-parameter-type -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Wint-conversion -Wreturn-mismatch -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.25368 + 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 + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + 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,gnuconfig) 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: (from :0) 056-debuginfo.brp: WARNING: 1 non-stripped binaries don't contain .debug sections making -debuginfo 056-debuginfo.brp: WARNING: package less relevant. An excerpt from the list of affected files follows: ./usr/lib64/tcl/libdp40.so 056-debuginfo.brp: WARNING: debuginfo without debug sources. 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) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/tcl-dp-buildroot Processing files: tcl-dp-4.0b2-alt6 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.34713 + 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.m1aZYg find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell,tcl) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jSVM4k find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,tcl) Provides: tcl(Debug), tcl(Debug)-1 = 1.0, tcl(Progress-Tcl), tcl(Progress-Tcl)-1 = 1.0, tcl(Progress-Tk), tcl(Progress-Tk)-1 = 1.0, tcl(Undo), tcl(Undo)-1 = 1.0, tcl(Wise), tcl(Wise)-1 = 1.0, tcl(dp), tcl(dp)-4 = 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.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(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.mitC9r Creating tcl-dp-debuginfo package Processing files: tcl-dp-debuginfo-4.0b2-alt6 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VC67Dr find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oFSkqm find-requires: running scripts (debuginfo) Requires: tcl-dp = 4.0b2-alt6, debug64(libc.so.6), 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-alt6.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/tcl-dp-debuginfo-4.0b2-alt6.x86_64.rpm (w2.lzdio) 1.56user 1.62system 0:07.43elapsed 42%CPU (0avgtext+0avgdata 35840maxresident)k 0inputs+0outputs (0major+272600minor)pagefaults 0swaps /.out/tcl-dp-4.0b2-alt6.x86_64.rpm: bad symbols in the license tag: , /.out/tcl-dp-debuginfo-4.0b2-alt6.x86_64.rpm: bad symbols in the license tag: , 3.83user 3.18system 0:18.05elapsed 38%CPU (0avgtext+0avgdata 134416maxresident)k 5232inputs+0outputs (0major+259788minor)pagefaults 0swaps