Bug#650518: libproc-processtable-perl: Module expects english locale

Wolfgang Leuchuk wolfgang20121964 at yahoo.de
Wed Nov 30 14:17:37 UTC 2011


Package: libproc-processtable-perl
Version: 0.45-1
Severity: important
Tags: l10n

Background:
The version of the module is 0.45. It's installed with synaptic, but my system
is allowed to use the backports, too.

My perl skript uses this module. When I try to access the field "pid" of the
process table it exits with the error message "Your vendor has not defined
Proc::ProcessTable macro pid at " my script some line number. The error message
is not from my script but from the module.

When I debug it I find in the file Proc::ProcessTable::AUTOLOAD (says the perl
debugger) a comparison "if ($! ~= /Invalid/)" which is never true when the
locale is german and the OS-error is reported consequently in german. As it
can't be true it always exits with the above mentioned error message.

I can circumnavigate the problem by setting the locale to english, but this in
my humble opinion not the way it should work.



-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libproc-processtable-perl depends on:
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  perl                   5.10.1-17squeeze2 Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.1 5.10.1-17squeeze2 minimal Perl system

libproc-processtable-perl recommends no packages.

libproc-processtable-perl suggests no packages.

-- no debconf information





More information about the pkg-perl-maintainers mailing list