Bug 2354493

Summary: perl-CryptX-0.085-1.fc43 FTBFS: t/mbi_ltm_bigfltpm.t fails
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-CryptXAssignee: Xavier Bachelot <xavier>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: xavier
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-CryptX-0.086-1.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-05-03 13:05:11 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: 2339432    

Description Petr Pisar 2025-03-24 09:49:47 UTC
perl-CryptX-0.085-1.fc43 fails to build in Fedora 43 because a test fails:

# Math::BigInt VERSION=2.004001
t/mbi_ltm_01load.t .................. ok
#   Failed test '$x = Math::BigFloat->new("2.1"); $y = Math::BigFloat->new("-1"); $Math::BigFloat::round_mode = "even"; join(",", $x->bdiv($y));'
#   at ./t/mbi_ltm/bigfltpm.inc line 168.
#          got: '-3,-0.9'
#     expected: '-2.1,0'
#   Failed test '$x = Math::BigFloat->new("2.1"); $y = Math::BigFloat->new("1"); $Math::BigFloat::round_mode = "even"; join(",", $x->bdiv($y));'
#   at ./t/mbi_ltm/bigfltpm.inc line 168.
#          got: '2,0.1'
#     expected: '2.1,0'
#   Failed test '$x = Math::BigFloat->new("-2.1"); $y = Math::BigFloat->new("-1"); $Math::BigFloat::round_mode = "even"; join(",", $x->bdiv($y));'
#   at ./t/mbi_ltm/bigfltpm.inc line 168.
#          got: '2,-0.1'
#     expected: '2.1,0'
#   Failed test '$x = Math::BigFloat->new("-2.1"); $y = Math::BigFloat->new("1"); $Math::BigFloat::round_mode = "even"; join(",", $x->bdiv($y));'
#   at ./t/mbi_ltm/bigfltpm.inc line 168.
#          got: '-3,0.9'
#     expected: '-2.1,0'
# Looks like you failed 4 tests of 2391.
t/mbi_ltm_bigfltpm.t ................ 
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/2391 subtests 
	(less 1 skipped subtest: 2386 okay)

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/20008173>. An upgrade of perl-Math-BigInt from 1:2.0030.04-1.fc42 to 1:2.0040.01-1.fc43 is suspicious.

Comment 1 Fedora Update System 2025-05-03 12:58:02 UTC
FEDORA-2025-96f02b494b (perl-CryptX-0.086-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-96f02b494b

Comment 2 Fedora Update System 2025-05-03 13:05:11 UTC
FEDORA-2025-96f02b494b (perl-CryptX-0.086-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.