Bug 2020192

Summary: perl-DateTime-Tiny-1.07-12.fc36 FTBFS: Failed test '->locale ok' at t/02_main.t line 82.
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-DateTime-TinyAssignee: Jitka Plesnikova <jplesnik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jplesnik, perl-devel, robinlee.sysu
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-DateTime-Tiny-1.07-13.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-07 14:50:55 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-11-04 10:19:23 UTC
perl-DateTime-Tiny-1.07-12.fc36 fails to build in Fedora 36 because a tests fails:

$ prove -b t/02_main.t -v
t/02_main.t ..
1..32
ok 1 - An object of class 'DateTime::Tiny' isa 'DateTime::Tiny'
ok 2 - ->year ok
ok 3 - ->month ok
ok 4 - ->day ok
ok 5 - ->hour ok
ok 6 - ->minute ok
ok 7 - ->second ok
ok 8 - An object of class 'DateTime::Tiny' isa 'DateTime::Tiny'
ok 9 - ->year ok
ok 10 - ->month ok
ok 11 - ->day ok
ok 12 - ->as_string ok
ok 13 - Stringification ok
ok 14 - ->from_string ok
ok 15 - An object of class 'DateTime::Tiny' isa 'DateTime::Tiny'
ok 16 - An object of class 'DateTime' isa 'DateTime'
not ok 17 - ->locale ok

#   Failed test '->locale ok'
#   at t/02_main.t line 82.
#          got: 'en-US'
#     expected: 'en-US-POSIX'
ok 18 - ->timezone ok
ok 19 - ->year matches
ok 20 - ->month matches
ok 21 - ->day matches
ok 22 - ->hour matches
ok 23 - ->minute matches
ok 24 - ->second matches
ok 25 - An object of class 'DateTime::Tiny' isa 'DateTime::Tiny'
ok 26 - ->hour ok
ok 27 - ->minute ok
ok 28 - ->second ok
ok 29 - ->as_string ok
ok 30 - Stringification ok
ok 31 - ->from_string ok
ok 32 - Only ASCII digits are valid in datetime strings
# Looks like you failed 1 test of 32.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/32 subtests

This is triggered by a change in DateTime-Locale-1.33 <https://metacpan.org/dist/DateTime-Locale/changes>:

1.33     2021-10-30
 
- Rebuilt all locale data with the data from CLDR 40.0.0. There are some
  notable data changes in CLDR 40.0.0.
 
- Data change: The root locale is now named "und", not "root".
 
- Data change: The "en-US-POSIX" locale has been removed from CLDR. If you
  load this locale you will now get the "en-US" locale.

Comment 1 Fedora Admin user for bugzilla script actions 2021-11-07 00:08:18 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.