Skip Menu |

This queue is for tickets about the DBIx-Class-Sims CPAN distribution.

Report information
The Basics
Id: 132970
Status: resolved
Priority: 0/
Queue: DBIx-Class-Sims

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Test suite fails with older perls
With older perls (< 5.20?) the test suite fails: ... Output from '/usr/bin/make test': PERL_DL_NONLAZY=1 "/opt/perl-5.12.5/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/classes/*.t t/regressions/*.t t/types/*.t Variable "$row" is not imported at /home/cpansand/.cpan/build/2020070902/DBIx-Class-Sims-0.500010-0/blib/lib/DBIx/Class/Sims/Item.pm line 173. (Did you mean &row instead?) {UNKNOWN}: "my" variable $self masks earlier declaration in same scope at /home/cpansand/.cpan/build/2020070902/DBIx-Class-Sims-0.500010-0/blib/lib/DBIx/Class/Sims/Item.pm line 251. Compilation failed in require at /home/cpansand/.cpan/build/2020070902/DBIx-Class-Sims-0.500010-0/blib/lib/DBIx/Class/Sims/Runner.pm line 12. BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2020070902/DBIx-Class-Sims-0.500010-0/blib/lib/DBIx/Class/Sims/Runner.pm line 12. Compilation failed in require at /home/cpansand/.cpan/build/2020070902/DBIx-Class-Sims-0.500010-0/blib/lib/DBIx/Class/Sims.pm line 105. BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2020070902/DBIx-Class-Sims-0.500010-0/blib/lib/DBIx/Class/Sims.pm line 105. Compilation failed in require at /opt/perl-5.12.5/lib/site_perl/5.12.5/Class/C3/Componentised.pm line 146. at /opt/perl-5.12.5/lib/site_perl/5.12.5/Class/C3/Componentised.pm line 151 BEGIN failed--compilation aborted at t/add_relationship.t line 52. t/add_relationship.t ...................... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run ...
On 2020-07-09 01:00:25, SREZIC wrote: Show quoted text
> With older perls (< 5.20?) the test suite fails: > > ... > Output from '/usr/bin/make test': > > PERL_DL_NONLAZY=1 "/opt/perl-5.12.5/bin/perl" "- > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', > 'blib/arch')" t/*.t t/classes/*.t t/regressions/*.t t/types/*.t > Variable "$row" is not imported at > /home/cpansand/.cpan/build/2020070902/DBIx-Class-Sims-0.500010- > 0/blib/lib/DBIx/Class/Sims/Item.pm line 173. > (Did you mean &row instead?) > {UNKNOWN}: "my" variable $self masks earlier declaration in same scope > at /home/cpansand/.cpan/build/2020070902/DBIx-Class-Sims-0.500010- > 0/blib/lib/DBIx/Class/Sims/Item.pm line 251. > Compilation failed in require at > /home/cpansand/.cpan/build/2020070902/DBIx-Class-Sims-0.500010- > 0/blib/lib/DBIx/Class/Sims/Runner.pm line 12. > BEGIN failed--compilation aborted at > /home/cpansand/.cpan/build/2020070902/DBIx-Class-Sims-0.500010- > 0/blib/lib/DBIx/Class/Sims/Runner.pm line 12. > Compilation failed in require at > /home/cpansand/.cpan/build/2020070902/DBIx-Class-Sims-0.500010- > 0/blib/lib/DBIx/Class/Sims.pm line 105. > BEGIN failed--compilation aborted at > /home/cpansand/.cpan/build/2020070902/DBIx-Class-Sims-0.500010- > 0/blib/lib/DBIx/Class/Sims.pm line 105. > Compilation failed in require at /opt/perl- > 5.12.5/lib/site_perl/5.12.5/Class/C3/Componentised.pm line 146. at > /opt/perl-5.12.5/lib/site_perl/5.12.5/Class/C3/Componentised.pm line > 151 > > BEGIN failed--compilation aborted at t/add_relationship.t line 52. > t/add_relationship.t ...................... > Dubious, test returned 255 (wstat 65280, 0xff00) > No subtests run > ...
This does not seem to happen anymore with 0.500011.