From: Rich Felker <dalias@libc.org>
To: Colin Watson <cjwatson@debian.org>
Cc: "A. Wilcox" <awilfox@adelielinux.org>,
musl@lists.openwall.com, man-db-devel@nongnu.org
Subject: Re: Re: man-db 2.7.6.1: Test failures under musl libc
Date: Sat, 26 Aug 2017 09:28:08 -0400 [thread overview]
Message-ID: <20170826132808.GX1627@brightrain.aerifal.cx> (raw)
In-Reply-To: <20170826120425.jlqfcwjuvvb7l3km@riva.ucam.org>
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
next prev parent reply other threads:[~2017-08-26 13:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-14 23:43 A. Wilcox
2017-08-14 23:55 ` Rich Felker
2017-08-15 0:02 ` A. Wilcox
2017-08-26 12:04 ` Colin Watson
2017-08-26 13:28 ` Rich Felker [this message]
2017-08-26 15:13 ` Colin Watson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170826132808.GX1627@brightrain.aerifal.cx \
--to=dalias@libc.org \
--cc=awilfox@adelielinux.org \
--cc=cjwatson@debian.org \
--cc=man-db-devel@nongnu.org \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).