<86>Oct 28 08:43:42 userdel[2803356]: delete user 'rooter'
<86>Oct 28 08:43:42 userdel[2803356]: removed group 'rooter' owned by 'rooter'
<86>Oct 28 08:43:42 userdel[2803356]: removed shadow group 'rooter' owned by 'rooter'
<86>Oct 28 08:43:42 groupadd[2803379]: group added to /etc/group: name=rooter, GID=1796
<86>Oct 28 08:43:42 groupadd[2803379]: group added to /etc/gshadow: name=rooter
<86>Oct 28 08:43:42 groupadd[2803379]: new group: name=rooter, GID=1796
<86>Oct 28 08:43:42 useradd[2803428]: new user: name=rooter, UID=1796, GID=1796, home=/root, shell=/bin/bash, from=none
<86>Oct 28 08:43:42 userdel[2803476]: delete user 'builder'
<86>Oct 28 08:43:42 userdel[2803476]: removed group 'builder' owned by 'builder'
<86>Oct 28 08:43:42 userdel[2803476]: removed shadow group 'builder' owned by 'builder'
<86>Oct 28 08:43:42 groupadd[2803487]: group added to /etc/group: name=builder, GID=1797
<86>Oct 28 08:43:42 groupadd[2803487]: group added to /etc/gshadow: name=builder
<86>Oct 28 08:43:42 groupadd[2803487]: new group: name=builder, GID=1797
<86>Oct 28 08:43:42 useradd[2803526]: new user: name=builder, UID=1797, GID=1797, home=/usr/src, shell=/bin/bash, from=none
warning: Macro %_tcllibdir not found
warning: Macro %_tcllibdir not found
warning: Macro %_tcllibdir not found
<13>Oct 28 08:43:45 rpmi: rpm-build-tcl-0.6.2-alt1 sisyphus+299320.100.1.1 1651401392 installed
<13>Oct 28 08:43:45 rpmi: libtcl-8.6.13-alt1 sisyphus+310696.100.1.1 1669548256 installed
<13>Oct 28 08:43:45 rpmi: tcl-8.6.13-alt1 sisyphus+310696.100.1.1 1669548256 installed
<13>Oct 28 08:43:45 rpmi: libp11-kit-1:0.24.1-alt2 sisyphus+324666.100.1.1 1689083450 installed
<13>Oct 28 08:43:45 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed
<13>Oct 28 08:43:45 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Oct 28 08:43:45 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Oct 28 08:43:45 rpmi: ca-certificates-2023.07.31-alt1 sisyphus+326137.200.1.1 1690809798 installed
<13>Oct 28 08:43:45 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed
<13>Oct 28 08:43:45 rpmi: p11-kit-trust-1:0.24.1-alt2 sisyphus+324666.100.1.1 1689083450 installed
<13>Oct 28 08:43:45 rpmi: libcrypto3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed
<13>Oct 28 08:43:45 rpmi: libssl3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed
<13>Oct 28 08:43:45 rpmi: libssl-devel-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed
<13>Oct 28 08:43:45 rpmi: tcl-devel-8.6.13-alt1 sisyphus+310696.100.1.1 1669548256 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/tcl-tls-1.7.22-alt1.nosrc.rpm (w1.gzdio)
Installing tcl-tls-1.7.22-alt1.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.126
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf tcltls-1.7.22
+ echo 'Source #0 (tcltls-1.7.22.tar):'
Source #0 (tcltls-1.7.22.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/tcltls-1.7.22.tar
+ cd tcltls-1.7.22
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #1 (0001-DEBIAN-hostname-tests.patch):'
Patch #1 (0001-DEBIAN-hostname-tests.patch):
+ /usr/bin/patch -p2
patching file tests/tlsIO.test
+ echo 'Patch #2 (0002-ALT-TEA.patch):'
Patch #2 (0002-ALT-TEA.patch):
+ /usr/bin/patch -p2
patching file Makefile.in
Hunk #1 succeeded at 62 (offset 2 lines).
patching file aclocal.m4
patching file configure
+ echo 'Patch #3 (0003-ALT-tests-auto_path.patch):'
Patch #3 (0003-ALT-tests-auto_path.patch):
+ /usr/bin/patch -p2
patching file tests/all.tcl
+ echo 'Patch #4 (0004-ALT-disable-cipher-tests.patch):'
Patch #4 (0004-ALT-disable-cipher-tests.patch):
+ /usr/bin/patch -p2
patching file tests/ciphers.test
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.126
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd tcltls-1.7.22
+ autoreconf -fisv
autoreconf-default: export WARNINGS=
autoreconf-default: Entering directory '.'
autoreconf-default: configure.ac: not using Gettext
autoreconf-default: configure.ac: not using aclocal
autoreconf-default: configure.ac: tracing
autoreconf-default: configure.ac: not using Libtool
autoreconf-default: configure.ac: not using Intltool
autoreconf-default: configure.ac: not using Gtkdoc
autoreconf-default: running: /usr/bin/autoconf-2.71 --force
configure.ac:8: warning: The macro `AC_GNU_SOURCE' is obsolete.
configure.ac:8: You should run autoupdate.
./lib/autoconf/specific.m4:298: AC_GNU_SOURCE is expanded from...
configure.ac:8: the top level
configure.ac:21: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:21: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
aclocal.m4:208: DC_GET_SHOBJFLAGS is expanded from...
configure.ac:21: the top level
configure.ac:21: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:21: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
aclocal.m4:208: DC_GET_SHOBJFLAGS is expanded from...
configure.ac:21: the top level
configure.ac:21: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:21: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
aclocal.m4:208: DC_GET_SHOBJFLAGS is expanded from...
configure.ac:21: the top level
configure.ac:21: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:21: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
aclocal.m4:208: DC_GET_SHOBJFLAGS is expanded from...
configure.ac:21: the top level
configure.ac:21: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:21: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
aclocal.m4:208: DC_GET_SHOBJFLAGS is expanded from...
configure.ac:21: the top level
configure.ac:21: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:21: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
aclocal.m4:208: DC_GET_SHOBJFLAGS is expanded from...
configure.ac:21: the top level
configure.ac:21: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:21: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
aclocal.m4:208: DC_GET_SHOBJFLAGS is expanded from...
configure.ac:21: the top level
configure.ac:21: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:21: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
aclocal.m4:208: DC_GET_SHOBJFLAGS is expanded from...
configure.ac:21: the top level
configure.ac:21: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:21: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from...
aclocal.m4:208: DC_GET_SHOBJFLAGS is expanded from...
configure.ac:21: the top level
configure.ac:249: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:249: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:481: DC_SETVERSIONSCRIPT is expanded from...
aclocal.m4:472: DC_SETUP_STABLE_API is expanded from...
configure.ac:249: the top level
configure.ac:256: warning: AC_OUTPUT should be used without arguments.
configure.ac:256: You should run autoupdate.
autoreconf-default: configure.ac: not using Autoheader
autoreconf-default: configure.ac: not using Automake
autoreconf-default: linking ./install-sh to /usr/share/autoconf-2.71/build-aux/install-sh
autoreconf-default: linking ./config.sub to /usr/share/autoconf-2.71/build-aux/config.sub
autoreconf-default: linking ./config.guess to /usr/share/autoconf-2.71/build-aux/config.guess
autoreconf-default: Leaving directory '.'
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=' -march=i586 -mtune=generic'
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./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 ./configure
+ configure_runstatedir_flags=--runstatedir=/var/run
+ ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext --disable-rpath --enable-hardening --with-openssl-dir=/usr
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext
checking for i586-alt-linux-gcc... i586-alt-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether i586-alt-linux-gcc accepts -g... yes
checking for i586-alt-linux-gcc option to enable C11 features... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /bin/install -c
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking build system type... i586-alt-linux-gnu
checking host system type... i586-alt-linux-gnu
checking host operating system... linux-gnu
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for runnable tclsh... /usr/bin/tclsh
checking for path to tclConfig.sh... /usr/lib
checking for working tclConfig.sh... found
checking how to create shared objects... -DPIC -fPIC -shared
checking whether C compiler accepts -Wno-unused-value... yes
checking whether C compiler accepts -Wno-unused-parameter... yes
checking whether C compiler accepts -Wno-deprecated-declarations... yes
checking for i586-alt-linux-pkg-config... no
checking for pkg-config... pkg-config
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -W... yes
checking whether C compiler accepts -Wno-self-assign... yes
checking whether C compiler accepts -fstack-protector-all... yes
checking whether C compiler accepts -fno-strict-overflow... yes
checking which TLS library to use... openssl
checking if a basic OpenSSL program works... yes
checking for TLS_method... yes
checking for SSLv2_method... no
checking for SSLv3_method... no
checking for TLSv1_method... yes
checking for TLSv1_1_method... yes
checking for TLSv1_2_method... yes
checking for tlsv1.3 protocol support... yes
checking for SSL_set_tlsext_host_name... yes
checking how to use openssl... -I/usr/include -I/usr/include -L/usr/lib -lssl -lcrypto
checking for i586-alt-linux-objcopy... no
checking for i586-alt-linux-gobjcopy... no
checking for objcopy... objcopy
checking for i586-alt-linux-strip... no
checking for i586-alt-linux-gstrip... no
checking for strip... strip
checking for how to set version script... -Wl,--version-script,./tcltls.vers
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pkgIndex.tcl
config.status: creating tcltls.syms
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext
+ make
make: Entering directory '/usr/src/RPM/BUILD/tcltls-1.7.22'
od -A n -v -t xC < './tls.tcl' > tls.tcl.h.new.1
sed 's@[^0-9A-Fa-f]@@g;s@..@0x&, @g' < tls.tcl.h.new.1 > tls.tcl.h.new.2
rm -f tls.tcl.h.new.1
mv tls.tcl.h.new.2 tls.tcl.h
sh ./gen_dh_params  > dh_params.h.new
*****************************
** Generating DH Primes.   **
** This will take a while. **
*****************************
./gen_dh_params: line 38: curl: command not found
./gen_dh_params: line 39: wget: command not found
mv dh_params.h.new dh_params.h
i586-alt-linux-gcc -I/usr/include   -I/usr/include -I. -I. -DPACKAGE_NAME=\"tcltls\" -DPACKAGE_TARNAME=\"tcltls\" -DPACKAGE_VERSION=\"1.7.22\" -DPACKAGE_STRING=\"tcltls\ 1.7.22\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DMODULE_SCOPE=static -DUSE_TCL_STUBS=1 -D_FORTIFY_SOURCE=2 -DHAVE_TLS_METHOD=1 -DNO_SSL2=1 -DNO_SSL3=1 '-DTCL_THREADS=1' '-DTCL_CFGVAL_ENCODING="iso8859-1"' '-DTCL_SHLIB_EXT=".so"' '-DTCL_TOMMATH=1' '-DTCL_WIDE_INT_TYPE=long long' '-DTCL_UNLOAD_DLLS=1'  -I/usr/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic  -Wno-unused-value -Wno-unused-parameter -Wno-deprecated-declarations -Wall -W -Wno-self-assign -fstack-protector-all -fno-strict-overflow -I/usr/include -fPIC -o tls.o -c ./tls.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
./tls.c: In function 'StatusObjCmd':
./tls.c:1423:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1423 |             if (!strcmp (Tcl_GetString (objv[1]), "-local")) {
      |                ^
./tls.c:1428:9: note: here
 1428 |         default:
      |         ^~~~~~~
At top level:
cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics
i586-alt-linux-gcc -I/usr/include   -I/usr/include -I. -I. -DPACKAGE_NAME=\"tcltls\" -DPACKAGE_TARNAME=\"tcltls\" -DPACKAGE_VERSION=\"1.7.22\" -DPACKAGE_STRING=\"tcltls\ 1.7.22\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DMODULE_SCOPE=static -DUSE_TCL_STUBS=1 -D_FORTIFY_SOURCE=2 -DHAVE_TLS_METHOD=1 -DNO_SSL2=1 -DNO_SSL3=1 '-DTCL_THREADS=1' '-DTCL_CFGVAL_ENCODING="iso8859-1"' '-DTCL_SHLIB_EXT=".so"' '-DTCL_TOMMATH=1' '-DTCL_WIDE_INT_TYPE=long long' '-DTCL_UNLOAD_DLLS=1'  -I/usr/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic  -Wno-unused-value -Wno-unused-parameter -Wno-deprecated-declarations -Wall -W -Wno-self-assign -fstack-protector-all -fno-strict-overflow -I/usr/include -fPIC -o tlsBIO.o -c ./tlsBIO.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
./tlsBIO.c: In function 'BioCtrl':
./tlsBIO.c:234:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
  234 |                         num = 0;
      |                         ~~~~^~~
./tlsBIO.c:235:17: note: here
  235 |                 case BIO_C_FILE_SEEK:
      |                 ^~~~
In file included from ./tlsBIO.c:7:
./tlsInt.h:105:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  105 | #define dprintf(...) if (0) { fprintf(stderr, __VA_ARGS__); }
      |                         ^
./tlsBIO.c:236:25: note: in expansion of macro 'dprintf'
  236 |                         dprintf("Got BIO_C_FILE_SEEK");
      |                         ^~~~~~~
./tlsBIO.c:237:17: note: here
  237 |                 case BIO_C_FILE_TELL:
      |                 ^~~~
At top level:
cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics
i586-alt-linux-gcc -I/usr/include   -I/usr/include -I. -I. -DPACKAGE_NAME=\"tcltls\" -DPACKAGE_TARNAME=\"tcltls\" -DPACKAGE_VERSION=\"1.7.22\" -DPACKAGE_STRING=\"tcltls\ 1.7.22\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DMODULE_SCOPE=static -DUSE_TCL_STUBS=1 -D_FORTIFY_SOURCE=2 -DHAVE_TLS_METHOD=1 -DNO_SSL2=1 -DNO_SSL3=1 '-DTCL_THREADS=1' '-DTCL_CFGVAL_ENCODING="iso8859-1"' '-DTCL_SHLIB_EXT=".so"' '-DTCL_TOMMATH=1' '-DTCL_WIDE_INT_TYPE=long long' '-DTCL_UNLOAD_DLLS=1'  -I/usr/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic  -Wno-unused-value -Wno-unused-parameter -Wno-deprecated-declarations -Wall -W -Wno-self-assign -fstack-protector-all -fno-strict-overflow -I/usr/include -fPIC -o tlsIO.o -c ./tlsIO.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics
i586-alt-linux-gcc -I/usr/include   -I/usr/include -I. -I. -DPACKAGE_NAME=\"tcltls\" -DPACKAGE_TARNAME=\"tcltls\" -DPACKAGE_VERSION=\"1.7.22\" -DPACKAGE_STRING=\"tcltls\ 1.7.22\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DMODULE_SCOPE=static -DUSE_TCL_STUBS=1 -D_FORTIFY_SOURCE=2 -DHAVE_TLS_METHOD=1 -DNO_SSL2=1 -DNO_SSL3=1 '-DTCL_THREADS=1' '-DTCL_CFGVAL_ENCODING="iso8859-1"' '-DTCL_SHLIB_EXT=".so"' '-DTCL_TOMMATH=1' '-DTCL_WIDE_INT_TYPE=long long' '-DTCL_UNLOAD_DLLS=1'  -I/usr/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic  -Wno-unused-value -Wno-unused-parameter -Wno-deprecated-declarations -Wall -W -Wno-self-assign -fstack-protector-all -fno-strict-overflow -I/usr/include -fPIC -o tlsX509.o -c ./tlsX509.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics
i586-alt-linux-gcc -I/usr/include   -I/usr/include -I. -I. -DPACKAGE_NAME=\"tcltls\" -DPACKAGE_TARNAME=\"tcltls\" -DPACKAGE_VERSION=\"1.7.22\" -DPACKAGE_STRING=\"tcltls\ 1.7.22\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DMODULE_SCOPE=static -DUSE_TCL_STUBS=1 -D_FORTIFY_SOURCE=2 -DHAVE_TLS_METHOD=1 -DNO_SSL2=1 -DNO_SSL3=1 '-DTCL_THREADS=1' '-DTCL_CFGVAL_ENCODING="iso8859-1"' '-DTCL_SHLIB_EXT=".so"' '-DTCL_TOMMATH=1' '-DTCL_WIDE_INT_TYPE=long long' '-DTCL_UNLOAD_DLLS=1'  -I/usr/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic  -Wno-unused-value -Wno-unused-parameter -Wno-deprecated-declarations -Wall -W -Wno-self-assign -fstack-protector-all -fno-strict-overflow -I/usr/include -fPIC -shared -Wl,--version-script,./tcltls.vers -o shared-tcltls.so tls.o tlsBIO.o tlsIO.o tlsX509.o -L/usr/lib -lssl -lcrypto  -L/usr/lib -ltclstub8.6 -L/usr/lib -lssl -lcrypto
objcopy --keep-global-symbols=tcltls.syms shared-tcltls.so
objcopy --discard-all shared-tcltls.so
mv shared-tcltls.so tcltls.so
make: Leaving directory '/usr/src/RPM/BUILD/tcltls-1.7.22'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.6201
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/tcl-tls-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/tcl-tls-buildroot
+ PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
+ cd tcltls-1.7.22
+ /usr/bin/make 'INSTALL=/usr/libexec/rpm-build/install -p' prefix=/usr/src/tmp/tcl-tls-buildroot/usr exec_prefix=/usr/src/tmp/tcl-tls-buildroot/usr bindir=/usr/src/tmp/tcl-tls-buildroot/usr/bin sbindir=/usr/src/tmp/tcl-tls-buildroot/usr/sbin sysconfdir=/usr/src/tmp/tcl-tls-buildroot/etc datadir=/usr/src/tmp/tcl-tls-buildroot/usr/share includedir=/usr/src/tmp/tcl-tls-buildroot/usr/include libdir=/usr/src/tmp/tcl-tls-buildroot/usr/lib libexecdir=/usr/src/tmp/tcl-tls-buildroot/usr/lib localstatedir=/usr/src/tmp/tcl-tls-buildroot/var/lib runstatedir=/usr/src/tmp/tcl-tls-buildroot/var/run sharedstatedir=/usr/src/tmp/tcl-tls-buildroot/var/lib mandir=/usr/src/tmp/tcl-tls-buildroot/usr/share/man infodir=/usr/src/tmp/tcl-tls-buildroot/usr/share/info install
make: Entering directory '/usr/src/RPM/BUILD/tcltls-1.7.22'
i586-alt-linux-gcc -I/usr/include   -I/usr/include -I. -I. -DPACKAGE_NAME=\"tcltls\" -DPACKAGE_TARNAME=\"tcltls\" -DPACKAGE_VERSION=\"1.7.22\" -DPACKAGE_STRING=\"tcltls\ 1.7.22\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DMODULE_SCOPE=static -DUSE_TCL_STUBS=1 -D_FORTIFY_SOURCE=2 -DHAVE_TLS_METHOD=1 -DNO_SSL2=1 -DNO_SSL3=1 '-DTCL_THREADS=1' '-DTCL_CFGVAL_ENCODING="iso8859-1"' '-DTCL_SHLIB_EXT=".so"' '-DTCL_TOMMATH=1' '-DTCL_WIDE_INT_TYPE=long long' '-DTCL_UNLOAD_DLLS=1'  -I/usr/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic  -Wno-unused-value -Wno-unused-parameter -Wno-deprecated-declarations -Wall -W -Wno-self-assign -fstack-protector-all -fno-strict-overflow -I/usr/include -fPIC -shared -Wl,--version-script,./tcltls.vers -o shared-tcltls.so tls.o tlsBIO.o tlsIO.o tlsX509.o -L/usr/lib -lssl -lcrypto  -L/usr/lib -ltclstub8.6 -L/usr/lib -lssl -lcrypto
objcopy --keep-global-symbols=tcltls.syms shared-tcltls.so
objcopy --discard-all shared-tcltls.so
mv shared-tcltls.so tcltls.so
/usr/libexec/rpm-build/install -p -d '/usr/src/tmp/tcl-tls-buildroot/usr/lib/tcl/tcltls1.7.22'
/usr/libexec/rpm-build/install -p -d '/usr/src/tmp/tcl-tls-buildroot/usr/lib/tcl/tcltls1.7.22'
/usr/libexec/rpm-build/install -p tcltls.so '/usr/src/tmp/tcl-tls-buildroot/usr/lib/tcl/tcltls1.7.22'
/usr/libexec/rpm-build/install -p -m 644    pkgIndex.tcl '/usr/src/tmp/tcl-tls-buildroot/usr/lib/tcl/tcltls1.7.22'
make: Leaving directory '/usr/src/RPM/BUILD/tcltls-1.7.22'
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/tcl-tls-buildroot (auto)
mode of './usr/lib/tcl/tcltls1.7.22/tcltls.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
Verifying and fixing files in /usr/src/tmp/tcl-tls-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig)
Checking contents of files in /usr/src/tmp/tcl-tls-buildroot/ (default)
Compressing files in /usr/src/tmp/tcl-tls-buildroot (auto)
Adjusting library links in /usr/src/tmp/tcl-tls-buildroot
./usr/lib: (from <cmdline>: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/lib/tcl/tcltls1.7.22/tcltls.so
056-debuginfo.brp: WARNING: debuginfo without debug sources.
Verifying ELF objects in /usr/src/tmp/tcl-tls-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.81999
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd tcltls-1.7.22
+ make test AUTO_PATH=/usr/src/tmp/tcl-tls-buildroot/usr/lib/tcl/tcltls1.7.22
make: Entering directory '/usr/src/RPM/BUILD/tcltls-1.7.22'
i586-alt-linux-gcc -I/usr/include   -I/usr/include -I. -I. -DPACKAGE_NAME=\"tcltls\" -DPACKAGE_TARNAME=\"tcltls\" -DPACKAGE_VERSION=\"1.7.22\" -DPACKAGE_STRING=\"tcltls\ 1.7.22\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DMODULE_SCOPE=static -DUSE_TCL_STUBS=1 -D_FORTIFY_SOURCE=2 -DHAVE_TLS_METHOD=1 -DNO_SSL2=1 -DNO_SSL3=1 '-DTCL_THREADS=1' '-DTCL_CFGVAL_ENCODING="iso8859-1"' '-DTCL_SHLIB_EXT=".so"' '-DTCL_TOMMATH=1' '-DTCL_WIDE_INT_TYPE=long long' '-DTCL_UNLOAD_DLLS=1'  -I/usr/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic  -Wno-unused-value -Wno-unused-parameter -Wno-deprecated-declarations -Wall -W -Wno-self-assign -fstack-protector-all -fno-strict-overflow -I/usr/include -fPIC -shared -Wl,--version-script,./tcltls.vers -o shared-tcltls.so tls.o tlsBIO.o tlsIO.o tlsX509.o -L/usr/lib -lssl -lcrypto  -L/usr/lib -ltclstub8.6 -L/usr/lib -lssl -lcrypto
objcopy --keep-global-symbols=tcltls.syms shared-tcltls.so
objcopy --discard-all shared-tcltls.so
mv shared-tcltls.so tcltls.so
/usr/bin/tclsh ./tests/all.tcl  -load "lappend auto_path /usr/src/RPM/BUILD/tcltls-1.7.22"
Tests running in interp:  /usr/bin/tclsh
Tests running in working dir:  /usr/src/RPM/BUILD/tcltls-1.7.22/tests
Only running tests that match:  *
Skipping test files that match:  l.*.test
Only sourcing test files that match:  *.test
Tests began at Sat Oct 28 08:43:52 +0000 2023
ciphers.test
tlsIO.test
SSL channel "sock577ba198": error: unexpected eof while reading


==== tlsIO-3.2 server with several clients FAILED
==== Contents of test case:

    removeFile script
    set f [open script w]
    puts $f [list set auto_path $auto_path]
    puts $f {
	package require tls
	set t1 [after 30000 "set x timed_out"]
	set t2 [after 31000 "set x timed_out"]
	set t3 [after 32000 "set x timed_out"]
	set counter 0
    }
    puts $f "set s \[tls::socket -server accept -certfile $serverCert -cafile $caCert -keyfile $serverKey 8828 \]"
    puts $f {
	proc accept {s a p} {
	    fileevent $s readable [list echo $s]
	    fconfigure $s -buffering line
	}
	proc echo {s} {
	     global x
             set l [gets $s]
             if {[eof $s]} {
                 close $s
                 set x done
             } else {
                 puts $s $l
             }
	}
	puts ready
	vwait x
	after cancel $t1
	vwait x
	after cancel $t2
	vwait x
	after cancel $t3
	close $s
	puts $x
    }
    close $f
    set f [open "|[list $::tcltest::tcltest script] 2> /dev/null" r+]
    set x [gets $f]
    set s1 [tls::socket  -certfile $clientCert -cafile $caCert -keyfile $clientKey  127.0.0.1 8828]
    fconfigure $s1 -buffering line
    set s2 [tls::socket  -certfile $clientCert -cafile $caCert -keyfile $clientKey  127.0.0.1 8828]
    fconfigure $s2 -buffering line
    set s3 [tls::socket  -certfile $clientCert -cafile $caCert -keyfile $clientKey  127.0.0.1 8828]
    fconfigure $s3 -buffering line
    for {set i 0} {$i < 100} {incr i} {
	puts $s1 hello,tlsIO-3.2,s1
	gets $s1
	puts $s2 hello,tlsIO-3.2,s2
	gets $s2
	puts $s3 hello,tlsIO-3.2,s3
	gets $s3
    }
    close $s1
    close $s2
    close $s3
    lappend x [gets $f]
    close $f
    set x

---- Result was:
ready timed_out
---- Result should have been (exact matching):
ready done
==== tlsIO-3.2 FAILED

SSL channel "sock577ba298": error: 
error reading "sock577ba298": software caused connection abort
    while executing
"gets $s"
    (procedure "echo" line 3)
    invoked from within
"echo sock577ba298"
SSL channel "sock577ba598": error: 
error reading "sock577ba598": software caused connection abort
    while executing
"gets $s"
    (procedure "echo" line 3)
    invoked from within
"echo sock577ba598"
SSL channel "sock5773ddc8": error: 
error reading "sock5773ddc8": software caused connection abort
    while executing
"gets $s"
    (procedure "echo" line 3)
    invoked from within
"echo sock5773ddc8"


==== tlsIO-4.1 server with several clients FAILED
==== Contents of test case:

    # have seen intermittent hangs on Windows
    removeFile script
    set f [open script w]
    puts $f [list set auto_path $auto_path]
    puts $f {
	package require tls
	gets stdin
    }
    puts $f "set s \[tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8828 \]"
    puts $f {
	fconfigure $s -buffering line
	for {set i 0} {$i < 100} {incr i} {
	    puts $s hello
	    gets $s
	}
	close $s
	puts bye
	gets stdin
    }
    close $f
    set p1 [open "|[list $::tcltest::tcltest script] 2> /dev/null" r+]
    fconfigure $p1 -buffering line
    set p2 [open "|[list $::tcltest::tcltest script] 2> /dev/null" r+]
    fconfigure $p2 -buffering line
    set p3 [open "|[list $::tcltest::tcltest script] 2> /dev/null" r+]
    fconfigure $p3 -buffering line
    proc accept {s a p} {
	fconfigure $s -buffering line
	fileevent $s readable [list echo $s]
    }
    proc echo {s} {
	global x
        set l [gets $s]
        if {[eof $s]} {
            close $s
            set x done
        } else {
            puts $s $l
        }
    }
    set t1 [after 30000 "set x timed_out"]
    set t2 [after 31000 "set x timed_out"]
    set t3 [after 32000 "set x timed_out"]
    set s [tls::socket  -certfile $serverCert -cafile $caCert -keyfile $serverKey  -server accept 8828]
    puts $p1 open
    puts $p2 open
    puts $p3 open
    vwait x
    vwait x
    vwait x
    after cancel $t1
    after cancel $t2
    after cancel $t3
    close $s
    set l ""
    lappend l [list p1 [gets $p1] $x]
    lappend l [list p2 [gets $p2] $x]
    lappend l [list p3 [gets $p3] $x]
    puts $p1 bye
    puts $p2 bye
    puts $p3 bye
    close $p1
    close $p2
    close $p3
    set l

---- Result was:
{p1 bye timed_out} {p2 bye timed_out} {p3 bye timed_out}
---- Result should have been (exact matching):
{p1 bye done} {p2 bye done} {p3 bye done}
==== tlsIO-4.1 FAILED



==== tlsIO-8.1 testing -async flag on sockets FAILED
==== Contents of test case:

    # NOTE: This test may fail on some Solaris 2.4 systems.
    # See notes in Tcl's socket.test.
    set s [tls::socket  -certfile $serverCert -cafile $caCert -keyfile $serverKey  -server accept 8830]
    proc accept {s a p} {
	global x
	# when doing an in-process client/server test, both sides need
	# to be non-blocking for the TLS handshake.  Also make sure
	# to return the channel to line buffering mode.
	fconfigure $s -blocking 0 -buffering line
	puts $s bye
	# Only OpenSSL 0.9.5a on Windows seems to need the after (delayed)
	# close, but it works just the same for all others. -hobbs
	after 500 close $s
	set x done
    }
    set s1 [tls::socket  -certfile $clientCert -cafile $caCert -keyfile $clientKey  -async localhost 8830]
    # when doing an in-process client/server test, both sides need
    # to be non-blocking for the TLS handshake  Also make sure to
    # return the channel to line buffering mode (TLS sets it to 'none').
    fconfigure $s1 -blocking 0 -buffering line
    vwait x
    # TLS handshaking needs one byte from the client...
    puts $s1 a
    # need update to complete TLS handshake in-process
    update
    set z [gets $s1]
    close $s
    close $s1
    set z

---- Result was:

---- Result should have been (exact matching):
bye
==== tlsIO-8.1 FAILED

SSL channel "sock577ba518": error: 
error reading "sock577ba518": software caused connection abort
    while executing
"read $s 1"
    (procedure "readlittle" line 3)
    invoked from within
"readlittle sock577ba518"
SSL channel "sock577bae18": error: 
error reading "sock577bae18": software caused connection abort
    while executing
"read $s"
    (procedure "readit" line 3)
    invoked from within
"readit sock577bae18"


==== tlsIO-9.2 testing async write, fileevents, flush on close FAILED
==== Contents of test case:

    set firstblock [string repeat a 31]
    set secondblock [string repeat b 65535]
    proc accept {s a p} {
	fconfigure $s -blocking 0
	fileevent $s readable [list do_handshake $s readable readable  -translation lf -buffersize 16384 -buffering line]
    }
    proc readable {s} {
	set l [gets $s]
	dputs "got \"[string replace $l 10 end-3 ...]\"  ([string length $l]) from $s"
	fileevent $s readable {}
	after 1000 respond $s
    }
    proc respond {s} {
	global firstblock
	dputs "send \"[string replace $firstblock 10 end-3 ...]\"  ([string length $firstblock]) down $s"
	puts -nonewline $s $firstblock
	after 1000 writedata $s
    }
    proc writedata {s} {
	global secondblock
	dputs "send \"[string replace $secondblock 10 end-3 ...]\"  ([string length $secondblock]) down $s"
	puts -nonewline $s $secondblock
	close $s
    }
    set s [tls::socket  -certfile $serverCert -cafile $caCert -keyfile $serverKey  -server accept 8832]
    set c [tls::socket  -certfile $clientCert -cafile $caCert -keyfile $clientKey  localhost 8832]
    fconfigure $c -blocking 0 -trans lf -buffering line
    set count 0
    puts $c hello
    proc readit {s} {
	global count done
	set data [read $s]
	dputs "read \"[string replace $data 10 end-3 ...]\"  ([string length $data]) from $s"
	incr count [string length $data]
	if {[eof $s]} {
	    close $s
	    set done 1
	}
    }
    fileevent $c readable "readit $c"
    set done 0
    set timer [after 10000 "set done timed_out"]
    vwait done
    after cancel $timer
    close $s
    list $count $done

---- Result was:
65566 timed_out
---- Result should have been (exact matching):
65566 1
==== tlsIO-9.2 FAILED



==== tlsIO-12.2 testing inheritance of client sockets FAILED
==== Contents of test case:

    makeFile {} script1
    makeFile {} script2

    # Script1 is just a 10 second delay.  If the server socket
    # is inherited, it will be held open for 10 seconds

    set f [open script1 w]
    puts $f {
	after 10000 exit
	vwait forever
    }
    close $f

    # Script2 opens the client socket and writes to it.  It then
    # launches script1 and exits.  If the child process inherited the
    # client socket, the socket will still be open.

    set f [open script2 w]
    puts $f [list set tclsh $::tcltest::tcltest]
    puts $f [list set auto_path $auto_path]
    puts $f {
	package require tls
    }
    puts $f "set f \[tls::socket -certfile $clientCert -cafile $caCert  -keyfile $clientKey 127.0.0.1 8829\]"
    puts $f {
	exec $tclsh script1 &
	puts $f testing
	flush $f
	after 1000 exit
	vwait forever
    }
    close $f

    # Create the server socket

    set server [tls::socket  -certfile $serverCert -cafile $caCert -keyfile $serverKey  -server accept 8829]
    proc accept { file host port } {
	# When the client connects, establish the read handler
	global server
	close $server
	fconfigure $file -blocking 0
	fileevent $file readable [list do_handshake $file readable  [list getdata client] -buffering line]
	return
    }

    # If the socket doesn't hit end-of-file in 5 seconds, the
    # script1 process must have inherited the client.

    set failed 0
    after 5000 [list set failed 1]

    # Launch the script2 process

    exec $::tcltest::tcltest script2 &

    vwait x
    if {!$failed} {
	vwait failed
    }
    set x

---- Result was:
read failed, error was error reading "sock577ba198": software caused connection abort
---- Result should have been (exact matching):
client socket was not inherited
==== tlsIO-12.2 FAILED



==== tlsIO-12.3 testing inheritance of accepted sockets FAILED
==== Contents of test case:

    makeFile {} script1
    makeFile {} script2

    set f [open script1 w]
    puts $f {
	after 10000 exit
	vwait forever
    }
    close $f

    set f [open script2 w]
    puts $f [list set tclsh $::tcltest::tcltest]
    puts $f [list set auto_path $auto_path]
    puts $f {
	package require tls
    }
    puts $f "set f \[tls::socket -server accept  -certfile $serverCert -cafile $caCert -keyfile $serverKey 8930\]"
    puts $f {
	proc accept { file host port } {
	    global tclsh
	    fconfigure $file -buffering line
	    puts $file {test data on socket}
	    exec $tclsh script1 &
	    after 1000 exit
	}
	vwait forever
    }
    close $f

    # Launch the script2 process and connect to it.  See how long
    # the socket stays open

    exec $::tcltest::tcltest script2 &

    after 2000 set ok_to_proceed 1
    vwait ok_to_proceed

    set f [tls::socket  -certfile $clientCert -cafile $caCert -keyfile $clientKey  127.0.0.1 8930]
    fconfigure $f -buffering full -blocking 0
    # We need to put a byte into the read queue, otherwise the
    # TLS handshake doesn't finish
    puts $f a; flush $f
    fileevent $f readable [list getdata accepted $f]

    # If the socket is still open after 5 seconds, the script1 process
    # must have inherited the accepted socket.

    set failed 0
    after 5000 set failed 1

    vwait x
    set x

---- Result was:
read failed, error was error reading "sock577bb398": software caused connection abort
---- Result should have been (exact matching):
accepted socket was not inherited
==== tlsIO-12.3 FAILED



==== tls-bug58-1.0 test protocol negotiation failure FAILED
==== Contents of test case:

    # Following code is based on what was reported in bug #58. Prior
    # to fix the program would crash with a segfault.
    proc Accept {sock args} {
        fconfigure $sock -blocking 0;
        fileevent $sock readable [list Handshake $sock]
    } 
    proc Handshake {sock} {
        set ::done HAND
        catch {tls::handshake $sock} msg
        set ::done $msg
    } 
    # NOTE: when doing an in-process client/server test, both sides need
    # to be non-blocking for the TLS handshake

    # Server - Only accept TLS 1.2
    set s [tls::socket  -certfile $serverCert -cafile $caCert -keyfile $serverKey  -request 0 -require 0 -ssl2 0 -ssl3 0 -tls1 0 -tls1.1 0 -tls1.2 1  -server Accept 8831]
    # Client - Only propose TLS1.0
    set c [tls::socket -async  -cafile $caCert  -request 0 -require 0 -ssl2 0 -ssl3 0 -tls1 1 -tls1.1 0 -tls1.2 0  localhost 8831]
    fconfigure $c -blocking 0
    puts $c a ; flush $c
    after 5000 [list set ::done timeout]
    vwait ::done
    switch -exact -- $::done {
        "handshake failed: wrong ssl version" -
        "handshake failed: unsupported protocol" {
            set ::done "handshake failed: wrong version number"
        }
    }
    set ::done

---- Result was:
handshake failed: bad record type
---- Result should have been (exact matching):
handshake failed: wrong version number
==== tls-bug58-1.0 FAILED


Tests ended at Sat Oct 28 08:45:54 +0000 2023
all.tcl:	Total	69	Passed	43	Skipped	19	Failed	7
Sourced 0 Test Files.
Files with failing tests: tlsIO.test
Number of tests skipped for each constraint:
	12	doTestsWithRemoteServer
	2	openssl
	2	rsabsafe
	1	testthread
	2	unexplainedFailure
make: Leaving directory '/usr/src/RPM/BUILD/tcltls-1.7.22'
+ exit 0
Processing files: tcl-tls-1.7.22-alt1
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.32605
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd tcltls-1.7.22
+ DOCDIR=/usr/src/tmp/tcl-tls-buildroot/usr/share/doc/tcl-tls-1.7.22
+ export DOCDIR
+ rm -rf /usr/src/tmp/tcl-tls-buildroot/usr/share/doc/tcl-tls-1.7.22
+ /bin/mkdir -p /usr/src/tmp/tcl-tls-buildroot/usr/share/doc/tcl-tls-1.7.22
+ cp -prL ChangeLog README.txt license.terms tls.htm /usr/src/tmp/tcl-tls-buildroot/usr/share/doc/tcl-tls-1.7.22
+ chmod -R go-w /usr/src/tmp/tcl-tls-buildroot/usr/share/doc/tcl-tls-1.7.22
+ chmod -R a+rX /usr/src/tmp/tcl-tls-buildroot/usr/share/doc/tcl-tls-1.7.22
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.W62oCC
find-provides: running scripts (alternatives,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.RnXtQi
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,tcl)
Provides: tcl(tls), tcl(tls)-1 = 1.7.22
Requires: tcl >= 8.6.7-alt2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libcrypto.so.3 >= set:qjvVy2Im5SPWhwO970vrEF9wpZITwchZidZwcy5s0Zi4bIupx4Xxg2MXbm79R1A4o58guZxFU1Hl8e0rwhfRnuye99yd3gqD1uxjiL9dmu7PwJaGFgLO3j0g8FlgFO1wAV54i2wcl5ZDIz1aiMZ7sWjBtm7Fi0fJF1obg9lLEWosbiUz0St9eL2miKZpjs8OOZ3fo1N9bEMd2UEnXnWB1ZxZbw1, libcrypto.so.3(OPENSSL_3.0.0), libssl.so.3 >= set:nhEm3RvWYCZ2a5agcdzkn6aKTxGk96hbDYyrUTz8mqclnH4K36PYdHgbCDdR8rVOJemSWfJDW7DQ9Z9JBiZL2FztWtvQMBc4mwhSAcgZm8shKZ9nwkrLNzvkTsCIfzFKFUUb9, libssl.so.3(OPENSSL_3.0.0), 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.UKJB3z
Creating tcl-tls-debuginfo package
Processing files: tcl-tls-debuginfo-1.7.22-alt1
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5yDHOD
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kEthUc
find-requires: running scripts (debuginfo)
Requires: tcl-tls = 1.7.22-alt1, debug(libc.so.6), debug(libcrypto.so.3), debug(libssl.so.3)
Adding to tcl-tls-debuginfo a strict dependency on tcl-tls
Wrote: /usr/src/RPM/RPMS/i586/tcl-tls-1.7.22-alt1.i586.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/i586/tcl-tls-debuginfo-1.7.22-alt1.i586.rpm (w2.lzdio)
5.88user 2.35system 2:13.66elapsed 6%CPU (0avgtext+0avgdata 35664maxresident)k
0inputs+0outputs (0major+701645minor)pagefaults 0swaps
2.84user 1.61system 2:22.36elapsed 3%CPU (0avgtext+0avgdata 124928maxresident)k
0inputs+0outputs (0major+212794minor)pagefaults 0swaps
--- tcl-tls-1.7.22-alt1.i586.rpm.repo	2023-07-30 11:51:11.000000000 +0000
+++ tcl-tls-1.7.22-alt1.i586.rpm.hasher	2023-10-28 08:46:03.165036712 +0000
@@ -23,3 +23,3 @@
 File: /usr/lib/tcl/tcltls1.7.22/pkgIndex.tcl	100644	root:root	23e2ac31837584d5d107ae3e8d35748c	
-File: /usr/lib/tcl/tcltls1.7.22/tcltls.so	100644	root:root	36caf39134fc4266daa020f8aff8f2ab	
+File: /usr/lib/tcl/tcltls1.7.22/tcltls.so	100644	root:root	c76371daf6e9be512b9df2e220091dd5	
 File: /usr/share/doc/tcl-tls-1.7.22	40755	root:root		
@@ -29,2 +29,2 @@
 File: /usr/share/doc/tcl-tls-1.7.22/tls.htm	100644	root:root	1752ccf3c5a8f80751a871259ffb5443	
-RPMIdentity: 0106d938bb78c1d535a37e38e5873040f5e2937c580dfd089129a6a191aeaaa132c7641fb8acd18725b0040a47657cd985b00b1b6e3095d806917602b5d0c076
+RPMIdentity: e7746ece17a3076f6df4e48ee66ede380f43176449cee8f3f31274dbea64934ad1f46d71468c1f87a5ad6ec39f2ad6b117eb1528e9c5a4d566f9643f27869b82
--- tcl-tls-debuginfo-1.7.22-alt1.i586.rpm.repo	2023-07-30 11:51:11.000000000 +0000
+++ tcl-tls-debuginfo-1.7.22-alt1.i586.rpm.hasher	2023-10-28 08:46:03.394041498 +0000
@@ -1,4 +1,4 @@
-/usr/lib/debug/.build-id/72	40755	root:root	
-/usr/lib/debug/.build-id/72/b95a4c4d3c651af2bb14c113e0ce0ddb003f7d	120777	root:root	../../../tcl/tcltls1.7.22/tcltls.so
-/usr/lib/debug/.build-id/72/b95a4c4d3c651af2bb14c113e0ce0ddb003f7d.debug	120777	root:root	../../usr/lib/tcl/tcltls1.7.22/tcltls.so.debug
+/usr/lib/debug/.build-id/77	40755	root:root	
+/usr/lib/debug/.build-id/77/8b397e70d21c7ee2b4fd47e8b3295198049350	120777	root:root	../../../tcl/tcltls1.7.22/tcltls.so
+/usr/lib/debug/.build-id/77/8b397e70d21c7ee2b4fd47e8b3295198049350.debug	120777	root:root	../../usr/lib/tcl/tcltls1.7.22/tcltls.so.debug
 /usr/lib/debug/usr/lib/tcl	40755	root:root	
@@ -12,8 +12,8 @@
 Provides: tcl-tls-debuginfo = 1.7.22-alt1:sisyphus+326069.1000.1.1
-File: /usr/lib/debug/.build-id/72	40755	root:root		
-File: /usr/lib/debug/.build-id/72/b95a4c4d3c651af2bb14c113e0ce0ddb003f7d	120777	root:root		../../../tcl/tcltls1.7.22/tcltls.so
-File: /usr/lib/debug/.build-id/72/b95a4c4d3c651af2bb14c113e0ce0ddb003f7d.debug	120777	root:root		../../usr/lib/tcl/tcltls1.7.22/tcltls.so.debug
+File: /usr/lib/debug/.build-id/77	40755	root:root		
+File: /usr/lib/debug/.build-id/77/8b397e70d21c7ee2b4fd47e8b3295198049350	120777	root:root		../../../tcl/tcltls1.7.22/tcltls.so
+File: /usr/lib/debug/.build-id/77/8b397e70d21c7ee2b4fd47e8b3295198049350.debug	120777	root:root		../../usr/lib/tcl/tcltls1.7.22/tcltls.so.debug
 File: /usr/lib/debug/usr/lib/tcl	40755	root:root		
 File: /usr/lib/debug/usr/lib/tcl/tcltls1.7.22	40755	root:root		
-File: /usr/lib/debug/usr/lib/tcl/tcltls1.7.22/tcltls.so.debug	100644	root:root	77d3f81bbbcf1f3fb0cf9b237e8ee310	
-RPMIdentity: 97b95f113237952823e2daf4fc80083b7b53551da7f7aaa2fc8ecb80efa67ca101d4a9dda8e2f897190655a9b0601e5c09a7be3e4a55f262b8bde4b8efe5806c
+File: /usr/lib/debug/usr/lib/tcl/tcltls1.7.22/tcltls.so.debug	100644	root:root	02ff2e86e8f80277c110f4fa52972c0f	
+RPMIdentity: d48fce8547cfa3a430065a61fd4da8c84b0d22744c2098396294930512b55fc6a7839f1708cc72a3687cc957d579e1371d5777a2efe0d6a164f6a264cd9d1e0b