From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2457 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: libedit build, missing sys/ttydefaults.h & sys/errno.h Date: Thu, 13 Dec 2012 13:58:38 -0500 Message-ID: <20121213185837.GC20323@brightrain.aerifal.cx> References: <50C9AE08.5040204@intelcom.su> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1355425137 24592 80.91.229.3 (13 Dec 2012 18:58:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2012 18:58:57 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2458-gllmg-musl=m.gmane.org@lists.openwall.com Thu Dec 13 19:59:11 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TjDzr-0001Vk-RX for gllmg-musl@plane.gmane.org; Thu, 13 Dec 2012 19:59:03 +0100 Original-Received: (qmail 26460 invoked by uid 550); 13 Dec 2012 18:58:51 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 26452 invoked from network); 13 Dec 2012 18:58:50 -0000 Content-Disposition: inline In-Reply-To: <50C9AE08.5040204@intelcom.su> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2457 Archived-At: On Thu, Dec 13, 2012 at 02:29:28PM +0400, ojab wrote: > Hi list, > > libedit-3.0 build fails with > > >editline/readline.h:79:29: fatal error: sys/ttydefaults.h: No such file or directory > >fileman.c:14:23: fatal error: sys/errno.h: No such file or directory > > After adding sys/ttydefaults.h from NetBSD [1] (cleaned up version > in the attached file) and replacing with it > builds/works fine. > As far as I can see the same issues was reported about sysvinit [2]. > > Can sys/ttydefaults.h be added to musl? Will alias be > added to musl? Or I should report issue to libedit developer > instead? So far, support for wrong-location headers like is inconsistent; we support some of them but not others. The long-term plan is to support all of the ones glibc does, but with #warning in the wrong version of it. I think you should report the bug upstream and try to get it fixed. It's definitely been more than 20 years since there was a system where was needed, and I doubt such systems existed even back then. As for , I'll look at it. I'm not familiar with what it's for. But it seems unused... Rich