Bug 2337571

Summary: perl-Attean-0.034-2.fc42 FTBFS: tests fail: Overwriting existing sub 'main::done_testing' with sub 'done_testing' exported by Test::Modern
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-AtteanAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: perl-maint, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org//package/perl-Attean
Whiteboard:
Fixed In Version: perl-Attean-0.035-1.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-03 12:49:10 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: 2300528    

Description Petr Pisar 2025-01-14 09:18:45 UTC
perl-Attean-0.034-2.fc42 fails to build in Fedora 42 because tests fail:

t/simple.t ........................ ok
Overwriting existing sub 'main::done_testing' with sub 'done_testing' exported by Test::Modern at t/store-memory.t line 3.
#   Failed test 'no (unexpected) warnings (via done_testing)'
#   at t/store-memory.t line 88.
# Looks like you failed 1 test of 22.
t/store-memory.t .................. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/22 subtests 
Overwriting existing sub 'main::done_testing' with sub 'done_testing' exported by Test::Modern at t/store-simple.t line 3.
#   Failed test 'no (unexpected) warnings (via done_testing)'
#   at t/store-simple.t line 68.
# Looks like you failed 1 test of 13.
t/store-simple.t .................. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/13 subtests 
Overwriting existing sub 'main::done_testing' with sub 'done_testing' exported by Test::Modern at t/store-simpletriple.t line 3.
#   Failed test 'no (unexpected) warnings (via done_testing)'
#   at t/store-simpletriple.t line 62.
# Looks like you failed 1 test of 11.
t/store-simpletriple.t ............ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/11 subtests 
[...]

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/19420859>. An upgrade of perl-Test-Warnings from 0.033-2.fc41 to 0.037-1.fc42 is suspicious.