Bug 24826 - Conflict between LC_* constants of Locale::Gettext and POSIX in perl 5.10+
Summary: Conflict between LC_* constants of Locale::Gettext and POSIX in perl 5.10+
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: perl-Locale-gettext (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-26 15:04 MSK by Alexey Gladkov
Modified: 2010-12-26 19:47 MSK (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Gladkov 2010-12-26 15:04:05 MSK
$ env -i help2man -N -i make-initrd.1.inc -- ./make-initrd >make-initrd.1
Constant subroutine main::LC_ALL redefined at /usr/share/perl5/Exporter.pm line 64.
 at /usr/bin/help2man line 29
Prototype mismatch: sub main::LC_ALL () vs none at /usr/share/perl5/Exporter.pm line 64.
 at /usr/bin/help2man line 29
Comment 1 Dmitry V. Levin 2010-12-26 17:18:03 MSK
$ perl -e 'use POSIX qw(LC_ALL); use Locale::gettext;'
Constant subroutine main::LC_ALL redefined at /usr/share/perl5/Exporter.pm line 64.
 at -e line 1
Prototype mismatch: sub main::LC_ALL () vs none at /usr/share/perl5/Exporter.pm line 64.
 at -e line 1
Comment 2 Dmitry V. Levin 2010-12-26 18:50:12 MSK
$ perl -MPOSIX -MLocale::gettext </dev/null
Constant subroutine main::LC_CTYPE redefined at /usr/share/perl5/Exporter.pm line 64.
 at - line 0
Prototype mismatch: sub main::LC_CTYPE () vs none at /usr/share/perl5/Exporter.pm line 64.
 at - line 0
Constant subroutine main::LC_NUMERIC redefined at /usr/share/perl5/Exporter.pm line 64.
 at - line 0
Prototype mismatch: sub main::LC_NUMERIC () vs none at /usr/share/perl5/Exporter.pm line 64.
 at - line 0
Constant subroutine main::LC_TIME redefined at /usr/share/perl5/Exporter.pm line 64.
 at - line 0
Prototype mismatch: sub main::LC_TIME () vs none at /usr/share/perl5/Exporter.pm line 64.
 at - line 0
Constant subroutine main::LC_COLLATE redefined at /usr/share/perl5/Exporter.pm line 64.
 at - line 0
Prototype mismatch: sub main::LC_COLLATE () vs none at /usr/share/perl5/Exporter.pm line 64.
 at - line 0
Constant subroutine main::LC_MONETARY redefined at /usr/share/perl5/Exporter.pm line 64.
 at - line 0
Prototype mismatch: sub main::LC_MONETARY () vs none at /usr/share/perl5/Exporter.pm line 64.
 at - line 0
Constant subroutine main::LC_MESSAGES redefined at /usr/share/perl5/Exporter.pm line 64.
 at - line 0
Prototype mismatch: sub main::LC_MESSAGES () vs none at /usr/share/perl5/Exporter.pm line 64.
 at - line 0
Constant subroutine main::LC_ALL redefined at /usr/share/perl5/Exporter.pm line 64.
 at - line 0
Prototype mismatch: sub main::LC_ALL () vs none at /usr/share/perl5/Exporter.pm line 64.
 at - line 0
Comment 4 Repository Robot 2010-12-26 19:47:36 MSK
perl-Locale-gettext-1.05-alt4 -> sisyphus:

* Sun Dec 26 2010 Dmitry V. Levin <ldv@altlinux> 1.05-alt4
- Fixed conflict between Locale::Gettext and POSIX
  (closes: #24826).
- Resurrected changes lost in 1.05-alt3.