Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/tcltls.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-42019c89ca6ec1d8cee6bd59466c4098a638e33f/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/tcltls.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/tcltls-1.7.22-7.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/tcltls.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-42019c89ca6ec1d8cee6bd59466c4098a638e33f/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/tcltls.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pTExzS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tcltls-1.7.22 + /usr/bin/gzip -dc /builddir/build/SOURCES/tcltls-1.7.22.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd tcltls-1.7.22 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/tcltls-1.7.21-cipher-tests.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/tcltls-1.7.21-hostname-tests.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/tcltls-1.7.22-cert-tests.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/tcltls-1.7.22-fall-through.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/tcltls-1.7.22-openssl3.patch + /usr/bin/patch -p1 -s + sed -e 's/-@\(WEAKEN\|REMOVE\)SYMS@/:/' -i Makefile.in + sed -e 's|-L$openssldir/lib|-L/usr/lib/openssl11|g' -e 's|-I$openssldir/include|-I/usr/include/openssl11|g' -i configure + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Slvo3F + umask 022 + cd /builddir/build/BUILD + cd tcltls-1.7.22 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-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/lib --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 armv7hl-redhat-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-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 armv7hl-redhat-linux-gnu-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... yes 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/openssl11 -I/usr/include/openssl11 -L/usr/lib/openssl11 -lssl -lcrypto checking for armv7hl-redhat-linux-gnu-objcopy... no checking for armv7hl-redhat-linux-gnu-gobjcopy... no checking for objcopy... objcopy checking for armv7hl-redhat-linux-gnu-strip... no checking for armv7hl-redhat-linux-gnu-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 + /usr/bin/make -j4 od -A n -v -t xC < './tls.tcl' > tls.tcl.h.new.1 sh ./gen_dh_params > dh_params.h.new gcc -I/usr/include/openssl11 -I/usr/include -I/usr/include/openssl11 -I. -I. -DPACKAGE_NAME=\"tcltls\" -DPACKAGE_TARNAME=\"tcltls\" -DPACKAGE_VERSION=\"1.7.22\" -DPACKAGE_STRING=\"tcltls\ 1.7.22\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=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 '-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/openssl11 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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/openssl11 -fPIC -o tlsBIO.o -c ./tlsBIO.c gcc -I/usr/include/openssl11 -I/usr/include -I/usr/include/openssl11 -I. -I. -DPACKAGE_NAME=\"tcltls\" -DPACKAGE_TARNAME=\"tcltls\" -DPACKAGE_VERSION=\"1.7.22\" -DPACKAGE_STRING=\"tcltls\ 1.7.22\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=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 '-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/openssl11 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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/openssl11 -fPIC -o tlsIO.o -c ./tlsIO.c ***************************** ** Generating DH Primes. ** ** This will take a while. ** ***************************** 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 gcc -I/usr/include/openssl11 -I/usr/include -I/usr/include/openssl11 -I. -I. -DPACKAGE_NAME=\"tcltls\" -DPACKAGE_TARNAME=\"tcltls\" -DPACKAGE_VERSION=\"1.7.22\" -DPACKAGE_STRING=\"tcltls\ 1.7.22\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=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 '-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/openssl11 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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/openssl11 -fPIC -o tlsX509.o -c ./tlsX509.c mv dh_params.h.new dh_params.h gcc -I/usr/include/openssl11 -I/usr/include -I/usr/include/openssl11 -I. -I. -DPACKAGE_NAME=\"tcltls\" -DPACKAGE_TARNAME=\"tcltls\" -DPACKAGE_VERSION=\"1.7.22\" -DPACKAGE_STRING=\"tcltls\ 1.7.22\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=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 '-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/openssl11 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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/openssl11 -fPIC -o tls.o -c ./tls.c ./tls.c: In function 'CiphersObjCmd': ./tls.c:542:3: warning: implicit declaration of function 'SSLv3_method' [-Wimplicit-function-declaration] ctx = SSL_CTX_new(SSLv3_method()); break; ^ ./tls.c:542:3: warning: passing argument 1 of 'SSL_CTX_new' makes pointer from integer without a cast [enabled by default] In file included from ./tlsInt.h:48:0, from ./tls.c:24: /usr/include/openssl11/openssl/ssl.h:1503:17: note: expected 'const struct SSL_METHOD *' but argument is of type 'int' __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^ ./tls.c: In function 'CTX_Init': ./tls.c:1146:9: warning: assignment makes pointer from integer without a cast [enabled by default] method = SSLv3_method (); ^ ./tls.c: At top level: cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by default] gcc -I/usr/include/openssl11 -I/usr/include -I/usr/include/openssl11 -I. -I. -DPACKAGE_NAME=\"tcltls\" -DPACKAGE_TARNAME=\"tcltls\" -DPACKAGE_VERSION=\"1.7.22\" -DPACKAGE_STRING=\"tcltls\ 1.7.22\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=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 '-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/openssl11 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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/openssl11 -fPIC -Wl,-z,relro -shared -Wl,--version-script,./tcltls.vers -o shared-tcltls.so tls.o tlsBIO.o tlsIO.o tlsX509.o -L/usr/lib/openssl11 -lssl -lcrypto -L/usr/lib -ltclstub8.5 -L/usr/lib/openssl11 -lssl -lcrypto : shared-tcltls.so : shared-tcltls.so mv shared-tcltls.so tcltls.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qmULxb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm ++ dirname /builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm + cd tcltls-1.7.22 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm libdir=/usr/lib/tcl8.5 gcc -I/usr/include/openssl11 -I/usr/include -I/usr/include/openssl11 -I. -I. -DPACKAGE_NAME=\"tcltls\" -DPACKAGE_TARNAME=\"tcltls\" -DPACKAGE_VERSION=\"1.7.22\" -DPACKAGE_STRING=\"tcltls\ 1.7.22\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=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 '-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/openssl11 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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/openssl11 -fPIC -Wl,-z,relro -shared -Wl,--version-script,./tcltls.vers -o shared-tcltls.so tls.o tlsBIO.o tlsIO.o tlsX509.o -L/usr/lib/openssl11 -lssl -lcrypto -L/usr/lib -ltclstub8.5 -L/usr/lib/openssl11 -lssl -lcrypto : shared-tcltls.so : shared-tcltls.so mv shared-tcltls.so tcltls.so /usr/bin/install -c -d '/builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm/usr/lib/tcl8.5/tcltls1.7.22' /usr/bin/install -c tcltls.so '/builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm/usr/lib/tcl8.5/tcltls1.7.22' /usr/bin/install -c -m 644 pkgIndex.tcl '/builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm/usr/lib/tcl8.5/tcltls1.7.22' + /usr/bin/install -D -p -m 0644 tls.h /builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm/usr/include/tls.h + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/tcltls-1.7.22 extracting debug info from /builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm/usr/lib/tcl8.5/tcltls1.7.22/tcltls.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 205 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Td61cv + umask 022 + cd /builddir/build/BUILD + cd tcltls-1.7.22 + make test gcc -I/usr/include/openssl11 -I/usr/include -I/usr/include/openssl11 -I. -I. -DPACKAGE_NAME=\"tcltls\" -DPACKAGE_TARNAME=\"tcltls\" -DPACKAGE_VERSION=\"1.7.22\" -DPACKAGE_STRING=\"tcltls\ 1.7.22\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=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 '-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/openssl11 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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/openssl11 -fPIC -Wl,-z,relro -shared -Wl,--version-script,./tcltls.vers -o shared-tcltls.so tls.o tlsBIO.o tlsIO.o tlsX509.o -L/usr/lib/openssl11 -lssl -lcrypto -L/usr/lib -ltclstub8.5 -L/usr/lib/openssl11 -lssl -lcrypto : shared-tcltls.so : shared-tcltls.so mv shared-tcltls.so tcltls.so /usr/bin/tclsh ./tests/all.tcl -load "lappend auto_path /builddir/build/BUILD/tcltls-1.7.22" Tests running in interp: /usr/bin/tclsh Tests running in working dir: /builddir/build/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 Jun 18 16:15:43 UTC 2022 ciphers.test tlsIO.test ==== 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 ==== 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: impossible case ---- Result should have been (exact matching): accepted socket was not inherited ==== tlsIO-12.3 FAILED Tests ended at Sat Jun 18 16:16:01 UTC 2022 all.tcl: Total 69 Passed 48 Skipped 19 Failed 2 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 + exit 0 Processing files: tcltls-1.7.22-7.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6b06pt + umask 022 + cd /builddir/build/BUILD + cd tcltls-1.7.22 + DOCDIR=/builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm/usr/share/doc/tcltls-1.7.22 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm/usr/share/doc/tcltls-1.7.22 + cp -pr README.txt /builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm/usr/share/doc/tcltls-1.7.22 + cp -pr ChangeLog /builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm/usr/share/doc/tcltls-1.7.22 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7n8zoq + umask 022 + cd /builddir/build/BUILD + cd tcltls-1.7.22 + LICENSEDIR=/builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm/usr/share/licenses/tcltls-1.7.22 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm/usr/share/licenses/tcltls-1.7.22 + cp -pr license.terms /builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm/usr/share/licenses/tcltls-1.7.22 + exit 0 Provides: tcltls = 1.7.22-7.el7 tcltls(armv7hl-32) = 1.7.22-7.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libcrypto.so.1.1 libcrypto.so.1.1(OPENSSL_1_1_0) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libssl.so.1.1 libssl.so.1.1(OPENSSL_1_1_0) rtld(GNU_HASH) Processing files: tcltls-devel-1.7.22-7.el7.armv7hl Provides: tcltls-devel = 1.7.22-7.el7 tcltls-devel(armv7hl-32) = 1.7.22-7.el7 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-7.el7.armv7hl Provides: tcltls-debuginfo = 1.7.22-7.el7 tcltls-debuginfo(armv7hl-32) = 1.7.22-7.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm Wrote: /builddir/build/RPMS/tcltls-1.7.22-7.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/tcltls-devel-1.7.22-7.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/tcltls-debuginfo-1.7.22-7.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LTlp1L + umask 022 + cd /builddir/build/BUILD + cd tcltls-1.7.22 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tcltls-1.7.22-7.el7.arm + exit 0 Child pid '28640' is dead Child dead, killing orphans Child return code was: 0