Page MenuHomePhabricator

Please install the liblocale-codes-perl package on Toolforge
Closed, ResolvedPublicFeature

Description

Feature summary (what you would like to be able to do and where):

I would like to be able to continue to use the standard CPAN Perl module Locale::Country in my ftl webservice.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):

The Locale::Country module has been part of the core Perl distribution; however, the compiler on the tools server I use now warns that it "will be removed from the Perl core distribution in the next major release. Please install the separate liblocale-codes-perl package." It's still available on the grid service ftl currently runs on; however, I'm trying to migrate from that service (which is going away shortly) to Kubernetes, where a later version of Perl seems to be the one supported, and that module is reported as not found in standard directories when I try to import it.

Benefits (why should this be implemented?):

Installing this Debian package should, I hope, enable me to continue using this standard locale interpretation functionality without having to reimplement the functionality I need from scratch. It may also be useful to others who want to use similar locale-processing features in their Perl scripts. While it is no longer part of the core Perl distribution, it does continue to be maintained and updated, per https://metacpan.org/dist/Locale-Codes . Thanks!

Event Timeline

JJMC89 renamed this task from Please install the liblocale-codes-perl package on the tools server(s) to Please install the liblocale-codes-perl package on Toolforge.May 6 2022, 7:14 PM

Change 789874 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[operations/puppet@production] toolforge: Add liblocale-codes-perl to exec_environ

https://gerrit.wikimedia.org/r/789874

Change 789875 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[operations/docker-images/toollabs-images@master] perl: add liblocale-codes-perl package

https://gerrit.wikimedia.org/r/789875

bd808 changed the task status from Open to In Progress.May 6 2022, 7:32 PM
bd808 moved this task from Inbox to Doing on the cloud-services-team (Kanban) board.

Change 789875 merged by jenkins-bot:

[operations/docker-images/toollabs-images@master] perl: add liblocale-codes-perl package

https://gerrit.wikimedia.org/r/789875

Mentioned in SAL (#wikimedia-cloud) [2022-05-06T19:46:35Z] <bd808> Rebuilt toolforge-perl532-sssd-base & toolforge-perl532-sssd-web to add liblocale-codes-perl (T307812)

Change 789874 merged by Legoktm:

[operations/puppet@production] toolforge: Add liblocale-codes-perl to exec_environ

https://gerrit.wikimedia.org/r/789874

Package is in the perl 5.32 Kubernetes containers and rolling out across the job grid as well as Puppet runs. It should be everywhere within the next 30 minutes if not sooner.