Skip Menu |

This queue is for tickets about the Tk-HyperText CPAN distribution.

Report information
The Basics
Id: 91122
Status: open
Priority: 0/
Queue: Tk-HyperText

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

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



Subject: Undeclared dependency on Tk::Derived
As per subject. Grep: http://search.cpan.org/grep?release=Tk-HyperText-0.09;string=Tk::Derived;n=1;C=0 Sample fail report: http://www.cpantesters.org/cpan/report/36258652 HTH && Thanks, (Disclaimer: this was discovered by statistical analysis, I'm not speaking as a user)
I'd like to get this resolved too, as I get the fail reports now and then. What's the correct way to resolve this, add Tk::Derived as a dependency in Makefile.PL? 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"`. It doesn't help that `make test` passes on my systems, so it's a difficult bug for me to reproduce; 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. On Mon Dec 02 07:33:43 2013, ANDK wrote: Show quoted text
> As per subject. Grep: > > http://search.cpan.org/grep?release=Tk-HyperText- > 0.09;string=Tk::Derived;n=1;C=0 > > Sample fail report: > > http://www.cpantesters.org/cpan/report/36258652 > > HTH && Thanks, > > (Disclaimer: this was discovered by statistical analysis, I'm not > speaking as a user)
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #91122] Undeclared dependency on Tk::Derived
Date: Tue, 03 Dec 2013 06:11:23 +0100
To: bug-Tk-HyperText [...] rt.cpan.org
From: Andreas Koenig <andreas.koenig.7os6VVqR [...] franz.ak.mind.de>
"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 text
cpan> install KIRSLE/Tk-HyperText-0.09.tar.gz
The cpantesters are not waiting for an indexer to run. Good luck, -- andreas