public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* Missing perl module Locale.pm
@ 2022-06-05 18:10 Rob Brewer
  2022-06-17 15:52 ` Adolf Belka
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Brewer @ 2022-06-05 18:10 UTC (permalink / raw)
  To: development

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

Hi All,

Core-upgrade-165 introduced a new version of 

/usr/lib/perl5/site_perl/5.32.1/LWP/UserAgent.pm

This version UserAgent.pm has a dependency on Encode/Locale.pm which isn't 
included in Core Update 167.

Can this module be included in the next upgrade?


Regards

Rob


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

* Re: Missing perl module Locale.pm
  2022-06-05 18:10 Missing perl module Locale.pm Rob Brewer
@ 2022-06-17 15:52 ` Adolf Belka
  2022-06-17 21:31   ` Rob Brewer
  0 siblings, 1 reply; 3+ messages in thread
From: Adolf Belka @ 2022-06-17 15:52 UTC (permalink / raw)
  To: development

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

Hi All,

On 05/06/2022 20:10, Rob Brewer wrote:
> Hi All,
>
> Core-upgrade-165 introduced a new version of
>
> /usr/lib/perl5/site_perl/5.32.1/LWP/UserAgent.pm
>
> This version UserAgent.pm has a dependency on Encode/Locale.pm which isn't
> included in Core Update 167.
>
> Can this module be included in the next upgrade?
>
I am putting together a patch for Encode::Locale. While looking at this I found a list of dependencies for perl-libwww which provides LWP::UserAgent, and only a few of those dependencies are installed on IPFire. It is likely that many are not needed for the use that IPFire makes of perl-libwww but are we just left with waiting to see if things break to figure out that a dependency is now needed for IPFire. I looked in the changes list for perl-libwww and there is no mention of Encode::Locale being needed for LWP::UserAgent.

Here is the list of dependencies and those with an X at the start of the line are not installed on IPFire.

X   Digest::MD5
X   Encode
X   Encode::Locale
X   File::Copy
X   File::Listing
X   File::Temp
X   Getopt::Long
X   HTML::Entities
X   HTML::HeadParser
X   HTTP::Cookies
      HTTP::Date
X   HTTP::Negotiate
X   HTTP::Request
X   HTTP::Request::Common
X   HTTP::Response
X   HTTP::Status
X   IO::Select
X   IO::Socket
X   LWP::MediaTypes
      MIME::Base64
X   Net::FTP
      Net::HTTP
X   Scalar::Util
      Try::Tiny
      URI
      URI::Escape - included in URI
X   WWW::RobotRules

I will just go ahead and only do a patch for Encode::Locale at this point in time.

Regards,

Adolf.

> Regards
>
> Rob
>

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

* Re: Missing perl module Locale.pm
  2022-06-17 15:52 ` Adolf Belka
@ 2022-06-17 21:31   ` Rob Brewer
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Brewer @ 2022-06-17 21:31 UTC (permalink / raw)
  To: development

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

Hi Adolf

On Friday 17 June 2022 16:52 Adolf Belka wrote:

> Hi All,
> 
> On 05/06/2022 20:10, Rob Brewer wrote:
>> Hi All,
>>
>> Core-upgrade-165 introduced a new version of
>>
>> /usr/lib/perl5/site_perl/5.32.1/LWP/UserAgent.pm
>>
>> This version UserAgent.pm has a dependency on Encode/Locale.pm which
>> isn't included in Core Update 167.
>>
>> Can this module be included in the next upgrade?
>>
> I am putting together a patch for Encode::Locale. While looking at this I
> found a list of dependencies for perl-libwww which provides
> LWP::UserAgent, and only a few of those dependencies are installed on
> IPFire. It is likely that many are not needed for the use that IPFire
> makes of perl-libwww but are we just left with waiting to see if things
> break to figure out that a dependency is now needed for IPFire. I looked
> in the changes list for perl-libwww and there is no mention of
> Encode::Locale being needed for LWP::UserAgent.
> 
> Here is the list of dependencies and those with an X at the start of the
> line are not installed on IPFire.
> 
> X   Digest::MD5
> X   Encode
> X   Encode::Locale
> X   File::Copy
> X   File::Listing
> X   File::Temp
> X   Getopt::Long
> X   HTML::Entities
> X   HTML::HeadParser
> X   HTTP::Cookies
>  HTTP::Date
> X   HTTP::Negotiate
> X   HTTP::Request
> X   HTTP::Request::Common
> X   HTTP::Response
> X   HTTP::Status
> X   IO::Select
> X   IO::Socket
> X   LWP::MediaTypes
>  MIME::Base64
> X   Net::FTP
>  Net::HTTP
> X   Scalar::Util
>  Try::Tiny
>  URI
>  URI::Escape - included in URI
> X   WWW::RobotRules
> 
> I will just go ahead and only do a patch for Encode::Locale at this point
> in time.
> 
> Regards,
> 
> Adolf.
> 
>> Regards
>>
>> Rob
>>

Thank you for looking into this, I see you have generated a patch already 
which should satisfy this latest version of UserAgent.pm. 

I use UserAgent.pl in one of my addons (which generates ADSL data graphs) 
and after I manually added /usr/lib/perl5/site_perl/5.32.1/Encode/Locale.pm 
from my debian distribution my addon was operational again after the CU 165 
upgrade which added the new version of UserAgent.pl. 

Regards

Rob

Kind Regards

Rob

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

end of thread, other threads:[~2022-06-17 21:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-05 18:10 Missing perl module Locale.pm Rob Brewer
2022-06-17 15:52 ` Adolf Belka
2022-06-17 21:31   ` Rob Brewer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox