On Sun, Jul 05, 2009 at 08:57:13PM +0200, Kurt Roeckx wrote:
> On Sun, Jul 05, 2009 at 07:21:05PM +0200, gregor herrmann wrote:
> > On Sun, 05 Jul 2009 17:33:05 +0200, Kurt Roeckx wrote:
> >
> > > > So if I see it corrctly, perl-modules should not stop "providing"
> > > > libtest-simple-perl. Thus my question, could the problem be related to
> > > > how sbuild resolves the dependencies (since, cowbuilder/pbuilder seem
> > > > to do it right?)
> > > You could argue that sbuild does the wrong thing,
> >
> > Please note that this sbuild bug was discussed and finally fixed in
> > July 2008: #395271
> > (The discussion revolves around perl packages too, the patch is in
> > fact from one of the perl maintainers.)
>
> So I guess you'll have to wait until all arches switch to the new
> sbuild it that case. It's only in use on some arches.
Agreed.
Here's a patch that makes it build with an older Test::More in the
meantime, fixing
t/test01...........1/97 Undefined subroutine &NYTProfTest::note called at
t/lib/NYTProfTest.pm line 143.
t/test51-enable....1/129 Undefined subroutine &NYTProfTest::note called at
t/lib/NYTProfTest.pm line 143.
Cheers,
--
Niko Tyni [email protected]
--- t/lib/NYTProfTest.pm 2009/07/06 07:32:56 1.1
+++ t/lib/NYTProfTest.pm 2009/07/06 07:33:39
@@ -140,7 +140,7 @@
}
if ($extra_test_code) {
- note("running $extra_test_count extra tests...");
+ note("running $extra_test_count extra tests...") if $Test::More::VERSION >= 0.81_01;
my $profile = eval { Devel::NYTProf::Data->new({filename => $profile_datafile}) };
if ($@) {
diag($@);