pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/36474: www/raggle does not show feed content

The following reply was made to PR pkg/36474; it has been noted by GNATS.

From: Takahiro Kambe <>
Subject: Re: pkg/36474: www/raggle does not show feed content
Date: Wed, 03 Sep 2008 17:40:46 +0900 (JST)

 this is too late reply.
 In message <>
        on Mon, 11 Jun 2007 23:50:01 +0000 (UTC),
        Klaus Heinz <> wrote:
 >      all but one of the 19 feeds in the default configuration:
 >        error: invalid encoding ("ISO-8859-1//TRANSLIT", "UTF-8")
 > >Fix:
 >      Build ruby18-base with converters/libiconv? Forcing this with
 >      USE_GNU_ICONV=yes did _not_ work for me.
 This is really iconv(3)'s problem and not Ruby itself althogh it is
 the problem of Ruby's application programs which uses GNU iconv
 specific "//IGNORE" or "//TRANSLAT" options.  (And Ruby itself using
 these options its test script in test/iconv/test_option.rb.  :-(
 It is checked by simple ruby's script.
 require 'iconv'
 ic ="ISO-8859-1//TRANSLIT", "UTF-8")
 With none-GNU iconv:
 % ruby18 iconv.rb
 ruby18 iconv.rb
 iconv.rb:3:in `initialize': invalid encoding ("ISO-8859-1//TRANSLIT", "UTF-8") 
         from iconv.rb:3:in `new'
         from iconv.rb:3
 When I build ruby18-base with USE_GNU_ICONV=yes, it passed.
 % ruby18 iconv.rb
 (no output)
 You can also check with ldd(1).
 % ldd /usr/pkg/lib/ruby/1.8/i386-netbsdelf/ 
         -lc.12 => /usr/lib/
         -lpthread.0 => /usr/lib/
         -lcrypt.0 => /usr/lib/
         -lm.0 => /usr/lib/
         -lm.0 => /usr/lib/
         -lruby18.18 => /usr/pkg/lib/
         -liconv.2 => /usr/pkg/lib/
 Now, the same problem exists on some (or many?) PHP based applications
 which use "//IGNORE" or "//TRANSLAT".
 So I think it is worth to add:
 USE_GNU_ICONV?=         yes
 to lang/ruby18-base/Makefile and converters/php-iconv/Makefile.
 (I don't know the case of Python.)
 Best regards.
 Takahiro Kambe <>

Home | Main Index | Thread Index | Old Index