Bug 2011184

Summary: perl-CryptX-0.053-22.fc36 FTBFS: Can't locate object method "_sadd" via package "Math::BigInt::LTM" at /usr/share/perl5/vendor_perl/Math/BigInt.pm line 4937.
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-CryptXAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-CryptX-0.053-23.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-06 10:23:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1992484    

Description Petr Pisar 2021-10-06 08:33:35 UTC
perl-CryptX-0.053-22.fc36 fails to build in Fedora 36 because BigInt tests fail:

t/mbi_ltm_bigintg.t ................. ok

#   Failed test '$x = Math::BigFloat->new("-144"); $y = Math::BigFloat->new("-60"); Math::BigFloat::bgcd($x, $y);'
#   at ./t/mbi_ltm/bigfltpm.inc line 168.
#          got: undef
#     expected: '12'
[...]
t/mac_hmac_test_vectors_ltc.t ....... ok
Can't locate object method "_sadd" via package "Math::BigInt::LTM" at /usr/share/perl5/vendor_perl/Math/BigInt.pm line 4937.
# Looks like your test exited with 255 just after 1.
t/mbi_ltm_bigroot.t ................. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 8/9 subtests 
[...]
Test Summary Report
-------------------
t/mbi_ltm_bigroot.t               (Wstat: 65280 Tests: 1 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 9 tests but ran 1.
t/mbi_ltm_biglog.t                (Wstat: 65280 Tests: 13 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 71 tests but ran 13.
t/mbi_ltm_bigintpm.t              (Wstat: 65280 Tests: 2384 Failed: 36)
  Failed tests:  321, 331, 336, 343, 439, 441, 443, 445
                597, 608, 611, 620, 625, 628, 631, 744
                1453-1462, 1661-1670
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 3718 tests but ran 2384.
t/mbi_ltm_bigfltpm.t              (Wstat: 65280 Tests: 2207 Failed: 150)
  Failed tests:  43-46, 51-52, 65, 68, 71-73, 76-78, 87
                94, 123-125, 186-187, 202, 209, 228-229
                262-264, 273-274, 317, 319, 321, 387, 439-440
                472, 533, 544, 715-716, 729-730, 743-744
                757-758, 771-772, 781-782, 799-805, 1159
                1162, 1185-1186, 1255-1264, 1337-1346, 1469
                1580-1581, 1630-1634, 1645-1657, 1662-1674
                1681-1684, 1693-1694, 1763-1779, 1822, 1865
                1892, 1981, 2059-2061, 2080, 2088, 2096
                2104
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 2408 tests but ran 2207.

This is probably caused by recent updates to Math::BigInt etc. Observed with perl-Math-BigInt-1.9998.27-1.fc36.