Bug#785032: libhtml-strip-perl: autopkgtest failure: warns on usage

Niko Tyni ntyni at debian.org
Tue May 12 18:43:59 UTC 2015


Control: tag -1 upstream
Control: forwarded -1 https://rt.cpan.org/Public/Bug/Display.html?id=104379

On Tue, May 12, 2015 at 07:03:00PM +0300, Niko Tyni wrote:
> On Mon, May 11, 2015 at 11:50:32PM +0200, gregor herrmann wrote:
> > On Mon, 11 May 2015 20:31:24 +0300, Niko Tyni wrote:

> > >   # Subroutine HTML::Strip::DESTROY redefined at /usr/lib/x86_64-linux-gnu/perl/5.20/DynaLoader.pm line 210.

> It looks to me like this is a real bug in HTML::Strip that only recently
> started warning because the perl diagnostics improved.  Both the XS
> (Strip.xs) and the Perl (Strip.pm) parts define a DESTROY function,
> and the former presumably overrides the latter.

The diagnostics improved in 5.15.6 with
 http://perl5.git.perl.org/perl.git/commit/799fd3b94fb5c431b24ee141e32a0b09d56f303c

I've forwarded this bug report upstream as [rt.cpan.org #104379].
We could probably patch out the pure perl DESTROY method for the
time being, as it apparently doesn't currently get called at all.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list