Bug#789326: libhtml-html5-entities-perl: Can't locate HTML/Entities.pm

Jean-Marc Liotier jm at liotier.org
Fri Jun 19 20:07:49 UTC 2015


Package: libhtml-html5-entities-perl
Version: 0.004-1
Severity: grave
Tags: patch
Justification: renders package unusable

On Debian Jessie,

$ perl -MHTML::Entities -ne 'print encode_entities($_)' testfile
Can't locate HTML/Entities.pm:   ./HTML/Entities.pm: Permission denied.
BEGIN failed--compilation aborted.

# ln -s /usr/share/perl5/HTML/HTML5/Entities.pm /usr/share/perl5/HTML/Entities.pm

$ perl -MHTML::Entities -ne 'print encode_entities($_)' testfile 
aeiuoé

So, we have /usr/share/perl5/HTML/HTML5/Entities.pm but invoking the module
yields a complain that it should be at /usr/share/perl5/HTML/Entities.pm

Since
http://search.cpan.org/~tobyink/HTML-HTML5-Entities-0.004/lib/HTML/HTML5/Entities.pm
says "HTML::HTML5::Entities - drop-in replacement for HTML::Entities" I believe
that Entities.pm should be located at /usr/share/perl5/HTML/Entities.pm since
it fixes the incorrect behaviour.



More information about the pkg-perl-maintainers mailing list