Skip Menu |
 

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

Report information
The Basics
Id: 91956
Status: rejected
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc: ether [...] cpan.org
AdminCc:

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



Subject: t/inflate/hri.t fails with current base.pm
Date: Wed, 8 Jan 2014 17:46:45 +0000
To: bug-DBIx-Class [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
On Perl 5.19.7, which has base.pm-2.20, DBIx-Class fails one of its tests: t/inflate/hri.t .. {UNKNOWN}: Can't locate DBICTest/CDSubclass.pm in @INC (you may need to install the DBICTest::CDSubclass module) (@INC contains: t/lib /opt/perl-5.19.7/cpan/build/DBIx-Class-0.08250-vjvhOV/blib/arch /opt/perl-5.19.7/cpan/build/DBIx-Class-0.08250-vjvhOV/blib/lib /opt/perl-5.19.7/lib/site_perl/5.19.7/i686-linux-64int-ld /opt/perl-5.19.7/lib/site_perl/5.19.7 /opt/perl-5.19.7/vendor/lib/vendor_perl/5.19.7/i686-linux-64int-ld /opt/perl-5.19.7/vendor/lib/vendor_perl/5.19.7 /opt/perl-5.19.7/lib/5.19.7/i686-linux-64int-ld /opt/perl-5.19.7/lib/5.19.7 .) at /opt/perl-5.19.7/lib/site_perl/5.19.7/Class/C3/Componentised.pm line 150, <> line 1. at /opt/perl-5.19.7/lib/site_perl/5.19.7/Class/C3/Componentised.pm line 155 t/inflate/hri.t .. Dubious, test returned 2 (wstat 512, 0x200) No subtests run Copying base.pm-2.18 into blib/lib makes it pass. Evidently this test script's logic around its inline class DBICTest::CDSubclass doesn't agree with base.pm's changed behaviour. -zefram
Subject: Re: [rt.cpan.org #91956] t/inflate/hri.t fails with current base.pm
Date: Wed, 8 Jan 2014 23:12:41 +0000
To: Zefram via RT <bug-DBIx-Class [...] rt.cpan.org>
From: Peter Rabbitson <ribasushi [...] cpan.org>
Download (untitled) / with headers
text/plain 1.8k
On Wed, Jan 08, 2014 at 12:47:02PM -0500, Zefram via RT wrote: Show quoted text
> Wed Jan 08 12:47:00 2014: Request 91956 was acted upon. > Transaction: Ticket created by zefram@fysh.org > Queue: DBIx-Class > Subject: t/inflate/hri.t fails with current base.pm > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: zefram@fysh.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=91956 > > > > On Perl 5.19.7, which has base.pm-2.20, DBIx-Class fails one of its tests: > > t/inflate/hri.t .. {UNKNOWN}: Can't locate DBICTest/CDSubclass.pm in @INC (you may need to install the DBICTest::CDSubclass module) (@INC contains: t/lib /opt/perl-5.19.7/cpan/build/DBIx-Class-0.08250-vjvhOV/blib/arch /opt/perl-5.19.7/cpan/build/DBIx-Class-0.08250-vjvhOV/blib/lib /opt/perl-5.19.7/lib/site_perl/5.19.7/i686-linux-64int-ld /opt/perl-5.19.7/lib/site_perl/5.19.7 /opt/perl-5.19.7/vendor/lib/vendor_perl/5.19.7/i686-linux-64int-ld /opt/perl-5.19.7/vendor/lib/vendor_perl/5.19.7 /opt/perl-5.19.7/lib/5.19.7/i686-linux-64int-ld /opt/perl-5.19.7/lib/5.19.7 .) at /opt/perl-5.19.7/lib/site_perl/5.19.7/Class/C3/Componentised.pm line 150, <> line 1. at /opt/perl-5.19.7/lib/site_perl/5.19.7/Class/C3/Componentised.pm line 155 > t/inflate/hri.t .. Dubious, test returned 2 (wstat 512, 0x200) > No subtests run > > Copying base.pm-2.18 into blib/lib makes it pass. Evidently this test > script's logic around its inline class DBICTest::CDSubclass doesn't > agree with base.pm's changed behaviour.
I noticed this before but thought it has to do with the HV/INC bug that rurban found. If this is squarely a problem with base.pm - this is rather sad: the entire pemise of base.pm was that it is a lax opportunistic requirer, making it strict breaks that implicit promise. I will investigate the change in detail tomorrow and write more.
Download (untitled) / with headers
text/plain 238b
Confirmed by haarg on #p5p as a problem with base.pm. Should be fixed by 5.19.8 (overly-specific regex in http://perl5.git.perl.org/perl.git/blobdiff/f48496..892089:/dist/base/lib/base.pm ). No changes will be made to the DBIC test suite.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.