Opened 7 years ago

Closed 6 years ago

#11148 closed enhancement (fixed)

HTML::Parser - runtime requirement is HTTP::Message not full libwww-perl.

Reported by: ken@… Owned by: ken@…
Priority: normal Milestone: 8.4
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

We say HTML-Parser has a dependency on libwww-perl - (circular; howevever, it can be installed after HTML::Parser as it is only a run-time requirement for the included HTML::HeadParser module)

But looking at HTML::HeadParser.pm in /usr/lib/perl5/site_perl/5.28.0/x86_64-linux-thread-multi/HTML/HeadParser.pm the only thing it appears to use is HTML::Entities which comes from HTML::Parser itself.

Found a comment from 2012 at https://github.com/libwww-perl/http-message/issues/3, "HTTP::Headers is used by HTML::HeadParser".

Investigating.

Change History (4)

comment:1 by ken@…, 7 years ago

Owner: changed from blfs-book to ken@…
Status: newassigned
Summary: HTML::Parser - possible bogus runtime dependency.HTML::Parser - runtime requirement is HTTP::Message not full libwww-perl.

HTTP::Headers is indeed used, by a 'require' in HeadParser.pm And that comes from HTTP::Message (perhaps in the old days before lwp-6 when lwp was a lot smaller it did indeed come from that).

Wil change the HTML::Parser runtime dep to HTTP::Message.

comment:2 by ken@…, 7 years ago

Confirmed (by reading the Changes files) that HTTP::Message, as well as HTTP::Date and LWP::MediaTypes were all split out into separate distributions after libwww-perl-5.837.

comment:3 by ken@…, 7 years ago

Updated in the perl modules branch in r20500

comment:4 by ken@…, 6 years ago

Resolution: fixed
Status: assignedclosed

Completed in trunk at r20713.

Note: See TracTickets for help on using tickets.