Your message dated Sat, 20 Jun 2015 01:26:06 +0200
with message-id <[email protected]>
and subject line Re: Bug#789324: libhtml-html5-entities-perl: Missing depends 
on libhtml-parser-perl
has caused the Debian Bug report #789324,
regarding libhtml-html5-entities-perl: Missing depends on libhtml-parser-perl
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
789324: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789324
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libhtml-html5-entities-perl
Version: 0.004-1
Severity: important
Tags: patch

On Debian Jessie,

$ perl -MHTML::Entities -ne 'print encode_entities($_)' testfile                
                                                    
Undefined subroutine &main::encode_entities called at -e line 1, <> line 1.     
               

# apt-get install libhtml-parser-perl

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

So the package libhtml-html5-entities-perl should depend on package 
libhtml-parser-perl

--- End Message ---
--- Begin Message ---
Hi,

> $ perl -MHTML::Entities -ne 'print encode_entities($_)' testfile              
>                                                       
> Undefined subroutine &main::encode_entities called at -e line 1, <> line 1.   
>                  
> 
> # apt-get install libhtml-parser-perl
> 
> $ perl -MHTML::Entities -ne 'print encode_entities($_)' testfile 
> aeiuoƩ

I don't know exactly what you did there, but this problem likely is a
consequence of what you tried to do to fix the other bug...

HTML::Entities is shipped in libhtml-parser-perl. Unless you have
libhtml-parser-perl installed, you don't have the Debian version of
HTML::Entities on your system. The error message that you should see is
"Can't locate HTML/Entities.pm in @INC ...", whereas in your case
something else has been put into a location reachable from @INC and thus
is loaded, but does not export the encode_entities() function.

And as I explained before, HTML::HTML5::Entities has the same interface
but is otherwise completely independent of HTML::Entities.

BTW installing libhtml-parser-perl has likely resulted in removing the
symlink you suggested to create in the other bug (#789326). Manipulating
files in /usr is not a good idea, because those changes will be
overwritten without warning on package installations or upgrades.

Florian

--- End Message ---

Reply via email to