Acknowledgement sent
to Wouter Verhelst <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Perl Group <[email protected]>.
(Mon, 27 Jun 2016 11:30:05 GMT) (full text, mbox, link).
Subject: Glib::Object::Introspection is locale-sensitive
Date: Mon, 27 Jun 2016 13:26:37 +0200
Package: libglib-object-introspection-perl
Version: 0.040-2
Severity: normal
Hi,
On my machine, the following code:
eval {
Glib::Object::Introspection->setup(
basename => "Notify",
version => 0.7,
package => "Fdpowermon::Notify",
);
}
if ($@) {
print "notify setup failed: $@\n";
}
produces:
notify setup failed: Typelib file for namespace 'Notify', version '0,7' not found at /usr/lib/x86_64-linux-gnu/perl5/5.22/Glib/Object/Introspection.pm line 108.
The obvious reason is that version is not "0,7", but "0.7"; in the dutch
locale, a comma is used as a decimal separator, rather than a point.
Passing the version number as a string rather than a number fixes the
problem -- but I think that shouldn't be necessary.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unreleased'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, m68k, arm64
Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libglib-object-introspection-perl depends on:
ii libc6 2.22-12
ii libextutils-depends-perl 0.405-1
ii libextutils-pkgconfig-perl 1.15-1
ii libffi6 3.2.1-4
ii libgirepository-1.0-1 1.48.0-2
ii libglib-perl 3:1.320-2
ii libglib2.0-0 2.48.1-1
ii perl 5.22.2-1
ii perl-base [perlapi-5.22.1] 5.22.2-1
libglib-object-introspection-perl recommends no packages.
libglib-object-introspection-perl suggests no packages.
-- no debconf information
Acknowledgement sent
to intrigeri <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Perl Group <[email protected]>.
(Mon, 27 Jun 2016 12:24:24 GMT) (full text, mbox, link).
Subject: Re: Bug#828737: Glib::Object::Introspection is locale-sensitive
Date: Mon, 27 Jun 2016 13:56:54 +0200
Control: retitle -1 Please support passing in numeric form the version of the library that should be wrapped
Control: tag -1 + upstream
Control: severity -1 wishlist
Hi Wouter,
Wouter Verhelst wrote (27 Jun 2016 11:26:37 GMT) :
> Passing the version number as a string rather than a number fixes the
> problem -- but I think that shouldn't be necessary.
The POD for this module explicitly states the need to pass the version
as a string:
version => $version
The particular version of the library that should be wrapped, in
string form. For "Gtk-3.0.typelib", it is '3.0'.
… so the bug you're experiencing only occurs when using the library in
a way that is explicitly not supported. Therefore, I'm going to handle
this as a feature request. FWIW upstream bug tracker lives there:
https://bugzilla.gnome.org/ (the component is gnome-perl IIRC).
Cheers,
--
intrigeri
Changed Bug title to 'Please support passing in numeric form the version of the library that should be wrapped' from 'Glib::Object::Introspection is locale-sensitive'.
Request was from intrigeri <[email protected]>
to [email protected].
(Mon, 27 Jun 2016 12:24:24 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.