Sorry I'm not intimately familiar with Ruby and assumed from the error message that it is triggered in the file which is mentioned in the message. After reading your response I see "require 'iconv'" in a few other files so I assume the fault is there.
Thanks. On 25 August 2012 03:21, Debian Bug Tracking System <ow...@bugs.debian.org>wrote: > This is an automatic notification regarding your Bug report > which was filed against the libruby1.9.1 package: > > #685733: libruby1.9.1: custom_require.rb uses deprecated iconv interface > > It has been closed by Antonio Terceiro <terce...@debian.org>. > > Their explanation is attached below along with your original report. > If this explanation is unsatisfactory and you have not received a > better one in a separate message then please contact Antonio Terceiro < > terce...@debian.org> by > replying to this email. > > > -- > 685733: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685733 > Debian Bug Tracking System > Contact ow...@bugs.debian.org with problems > > > ---------- Forwarded message ---------- > From: Antonio Terceiro <terce...@debian.org> > To: James Healy <ji...@deefa.com>, 685733-d...@bugs.debian.org > Cc: > Date: Fri, 24 Aug 2012 14:13:03 -0300 > Subject: Re: Bug#685733: libruby1.9.1: custom_require.rb uses deprecated > iconv interface > Hello Amos, > > [top-post undone] > > James Healy escreveu isso aĆ: > > On 24 August 2012 03:53, Amos Shapira <ashap...@atlassian.com> wrote: > > > Package: libruby1.9.1 > > > Version: 1.9.3.194-1 > > > Severity: important > > > > > > Dear Maintainer, > > > *** Please consider answering these questions, where appropriate *** > > > > > > * What led up to the situation? > > > > > > I installed and started using librarian-puppet > > > (https://github.com/rodjek/librarian-puppet) and > > > get a warning whenever I execute it. > > > > > > * What exactly did you do (or not do) that was effective (or > > > ineffective)? > > > > > > Installed librarian-puppet > > > Executed "librarian-puppet" > > > > > > * What was the outcome of this action? > > > > > > The following warning is emitted, in addition to normal operation: > > > /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv > will > > > be deprecated in the future, use String#encode instead. > > > Tasks: > > > ... > > > * What outcome did you expect instead? > > > Warning shouldn't be emitted. > > > > > The deprecation warning was added by the upstream developers of ruby > > 1.9.3, I would argue strongly against Debian changing that behaviour. > > > > It might be an annoying message, but devieating from upstream should > > be treated with caution. > > > > The best fix in this case is probably to use a version of > > librarian-puppet that has been updated to avoid using deprecated > > behaviour in the interpreter. > > > > James > > As James described, this is not a problem with Ruby or its standard > library, but with this package you installed from the internet (which is > not even in Debian). > > Since there is nothing to be fixed in Ruby, I am closing this bug. > > Thanks for you report. > > -- > Antonio Terceiro <terce...@debian.org> > > > ---------- Forwarded message ---------- > From: Amos Shapira <ashap...@atlassian.com> > To: sub...@bugs.debian.org > Cc: Amos Shapira <ashap...@atlassian.com> > Date: Fri, 24 Aug 2012 12:53:45 +1000 > Subject: libruby1.9.1: custom_require.rb uses deprecated iconv interface > Package: libruby1.9.1 > Version: 1.9.3.194-1 > Severity: important > > Dear Maintainer, > *** Please consider answering these questions, where appropriate *** > > * What led up to the situation? > > I installed and started using librarian-puppet ( > https://github.com/rodjek/librarian-puppet) and > get a warning whenever I execute it. > > * What exactly did you do (or not do) that was effective (or > ineffective)? > > Installed librarian-puppet > Executed "librarian-puppet" > > * What was the outcome of this action? > > The following warning is emitted, in addition to normal operation: > /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will > be deprecated in the future, use String#encode instead. > Tasks: > ... > * What outcome did you expect instead? > Warning shouldn't be emitted. > > > -- System Information: > Debian Release: wheezy/sid > APT prefers testing > APT policy: (500, 'testing') > Architecture: amd64 (x86_64) > > Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores) > Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages libruby1.9.1 depends on: > ii libc6 2.13-35 > ii libffi5 3.0.10-3 > ii libgdbm3 1.8.3-11 > ii libncurses5 5.9-10 > ii libncursesw5 5.9-10 > ii libreadline6 6.2-8 > ii libssl1.0.0 1.0.1c-4 > ii libtinfo5 5.9-10 > ii libyaml-0-2 0.1.4-2 > ii zlib1g 1:1.2.7.dfsg-13 > > libruby1.9.1 recommends no packages. > > libruby1.9.1 suggests no packages. > > -- no debconf information > > >