Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Crypt-SSLeay.spec'], chrootPath='/var/lib/mock/f29-build-17346-8297/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Crypt-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': 'en_US.UTF-8'} and shell False BUILDSTDERR: sh: perl: command not found BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/perl-Crypt-SSLeay-0.72-19.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Crypt-SSLeay.spec'], chrootPath='/var/lib/mock/f29-build-17346-8297/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Crypt-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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.X6yiM7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Crypt-SSLeay-0.72 + /usr/bin/gzip -dc /builddir/build/SOURCES/Crypt-SSLeay-0.72.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Crypt-SSLeay-0.72 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (Crypt-SSLeay-0.72-Do-not-use-SSLv2_client_method-with-OpenSSL-1.1.0.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #0 (Crypt-SSLeay-0.72-Do-not-use-SSLv2_client_method-with-OpenSSL-1.1.0.patch): patching file SSLeay.xs + echo 'Patch #1 (Crypt-SSLeay-0.72-Fix-building-on-Perl-without-dot-in-INC.patch):' Patch #1 (Crypt-SSLeay-0.72-Fix-building-on-Perl-without-dot-in-INC.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.PL + chmod -c -x lib/Net/SSL.pm mode of 'lib/Net/SSL.pm' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lRbmGh + umask 022 + cd /builddir/build/BUILD + cd Crypt-SSLeay-0.72 + pkg-config openssl BUILDSTDERR: ++ pkg-config --cflags-only-I openssl + export 'INC= ' + INC=' ' BUILDSTDERR: ++ pkg-config --libs-only-L openssl + export 'LDFLAGS= ' + LDFLAGS=' ' + perl Makefile.PL --no-live-tests 'INC= ' 'LDFLAGS= ' INSTALLDIRS=vendor NO_PACKLIST=1 'OPTIMIZE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' *** THIS IS NOT AN ERROR, JUST A MESSAGE FOR YOUR INFORMATION *** Do you really need Crypt::SSLeay? Starting with version 6.02 of LWP, https support was unbundled into LWP::Protocol::https. This module specifies as one of its prerequisites IO::Socket::SSL which is automatically used by LWP::UserAgent unless this preference is overridden separately. IO::Socket::SSL is a more complete implementation, and, crucially, it allows hostname verification. Crypt::SSLeay does not support this. At this point, Crypt::SSLeay is maintained to support existing software that already depends on it. However, it is possible that your software does not really depend on Crypt::SSLeay, only on the ability of LWP::UserAgent class to communicate with sites over SSL/TLS. If are using version LWP 6.02 or later, and therefore have installed LWP::Protocol::https and its dependencies, and do not explicitly use Net::SSL before loading LWP::UserAgent, or override the default socket class, you are probably using IO::Socket::SSL and do not really need Crypt::SSLeay. Before installing Crypt::SSLeay, you may want to try specifying a dependency on LWP::Protocol::https. BUILDSTDERR: Warning: prerequisite LWP::Protocol::https 6.02 not found. ================================================================================ Output from '/builddir/build/BUILD/Crypt-SSLeay-0.72/openssl-version': OpenSSL 1.1.0h 27 Mar 2018 1010008f ================================================================================ Checking if your kit is complete... Looks good BUILDSTDERR: Warning (mostly harmless): No library found for -lssl32 BUILDSTDERR: Warning (mostly harmless): No library found for -lssleay32 BUILDSTDERR: Warning (mostly harmless): No library found for -leay32 BUILDSTDERR: Warning (mostly harmless): No library found for -llibeay32 Generating a Unix-style Makefile Writing Makefile for Crypt::SSLeay + make -j4 "/usr/bin/perl" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Crypt-SSLeay-0.72/typemap' SSLeay.xs > SSLeay.xsc Running Mkbootstrap for SSLeay () chmod 644 "SSLeay.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSLeay.bs blib/arch/auto/Crypt/SSLeay/SSLeay.bs 644 cp lib/Crypt/SSLeay/X509.pm blib/lib/Crypt/SSLeay/X509.pm cp lib/Crypt/SSLeay/Version.pm blib/lib/Crypt/SSLeay/Version.pm cp lib/Crypt/SSLeay/Err.pm blib/lib/Crypt/SSLeay/Err.pm cp SSLeay.pm blib/lib/Crypt/SSLeay.pm cp lib/Crypt/SSLeay/MainContext.pm blib/lib/Crypt/SSLeay/MainContext.pm cp lib/Net/SSL.pm blib/lib/Net/SSL.pm cp lib/Crypt/SSLeay/Conn.pm blib/lib/Crypt/SSLeay/Conn.pm cp lib/Crypt/SSLeay/CTX.pm blib/lib/Crypt/SSLeay/CTX.pm mv SSLeay.xsc SSLeay.c gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -fPIC "-I/usr/lib64/perl5/CORE" SSLeay.c BUILDSTDERR: SSLeay.xs: In function 'XS_Crypt__SSLeay__CTX_new': BUILDSTDERR: SSLeay.xs:152:13: warning: 'SSLv3_client_method' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: ctx = SSL_CTX_new(SSLv3_client_method()); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/openssl/ct.h:13, BUILDSTDERR: from /usr/include/openssl/ssl.h:61, BUILDSTDERR: from SSLeay.xs:35: BUILDSTDERR: /usr/include/openssl/ssl.h:1619:1: note: declared here BUILDSTDERR: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *SSLv3_client_method(void)) /* SSLv3 */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: SSLeay.xs:160:13: warning: 'SSLv3_client_method' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: ctx = SSL_CTX_new(SSLv3_client_method()); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/openssl/ct.h:13, BUILDSTDERR: from /usr/include/openssl/ssl.h:61, BUILDSTDERR: from SSLeay.xs:35: BUILDSTDERR: /usr/include/openssl/ssl.h:1619:1: note: declared here BUILDSTDERR: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *SSLv3_client_method(void)) /* SSLv3 */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: SSLeay.c:280:6: warning: unused variable 'packname' [-Wunused-variable] BUILDSTDERR: SV* packname = ST(0) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: SSLeay.c: In function 'XS_Crypt__SSLeay__Conn_new': BUILDSTDERR: SSLeay.c:586:6: warning: unused variable 'packname' [-Wunused-variable] BUILDSTDERR: SV* packname = ST(0) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5251, BUILDSTDERR: from SSLeay.xs:13: BUILDSTDERR: SSLeay.c: In function 'XS_Crypt__SSLeay__CTX_use_pkcs12_file': BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:393:12: warning: 'RETVAL' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: IV TARGi_iv = i; \ BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: SSLeay.c:475:6: note: 'RETVAL' was declared here BUILDSTDERR: int RETVAL; BUILDSTDERR: ^~~~~~ rm -f blib/arch/auto/Crypt/SSLeay/SSLeay.so gcc -lpthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong SSLeay.o -o blib/arch/auto/Crypt/SSLeay/SSLeay.so \ -lssl -lcrypto -lz -lperl \ chmod 755 blib/arch/auto/Crypt/SSLeay/SSLeay.so Manifying 3 pod documents + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lSu9Ll + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64 + cd Crypt-SSLeay-0.72 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSLeay.bs blib/arch/auto/Crypt/SSLeay/SSLeay.bs 644 Manifying 3 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/Crypt/SSLeay/SSLeay.so Installing /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/lib64/perl5/vendor_perl/Net/SSL.pm Installing /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/lib64/perl5/vendor_perl/Crypt/SSLeay.pm Installing /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/X509.pm Installing /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/Version.pm Installing /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/Err.pm Installing /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/CTX.pm Installing /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/MainContext.pm Installing /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/Conn.pm Installing /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/share/man/man3/Net::SSL.3pm Installing /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/share/man/man3/Crypt::SSLeay.3pm Installing /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/share/man/man3/Crypt::SSLeay::Version.3pm + find /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64 -type f -name '*.bs' -a -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64 + chmod -R u+w /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr + chmod -R 644 eg/lwp-ssl-test eg/net-ssl-test + chmod -R 644 certs/ca-bundle.crt certs/notacacert.pem certs/notacakeynopass.pem + rm certs/ca-bundle.crt + ln -s /etc/pki/tls/certs/ca-bundle.crt certs/ca-bundle.crt + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.72-19.fc29 --unique-debug-suffix -0.72-19.fc29.riscv64 --unique-debug-src-base perl-Crypt-SSLeay-0.72-19.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Crypt-SSLeay-0.72 extracting debug info from /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/Crypt/SSLeay/SSLeay.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 105 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Ooq6lP Processing files: perl-Crypt-SSLeay-0.72-19.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.t3a1bO + umask 022 + cd /builddir/build/BUILD + cd Crypt-SSLeay-0.72 + DOCDIR=/builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/share/doc/perl-Crypt-SSLeay + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/share/doc/perl-Crypt-SSLeay + cp -pr Changes /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/share/doc/perl-Crypt-SSLeay + cp -pr eg/lwp-ssl-test eg/net-ssl-test /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/share/doc/perl-Crypt-SSLeay + cp -pr certs/ca-bundle.crt certs/notacacert.pem certs/notacakeynopass.pem /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64/usr/share/doc/perl-Crypt-SSLeay + exit 0 Provides: perl(Crypt::SSLeay) = 0.72 perl(Crypt::SSLeay::CTX) perl(Crypt::SSLeay::Conn) perl(Crypt::SSLeay::Err) perl(Crypt::SSLeay::MainContext) perl(Crypt::SSLeay::Version) perl(Crypt::SSLeay::X509) perl(Net::SSL) = 2.86 perl-Crypt-SSLeay = 0.72-19.fc29 perl-Crypt-SSLeay(riscv-64) = 0.72-19.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libperl.so.5.28()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libz.so.1()(64bit) perl(Carp) perl(Crypt::SSLeay) perl(Crypt::SSLeay::CTX) perl(Crypt::SSLeay::X509) perl(Exporter) perl(IO::Socket) perl(MIME::Base64) perl(Socket) perl(strict) perl(vars) rtld(GNU_HASH) Processing files: perl-Crypt-SSLeay-debugsource-0.72-19.fc29.riscv64 Provides: perl-Crypt-SSLeay-debugsource = 0.72-19.fc29 perl-Crypt-SSLeay-debugsource(riscv-64) = 0.72-19.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Crypt-SSLeay-debuginfo-0.72-19.fc29.riscv64 Provides: debuginfo(build-id) = cba5c9aa93dd3aebcdba6def4ac6b6a635f42df0 perl-Crypt-SSLeay-debuginfo = 0.72-19.fc29 perl-Crypt-SSLeay-debuginfo(riscv-64) = 0.72-19.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Crypt-SSLeay-debugsource(riscv-64) = 0.72-19.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64 Wrote: /builddir/build/RPMS/perl-Crypt-SSLeay-0.72-19.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Crypt-SSLeay-debugsource-0.72-19.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Crypt-SSLeay-debuginfo-0.72-19.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.nFRy9b + umask 022 + cd /builddir/build/BUILD + cd Crypt-SSLeay-0.72 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Crypt-SSLeay-0.72-19.fc29.riscv64 + exit 0 Child return code was: 0