"Casey Kirsle via RT" <bug-Tk-HyperText@rt.cpan.org> writes:
Show quoted text> What's the correct way to resolve this, add Tk::Derived as a
> dependency in Makefile.PL?
Yes.
Show quoted text> I compared my modules to a couple other Tk modules which use base
> Tk::Derived (i.e. Tk::Wizard and Tk::mySplashScreen); these
> distributions have failed tests too but I didn't see any failures
> about `base class package "Tk::Derived" is empty`. They also didn't
> mention Tk::Derived in Makefile.PL, they just did `use base
> "Tk::Derived"`.
When dependencies are not declared, it does not mean, that the failure
is guaranteed. The failure only happens if (1) the dependency is not
installed on the target system and (2) a test actually requires it.
Show quoted text> It doesn't help that `make test` passes on my systems, so it's a
> difficult bug for me to reproduce;
Just test it with a perl that has no Tk::Derived installed. Either by
removing Tk/Derived.pm from your perl or by compiling a new perl.
Show quoted text> it will be a blind fix for me, and since it takes hours for CPAN to
> index new module updates, I'd prefer to get it right the first time.
Testing fresh uploads can happen immediately after uploading by using
the distribution name. e.g. in the cpan shell:
Show quoted textcpan> install KIRSLE/Tk-HyperText-0.09.tar.gz
The cpantesters are not waiting for an indexer to run.
Good luck,
--
andreas