Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Net-SSLeay.spec'], chrootPath='/var/lib/mock/dist-an23-riscv64-build-113320-45879/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=2592000uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9xx46wcj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9xx46wcj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7963e4fd307d4d4db639fa19a36dbe3e', '-D', '/var/lib/mock/dist-an23-riscv64-build-113320-45879/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9xx46wcj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Net-SSLeay.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False sh: line 1: perl: command not found Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/perl-Net-SSLeay-1.92-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Net-SSLeay.spec'], chrootPath='/var/lib/mock/dist-an23-riscv64-build-113320-45879/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=2592000uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9xx46wcj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9xx46wcj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'be99885ad67443bea0c946cc7c8f8dd2', '-D', '/var/lib/mock/dist-an23-riscv64-build-113320-45879/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9xx46wcj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Net-SSLeay.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7GMcgx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Net-SSLeay-1.92 + /usr/bin/gzip -dc /builddir/build/SOURCES/Net-SSLeay-1.92.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Net-SSLeay-1.92 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #10 (Net-SSLeay-1.90-pkgconfig.patch):' Patch #10 (Net-SSLeay-1.90-pkgconfig.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile.PL Hunk #1 succeeded at 295 (offset 86 lines). + chmod -c 644 examples/bio.pl examples/bulk.pl examples/callback.pl examples/cb-testi.pl examples/cli-cert.pl examples/ephemeral.pl examples/get_authenticated_page.pl examples/get_page.pl examples/get_page_cert.pl examples/https-proxy-snif.pl examples/makecert.pl examples/minicli.pl examples/passwd-cb.pl examples/req.conf examples/server_key.pem examples/ssl-inetd-serv.pl examples/ssl_diff.pl examples/sslcat.pl examples/sslecho.pl examples/stdio_bulk.pl examples/tcpcat.pl examples/tcpecho.pl examples/x509_cert_details.pl mode of 'examples/bulk.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/callback.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/get_authenticated_page.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/get_page.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/https-proxy-snif.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/makecert.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/minicli.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/ssl-inetd-serv.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/ssl_diff.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/sslcat.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/sslecho.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/stdio_bulk.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/tcpcat.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/tcpecho.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/x509_cert_details.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Hxmpo2 + umask 022 + cd /builddir/build/BUILD + cd Net-SSLeay-1.92 + unset OPENSSL_PREFIX + PERL_MM_USE_DEFAULT=1 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 'OPTIMIZE=-O2 -g' Do you want to run external tests? These tests *will* *fail* if you do not have network connectivity. [n] n *** Be sure to use the same compiler and options to compile your OpenSSL, perl, and Net::SSLeay. Mixing and matching compilers is not supported. Argument "0.60_01" isn't numeric in numeric gt (>) at /usr/share/perl5/vendor_perl/ExtUtils/MakeMaker.pm line 641. *** Found OpenSSL-1.1.1l installed in /usr Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::SSLeay + /usr/bin/make -O -j8 V=1 VERBOSE=1 Running Mkbootstrap for SSLeay () chmod 644 "SSLeay.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs 644 cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay) blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters: directory blib/lib/auto/Net/SSLeay: do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Net-SSLeay-1.92/typemap' SSLeay.xs > SSLeay.xsc mv SSLeay.xsc SSLeay.c gcc -c -I"/usr/include" -D_REENTRANT -D_GNU_SOURCE -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.92\" -DXS_VERSION=\"1.92\" -fPIC "-I/usr/lib64/perl5/CORE" SSLeay.c gcc: fatal error: cannot read spec file '/usr/lib/rpm/redhat/redhat-hardened-cc1': No such file or directory compilation terminated. make: *** [Makefile:353: SSLeay.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.Hxmpo2 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Hxmpo2 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M be99885ad67443bea0c946cc7c8f8dd2 -D /var/lib/mock/dist-an23-riscv64-build-113320-45879/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.9xx46wcj:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Net-SSLeay.spec