Subject: pkg/36474: www/raggle does not show feed content
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Klaus Heinz <heinz@NetBSD.org>
List: pkgsrc-bugs
Date: 06/11/2007 23:50:01
>Number:         36474
>Category:       pkg
>Synopsis:       www/raggle does not show feed content
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 11 23:50:01 +0000 2007
>Originator:     Klaus Heinz
>Release:        NetBSD 3.1
>Organization:
none
>Environment:
System: NetBSD silence.homedns.org 3.1 NetBSD 3.1 (GENERIC) #0: Tue Oct 31 04:27:07 UTC 2006 builds@b0.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/i386/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	www/raggle 0.4.4 from pkgsrc HEAD does not work correctly for
        me.
	After starting the application there is some activity over the
	network but it does not display any feed items.
	After I stop the program, there is the following error message for
	all but one of the 19 feeds in the default configuration:

	  error: invalid encoding ("ISO-8859-1//TRANSLIT", "UTF-8")

	in $HOME/.raggle/feeds.yaml.
	The last feed shows
 	  "Couldn't get URL \"http://www.thismodernworld.com/index.rdf\": HTTP Error: 404 \"Not Found\"."
	which seems to be correct, there is no such file available.

	The error message points in the direction of the NetBSD
	implementation of iconv.
	The command
		echo | iconv -f "ISO-8859-1//TRANSLIT" -t "UTF-8"
	produces an error message while
		echo | /usr/pkg/bin/iconv -f "ISO-8859-1//TRANSLIT" -t "UTF-8"
	does not.
>How-To-Repeat:
	Install ruby18-base, ruby-ncurses and raggle, start raggle and see
	it fail.
>Fix:
	Build ruby18-base with converters/libiconv? Forcing this with
	USE_GNU_ICONV=yes did _not_ work for me.