D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/perl-Crypt-SSLeay-0.720.0-19.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.WsRRga + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf Crypt-SSLeay-0.72 + /usr/bin/gzip -dc /home/iurt/rpmbuild/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 (0001-Do-not-use-SSLv2_client_method-with-OpenSSL-1.1.0.patch):' Patch #0 (0001-Do-not-use-SSLv2_client_method-with-OpenSSL-1.1.0.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file SSLeay.xs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.3sPPcX + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd Crypt-SSLeay-0.72 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export PERL_USE_UNSAFE_INC=1 + PERL_USE_UNSAFE_INC=1 + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor *** 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. ================================================================================ Output from '/home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/openssl-version': OpenSSL 3.0.0 7 sep 2021 30000000 ================================================================================ Checking if your kit is complete... Looks good Warning (mostly harmless): No library found for -lssl32 Warning (mostly harmless): No library found for -lssleay32 Warning (mostly harmless): No library found for -leay32 Warning (mostly harmless): No library found for -llibeay32 Generating a Unix-style Makefile Writing Makefile for Crypt::SSLeay Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j4 V=1 VERBOSE=1 Running Mkbootstrap for SSLeay () chmod 644 "SSLeay.bs" "/usr/bin/perl5.34.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSLeay.bs blib/arch/auto/Crypt/SSLeay/SSLeay.bs 644 cp lib/Crypt/SSLeay/Conn.pm blib/lib/Crypt/SSLeay/Conn.pm cp lib/Crypt/SSLeay/MainContext.pm blib/lib/Crypt/SSLeay/MainContext.pm cp lib/Crypt/SSLeay/Version.pm blib/lib/Crypt/SSLeay/Version.pm cp lib/Net/SSL.pm blib/lib/Net/SSL.pm cp lib/Crypt/SSLeay/Err.pm blib/lib/Crypt/SSLeay/Err.pm cp lib/Crypt/SSLeay/CTX.pm blib/lib/Crypt/SSLeay/CTX.pm cp SSLeay.pm blib/lib/Crypt/SSLeay.pm cp lib/Crypt/SSLeay/X509.pm blib/lib/Crypt/SSLeay/X509.pm "/usr/bin/perl5.34.0" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/typemap' SSLeay.xs > SSLeay.xsc mv SSLeay.xsc SSLeay.c gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -fPIC "-I/usr/lib64/perl5/CORE" SSLeay.c SSLeay.xs: In function 'XS_Crypt__SSLeay__CTX_new': SSLeay.xs:152:31: warning: implicit declaration of function 'SSLv3_client_method'; did you mean 'SSLv23_client_method'? [-Wimplicit-function-declaration] 152 | ctx = SSL_CTX_new(SSLv3_client_method()); | ^~~~~~~~~~~~~~~~~~~ | SSLv23_client_method SSLeay.xs:152:31: warning: passing argument 1 of 'SSL_CTX_new' makes pointer from integer without a cast [-Wint-conversion] 152 | ctx = SSL_CTX_new(SSLv3_client_method()); | ^~~~~~~~~~~~~~~~~~~~~ | | | int In file included from SSLeay.xs:35: /usr/include/openssl/ssl.h:1596:47: note: expected 'const SSL_METHOD *' {aka 'const struct ssl_method_st *'} but argument is of type 'int' 1596 | __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); | ~~~~~~~~~~~~~~~~~~^~~~ SSLeay.xs:160:31: warning: passing argument 1 of 'SSL_CTX_new' makes pointer from integer without a cast [-Wint-conversion] 160 | ctx = SSL_CTX_new(SSLv3_client_method()); | ^~~~~~~~~~~~~~~~~~~~~ | | | int In file included from SSLeay.xs:35: /usr/include/openssl/ssl.h:1596:47: note: expected 'const SSL_METHOD *' {aka 'const struct ssl_method_st *'} but argument is of type 'int' 1596 | __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); | ~~~~~~~~~~~~~~~~~~^~~~ rm -f blib/arch/auto/Crypt/SSLeay/SSLeay.so gcc -lpthread -shared -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.1U7t0n + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64 + cd Crypt-SSLeay-0.72 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64 'INSTALL=/usr/bin/install -p' "/usr/bin/perl5.34.0" -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 /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64/usr/lib64/perl5/vendor_perl/auto/Crypt/SSLeay/SSLeay.so Installing /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64/usr/lib64/perl5/vendor_perl/Net/SSL.pm Installing /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64/usr/lib64/perl5/vendor_perl/Crypt/SSLeay.pm Installing /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/X509.pm Installing /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/CTX.pm Installing /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/Err.pm Installing /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/Version.pm Installing /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/MainContext.pm Installing /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64/usr/lib64/perl5/vendor_perl/Crypt/SSLeay/Conn.pm Installing /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64/usr/share/man/man3/Net::SSL.3pm Installing /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64/usr/share/man/man3/Crypt::SSLeay::Version.3pm Installing /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64/usr/share/man/man3/Crypt::SSLeay.3pm Appending installation info to /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64/usr/lib64/perl5/perllocal.pod + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.720.0-19.mga9 --unique-debug-suffix -0.720.0-19.mga9.aarch64 --unique-debug-src-base perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64/usr/lib64/perl5/vendor_perl/auto/Crypt/SSLeay/SSLeay.so objcopy: unable to copy file '/home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64/usr/lib64/perl5/vendor_perl/auto/Crypt/SSLeay/SSLeay.so'; reason: Permission denied objcopy: unable to copy file '/home/iurt/rpmbuild/BUILDROOT/perl-Crypt-SSLeay-0.720.0-19.mga9.aarch64/usr/lib64/perl5/vendor_perl/auto/Crypt/SSLeay/SSLeay.so'; reason: Permission denied dwz: ./usr/lib64/perl5/vendor_perl/auto/Crypt/SSLeay/SSLeay.so-0.720.0-19.mga9.aarch64.debug: Unknown debugging section .debug_line_str original debug info size: 112kB, size after compression: 112kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match. 105 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib64/perl5/vendor_perl/Net/SSL.pm is executable but has no shebang, removing executable bit Executing(%check): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.DMKxGP + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd Crypt-SSLeay-0.72 + '[' 1 -eq 1 ']' + /usr/bin/make -O -j4 V=1 VERBOSE=1 test "/usr/bin/perl5.34.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSLeay.bs blib/arch/auto/Crypt/SSLeay/SSLeay.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl5.34.0" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'use Crypt::SSLeay;' # at t/00-basic.t line 6. # Tried to use 'Crypt::SSLeay'. # Error: Can't load '/home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/blib/arch/auto/Crypt/SSLeay/SSLeay.so' for module Crypt::SSLeay: /home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/blib/arch/auto/Crypt/SSLeay/SSLeay.so: undefined symbol: SSLv3_client_method at /usr/lib64/perl5/DynaLoader.pm line 193. # at t/00-basic.t line 6. # Compilation failed in require at t/00-basic.t line 6. # BEGIN failed--compilation aborted at t/00-basic.t line 6. # Failed test 'use Crypt::SSLeay::CTX;' # at t/00-basic.t line 7. # Tried to use 'Crypt::SSLeay::CTX'. # Error: Attempt to reload Crypt/SSLeay.pm aborted. # Compilation failed in require at /home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/blib/lib/Crypt/SSLeay/CTX.pm line 2. # Compilation failed in require at t/00-basic.t line 7. # BEGIN failed--compilation aborted at t/00-basic.t line 7. # Failed test 'use Crypt::SSLeay::Conn;' # at t/00-basic.t line 8. # Tried to use 'Crypt::SSLeay::Conn'. # Error: Attempt to reload Crypt/SSLeay.pm aborted. # Compilation failed in require at /home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/blib/lib/Crypt/SSLeay/Conn.pm line 2. # Compilation failed in require at t/00-basic.t line 8. # BEGIN failed--compilation aborted at t/00-basic.t line 8. # Failed test 'use Crypt::SSLeay::Err;' # at t/00-basic.t line 9. # Tried to use 'Crypt::SSLeay::Err'. # Error: Attempt to reload Crypt/SSLeay.pm aborted. # Compilation failed in require at /home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/blib/lib/Crypt/SSLeay/Err.pm line 2. # Compilation failed in require at t/00-basic.t line 9. # BEGIN failed--compilation aborted at t/00-basic.t line 9. # Failed test 'use Crypt::SSLeay::MainContext;' # at t/00-basic.t line 10. # Tried to use 'Crypt::SSLeay::MainContext'. # Error: Attempt to reload Crypt/SSLeay/CTX.pm aborted. # Compilation failed in require at /home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/blib/lib/Crypt/SSLeay/MainContext.pm line 8. # Compilation failed in require at t/00-basic.t line 10. # BEGIN failed--compilation aborted at t/00-basic.t line 10. # Failed test 'use Crypt::SSLeay::Version;' # at t/00-basic.t line 12. # Tried to use 'Crypt::SSLeay::Version'. # Error: Attempt to reload Crypt/SSLeay.pm aborted. # Compilation failed in require at /home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/blib/lib/Crypt/SSLeay/Version.pm line 2. # Compilation failed in require at t/00-basic.t line 12. # BEGIN failed--compilation aborted at t/00-basic.t line 12. # Failed test 'use Net::SSL;' # at t/00-basic.t line 23. # Tried to use 'Net::SSL'. # Error: Attempt to reload Crypt/SSLeay.pm aborted. # Compilation failed in require at /home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/blib/lib/Net/SSL.pm line 20. # Compilation failed in require at t/00-basic.t line 23. # BEGIN failed--compilation aborted at t/00-basic.t line 23. Undefined subroutine &main::main_ctx called at t/00-basic.t line 49. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 2 just after 13. t/00-basic.t ..... Dubious, test returned 2 (wstat 512, 0x200) Failed 7/13 subtests (less 5 skipped subtests: 1 okay) Can't load '/home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/blib/arch/auto/Crypt/SSLeay/SSLeay.so' for module Crypt::SSLeay: /home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/blib/arch/auto/Crypt/SSLeay/SSLeay.so: undefined symbol: SSLv3_client_method at /usr/lib64/perl5/DynaLoader.pm line 193. at /home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/blib/lib/Net/SSL.pm line 20. Compilation failed in require at /home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/blib/lib/Net/SSL.pm line 20. Compilation failed in require at t/01-connect.t line 6. BEGIN failed--compilation aborted at t/01-connect.t line 6. # Looks like your test exited with 2 before it could output anything. t/01-connect.t ... Dubious, test returned 2 (wstat 512, 0x200) Failed 8/8 subtests # Reading configuration from 'test.config' on linux # network_tests : 0 t/02-live.t ...... skipped: Network tests disabled Can't load '/home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/blib/arch/auto/Crypt/SSLeay/SSLeay.so' for module Crypt::SSLeay: /home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/blib/arch/auto/Crypt/SSLeay/SSLeay.so: undefined symbol: SSLv3_client_method at /usr/lib64/perl5/DynaLoader.pm line 193. at /home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/blib/lib/Crypt/SSLeay/Version.pm line 2. Compilation failed in require at /home/iurt/rpmbuild/BUILD/Crypt-SSLeay-0.72/blib/lib/Crypt/SSLeay/Version.pm line 2. Compilation failed in require at t/03-version.t line 7. BEGIN failed--compilation aborted at t/03-version.t line 14. t/03-version.t ... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/boilerplate.t .. ok t/manifest.t ..... skipped: Author tests not required for installation Test Summary Report ------------------- t/00-basic.t (Wstat: 512 Tests: 13 Failed: 7) Failed tests: 1-5, 7-8 Non-zero exit status: 2 Parse errors: No plan found in TAP output t/01-connect.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 8 tests but ran 0. t/03-version.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=6, Tests=22, 1 wallclock secs ( 0.05 usr 0.01 sys + 0.92 cusr 0.09 csys = 1.07 CPU) Result: FAIL Failed 3/6 test programs. 7/22 subtests failed. make: *** [Makefile:1100: test_dynamic] Error 255 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.DMKxGP (%check) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.DMKxGP (%check) I: [iurt_root_command] ERROR: chroot