Your message dated Sun, 03 Jan 2010 17:33:18 +0000
with message-id <e1nrukm-0006yv...@ries.debian.org>
and subject line Bug#555032: fixed in libgettext-ruby 1.93.0-1.1
has caused the Debian Bug report #555032,
regarding libgettext-ruby1.9: fails to load under ruby1.9 due to encoding of
source
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 ow...@bugs.debian.org
immediately.)
--
555032: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555032
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libgettext-ruby1.9
Version: 1.93.0-1
Severity: serious
Justification: renders package unusable
Blocks: 432200
Tags: patch
I'm working on developing a new version of apt-listbugs that works
with ruby1.9.
Currently I've got everything resolved, except for this error:
bash jade master apt-listbugs $ ruby1.9 ./apt-listbugs
/usr/lib/ruby/1.9.0/gettext/mo.rb:18:in `require':
/usr/lib/ruby/1.9.0/gettext/iconv.rb:102: invalid multibyte char (US-ASCII)
(SyntaxError)
/usr/lib/ruby/1.9.0/gettext/iconv.rb:102: invalid multibyte char (US-ASCII)
/usr/lib/ruby/1.9.0/gettext/iconv.rb:102: syntax error, unexpected $end,
expecting ')'
puts Iconv.iconv("EUC-JP", "UTF-8", "ほげ").join
^
from /usr/lib/ruby/1.9.0/gettext/mo.rb:18:in `<top (required)>'
from /usr/lib/ruby/1.9.0/gettext.rb:18:in `require'
from /usr/lib/ruby/1.9.0/gettext.rb:18:in `<top (required)>'
from ./apt-listbugs:240:in `require'
from ./apt-listbugs:240:in `<main>'
bash jade master apt-listbugs $
This is caused by a bug in /usr/lib/ruby/1.9.0/gettext/iconv.rb
Ruby1.9 is trying to parse it as ASCII, however it contains UTF-8
characters. to tell ruby1.9 to parse it as utf-8, add this comment to
the file "# coding: utf-8". After adding this to the beginning, it
parses just fine, and apt-listbugs starts just fine (but fails later
for other reasons, unrelated to gettext..).
attached is a patch, please upload the fix for this bug.
--
_________________________
Ryan Niebur
ryanrya...@gmail.com
diff -u libgettext-ruby-1.93.0/debian/changelog libgettext-ruby-1.93.0/debian/changelog
only in patch2:
unchanged:
--- libgettext-ruby-1.93.0.orig/lib/gettext/iconv.rb
+++ libgettext-ruby-1.93.0/lib/gettext/iconv.rb
@@ -1,3 +1,5 @@
+# coding: utf-8
+
=begin
iconv.rb - Pseudo Iconv class. Supports Iconv.iconv, Iconv.conv.
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: libgettext-ruby
Source-Version: 1.93.0-1.1
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-data_1.93.0-1.1_all.deb
to main/libg/libgettext-ruby/libgettext-ruby-data_1.93.0-1.1_all.deb
libgettext-ruby-util_1.93.0-1.1_all.deb
to main/libg/libgettext-ruby/libgettext-ruby-util_1.93.0-1.1_all.deb
libgettext-ruby1.8_1.93.0-1.1_all.deb
to main/libg/libgettext-ruby/libgettext-ruby1.8_1.93.0-1.1_all.deb
libgettext-ruby1.9_1.93.0-1.1_all.deb
to main/libg/libgettext-ruby/libgettext-ruby1.9_1.93.0-1.1_all.deb
libgettext-ruby_1.93.0-1.1.diff.gz
to main/libg/libgettext-ruby/libgettext-ruby_1.93.0-1.1.diff.gz
libgettext-ruby_1.93.0-1.1.dsc
to main/libg/libgettext-ruby/libgettext-ruby_1.93.0-1.1.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 555...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Tim Retout <t...@retout.co.uk> (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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 01 Jan 2010 16:50:20 +0000
Source: libgettext-ruby
Binary: libgettext-ruby1.8 libgettext-ruby1.9 libgettext-ruby-util
libgettext-ruby-data
Architecture: source all
Version: 1.93.0-1.1
Distribution: unstable
Urgency: low
Maintainer: Tatsuki Sugiura <s...@nemui.org>
Changed-By: Tim Retout <t...@retout.co.uk>
Description:
libgettext-ruby-data - Data files for ruby gettext library
libgettext-ruby-util - Gettext utilities for ruby
libgettext-ruby1.8 - Gettext for ruby1.8
libgettext-ruby1.9 - Gettext for ruby1.9
Closes: 555032
Changes:
libgettext-ruby (1.93.0-1.1) unstable; urgency=low
.
* Non-maintainer upload.
* 10_unicode_encoding.dpatch: Specify unicode source encoding for
iconv.rb. Fixes use with ruby1.9. (Closes: #555032)
Checksums-Sha1:
0a409a7b2ed36d8fe3fb6cd09b117907cacb39da 1336 libgettext-ruby_1.93.0-1.1.dsc
fc0a5039d08270a517f28e8716cb9f49e8b2adc7 8208
libgettext-ruby_1.93.0-1.1.diff.gz
66e5a9f2251c37b1e2589a796e92825c9ce9e36d 73336
libgettext-ruby1.8_1.93.0-1.1_all.deb
7d0191aade6a9034585d8222a051af5552f82bfb 73180
libgettext-ruby1.9_1.93.0-1.1_all.deb
d5bc4757eee8f9e53c79f9f57d98129acb84af4a 56828
libgettext-ruby-util_1.93.0-1.1_all.deb
37e95f458f3fb8ecb700ff64741f7ceac32f7d8f 246956
libgettext-ruby-data_1.93.0-1.1_all.deb
Checksums-Sha256:
d24f083928e12c56dae42d2e2e50cf3fe3df80065e025636279f5401b270f2a9 1336
libgettext-ruby_1.93.0-1.1.dsc
5efd2f478eb1e71df339ab28e4b7cdc774210294f88057b62e7126aac2e5bfd0 8208
libgettext-ruby_1.93.0-1.1.diff.gz
4edf854508b20dd081082ee2137ac80a535f108a2b909640d1aee788d8474275 73336
libgettext-ruby1.8_1.93.0-1.1_all.deb
b54329024b33686ec04b701b3adcf6d2b7d043d3b8dd6ec12a2ccedbded3b413 73180
libgettext-ruby1.9_1.93.0-1.1_all.deb
05a147f4e40fbfa697773182ce660b4dbc76d6a20f0aec3c2fe0d9921dfd37a3 56828
libgettext-ruby-util_1.93.0-1.1_all.deb
4849dfc99019c187f103510614a1ca0daa64a3c8f324cf062277a06ca3837a41 246956
libgettext-ruby-data_1.93.0-1.1_all.deb
Files:
36e9d1b239fb98a414182894265a946d 1336 interpreters optional
libgettext-ruby_1.93.0-1.1.dsc
a588555cc45803a424f2526316627cc1 8208 interpreters optional
libgettext-ruby_1.93.0-1.1.diff.gz
7c08c00b58cbbc7f37bc41bbebcf1cdd 73336 interpreters optional
libgettext-ruby1.8_1.93.0-1.1_all.deb
a910ddf038b31d42ad19e75b1f8edae6 73180 interpreters optional
libgettext-ruby1.9_1.93.0-1.1_all.deb
28f60459f073de27e4924b43cb53ef7a 56828 interpreters optional
libgettext-ruby-util_1.93.0-1.1_all.deb
93a833fc929c05a669843b0124f46bd4 246956 interpreters optional
libgettext-ruby-data_1.93.0-1.1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAks+KYAACgkQOHNNd4eQFFKcTQCg3eiiqDAv99Ynu8oDzcu4g8Ds
cU4An2N79DYwVlr//ekbhDnUI0NRO6K0
=uE8G
-----END PGP SIGNATURE-----
--- End Message ---