From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11844 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: man-db 2.7.6.1: Test failures under musl libc Date: Sat, 26 Aug 2017 09:28:08 -0400 Message-ID: <20170826132808.GX1627@brightrain.aerifal.cx> References: <5992359F.5010801@adelielinux.org> <20170826120425.jlqfcwjuvvb7l3km@riva.ucam.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1503754116 18514 195.159.176.226 (26 Aug 2017 13:28:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 26 Aug 2017 13:28:36 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "A. Wilcox" , musl@lists.openwall.com, man-db-devel@nongnu.org To: Colin Watson Original-X-From: musl-return-11857-gllmg-musl=m.gmane.org@lists.openwall.com Sat Aug 26 15:28:32 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dlb8X-0004UR-Ul for gllmg-musl@m.gmane.org; Sat, 26 Aug 2017 15:28:30 +0200 Original-Received: (qmail 25849 invoked by uid 550); 26 Aug 2017 13:28:33 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 25761 invoked from network); 26 Aug 2017 13:28:28 -0000 Content-Disposition: inline In-Reply-To: <20170826120425.jlqfcwjuvvb7l3km@riva.ucam.org> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:11844 Archived-At: On Sat, Aug 26, 2017 at 01:04:26PM +0100, Colin Watson wrote: > On Mon, Aug 14, 2017 at 06:43:27PM -0500, A. Wilcox wrote: > > We are creating a new Linux distribution based on the musl libc focused > > on security and reliability. As such, we run test suites for all of our > > packaged software. The man-db test suite seems to have numerous > > failures due to musl's iconv(3) (or more specifically, iconv_open(3)) > > method not supporting //IGNORE suffixes for character sets. > > man-db can't reasonably do without //IGNORE, certainly not if you want > reliability. Can you try building man-db with GNU libiconv? The build > system uses AM_ICONV already, so should have enough options to let you > do this. > > (I'd take a patch to the build system to have it detect this situation > and emit an error earlier if //IGNORE isn't available.) Can you explain? This seems wrong; maybe I misunderstand //IGNORE but I can't come up with any plausible scenario where a conversion with //IGNORE would produce usable output. Also please be aware that the encoding on a system using musl is always UTF-8 (musl only supports UTF-8 locales), so conversion of man pages to another locale that can't represent their contents is out-of-scope. I'm not sure if //IGNORE would be useful for this anyway (I couldn't figure out from the failed tests what the intent was) but I mention it because it may be related. Rich