Bug 2020190 - perl-Time-Tiny-1.08-12.fc36 FTBFS: Failed test '->locale ok' at t/02_main.t line 67.
Summary: perl-Time-Tiny-1.08-12.fc36 FTBFS: Failed test '->locale ok' at t/02_main.t l...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Time-Tiny
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F36FTBFS
TreeView+ depends on / blocked
 
Reported: 2021-11-04 10:14 UTC by Petr Pisar
Modified: 2021-11-04 13:46 UTC (History)
2 users (show)

Fixed In Version: perl-Time-Tiny-1.08-13.fc36
Clone Of:
Environment:
Last Closed: 2021-11-04 13:46:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2021-11-04 10:14:18 UTC
perl-Time-Tiny-1.08-12.fc36 fails to build in Fedora 36 because a test fails:

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

#   Failed test '->locale ok'
#   at t/02_main.t line 67.
#          got: 'en-US'
#     expected: 'en-US-POSIX'
ok 12 - ->timezone ok
ok 13 - ->year matches
ok 14 - ->month matches
ok 15 - ->day matches
# Looks like you failed 1 test of 15.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/15 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.


Note You need to log in before you can comment on or make changes to this bug.