iconv in base breaks multiple ports

Tijl Coosemans tijl at FreeBSD.org
Sun Oct 20 21:20:24 UTC 2013


On Sun, 20 Oct 2013 20:27:23 +0200 Ulrich Spörlein wrote:
> ever since that iconv thing replaced the ports version, I run into
> trouble with several ports that I have installed on a -CURRENT (now
> stable/10 system).
> 
> These are not compile-time errors, but crashes or limited functionality
> where I blame iconv :)
> 
> 1. www/newsbeuter crashes during startup, somewhere in the stfl code
> that deals with wide char functions.
> 
> 2. devel/git: when using git-svn, it'll segfault in the perl code, not
> sure how to get a backtrace here as gdb's follow-fork doesn't quite
> work.
> 
> 3. multimedia/xbmc is no longer able to decode unicode filenames and
> other things are broken. It spews an endless stream of 
> 19:36:00 T:34594644992   ERROR: convert_checked iconv_open() failed from
> WCHAR_T to UTF-8, errno=22(Invalid argument)
> 19:36:00 T:34594644992   ERROR: convert_checked iconv_open() failed from
> UTF-8 to WCHAR_T, errno=22(Invalid argument)
> 19:37:00 T:34594644992   ERROR: Previous line repeats 9656 times.
> 
> Is my system hexed? I've rebuilt the ports/packages a dozen times now.
> Am I seeing ghosts?

Can you try the attached patch?  It includes the one from
http://www.freebsd.org/cgi/query-pr.cgi?pr=182994
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: iconv.patch
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131020/ea7153ab/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131020/ea7153ab/attachment.sig>


More information about the freebsd-current mailing list