Skip Menu |

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

Report information
The Basics
Id: 123473
Status: new
Priority: 0/
Queue: Tk-StatusBar

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

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



Subject: Undeclared dependency Tk
While for humans it's typically clear that Tk has to be a dependency of this module, automatic systems like cpantesters do not, and therefore test failures may happen: PERL_DL_NONLAZY=1 /bbbike/perl-5.20.3D/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'use Tk::StatusBar;' # at t/Tk-StatusBar.t line 9. # Tried to use 'Tk::StatusBar'. # Error: Base class package "Tk::Frame" is empty. # (Perhaps you need to 'use' the module which defines that package first, # or make that module available in @INC (@INC contains: /tmpfs/.cpan-build-cpansand/2017103121/Tk-StatusBar-0.04-Nhv4ZW/blib/lib /tmpfs/.cpan-build-cpansand/2017103121/Tk-StatusBar-0.04-Nhv4ZW/blib/arch /opt/perl-5.20.3D/lib/site_perl/5.20.3/x86_64-linux-ld /opt/perl-5.20.3D/lib/site_perl/5.20.3 /opt/perl-5.20.3D/lib/5.20.3/x86_64-linux-ld /opt/perl-5.20.3D/lib/5.20.3 .). # at /tmpfs/.cpan-build-cpansand/2017103121/Tk-StatusBar-0.04-Nhv4ZW/blib/lib/Tk/StatusBar.pm line 6. # BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2017103121/Tk-StatusBar-0.04-Nhv4ZW/blib/lib/Tk/StatusBar.pm line 6. # Compilation failed in require at t/Tk-StatusBar.t line 9. # BEGIN failed--compilation aborted at t/Tk-StatusBar.t line 9. Can't locate Tk.pm in @INC (you may need to install the Tk module) (@INC contains: /tmpfs/.cpan-build-cpansand/2017103121/Tk-StatusBar-0.04-Nhv4ZW/blib/lib /tmpfs/.cpan-build-cpansand/2017103121/Tk-StatusBar-0.04-Nhv4ZW/blib/arch /opt/perl-5.20.3D/lib/site_perl/5.20.3/x86_64-linux-ld /opt/perl-5.20.3D/lib/site_perl/5.20.3 /opt/perl-5.20.3D/lib/5.20.3/x86_64-linux-ld /opt/perl-5.20.3D/lib/5.20.3 .) at t/Tk-StatusBar.t line 18. BEGIN failed--compilation aborted at t/Tk-StatusBar.t line 18. # Looks like you planned 9 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 2 just after 1. t/Tk-StatusBar.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 9/9 subtests Best is to add Tk to the Makefile.PL's PREREQ_PM.