Your message dated Mon, 12 May 2008 13:55:35 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#477134: librrds-perl: RRDs perl module fails to use 
with locales using different decimal separator
has caused the Debian Bug report #477134,
regarding librrds-perl: RRDs perl module fails to use with locales using 
different decimal separator
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
477134: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477134
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: librrds-perl
Version: 1.2.27-2
Severity: grave
Tags: l10n
Justification: renders package unusable

RRDs perl module fails to use if locales set a decimal separator different to
'.'. In this case, the Spanish locales (es_ES.UTF-8) use ',' as a decimal
separator. DynLoader seems to compare on the left-hand side using a decimal
point, and on the right-hand side using the coma. This is what I get:

RRDs object version 1.2027 does not match bootstrap parameter 1,2027 at
/usr/lib/perl/5.8/DynaLoader.pm line 245.


The above bug is easily reproducible by running the following perl script:

use POSIX;
my $loc = POSIX::setlocale( &POSIX::LC_ALL, "es_ES.UTF-8" );
eval('use RRDs');
print "$@";


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages librrds-perl depends on:
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libfreetype6           2.3.5-1+b1        FreeType 2 font engine, shared lib
ii  libpng12-0             1.2.15~beta5-3    PNG library - runtime
ii  librrd2                1.2.27-2          Time-series data storage and displ
ii  perl                   5.8.8-12          Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8 5.8.8-12          The Pathologically Eclectic Rubbis
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

librrds-perl recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Hi,

On Mon, Apr 21, 2008 at 01:57:38PM +0200, Sebastian Harl wrote:
> On Mon, Apr 21, 2008 at 11:23:51AM +0200, Javier Uruen Val wrote:
> > RRDs perl module fails to use if locales set a decimal separator different 
> > to
> > '.'. In this case, the Spanish locales (es_ES.UTF-8) use ',' as a decimal
> > separator. DynLoader seems to compare on the left-hand side using a decimal
> > point, and on the right-hand side using the coma. This is what I get:
> > 
> > RRDs object version 1.2027 does not match bootstrap parameter 1,2027 at
> > /usr/lib/perl/5.8/DynaLoader.pm line 245.
> > 
> > 
> > The above bug is easily reproducible by running the following perl script:
> > 
> > use POSIX;
> > my $loc = POSIX::setlocale( &POSIX::LC_ALL, "es_ES.UTF-8" );
> > eval('use RRDs');
> > print "$@";
> 
> The problem here is that XS_VERSION_BOOTCHECK, as used inside the C part
> of the RRDs module (and most other Perl modules using XS), uses
> string-compare to compare the value passed to DynaLoader::bootstrap() as
> second argument with the version string as provided at compile time
[...]

This has already been fixed in Perl 5.10 which has entered unstable a
couple of days ago. So, there is no need to work around this in rrdtool.
I'm thus closing this bug now.

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to