kern/182102: [libiconv] bug in libiconv_none prevents MPD from starting
jilles at stack.nl
Fri Sep 20 16:50:02 UTC 2013
The following reply was made to PR kern/182102; it has been noted by GNATS.
From: Jilles Tjoelker <jilles at stack.nl>
To: bug-followup at FreeBSD.org, henry.hu.sh at gmail.com
Subject: Re: kern/182102: [libiconv] bug in libiconv_none prevents MPD from
Date: Fri, 20 Sep 2013 18:44:10 +0200
In PR kern/182102, you wrote:
> Then I found MPD(audio/musicpd) failed to start. It says:
> path: invalid filesystem charset: UTF-8
> MPD now uses the system iconv. I found the call in MPD to g_convert()
> failed. After some tracing, I found that the iconv() call is not
> working properly.
> This essentially loads the iconv_none module, because the input and
> output encodings are the same.
As of Subversion r254080 (August 8, 2013), iconv_none is no longer used
because it does not check the encoding as specified by POSIX and
required by various applications. So there seems to be something wrong
with either your version specification or your analysis.
As for a fix, I think it would be a good idea to drop iconv_none
entirely. Also, iconv_std might be folded into lib/libc/iconv/; there is
little benefit in dlopening such a small module.
More information about the freebsd-bugs