Skip to content

Type-Tiny apparently broken in perl-5.41.11 #23213

@jkeenan

Description

@jkeenan

CPAN distribution Type-Tiny is failing some tests when run against perl-5.41.11. See http://fast2-matrix.cpantesters.org/?dist=Type-Tiny;perl=5.41.11;reports=1.

Sample failure report: http://www.cpantesters.org/cpan/report/6397b36a-1eae-11f0-ba53-a4a6c24edb56.

Excerpt of test output:

...
#   Failed test 'An object of class 'Type::Tiny::Union' isa 'Moose::Meta::TypeConstraint''
#   at t/30-external/MooseX-Types/basic.t line 40.
#     The object of class 'Type::Tiny::Union' isn't a 'Moose::Meta::TypeConstraint'
# Looks like you failed 1 test of 24.
t/30-external/MooseX-Types/basic.t ........................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/24 subtests 
t/30-external/MooseX-Types/extending.t ....................... ok

#   Failed test ''Not' isa 'Moose::Meta::TypeConstraint''
#   at t/30-external/MooseX-Types/more.t line 52.
#     'Not' isn't a 'Moose::Meta::TypeConstraint'

#   Failed test ''~Int' isa 'Moose::Meta::TypeConstraint''
#   at t/30-external/MooseX-Types/more.t line 52.
#     '~Int' isn't a 'Moose::Meta::TypeConstraint'

#   Failed test ''Int' isa 'Moose::Meta::TypeConstraint''
#   at t/30-external/MooseX-Types/more.t line 52.
#     'Int' isn't a 'Moose::Meta::TypeConstraint'
# Looks like you failed 3 tests of 20.
t/30-external/MooseX-Types/more.t ............................ 
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/20 subtests 
t/30-external/Mouse/basic.t .................................. skipped: requires Mouse
...

I attempted to bisect this failure on both Linux (unthreaded) and FreeBSD (threaded) with invocations like this:

perl Porting/bisect.pl -Duseithreads \
--module=Type::Tiny \
--start=6fa20a3d53e87484039fc83b09fb78441b950cb7 \
--end=v5.41.11

However, in each attempt Porting/bisect.pl concluded with output like this:

good - zero exit from /tmp/NcghDTxupz/bin/perl -I /home/jkeenan/.cpan -MCPAN::MyConfig -MCPAN -e $CPAN::Config->{build_dir}=q{/tmp/IBj0fgAUbe}; -e install('Type::Tiny'); die unless CPAN::Shell->expand(Module => 'Type::Tiny')->uptodate;
Runner returned 0 for end revision at Porting/bisect.pl line 233.
That took 382 seconds.

In other words, during bisection Type::Tiny does not fail at HEAD.

Type-Tiny sits very high up on the CPAN river, i.e., many other distributions depend on it. Assuming one tests in CPAN dependency order, whether those distros are PASSing against perl-5.41.11 cannot yet be determined.

I am unsure as to how to proceed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BBCBlead Breaks CPAN - changes in blead broke a cpan module(s)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions