Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] installing  perl-LWP does not install perl module HTML::HeadParser (part of HTML-Parser)
@ 2023-11-17 22:32 laemeiqu
  2023-11-17 22:46 ` terminaldweller
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: laemeiqu @ 2023-11-17 22:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1388 bytes --]

New issue by laemeiqu on void-packages repository

https://github.com/void-linux/void-packages/issues/47287

Description:
### Is this a new report?

Yes

### System Info

Void 6.5.11_1 x86_64 GenuineIntel/VM uptodate FF

### Package(s) Affected

perl-LWP

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

Expect ratings functionality of scriptassist.pl module of irssi to work 

inside irsi:
```
/run scriptassist.pl 
/scriptassist ratings all 

[17:19] ,--[ScriptAssist]
[17:19] | o adv_windowlist.pl [13 votes]
[17:19] | o trackbar.pl       [12 votes]
[17:19] | o scriptassist.pl   [7 votes]
........
```



### Actual behaviour

installing  perl-LWP does not install perl module HTML::HeadParser (part of HTML-Parser)

To get HTML::HeadParser this is what I did:

sudo xbps-install -S cpanminus
sudo cpanm install HTML::HeadParser

After this the scriptassist ratings functionality of irssi worked as it should.


### Steps to reproduce

1. install irssi and perl-LWP
2. go into irssi
3. /run scriptassist
4. /scriptassist ratings all 

You won't get ratings unless you also install HTML::HeadParser from cpan

Installing the voidpackage "perl-HTML-Parser" might also solve the issue. If that is the case then perl-LWP should have perl-HTML-Parser as a dependency. 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: installing  perl-LWP does not install perl module HTML::HeadParser (part of HTML-Parser)
  2023-11-17 22:32 [ISSUE] installing perl-LWP does not install perl module HTML::HeadParser (part of HTML-Parser) laemeiqu
@ 2023-11-17 22:46 ` terminaldweller
  2023-11-18  2:54 ` laemeiqu
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: terminaldweller @ 2023-11-17 22:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 642 bytes --]

New comment by terminaldweller on void-packages repository

https://github.com/void-linux/void-packages/issues/47287#issuecomment-1817216179

Comment:
you don't "have to" get perl-html-parser from cpan. getting "perl-HTML-Parser" also works.

Anyways the situation is that [metacpan](https://metacpan.org/pod/LWP) lists HTML::HeadParser as a dependency but the void template only lists that as a checkdependency which means installing perl-LWP will not pull perl-HTML-Parser which includes the HTML::HeadParser module.

So I guess the question is was the choice made intentionally to exclude perl-HTML-Parser as a dependency of perl-LWP?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: installing  perl-LWP does not install perl module HTML::HeadParser (part of HTML-Parser)
  2023-11-17 22:32 [ISSUE] installing perl-LWP does not install perl module HTML::HeadParser (part of HTML-Parser) laemeiqu
  2023-11-17 22:46 ` terminaldweller
@ 2023-11-18  2:54 ` laemeiqu
  2023-11-18 21:16 ` [ISSUE] [CLOSED] " classabbyamp
  2023-11-19 17:40 ` laemeiqu
  3 siblings, 0 replies; 5+ messages in thread
From: laemeiqu @ 2023-11-18  2:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 439 bytes --]

New comment by laemeiqu on void-packages repository

https://github.com/void-linux/void-packages/issues/47287#issuecomment-1817339286

Comment:
+1 for that question

error message from "/scriptassist ratings all" in irssi if perl-HTML-Parser is missing:
```
Irssi: Fetching ratings failed: Could not find votes script
```
I can confirm that installing "perl-HTML-Parser" works as a solution for me (as an alternative to using cpan).

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ISSUE] [CLOSED] installing  perl-LWP does not install perl module HTML::HeadParser (part of HTML-Parser)
  2023-11-17 22:32 [ISSUE] installing perl-LWP does not install perl module HTML::HeadParser (part of HTML-Parser) laemeiqu
  2023-11-17 22:46 ` terminaldweller
  2023-11-18  2:54 ` laemeiqu
@ 2023-11-18 21:16 ` classabbyamp
  2023-11-19 17:40 ` laemeiqu
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2023-11-18 21:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1391 bytes --]

Closed issue by laemeiqu on void-packages repository

https://github.com/void-linux/void-packages/issues/47287

Description:
### Is this a new report?

Yes

### System Info

Void 6.5.11_1 x86_64 GenuineIntel/VM uptodate FF

### Package(s) Affected

perl-LWP

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

Expect ratings functionality of scriptassist.pl module of irssi to work 

inside irsi:
```
/run scriptassist.pl 
/scriptassist ratings all 

[17:19] ,--[ScriptAssist]
[17:19] | o adv_windowlist.pl [13 votes]
[17:19] | o trackbar.pl       [12 votes]
[17:19] | o scriptassist.pl   [7 votes]
........
```



### Actual behaviour

installing  perl-LWP does not install perl module HTML::HeadParser (part of HTML-Parser)

To get HTML::HeadParser this is what I did:

sudo xbps-install -S cpanminus
sudo cpanm install HTML::HeadParser

After this the scriptassist ratings functionality of irssi worked as it should.


### Steps to reproduce

1. install irssi and perl-LWP
2. go into irssi
3. /run scriptassist
4. /scriptassist ratings all 

You won't get ratings unless you also install HTML::HeadParser from cpan

Installing the voidpackage "perl-HTML-Parser" might also solve the issue. If that is the case then perl-LWP should have perl-HTML-Parser as a dependency. 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: installing  perl-LWP does not install perl module HTML::HeadParser (part of HTML-Parser)
  2023-11-17 22:32 [ISSUE] installing perl-LWP does not install perl module HTML::HeadParser (part of HTML-Parser) laemeiqu
                   ` (2 preceding siblings ...)
  2023-11-18 21:16 ` [ISSUE] [CLOSED] " classabbyamp
@ 2023-11-19 17:40 ` laemeiqu
  3 siblings, 0 replies; 5+ messages in thread
From: laemeiqu @ 2023-11-19 17:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

New comment by laemeiqu on void-packages repository

https://github.com/void-linux/void-packages/issues/47287#issuecomment-1817927356

Comment:
I can confirm that this issue is now fixed. 

I did the following small test : 
I removed perl-HTML-Parser.  Then as expected "/scriptasisst ratings all" stopped working. Then I updated voidlinux which automatically pulled in perl-HTML-Parser (because it is now a dependency of Perl-LWP. Now "/scriptassist ratings all" works again.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-11-19 17:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-17 22:32 [ISSUE] installing perl-LWP does not install perl module HTML::HeadParser (part of HTML-Parser) laemeiqu
2023-11-17 22:46 ` terminaldweller
2023-11-18  2:54 ` laemeiqu
2023-11-18 21:16 ` [ISSUE] [CLOSED] " classabbyamp
2023-11-19 17:40 ` laemeiqu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).