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 aarch64 --nodeps /builddir/build/SPECS/tengine.spec'], chrootPath='/var/lib/mock/dist-an23-build-296858-65797/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1693094400 Wrote: /builddir/build/SRPMS/tengine-3.0.0-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/tengine.spec'], chrootPath='/var/lib/mock/dist-an23-build-296858-65797/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1693094400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IkHUdm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tengine-3.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tengine-3.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tengine-3.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Fix-compilation-failure-of-grpc-module-when-add-ngx_.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + tar xf /builddir/build/SOURCES/Tongsuo-34ca38ca821c3a4540268b69fa8042b30f7b985e.tar.gz -C /builddir/build/BUILD + 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.XCAjEz + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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.0.0 + export DESTDIR=/builddir/build/BUILDROOT/tengine-3.0.0-1.an23.aarch64 + DESTDIR=/builddir/build/BUILDROOT/tengine-3.0.0-1.an23.aarch64 + ./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 -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=../Tongsuo-34ca38ca821c3a4540268b69fa8042b30f7b985e --add-module=modules/ngx_tongsuo_ntls --with-openssl-opt=enable-ntls --with-stream_sni checking for OS + Linux 4.18.0-305.17.1.el8_4.aarch64 aarch64 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 ... not found checking for PCRE library ... found checking for PCRE JIT support ... found checking for OpenSSL Async Library ... found checking for OpenSSL DTLS support ... found checking for zlib library ... found checking for jemalloc library ... found creating objs/Makefile Configuration summary + using threads + using system PCRE library + using OpenSSL library: ../Tongsuo-34ca38ca821c3a4540268b69fa8042b30f7b985e + using system zlib library + using system jemalloc library nginx path prefix: "/usr/share/tengine" nginx binary file: "/usr/sbin/tengine" nginx modules path: "/usr/lib64/tengine/modules" nginx configuration prefix: "/etc/tengine" nginx configuration file: "/etc/tengine/nginx.conf" nginx pid file: "/run/tengine.pid" nginx error log file: "/var/log/tengine/error.log" nginx http access log file: "/var/log/tengine/access.log" nginx http client request body temporary files: "/var/lib/tengine/tmp/client_body" nginx http proxy temporary files: "/var/lib/tengine/tmp/proxy" nginx http fastcgi temporary files: "/var/lib/tengine/tmp/fastcgi" + /usr/bin/make -O -j80 V=1 VERBOSE=1 /usr/bin/make -f objs/Makefile cd ../Tongsuo-34ca38ca821c3a4540268b69fa8042b30f7b985e \ && if [ -f Makefile ]; then /usr/bin/make clean; fi \ && ./config --prefix=/builddir/build/BUILD/tengine-3.0.0/../Tongsuo-34ca38ca821c3a4540268b69fa8042b30f7b985e/.openssl no-shared no-threads enable-ntls \ && /usr/bin/make \ && /usr/bin/make install_sw LIBDIR=lib make[1]: Entering directory '/builddir/build/BUILD/tengine-3.0.0' sed -e "s|%%PREFIX%%|/usr/share/tengine|" \ -e "s|%%PID_PATH%%|/run/tengine.pid|" \ -e "s|%%CONF_PATH%%|/etc/tengine/nginx.conf|" \ -e "s|%%ERROR_LOG_PATH%%|/var/log/tengine/error.log|" \ < man/nginx.8 > objs/nginx.8 make[1]: Leaving directory '/builddir/build/BUILD/tengine-3.0.0' Operating system: aarch64-whatever-linux2 Can't locate FindBin.pm in @INC (you may need to install the FindBin module) (@INC contains: /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./Configure line 15. BEGIN failed--compilation aborted at ./Configure line 15. Can't locate FindBin.pm in @INC (you may need to install the FindBin module) (@INC contains: /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./Configure line 15. BEGIN failed--compilation aborted at ./Configure line 15. This system (linux-aarch64) is not supported. See file INSTALL for details. make[1]: *** [objs/Makefile:1860: ../Tongsuo-34ca38ca821c3a4540268b69fa8042b30f7b985e/.openssl/include/openssl/ssl.h] Error 1 make: *** [Makefile:10: build] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.XCAjEz (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.XCAjEz (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --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 aarch64 --nodeps /builddir/build/SPECS/tengine.spec