Bug#1012570: libintl-xs-perl: gettext_xs never used

Xan Charbonnet xan at charbonnet.com
Thu Jun 9 17:21:04 BST 2022


Package: libintl-xs-perl
Version: 1.26-3
Severity: normal

Dear Maintainer,

I am migrating some systems from stretch to bullseye.  These systems use
Locale::TextDomain (part of libintl-perl) to do some translations.

On bullseye I was getting some wrong responses, and the difference turned out
to be that stretch is using the XS version but bullseye is not.  I determined
this by modifying Locale::Messages to warn about the status of the $no_xs
variable.

I note that the file gettext_xs.pm was removed for all architectures except
mips between buster and bullseye.

I copied /usr/lib/x86_64-linux-gnu/perl5/5.24/Locale/gettext_xs.pm from a
stretch system to /usr/lib/x86_64-linux-gnu/perl5/5.32/Locale/gettext_xs.pm
on bullseye, and now the XS version is being loaded successfully and I'm
getting the right answers.

Am I missing something in how libintl-xs-perl is supposed to be used?

Thanks!



*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 11.3
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-14-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libintl-xs-perl depends on:
ii  libc6                       2.31-13+deb11u3
ii  libintl-perl                1.26-3
ii  perl                        5.32.1-4+deb11u2
ii  perl-base [perlapi-5.32.1]  5.32.1-4+deb11u2

libintl-xs-perl recommends no packages.

libintl-xs-perl suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list