Bug#479803: liblocale-gettext-perl: defines LC_* slightly differently from Perl 5.10's POSIX.pm

Aaron M. Ucko ucko at debian.org
Tue May 6 19:46:33 UTC 2008


Package: liblocale-gettext-perl
Version: 1.05-3+b1
Severity: important

Upon upgrading to Perl 5.10, I started seeing warning messages from
pdbv's cron job, which I tracked down to a (nominal?) incompatibility
between Locale::gettext and POSIX:

$ perl -MLocale::gettext -MPOSIX -e ''
Prototype mismatch: sub main::LC_ALL: none vs () at -e line 0
Prototype mismatch: sub main::LC_NUMERIC: none vs () at -e line 0
Prototype mismatch: sub main::LC_TIME: none vs () at -e line 0
Prototype mismatch: sub main::LC_MONETARY: none vs () at -e line 0
Prototype mismatch: sub main::LC_CTYPE: none vs () at -e line 0
Prototype mismatch: sub main::LC_MESSAGES: none vs () at -e line 0
Prototype mismatch: sub main::LC_COLLATE: none vs () at -e line 0
#amu at tux64:~
$ perl -MPOSIX -MLocale::gettext -e ''
Constant subroutine main::LC_CTYPE redefined at /usr/share/perl/5.10/Exporter.pm line 66.
 at -e line 0
Prototype mismatch: sub main::LC_CTYPE () vs none at /usr/share/perl/5.10/Exporter.pm line 66.
 at -e line 0
Constant subroutine main::LC_NUMERIC redefined at /usr/share/perl/5.10/Exporter.pm line 66.
 at -e line 0
Prototype mismatch: sub main::LC_NUMERIC () vs none at /usr/share/perl/5.10/Exporter.pm line 66.
 at -e line 0
Constant subroutine main::LC_TIME redefined at /usr/share/perl/5.10/Exporter.pm line 66.
 at -e line 0
Prototype mismatch: sub main::LC_TIME () vs none at /usr/share/perl/5.10/Exporter.pm line 66.
 at -e line 0
Constant subroutine main::LC_COLLATE redefined at /usr/share/perl/5.10/Exporter.pm line 66.
 at -e line 0
Prototype mismatch: sub main::LC_COLLATE () vs none at /usr/share/perl/5.10/Exporter.pm line 66.
 at -e line 0
Constant subroutine main::LC_MONETARY redefined at /usr/share/perl/5.10/Exporter.pm line 66.
 at -e line 0
Prototype mismatch: sub main::LC_MONETARY () vs none at /usr/share/perl/5.10/Exporter.pm line 66.
 at -e line 0
Constant subroutine main::LC_MESSAGES redefined at /usr/share/perl/5.10/Exporter.pm line 66.
 at -e line 0
Prototype mismatch: sub main::LC_MESSAGES () vs none at /usr/share/perl/5.10/Exporter.pm line 66.
 at -e line 0
Constant subroutine main::LC_ALL redefined at /usr/share/perl/5.10/Exporter.pm line 66.
 at -e line 0
Prototype mismatch: sub main::LC_ALL () vs none at /usr/share/perl/5.10/Exporter.pm line 66.
 at -e line 0

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25.0 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages liblocale-gettext-perl depends on:
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  perl-base [perlapi-5.10.0]    5.10.0-9   The Pathologically Eclectic Rubbis

liblocale-gettext-perl recommends no packages.

-- no debconf information





More information about the pkg-perl-maintainers mailing list