Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/tengine.spec'], chrootPath='/var/lib/mock/dist-an23-build-353732-71027/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/tengine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1707350400 Wrote: /builddir/build/SRPMS/tengine-3.1.0-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/tengine.spec'], chrootPath='/var/lib/mock/dist-an23-build-353732-71027/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/tengine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1707350400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TV8uM3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tengine-3.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tengine-3.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tengine-3.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0000-Fix-build-with-external-shared-tongsuo.patch):' Patch #0 (0000-Fix-build-with-external-shared-tongsuo.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file auto/lib/openssl/conf + sed -i s#nginx#tengine#g contrib/vim/ftdetect/nginx.vim contrib/vim/ftplugin/nginx.vim contrib/vim/indent/nginx.vim contrib/vim/syntax/nginx.vim + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.e0NHnb + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd tengine-3.1.0 + export DESTDIR=/builddir/build/BUILDROOT/tengine-3.1.0-1.an23.x86_64 + DESTDIR=/builddir/build/BUILDROOT/tengine-3.1.0-1.an23.x86_64 + ./configure --prefix=/usr/share/tengine --sbin-path=/usr/sbin/tengine --modules-path=/usr/lib64/tengine/modules --conf-path=/etc/tengine/nginx.conf --error-log-path=/var/log/tengine/error.log --http-log-path=/var/log/tengine/access.log --http-client-body-temp-path=/var/lib/tengine/tmp/client_body --http-proxy-temp-path=/var/lib/tengine/tmp/proxy --http-fastcgi-temp-path=/var/lib/tengine/tmp/fastcgi --http-uwsgi-temp-path=/var/lib/tengine/tmp/uwsgi --http-scgi-temp-path=/var/lib/tengine/tmp/scgi --pid-path=/run/tengine.pid --lock-path=/run/lock/subsys/tengine --user=tengine --group=tengine --with-debug --with-compat --with-http_ssl_module --with-openssl-async --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_addition_module --with-http_dav_module --with-http_gzip_static_module --with-http_sub_module --with-http_v2_module --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-threads --with-http_secure_link_module --with-http_gunzip_module --without-mail_pop3_module --without-mail_smtp_module --without-mail_imap_module --without-http_uwsgi_module --without-http_scgi_module --with-http_random_index_module --add-module=modules/ngx_backtrace_module --add-module=modules/ngx_http_reqstat_module --add-module=modules/ngx_http_upstream_dynamic_module --add-module=modules/ngx_debug_pool --add-module=modules/ngx_http_slice_module --add-module=modules/ngx_http_upstream_dyups_module --add-module=modules/ngx_debug_timer --add-module=modules/ngx_http_sysguard_module --add-module=modules/ngx_http_concat_module --add-module=modules/ngx_http_upstream_session_sticky_module --add-module=modules/ngx_http_footer_filter_module --add-module=modules/ngx_http_trim_filter_module --add-module=modules/ngx_http_user_agent_module --add-module=modules/ngx_http_upstream_check_module --add-module=modules/ngx_slab_stat --add-module=modules/ngx_http_proxy_connect_module --add-module=modules/ngx_http_upstream_consistent_hash_module '--with-cc-opt=-g -Og -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated-declarations -fno-strict-aliasing -D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -DTCP_FASTOPEN=23 -fPIC -m64 -mtune=native -Wno-cast-function-type' '--with-ld-opt=-fPIE -fPIC -pie -Wl,-z,relro -Wl,-z,now' --with-openssl-opt=-fPIC '--with-zlib-opt=-O3 -fPIC' --with-pcre --with-pcre-opt=-fPIC --with-pcre-jit --with-jemalloc --with-openssl=/opt/tongsuo3 --add-module=modules/ngx_tongsuo_ntls --with-openssl-opt=enable-ntls --with-stream_sni checking for OS + Linux 4.18.0-305.19.1.el8_4.x86_64 x86_64 checking for C compiler ... found + using GNU C compiler checking for --with-ld-opt="-fPIE -fPIC -pie -Wl,-z,relro -Wl,-z,now" ... found checking for -Wl,-E switch ... found checking for gcc builtin atomic operations ... found checking for C99 variadic macros ... found checking for gcc variadic macros ... found checking for gcc builtin 64 bit byteswap ... found checking for unistd.h ... found checking for inttypes.h ... found checking for limits.h ... found checking for sys/filio.h ... not found checking for sys/param.h ... found checking for sys/mount.h ... found checking for sys/statvfs.h ... found checking for crypt.h ... found checking for Linux specific features checking for epoll ... found checking for EPOLLRDHUP ... found checking for EPOLLEXCLUSIVE ... found checking for eventfd() ... found checking for O_PATH ... found checking for sendfile() ... found checking for sendfile64() ... found checking for sys/prctl.h ... found checking for prctl(PR_SET_DUMPABLE) ... found checking for prctl(PR_SET_KEEPCAPS) ... found checking for capabilities ... found checking for crypt_r() ... found checking for sys/vfs.h ... found checking for UDP_SEGMENT ... found checking for poll() ... found checking for /dev/poll ... not found checking for kqueue ... not found checking for crypt() ... not found checking for crypt() in libcrypt ... found checking for F_READAHEAD ... not found checking for posix_fadvise() ... found checking for O_DIRECT ... found checking for F_NOCACHE ... not found checking for directio() ... not found checking for statfs() ... found checking for statvfs() ... found checking for dlopen() ... found checking for sched_yield() ... found checking for sched_setaffinity() ... found checking for SO_SETFIB ... not found checking for SO_REUSEPORT ... found checking for SO_ACCEPTFILTER ... not found checking for SO_BINDANY ... not found checking for IP_TRANSPARENT ... found checking for IP_BINDANY ... not found checking for IP_BIND_ADDRESS_NO_PORT ... found checking for IP_RECVDSTADDR ... not found checking for IP_SENDSRCADDR ... not found checking for IP_PKTINFO ... found checking for IPV6_RECVPKTINFO ... found checking for TCP_DEFER_ACCEPT ... found checking for TCP_KEEPIDLE ... found checking for TCP_FASTOPEN ... found checking for TCP_INFO ... found checking for accept4() ... found checking for int size ... 4 bytes checking for long size ... 8 bytes checking for long long size ... 8 bytes checking for void * size ... 8 bytes checking for uint32_t ... found checking for uint64_t ... found checking for sig_atomic_t ... found checking for sig_atomic_t size ... 4 bytes checking for socklen_t ... found checking for in_addr_t ... found checking for in_port_t ... found checking for rlim_t ... found checking for uintptr_t ... uintptr_t found checking for system byte ordering ... little endian checking for size_t size ... 8 bytes checking for off_t size ... 8 bytes checking for time_t size ... 8 bytes checking for AF_INET6 ... found checking for setproctitle() ... not found checking for pread() ... found checking for pwrite() ... found checking for pwritev() ... found checking for strerrordesc_np() ... found checking for localtime_r() ... found checking for clock_gettime(CLOCK_MONOTONIC) ... found checking for posix_memalign() ... found checking for memalign() ... found checking for mmap(MAP_ANON|MAP_SHARED) ... found checking for mmap("/dev/zero", MAP_SHARED) ... found checking for System V shared memory ... found checking for POSIX semaphores ... found checking for struct msghdr.msg_control ... found checking for ioctl(FIONBIO) ... found checking for ioctl(FIONREAD) ... found checking for struct tm.tm_gmtoff ... found checking for struct dirent.d_namlen ... not found checking for struct dirent.d_type ... found checking for sysconf(_SC_NPROCESSORS_ONLN) ... found checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... found checking for openat(), fstatat() ... found checking for getaddrinfo() ... found checking for sysinfo() ... found checking for getloadavg() ... found checking for /proc/meminfo ... found checking for /proc/stat ... found configuring additional modules adding module in modules/ngx_backtrace_module checking for BACKTRACE ... found + ngx_backtrace_module was configured adding module in modules/ngx_http_reqstat_module + ngx_http_reqstat_module was configured adding module in modules/ngx_http_upstream_dynamic_module + ngx_http_upstream_dynamic_module was configured adding module in modules/ngx_debug_pool + ngx_http_debug_pool_module was configured adding module in modules/ngx_http_slice_module + ngx_http_slice_module was configured adding module in modules/ngx_http_upstream_dyups_module + ngx_http_dyups_module was configured adding module in modules/ngx_debug_timer + ngx_http_debug_timer_module was configured adding module in modules/ngx_http_sysguard_module + ngx_http_sysguard_module was configured adding module in modules/ngx_http_concat_module + ngx_http_concat_module was configured adding module in modules/ngx_http_upstream_session_sticky_module + ngx_http_upstream_session_sticky_module was configured adding module in modules/ngx_http_footer_filter_module + ngx_http_footer_filter_module was configured adding module in modules/ngx_http_trim_filter_module + ngx_http_trim_filter_module was configured adding module in modules/ngx_http_user_agent_module + ngx_http_user_agent_module was configured adding module in modules/ngx_http_upstream_check_module checking for ngx_http_upstream_check_module ... found checking for compiler structure-packing pragma ... found + ngx_http_upstream_check_module was configured adding module in modules/ngx_slab_stat + ngx_http_slab_stat_module was configured adding module in modules/ngx_http_proxy_connect_module + ngx_http_proxy_connect_module was configured adding module in modules/ngx_http_upstream_consistent_hash_module + ngx_http_proxy_connect_module was configured adding module in modules/ngx_tongsuo_ntls + ngx_http_proxy_connect_module was configured checking for PCRE2 library ... found checking for OpenSSL Async Library ... not found --prefix=/usr/share/tengine: error: For using asynchronous mode, The OpenSSL must be version 1.1.0 or greater. error: Bad exit status from /var/tmp/rpm-tmp.e0NHnb (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.e0NHnb (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/tengine.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/tengine.spec