D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/tcltls-1.7.22-3.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ODBvHW + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf tcltls-1.7.22 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/tcltls-1.7.22.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tcltls-1.7.22 + rm -rf /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tcltls-1.7.21-cipher-tests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tcltls-1.7.21-hostname-tests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tcltls-1.7.17-libname.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EdFU6a + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd tcltls-1.7.22 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi configure.ac:8: warning: The macro 'AC_GNU_SOURCE' is obsolete. configure.ac:8: You should run autoupdate. ./lib/autoconf/specific.m4:489: 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:2918: 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:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: 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:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: 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:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: 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:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: 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:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: 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:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: 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:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: 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:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:178: DC_TEST_SHOBJFLAGS is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: 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:2918: 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. + echo LDFLAGS= LDFLAGS= + export STRIP=: OBJCOPY=: + STRIP=: + OBJCOPY=: + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-rpath --with-ssl-dir=/usr configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-mageia-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/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... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-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/lib64 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 x86_64-mageia-linux-gnu-pkg-config... x86_64-mageia-linux-gnu-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 x86_64-mageia-linux-gnu-objcopy... : checking for x86_64-mageia-linux-gnu-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 + /usr/bin/make -O -j16 V=1 VERBOSE=1 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. ** ***************************** curl: (6) Could not resolve host: 2ton.com.au ./gen_dh_params: line 39: wget: command not found mv dh_params.h.new dh_params.h gcc -I/usr/include -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_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_IS_LONG=1' '-DTCL_UNLOAD_DLLS=1' -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/usr/include -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 ./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 gcc -I/usr/include -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_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_IS_LONG=1' '-DTCL_UNLOAD_DLLS=1' -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/usr/include -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 gcc -I/usr/include -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_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_IS_LONG=1' '-DTCL_UNLOAD_DLLS=1' -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/usr/include -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 gcc -I/usr/include -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_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_IS_LONG=1' '-DTCL_UNLOAD_DLLS=1' -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/usr/include -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 ./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 gcc -I/usr/include -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_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_IS_LONG=1' '-DTCL_UNLOAD_DLLS=1' -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/usr/include -Wno-unused-value -Wno-unused-parameter -Wno-deprecated-declarations -Wall -W -Wno-self-assign -fstack-protector-all -fno-strict-overflow -I/usr/include -fPIC -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -shared -Wl,--version-script,./tcltls.vers -o shared-libtcltls.so tls.o tlsBIO.o tlsIO.o tlsX509.o -L/usr/lib -lssl -lcrypto -L/usr/lib64 -ltclstub8.6 -L/usr/lib -lssl -lcrypto /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 : --keep-global-symbols=tcltls.syms shared-libtcltls.so : --discard-all shared-libtcltls.so mv shared-libtcltls.so libtcltls.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JZyn1L + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64 + cd tcltls-1.7.22 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64 'INSTALL=/usr/bin/install -p' libdir=/usr/lib64/tcl8.6 includedir=/usr/include gcc -I/usr/include -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_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_IS_LONG=1' '-DTCL_UNLOAD_DLLS=1' -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/usr/include -Wno-unused-value -Wno-unused-parameter -Wno-deprecated-declarations -Wall -W -Wno-self-assign -fstack-protector-all -fno-strict-overflow -I/usr/include -fPIC -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -shared -Wl,--version-script,./tcltls.vers -o shared-libtcltls.so tls.o tlsBIO.o tlsIO.o tlsX509.o -L/usr/lib -lssl -lcrypto -L/usr/lib64 -ltclstub8.6 -L/usr/lib -lssl -lcrypto /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 : --keep-global-symbols=tcltls.syms shared-libtcltls.so : --discard-all shared-libtcltls.so mv shared-libtcltls.so libtcltls.so /usr/bin/install -p -d '/home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64/usr/lib64/tcl8.6/tcltls1.7.22' /usr/bin/install -p libtcltls.so '/home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64/usr/lib64/tcl8.6/tcltls1.7.22' /usr/bin/install -p -m 644 pkgIndex.tcl '/home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64/usr/lib64/tcl8.6/tcltls1.7.22' + install -D -m 644 tls.h /home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64/usr/include/tls.h + pushd /home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64/usr/lib64/tcl8.6/tcltls1.7.22 ~/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64/usr/lib64/tcl8.6/tcltls1.7.22 ~/rpmbuild/BUILD/tcltls-1.7.22 + ln -s libtcltls.so tcltls.so + popd ~/rpmbuild/BUILD/tcltls-1.7.22 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64/etc/ld.so.conf.d + echo /usr/lib64/tcl8.6/tcltls1.7.22 + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.7.22-3.mga10 --unique-debug-suffix -1.7.22-3.mga10.x86_64 --unique-debug-src-base tcltls-1.7.22-3.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64/usr/lib64/tcl8.6/tcltls1.7.22/libtcltls.so original debug info size: 312kB, size after compression: 224kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 204 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LgdwAH + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd tcltls-1.7.22 + '[' 1 -eq 1 ']' + make test gcc -I/usr/include -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_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_IS_LONG=1' '-DTCL_UNLOAD_DLLS=1' -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/usr/include -Wno-unused-value -Wno-unused-parameter -Wno-deprecated-declarations -Wall -W -Wno-self-assign -fstack-protector-all -fno-strict-overflow -I/usr/include -fPIC -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -shared -Wl,--version-script,./tcltls.vers -o shared-libtcltls.so tls.o tlsBIO.o tlsIO.o tlsX509.o -L/usr/lib -lssl -lcrypto -L/usr/lib64 -ltclstub8.6 -L/usr/lib -lssl -lcrypto /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 : --keep-global-symbols=tcltls.syms shared-libtcltls.so : --discard-all shared-libtcltls.so mv shared-libtcltls.so libtcltls.so /usr/bin/tclsh ./tests/all.tcl -load "lappend auto_path /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22" Tests running in interp: /usr/bin/tclsh Tests running in working dir: /home/pterjan/rpmbuild/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 Wed Mar 27 18:32:58 +0000 2024 ciphers.test tlsIO.test ==== tlsIO-2.1 tcp connection 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 timer [after 2000 "set x timed_out"] } puts $f "set f \[tls::socket -server accept -certfile $serverCert -cafile $caCert -keyfile $serverKey 8828 \]" puts $f { proc accept {file addr port} { global x set x done close $file } puts ready vwait x after cancel $timer close $f puts $x } close $f set f [open "|[list $::tcltest::tcltest script] 2> /dev/null" r] gets $f x if {[catch {tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8828} msg]} { set x $msg } else { lappend x [gets $f] close $msg } lappend x [gets $f] close $f set x ---- Result was: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small timed_out ---- Result should have been (exact matching): ready done {} ==== tlsIO-2.1 FAILED ==== tlsIO-2.2 tcp connection with client port specified 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 timer [after 2000 "set x done"] } puts $f "set f \[tls::socket -server accept -certfile $serverCert -cafile $caCert -keyfile $serverKey 8829 \]" puts $f { proc accept {sock addr port} { global x puts "[gets $sock] $port" close $sock set x done } puts ready vwait x after cancel $timer close $f } close $f set f [open "|[list $::tcltest::tcltest script] 2> /dev/null" r] gets $f x global port if {[catch {tls::socket -myport $port -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8829} sock]} { set x $sock catch {close [tls::socket 127.0.0.1 8829]} } else { puts $sock hello flush $sock lappend x [gets $f] close $sock } close $f set x ---- Result was: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small ---- Result should have been (exact matching): ready {hello 8739} ==== tlsIO-2.2 FAILED ==== tlsIO-2.3 tcp connection with client interface specified 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 timer [after 2000 "set x done"] } puts $f "set f \[tls::socket -server accept -certfile $serverCert -cafile $caCert -keyfile $serverKey 8830 \]" puts $f { proc accept {sock addr port} { global x puts "[gets $sock] $addr" close $sock set x done } puts ready vwait x after cancel $timer close $f } close $f set f [open "|[list $::tcltest::tcltest script] 2> /dev/null" r] gets $f x if {[catch {tls::socket -myaddr 127.0.0.1 -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8830} sock]} { set x $sock } else { puts $sock hello catch {flush $sock} lappend x [gets $f] close $sock } close $f set x ---- Result was: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small ---- Result should have been (exact matching): ready {hello 127.0.0.1} ==== tlsIO-2.3 FAILED ==== tlsIO-2.4 tcp connection with server interface specified 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 timer [after 2000 "set x done"] } puts $f "set f \[tls::socket -server accept -certfile $serverCert -cafile $caCert -keyfile $serverKey -myaddr localhost 8831 \]" puts $f { proc accept {sock addr port} { global x puts "[gets $sock]" close $sock set x done } puts ready vwait x after cancel $timer close $f } close $f set f [open "|[list $::tcltest::tcltest script] 2> /dev/null" r] gets $f x if {[catch {tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey localhost 8831} sock]} { set x $sock } else { puts $sock hello flush $sock lappend x [gets $f] close $sock } close $f set x ---- Result was: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small ---- Result should have been (exact matching): ready hello ==== tlsIO-2.4 FAILED ==== tlsIO-2.5 tcp connection with redundant server port 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 timer [after 2000 "set x done"] } puts $f "set f \[tls::socket -server accept -certfile $serverCert -cafile $caCert -keyfile $serverKey 8832 \]" puts $f { proc accept {sock addr port} { global x puts "[gets $sock]" close $sock set x done } puts ready vwait x after cancel $timer close $f } close $f set f [open "|[list $::tcltest::tcltest script] 2> /dev/null" r] gets $f x if {[catch {tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8832} sock]} { set x $sock } else { puts $sock hello flush $sock lappend x [gets $f] close $sock } close $f set x ---- Result was: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small ---- Result should have been (exact matching): ready hello ==== tlsIO-2.5 FAILED ==== tlsIO-2.7 echo server, one line 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 timer [after 2000 "set x done"] } puts $f "set f \[tls::socket -server accept -certfile $serverCert -cafile $caCert -keyfile $serverKey 8834 \]" puts $f { proc accept {s a p} { fileevent $s readable [list echo $s] fconfigure $s -translation lf -buffering line } proc echo {s} { set l [gets $s] if {[eof $s]} { global x close $s set x done } else { puts $s $l } } puts ready vwait x after cancel $timer close $f puts done } close $f set f [open "|[list $::tcltest::tcltest script] 2> /dev/null" r] gets $f set s [tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8834] fconfigure $s -buffering line -translation lf puts $s "hello abcdefghijklmnop" after 1000 set x [gets $s] close $s set y [gets $f] close $f list $x $y ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small while executing "tls::import sock233fd60 -server 0 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem -cafile /home/pterjan/rpmbuild/BUILD/tcl..." ("eval" body line 1) invoked from within "eval [list tls::import] $chan $iopts" invoked from within "tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8834" ("uplevel" body line 34) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== tlsIO-2.7 FAILED ==== tlsIO-2.8 echo server, loop 50 times, single connection FAILED ==== Contents of test case: set f [open script w] 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 8835 \]" puts $f { proc accept {s a p} { fileevent $s readable [list echo $s] fconfigure $s -buffering line } proc echo {s} { global i set l [gets $s] if {[eof $s]} { global x close $s set x done } else { incr i puts $s $l } } set i 0 puts ready set timer [after 20000 "set x done"] vwait x after cancel $timer close $f puts "done $i" } close $f set f [open "|[list $::tcltest::tcltest script] 2> /dev/null" r] gets $f set s [tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8835] fconfigure $s -buffering line catch { for {set x 0} {$x < 50} {incr x} { puts $s "hello abcdefghijklmnop" gets $s } } close $s catch {set x [gets $f]} close $f set x ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small while executing "tls::import sock2341580 -server 0 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem -cafile /home/pterjan/rpmbuild/BUILD/tcl..." ("eval" body line 1) invoked from within "eval [list tls::import] $chan $iopts" invoked from within "tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8835" ("uplevel" body line 36) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== tlsIO-2.8 FAILED ==== tlsIO-2.10 close on accept, accepted socket lives FAILED ==== Contents of test case: set done 0 set timer [after 20000 "set done timed_out"] set ss [tls::socket -server accept -certfile $serverCert -cafile $caCert -keyfile $serverKey 8830] proc accept {s a p} { global ss close $ss fileevent $s readable "readit $s" fconfigure $s -trans lf } proc readit {s} { global done gets $s close $s set done 1 } set cs [tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey localhost 8830] close $cs vwait done after cancel $timer set done ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small while executing "tls::import sock239d2d0 -server 0 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem -cafile /home/pterjan/rpmbuild/BUILD/tcl..." ("eval" body line 1) invoked from within "eval [list tls::import] $chan $iopts" invoked from within "tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey localhost 8830" ("uplevel" body line 17) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== tlsIO-2.10 FAILED ==== tlsIO-2.11 detecting new data FAILED ==== Contents of test case: proc accept {s a p} { global sock # 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 set sock $s fileevent $s readable [list do_handshake $s] } set s [tls::socket -server accept -certfile $serverCert -cafile $caCert -keyfile $serverKey 8400] set sock "" set s2 [tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8400] # 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 $s2 -blocking 0 -buffering line vwait sock puts $s2 one flush $s2 # need update to complete TLS handshake in-process update after 500 fconfigure $sock -blocking 0 set result a:[gets $sock] lappend result b:[gets $sock] fconfigure $sock -blocking 1 puts $s2 two flush $s2 fconfigure $sock -blocking 1 lappend result c:[gets $sock] fconfigure $sock -blocking 1 close $s2 close $s close $sock set result ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small while executing "tls::import sock239d0d0 -server 0 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem -cafile /home/pterjan/rpmbuild/BUILD/tcl..." ("eval" body line 1) invoked from within "eval [list tls::import] $chan $iopts" invoked from within "tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8400" ("uplevel" body line 14) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== tlsIO-2.11 FAILED ==== 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 ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small while executing "tls::import sock239d550 -server 0 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem -cafile /home/pterjan/rpmbuild/BUILD/tcl..." ("eval" body line 1) invoked from within "eval [list tls::import] $chan $iopts" invoked from within "tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8828" ("uplevel" body line 41) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== tlsIO-3.2 FAILED ==== 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 ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: couldn't open socket: address already in use while executing "::socket -server {tls::_accept {-server 1 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/server.pem -cafile /home/pterjan/rpmbuild/B..." ("eval" body line 1) invoked from within "eval $socketCmd $sopts" (procedure "tls::socket" line 70) invoked from within "tls::socket -certfile $serverCert -cafile $caCert -keyfile $serverKey -server accept 8828" ("uplevel" body line 45) invoked from within "uplevel 1 $script" ---- errorCode: POSIX EADDRINUSE {address already in use} ==== tlsIO-4.1 FAILED ==== tlsIO-6.1 accept callback error FAILED ==== Contents of test case: # There is a debug assertion on Windows/SSL that causes a crash when the # certificate isn't specified. removeFile script set f [open script w] puts $f [list set auto_path $auto_path] puts $f { package require tls gets stdin } puts $f [list tls::socket -cafile $caCert 127.0.0.1 8848] close $f set f [open "|[list $::tcltest::tcltest script] 2> /dev/null" r+] proc bgerror args { global x set x $args } proc accept {s a p} {expr 10 / 0} set s [tls::socket -server accept -certfile $serverCert -cafile $caCert -keyfile $serverKey 8848] puts $f hello close $f set timer [after 10000 "set x timed_out"] vwait x after cancel $timer close $s rename bgerror {} set x ---- Result was: {unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/server.pem: ee key too small} ---- Result should have been (exact matching): {divide by zero} ==== tlsIO-6.1 FAILED ==== tlsIO-7.1 testing socket specific options 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 } puts $f [list tls::socket -server accept -certfile $serverCert -cafile $caCert -keyfile $serverKey 8820] puts $f { proc accept args { global x set x done } puts ready set timer [after 10000 "set x timed_out"] vwait x after cancel $timer } close $f set f [open "|[list $::tcltest::tcltest script] 2> /dev/null" r] gets $f set s [tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8820] set p [fconfigure $s -peername] close $s close $f set l "" lappend l [string compare [lindex $p 0] 127.0.0.1] lappend l [string compare [lindex $p 2] 8820] lappend l [llength $p] ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small while executing "tls::import sock239e350 -server 0 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem -cafile /home/pterjan/rpmbuild/BUILD/tcl..." ("eval" body line 1) invoked from within "eval [list tls::import] $chan $iopts" invoked from within "tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8820" ("uplevel" body line 22) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== tlsIO-7.1 FAILED ==== tlsIO-7.2 testing socket specific options 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 } puts $f "tls::socket -server accept -certfile $serverCert -cafile $caCert -keyfile $serverKey 8821" puts $f { proc accept args { global x set x done } puts ready set timer [after 10000 "set x timed_out"] vwait x after cancel $timer } close $f set f [open "|[list $::tcltest::tcltest script] 2> /dev/null" r] gets $f set s [tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8821] set p [fconfigure $s -sockname] close $s close $f set l "" lappend l [llength $p] lappend l [lindex $p 0] lappend l [string equal [lindex $p 2] 8821] ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small while executing "tls::import sock239e1d0 -server 0 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem -cafile /home/pterjan/rpmbuild/BUILD/tcl..." ("eval" body line 1) invoked from within "eval [list tls::import] $chan $iopts" invoked from within "tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8821" ("uplevel" body line 22) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== tlsIO-7.2 FAILED ==== tlsIO-7.4 testing socket specific options FAILED ==== Contents of test case: set s [tls::socket -certfile $serverCert -cafile $caCert -keyfile $serverKey -server accept 8823] proc accept {s a p} { global x set x [fconfigure $s -sockname] close $s } set s1 [tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey localhost 8823] set timer [after 10000 "set x timed_out"] vwait x after cancel $timer close $s close $s1 set l "" lappend l [lindex $x 2] [llength $x] ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small while executing "tls::import sock239dbd0 -server 0 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem -cafile /home/pterjan/rpmbuild/BUILD/tcl..." ("eval" body line 1) invoked from within "eval [list tls::import] $chan $iopts" invoked from within "tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey localhost 8823" ("uplevel" body line 8) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== tlsIO-7.4 FAILED ==== tlsIO-7.5 testing socket specific options FAILED ==== Contents of test case: set s [tls::socket -certfile $serverCert -cafile $caCert -keyfile $serverKey -server accept 8829] proc accept {s a p} { global x set x [fconfigure $s -sockname] close $s } set s1 [tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8829] set timer [after 10000 "set x timed_out"] vwait x after cancel $timer close $s close $s1 set l "" lappend l [lindex $x 0] [lindex $x 2] [llength $x] ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small while executing "tls::import sock239e1d0 -server 0 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem -cafile /home/pterjan/rpmbuild/BUILD/tcl..." ("eval" body line 1) invoked from within "eval [list tls::import] $chan $iopts" invoked from within "tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8829" ("uplevel" body line 8) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== tlsIO-7.5 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 ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: couldn't open socket: address already in use while executing "::socket -server {tls::_accept {-server 1 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/server.pem -cafile /home/pterjan/rpmbuild/B..." ("eval" body line 1) invoked from within "eval $socketCmd $sopts" (procedure "tls::socket" line 70) invoked from within "tls::socket -certfile $serverCert -cafile $caCert -keyfile $serverKey -server accept 8830" ("uplevel" body line 4) invoked from within "uplevel 1 $script" ---- errorCode: POSIX EADDRINUSE {address already in use} ==== tlsIO-8.1 FAILED ==== tlsIO-9.1 testing spurious events FAILED ==== Contents of test case: set len 0 set spurious 0 set done 0 proc readlittle {s} { global spurious done len set l [read $s 1] if {[string length $l] == 0} { if {![eof $s]} { incr spurious } else { close $s set done 1 } } else { incr len [string length $l] } } proc accept {s a p} { fconfigure $s -blocking 0 fileevent $s readable [list do_handshake $s readable readlittle -buffering none] } set s [tls::socket -certfile $serverCert -cafile $caCert -keyfile $serverKey -server accept 8831] set c [tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey localhost 8831] # This differs from socket-9.1 in that both sides need to be # non-blocking because of TLS' required handshake fconfigure $c -blocking 0 puts -nonewline $c 01234567890123456789012345678901234567890123456789 close $c set timer [after 10000 "set done timed_out"] vwait done after cancel $timer close $s list $spurious $len ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small while executing "tls::import sock239df50 -server 0 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem -cafile /home/pterjan/rpmbuild/BUILD/tcl..." ("eval" body line 1) invoked from within "eval [list tls::import] $chan $iopts" invoked from within "tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey localhost 8831" ("uplevel" body line 24) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== tlsIO-9.1 FAILED ==== 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 ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small while executing "tls::import sock239df50 -server 0 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem -cafile /home/pterjan/rpmbuild/BUILD/tcl..." ("eval" body line 1) invoked from within "eval [list tls::import] $chan $iopts" invoked from within "tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey localhost 8832" ("uplevel" body line 27) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== tlsIO-9.2 FAILED couldn't open socket: address already in use while executing "::socket -server {tls::_accept {-server 1 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/server.pem -cafile /home/pterjan/rpmbuild/B..." ("eval" body line 1) invoked from within "eval $socketCmd $sopts" (procedure "tls::socket" line 70) invoked from within "tls::socket -server accept -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/server.pem -cafile /home/pterjan/rpmbuild/BUILD/tcltls-1...." invoked from within "set f [tls::socket -server accept -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/server.pem -cafile /home/pterjan/rpmbuild/BUILD/tc..." (file "script2" line 6) ==== 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 ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: couldn't open socket: address already in use while executing "::socket -server {tls::_accept {-server 1 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/server.pem -cafile /home/pterjan/rpmbuild/B..." ("eval" body line 1) invoked from within "eval $socketCmd $sopts" (procedure "tls::socket" line 70) invoked from within "tls::socket -certfile $serverCert -cafile $caCert -keyfile $serverKey -server accept 8829" ("uplevel" body line 37) invoked from within "uplevel 1 $script" ---- errorCode: POSIX EADDRINUSE {address already in use} ==== 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 ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem: ee key too small while executing "tls::import sock23c6350 -server 0 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/client.pem -cafile /home/pterjan/rpmbuild/BUILD/tcl..." ("eval" body line 1) invoked from within "eval [list tls::import] $chan $iopts" invoked from within "tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey 127.0.0.1 8930" ("uplevel" body line 39) invoked from within "uplevel 1 $script" ---- errorCode: NONE ==== tlsIO-12.3 FAILED unable to set certificate file /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/server.pem: ee key too small while executing "tls::import sock706630 -server 1 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/server.pem -cafile /home/pterjan/rpmbuild/BUILD/tclt..." ("eval" body line 1) invoked from within "eval [list tls::import $chan] $iopts" (procedure "tls::_accept" line 4) invoked from within "tls::_accept {-server 1 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/server.pem -cafile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22..." ==== tlsIO-14.5 test tls::unimport FAILED ==== Contents of test case: set len 0 set spurious 0 set done 0 proc readlittle {s} { global spurious done len set l [read $s 1] if {[string length $l] == 0} { if {![eof $s]} { incr spurious } else { close $s set done 1 } } else { incr len [string length $l] } } proc accept {s a p} { fconfigure $s -blocking 0 fileevent $s readable [list do_handshake $s readable readlittle -buffering none] } set s [tls::socket -certfile $serverCert -cafile $caCert -keyfile $serverKey -server accept 8831] set c [tls::socket -certfile $clientCert -cafile $caCert -keyfile $clientKey localhost 8831] # only the client gets tls::import set res [tls::unimport $c] list $res [catch {close $c} err] $err [catch {close $s} err] $err ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: couldn't open socket: address already in use while executing "::socket -server {tls::_accept {-server 1 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/server.pem -cafile /home/pterjan/rpmbuild/B..." ("eval" body line 1) invoked from within "eval $socketCmd $sopts" (procedure "tls::socket" line 70) invoked from within "tls::socket -certfile $serverCert -cafile $caCert -keyfile $serverKey -server accept 8831" ("uplevel" body line 23) invoked from within "uplevel 1 $script" ---- errorCode: POSIX EADDRINUSE {address already in use} ==== tlsIO-14.5 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 ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: couldn't open socket: address already in use while executing "::socket -server {tls::_accept {-server 1 -certfile /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tests/certs/server.pem -cafile /home/pterjan/rpmbuild/B..." ("eval" body line 1) invoked from within "eval $socketCmd $sopts" (procedure "tls::socket" line 70) invoked from within "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 Acc..." ("uplevel" body line 17) invoked from within "uplevel 1 $script" ---- errorCode: POSIX EADDRINUSE {address already in use} ==== tls-bug58-1.0 FAILED Tests ended at Wed Mar 27 18:33:16 +0000 2024 all.tcl: Total 69 Passed 27 Skipped 19 Failed 23 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 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: tcltls-1.7.22-3.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8Hqsyk + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd tcltls-1.7.22 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64/usr/share/doc/tcltls + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64/usr/share/doc/tcltls + cp -pr /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/ChangeLog /home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64/usr/share/doc/tcltls + cp -pr /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/README.txt /home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64/usr/share/doc/tcltls + cp -pr /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/license.terms /home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64/usr/share/doc/tcltls + cp -pr /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22/tls.htm /home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64/usr/share/doc/tcltls + RPM_EC=0 ++ jobs -p + exit 0 Provides: libtcltls.so()(64bit) tcl-tls = 1.7.22-3.mga10 tcltls = 1.7.22-3.mga10 tcltls(x86-64) = 1.7.22-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) 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) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) Processing files: tcltls-devel-1.7.22-3.mga10.x86_64 Provides: tcl-tls-devel = 1.7.22-3.mga10 tcltls-devel = 1.7.22-3.mga10 tcltls-devel(x86-64) = 1.7.22-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tcltls-debugsource-1.7.22-3.mga10.x86_64 Provides: tcltls-debugsource = 1.7.22-3.mga10 tcltls-debugsource(x86-64) = 1.7.22-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tcltls-debuginfo-1.7.22-3.mga10.x86_64 Provides: debuginfo(build-id) = 6e61ae95a780a9e45d07aa7ac040732bd3eb99d9 tcltls-debuginfo = 1.7.22-3.mga10 tcltls-debuginfo(x86-64) = 1.7.22-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tcltls-debugsource(x86-64) = 1.7.22-3.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/tcltls-devel-1.7.22-3.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/tcltls-1.7.22-3.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/tcltls-debugsource-1.7.22-3.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/tcltls-debuginfo-1.7.22-3.mga10.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.89SMLm + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd tcltls-1.7.22 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/tcltls-1.7.22-3.mga10.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vit4nn + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf /home/pterjan/rpmbuild/BUILD/tcltls-1.7.22-SPECPARTS + rm -rf tcltls-1.7.22 tcltls-1.7.22.gemspec + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!