Your message dated Fri, 16 Apr 2010 06:17:13 +0000
with message-id <[email protected]>
and subject line Bug#577801: fixed in libgettext-ruby 2.1.0-2
has caused the Debian Bug report #577801,
regarding libgettext-ruby1.8: bindtextdomain mangles my LOAD_PATH
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.)


-- 
577801: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577801
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgettext-ruby1.8
Version: 2.1.0-1
Severity: important

Hi!

It seems that the invocation of GetText::bindtextdomain()
alters the $LOAD_PATH variable in an awkward manner.

Steps to reproduce:


$ cat test-bindtextdomain.rb 
#!/usr/bin/ruby

puts "initial LOAD_PATH:\n-----------"
puts $LOAD_PATH
puts "-----------"

$LOAD_PATH.unshift("./lib")

puts "amended LOAD_PATH:\n-----------"
puts $LOAD_PATH
puts "-----------"

require 'gettext'
include GetText

puts "LOAD_PATH after requires:\n-----------"
puts $LOAD_PATH
puts "-----------"

GetText::bindtextdomain("test-bindtextdomain")

puts "LOAD_PATH after bindtextdomain:\n-----------"
puts $LOAD_PATH
puts "-----------"


$ chmod u+x test-bindtextdomain.rb
$ ./test-bindtextdomain.rb 
initial LOAD_PATH:
-----------
/usr/local/lib/site_ruby/1.8
/usr/local/lib/site_ruby/1.8/x86_64-linux
/usr/local/lib/site_ruby
/usr/lib/ruby/vendor_ruby/1.8
/usr/lib/ruby/vendor_ruby/1.8/x86_64-linux
/usr/lib/ruby/vendor_ruby
/usr/lib/ruby/1.8
/usr/lib/ruby/1.8/x86_64-linux
.
-----------
amended LOAD_PATH:
-----------
./lib
/usr/local/lib/site_ruby/1.8
/usr/local/lib/site_ruby/1.8/x86_64-linux
/usr/local/lib/site_ruby
/usr/lib/ruby/vendor_ruby/1.8
/usr/lib/ruby/vendor_ruby/1.8/x86_64-linux
/usr/lib/ruby/vendor_ruby
/usr/lib/ruby/1.8
/usr/lib/ruby/1.8/x86_64-linux
.
-----------
LOAD_PATH after requires:
-----------
./lib
/usr/local/lib/site_ruby/1.8
/usr/local/lib/site_ruby/1.8/x86_64-linux
/usr/local/lib/site_ruby
/usr/lib/ruby/vendor_ruby/1.8
/usr/lib/ruby/vendor_ruby/1.8/x86_64-linux
/usr/lib/ruby/vendor_ruby
/usr/lib/ruby/1.8
/usr/lib/ruby/1.8/x86_64-linux
.
-----------
LOAD_PATH after bindtextdomain:
-----------
.
/usr/local/lib/site_ruby/1.8
/usr/local/lib/site_ruby/1.8/x86_64-linux
/usr/local/lib/site_ruby
/usr/lib/ruby/vendor_ruby/1.8
/usr/lib/ruby/vendor_ruby/1.8/x86_64-linux
/usr/lib/ruby/vendor_ruby
/usr/lib/ruby/1.8
/usr/lib/ruby/1.8/x86_64-linux
.
-----------


Please note the first LOAD_PATH item: it changes from "./lib" to "."
when bindtextdomain is invoked.
I am pretty sure that this was not happening (in Debian testing)
during last summer and (probably) last autumn.

Hence, this seems to be a regression introduced during the upgrade
from libgettext-ruby1.8/1.93.0-1 to libgettext-ruby1.8/2.1.0-1

What's wrong?
What did I fail to understand?



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

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

Versions of packages libgettext-ruby1.8 depends on:
ii  irb1.8                       1.8.7.249-2 Interactive Ruby (for Ruby 1.8)
ii  liblocale-ruby1.8            2.0.5-2     pure ruby locale library
ii  libruby                      4.4         Libraries necessary to run Ruby 1.
ii  locales                      2.10.2-6    Embedded GNU C Library: National L
ii  ruby1.8                      1.8.7.249-2 Interpreter of object-oriented scr

libgettext-ruby1.8 recommends no packages.

Versions of packages libgettext-ruby1.8 suggests:
ii  gettext                       0.17-10    GNU Internationalization utilities

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: libgettext-ruby
Source-Version: 2.1.0-2

We believe that the bug you reported is fixed in the latest version of
libgettext-ruby, which is due to be installed in the Debian FTP archive:

libgettext-ruby-util_2.1.0-2_all.deb
  to main/libg/libgettext-ruby/libgettext-ruby-util_2.1.0-2_all.deb
libgettext-ruby1.8_2.1.0-2_all.deb
  to main/libg/libgettext-ruby/libgettext-ruby1.8_2.1.0-2_all.deb
libgettext-ruby1.9.1_2.1.0-2_all.deb
  to main/libg/libgettext-ruby/libgettext-ruby1.9.1_2.1.0-2_all.deb
libgettext-ruby_2.1.0-2.debian.tar.gz
  to main/libg/libgettext-ruby/libgettext-ruby_2.1.0-2.debian.tar.gz
libgettext-ruby_2.1.0-2.dsc
  to main/libg/libgettext-ruby/libgettext-ruby_2.1.0-2.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tatsuki Sugiura <[email protected]> (supplier of updated libgettext-ruby package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 15 Apr 2010 07:59:49 +0900
Source: libgettext-ruby
Binary: libgettext-ruby1.8 libgettext-ruby1.9.1 libgettext-ruby-util
Architecture: source all
Version: 2.1.0-2
Distribution: unstable
Urgency: low
Maintainer: Tatsuki Sugiura <[email protected]>
Changed-By: Tatsuki Sugiura <[email protected]>
Description: 
 libgettext-ruby-util - Gettext utilities for ruby (dummy package)
 libgettext-ruby1.8 - Gettext for ruby1.8
 libgettext-ruby1.9.1 - Gettext for ruby1.9.1
Closes: 577801
Changes: 
 libgettext-ruby (2.1.0-2) unstable; urgency=low
 .
   * Fix unexpected $LOAD_PATH mangle (Closes: #577801)
   * Switch to dpkg-source 3.0 (quilt) format
   * One-shot uploader by ISHIKAWA Mutsumi <[email protected]>
     (because main uploader Tach is on the VAC) request by Sugi.
Checksums-Sha1: 
 f06642194da7936517b6aa331b3f1f50c6e540eb 1218 libgettext-ruby_2.1.0-2.dsc
 a7f738fb8ae768c6a981af2ef0a19441acdee6ed 7107 
libgettext-ruby_2.1.0-2.debian.tar.gz
 b195f1df624dbb6794f25315e5614d82f7d83485 175562 
libgettext-ruby1.8_2.1.0-2_all.deb
 dbbf1746d4d7b00999e587e211dd336dc025b60c 61770 
libgettext-ruby1.9.1_2.1.0-2_all.deb
 eefdb1c4cc98d454f03d330c1a19d58b51f7500b 6686 
libgettext-ruby-util_2.1.0-2_all.deb
Checksums-Sha256: 
 b8ec56f3162582c26f6fe2e3bc9844bf81462623e550877dbff728a24b16e25d 1218 
libgettext-ruby_2.1.0-2.dsc
 d15e053f2e0bb9e897d01e3ccc6f7d8508d2a24eb1b55a85b402ec88a475f64e 7107 
libgettext-ruby_2.1.0-2.debian.tar.gz
 a74ec86ae803ccae3e421782059b80d5e0cefe4c5dad7ab0cda6d0cd4748ac03 175562 
libgettext-ruby1.8_2.1.0-2_all.deb
 bc1fdfc99f169abbc6ba7fcb5043dfbb2cf7f1e2a18f7d6fa58629904b5b129d 61770 
libgettext-ruby1.9.1_2.1.0-2_all.deb
 9a3890fe57d79cf2f360bcd41501e670b62830e17baf925a188b54be2311118e 6686 
libgettext-ruby-util_2.1.0-2_all.deb
Files: 
 6832ea08533efff02b727afab5a478a9 1218 ruby optional libgettext-ruby_2.1.0-2.dsc
 8162a6db37ba82ade74ae63eac233a59 7107 ruby optional 
libgettext-ruby_2.1.0-2.debian.tar.gz
 e00977fdd3682ed8501924f89d12b477 175562 ruby optional 
libgettext-ruby1.8_2.1.0-2_all.deb
 aecc2508777f654e2c2bec5bea7896f1 61770 ruby optional 
libgettext-ruby1.9.1_2.1.0-2_all.deb
 8c32ead9c10b769bef7fc2d65c14e847 6686 ruby optional 
libgettext-ruby-util_2.1.0-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvH/9YACgkQfi8w7uypT6iNmwCfRWd/6Yg0ncwL6F4LVFY4OwIL
9m0AnREvXiOBICucx9zMremimRl3G4GO
=mKvy
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to