Skip Menu |

This queue is for tickets about the Sub-Fp CPAN distribution.

Report information
The Basics
Id: 127473
Status: resolved
Priority: 0/
Queue: Sub-Fp

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

Bug Information
Severity: (no value)
Broken in:
  • 0.07
  • 0.08
  • 0.09
  • 0.10
  • 0.11
Fixed in: (no value)



Subject: Undeclared dependency Test::Class (0.07)
t/Sub::Fp.pm.t fails if Test::Class is not installed: Can't locate Test/Class.pm in @INC (you may need to install the Test::Class module) (@INC contains: /usr/home/cpansand/.cpan/build/2018102704/Sub-Fp-0.06-0/blib/lib /usr/home/cpansand/.cpan/build/2018102704/Sub-Fp-0.06-0/blib/arch /usr/perl5.28.0p/lib/site_perl/5.28.0/amd64-freebsd /usr/perl5.28.0p/lib/site_perl/5.28.0 /usr/perl5.28.0p/lib/5.28.0/amd64-freebsd /usr/perl5.28.0p/lib/5.28.0 .) at /usr/perl5.28.0p/lib/5.28.0/parent.pm line 16. BEGIN failed--compilation aborted at t/Sub::Fp.pm.t line 4. t/Sub::Fp.pm.t .... Dubious, test returned 2 (wstat 512, 0x200) No subtests run
On 2018-10-26 16:35:34, SREZIC wrote: Show quoted text
> t/Sub::Fp.pm.t fails if Test::Class is not installed: > > Can't locate Test/Class.pm in @INC (you may need to install the > Test::Class module) (@INC contains: > /usr/home/cpansand/.cpan/build/2018102704/Sub-Fp-0.06-0/blib/lib > /usr/home/cpansand/.cpan/build/2018102704/Sub-Fp-0.06-0/blib/arch > /usr/perl5.28.0p/lib/site_perl/5.28.0/amd64-freebsd > /usr/perl5.28.0p/lib/site_perl/5.28.0 > /usr/perl5.28.0p/lib/5.28.0/amd64-freebsd /usr/perl5.28.0p/lib/5.28.0 > .) at /usr/perl5.28.0p/lib/5.28.0/parent.pm line 16. > BEGIN failed--compilation aborted at t/Sub::Fp.pm.t line 4. > t/Sub::Fp.pm.t .... > Dubious, test returned 2 (wstat 512, 0x200) > No subtests run
Same problem with 0.08.
And in 0.09. Prerequisites are usually declared in Makefile.PL. See there the lines around BUILD_REQUIRES. While looking around on metacpan I also found that 0.09 contains the whole tarball for 0.08: https://metacpan.org/source/ODDTUPLE/Sub-Fp-0.09
And when I run the Makefile.PL I see: Checking if your kit is complete... Warning: the following files are missing in your kit: t/Fn.pm.t t/test.pl Please inform the author. I don't think I should file a separate report for this, but let me know if you prefer that.