Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 623674

Summary: dev-perl/MooseX-Types-DateTime-ButMaintained-0.160.0 : fails tests when >=dev-perl/DateTime-Locale-0.930.0 ( Attribute (loc) does not pass the type constraint )
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: CONFIRMED ---    
Severity: normal CC: kentnl
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://rt.cpan.org/Ticket/Display.html?id=108686
Whiteboard: treeclean?
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 300119    
Attachments: emerge-info.txt
dev-perl:MooseX-Types-DateTime-ButMaintained-0.160.0:20170703-025433.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2017-07-03 17:30:43 UTC
  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-systemd_20170625-200344

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.5 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
  [2]   ruby22 (with Rubygems)
java-config:
The following VMs are available for generation-2:
Comment 1 Toralf Förster gentoo-dev 2017-07-03 17:30:46 UTC
Created attachment 480230 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-03 17:30:49 UTC
Created attachment 480232 [details]
dev-perl:MooseX-Types-DateTime-ButMaintained-0.160.0:20170703-025433.log
Comment 3 Toralf Förster gentoo-dev 2017-07-03 17:30:52 UTC
Created attachment 480234 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-07-03 17:30:55 UTC
Created attachment 480236 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-07-03 17:30:59 UTC
Created attachment 480238 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-07-03 17:31:02 UTC
Created attachment 480240 [details]
temp.tbz2
Comment 7 Kent Fredric (IRC: kent\n) gentoo-dev 2017-07-04 01:16:46 UTC
t/01_basic.t ................ 9/? Attribute (loc) does not pass the type constraint because: Validation failed for 'DateTime::Locale' with value DateTime::Locale::FromData=HASH(0x2b829a8) (not isa DateTime::Locale::root) at /usr/lib64/perl5/vendor_perl/5.24.1/x86_64-linux/Moose/Object.pm line 24
	Moose::Object::new('Gorch', 'loc', 'he_IL') called at t/01_basic.t line 104
# Looks like your test exited with 2 just after 16.

                                    
t/01_basic.t ................ Dubious, test returned 2 (wstat 512, 0x200)


Using regression analysis: http://analysis.cpantesters.org/solved?distv=MooseX-Types-DateTime-ButMaintained-0.16

Turns out this failure occurs 100% of the time if:

- DateTime::Locale is newer than version 0.93 
- DateTime is newer than 1.33 ( Which causes a hard upgrade of DateTime::Locale to >= 1.05
Comment 8 Kent Fredric (IRC: kent\n) gentoo-dev 2017-11-04 10:31:29 UTC
*** Bug 636496 has been marked as a duplicate of this bug. ***
Comment 9 Kent Fredric (IRC: kent\n) gentoo-dev 2019-07-10 09:40:58 UTC
We may simply look at treecleaning this soon, its undermaintained(irony!) and there might be an argument to "just use" the more standard versions of this.

It only has one revdep: dev-perl/MooseX-Types-DateTimeX

And it in turn has no reverse dependencies.

But I'll have to look at comparing their features before I consider this deprecated and masked.