perl-IO-Socket-SSL-2.072-2.fc36 fails to build in Fedora 36 because few tests fail: t/connectSSL-timeout.t ............ Dubious, test returned 1 (wstat 256, 0x100) Failed 8/16 subtests # Failed test 'Server Getlines Check 1' # at t/core.t line 251. # got: '0' # expected: '6' # Failed test 'Server Getlines Check 2' # at t/core.t line 253. # got: undef # expected: '1.04 # ' # Failed test 'Server Getlines Check 3' # at t/core.t line 255. # got: undef # expected: '4 # ' # Failed test 'Server Getlines Check 4' # at t/core.t line 257. # got: undef # expected: 'y # ' Use of uninitialized value in join or string at t/core.t line 259. Use of uninitialized value in join or string at t/core.t line 259. Use of uninitialized value in join or string at t/core.t line 259. # Failed test 'Server Getlines Check 5' # at t/core.t line 259. # got: '' # expected: 'Test # Beaver # Beaver # ' # Failed test 'Client Sysread Check' # at t/core.t line 137. # got: '^@^@aaaaaaaaaaaaaaaaaaaa' # expected: '^@^@waaaanf' # Failed test 'Client Getline Check' # at t/core.t line 147. # got: undef # expected: 'Test # ' # Failed test 'Client Getc Check' # at t/core.t line 149. # got: '0' # expected: '$' # Failed test 'Client Getlines Check 1' # at t/core.t line 152. # got: '0' # expected: '6' # Failed test 'Client Getlines Check 2' # at t/core.t line 154. # got: undef # expected: '1.04 # ' # Failed test 'Client Getlines Check 3' # at t/core.t line 156. # got: undef # expected: '4 # ' # Failed test 'Client Getlines Check 4' # at t/core.t line 158. # got: undef # expected: 'y # ' Use of uninitialized value in join or string at t/core.t line 160. Use of uninitialized value in join or string at t/core.t line 160. Use of uninitialized value in join or string at t/core.t line 160. # Failed test 'Client Getlines Check 5' # at t/core.t line 160. # got: '' # expected: 'Test # Beaver # Beaver # ' t/core.t .......................... Failed 13/48 subtests [...] t/public_suffix_ssl.t ............. ok Use of uninitialized value $c[0] in string eq at t/readline.t line 34. Use of uninitialized value $b in string eq at t/readline.t line 48. Use of uninitialized value $b in concatenation (.) or string at t/readline.t line 48. Use of uninitialized value $c[0] in string eq at t/readline.t line 58. Use of uninitialized value $c[0] in string eq at t/readline.t line 71. Use of uninitialized value $c[0] in string eq at t/readline.t line 84. t/readline.t ...................... Failed 5/19 subtests [...] Test Summary Report ------------------- t/connectSSL-timeout.t (Wstat: 256 Tests: 10 Failed: 2) Failed tests: 9-10 Non-zero exit status: 1 Parse errors: Bad plan. You planned 16 tests but ran 10. t/core.t (Wstat: 0 Tests: 48 Failed: 13) Failed tests: 22-34 t/readline.t (Wstat: 0 Tests: 19 Failed: 5) Failed tests: 4, 7, 10, 13, 16 Files=41, Tests=786, 45 wallclock secs ( 0.14 usr 0.05 sys + 9.49 cusr 1.18 csys = 10.86 CPU) Result: FAIL This is a difference between passing and failing build root: Removed packages: audit-libs-3.0.5-2.fc36 crypto-policies-20210819-1.gitd0fdcfb.fc36 curl-7.78.0-4.fc36 filesystem-3.14-7.fc35 gdb-minimal-10.2-6.fc35 glibc-2.34.9000-6.fc36 glibc-common-2.34.9000-6.fc36 glibc-gconv-extra-2.34.9000-6.fc36 glibc-minimal-langpack-2.34.9000-6.fc36 libcap-ng-0.8.2-6.fc35 libcurl-7.78.0-4.fc36 libdb-5.3.28-49.fc36 libnghttp2-1.44.0-2.fc35 librtas-2.0.2-11.fc35 libssh-0.9.5-3.fc36 libssh-config-0.9.5-3.fc36 libxcrypt-4.4.25-3.fc36 openldap-2.4.59-2.fc35 openssl1.1-1.1.1k-1.fc36 pam-1.5.2-1.fc36 perl-Math-BigInt-1.9998.23-2.fc35 perl-Net-LibIDN-0.12-41.fc35 perl-Net-SSLeay-1.90-4.fc35 perl-Scalar-List-Utils-1.56-461.fc35 perl-Test-Simple-1.302186-1.fc35 popt-1.18-6.fc35 python-srpm-macros-3.10-7.fc35 redhat-rpm-config-197-1.fc36 rpm-4.17.0-1.fc36 rpm-build-4.17.0-1.fc36 rpm-build-libs-4.17.0-1.fc36 rpm-libs-4.17.0-1.fc36 shadow-utils-4.9-3.fc36 systemd-libs-249.4-1.fc36 Added packages: audit-libs-3.0.5-3.fc36 crypto-policies-20210917-1.gitc9d86d1.fc36 curl-7.79.1-1.fc36 filesystem-3.16-1.fc36 gdb-minimal-10.2-7.fc36 glibc-2.34.9000-8.fc36 glibc-common-2.34.9000-8.fc36 glibc-gconv-extra-2.34.9000-8.fc36 glibc-minimal-langpack-2.34.9000-8.fc36 libcap-ng-0.8.2-7.fc36 libcurl-7.79.1-1.fc36 libdb-5.3.28-50.fc36 libnghttp2-1.45.1-1.fc36 libssh-0.9.6-1.fc36 libssh-config-0.9.6-1.fc36 libxcrypt-4.4.26-4.fc36 openldap-2.4.59-3.fc36 openssl1.1-1.1.1l-1.fc36 pam-1.5.2-5.fc36 perl-Math-BigInt-1.9998.24-1.fc36 perl-Net-LibIDN-0.12-41.fc36 perl-Net-SSLeay-1.90-6.fc36 perl-Scalar-List-Utils-1.59-461.fc36 perl-Test-Simple-1.302187-1.fc36 popt-1.18-6.fc36 python-srpm-macros-3.10-8.fc36 redhat-rpm-config-199-1.fc36 rpm-4.17.0-1.fc36.1 rpm-build-4.17.0-1.fc36.1 rpm-build-libs-4.17.0-1.fc36.1 rpm-libs-4.17.0-1.fc36.1 shadow-utils-4.9-4.fc36 systemd-libs-249.4-2.fc36
These failures happened after I updated perl-Net-SSLeay to include upstream's fixes for OpenSSL 3.0.0 (plus an additional workaround that upstream want to fix differently) and rebuilt that package. The previous passing build would have been with the old perl-Net-SSLeay that was built with OpenSSL 1.1.1. I wonder what's still pulling in OpenSSL 1.1.1?
I think OpenSSL 1.1.1 is pulled in by few non-Perl packages. On my virtual machine: # rpm -q --whatrequires 'libssl.so.1.1()(64bit)' ruby-libs-3.0.2-152.fc36.x86_64 krb5-libs-1.19.2-3.fc36.x86_64 root@fedora-36:~ # rpm -q --whatrequires 'libcrypto.so.1.1()(64bit)' ruby-libs-3.0.2-152.fc36.x86_64 krb5-libs-1.19.2-3.fc36.x86_64 libarchive-3.5.2-2.fc36.x86_64 openssl1.1-1.1.1l-1.fc36.x86_64 I can see krb5-libs in root.log of the linked scratch build.
Fixed with new upstream release 2.073.