From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1728 Path: news.gmane.org!not-for-mail From: Gregor Richards Newsgroups: gmane.linux.lib.musl.general Subject: Re: sys/signal.h, sys/dirent.h + bugzilla. Date: Fri, 24 Aug 2012 09:33:00 -0400 Message-ID: <5037828C.3060809@purdue.edu> References: <5037716B.7070605@barfooze.de> <20120824123201.GZ27715@brightrain.aerifal.cx> <25665.132.241.65.118.1345813847.squirrel@lavabit.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1345815198 8594 80.91.229.3 (24 Aug 2012 13:33:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Aug 2012 13:33:18 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1729-gllmg-musl=m.gmane.org@lists.openwall.com Fri Aug 24 15:33:19 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 1T4u0h-00022C-KF for gllmg-musl@plane.gmane.org; Fri, 24 Aug 2012 15:33:15 +0200 Original-Received: (qmail 30168 invoked by uid 550); 24 Aug 2012 13:33:13 -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 30160 invoked from network); 24 Aug 2012 13:33:13 -0000 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: <25665.132.241.65.118.1345813847.squirrel@lavabit.com> X-PMX-Version: 5.5.9.388399 X-PerlMx-Virus-Scanned: Yes Xref: news.gmane.org gmane.linux.lib.musl.general:1728 Archived-At: On 08/24/12 09:10, idunham@lavabit.com wrote: >> On Fri, Aug 24, 2012 at 02:19:55PM +0200, John Spencer wrote: >>> On 08/24/2012 12:40 PM, Daniel CegieÅ*ka wrote: >>>> Hi, >>>> >>>> e2fsprogs (misc/fsck.c) needs include/sys/signal.h, but musl installs >>>> signal.h only in include/. symlink in Makefile? >>>> >>>> btw. the same situation: sys/dirent.h >>> those are not posix, the package you're trying to compile is at fault >>> here. > it's util-*linux*, not util-posix - what do you expect? :P >> Yes. We've already handled _some_ broken things like this by just >> adding the nonsense alias for the header (as a wrapper rather than a >> symlink, though; using symlinks is a bad idea because installing them >> does not work well) but so far this is the only report I've seen of an >> app needing these two > I've seen sys/syscall.h previously. Easily fixed. > I have considered doing a glibc-header-compat package, which provides > various nonstandard headers (sys/ aliases, sys/queue.h, etc.) out of tree. > I don't think they belong in tree. > > BTW, util-linux will probably need to check unistd.h for an adequate > standards-support (_XOPEN_VERSION/_POSIX_VERSION). Allegedly, they > support every libc out there, and a number of older ones don't even have > . > > > Ideally, these headers should contain #ifndef _GNU_SOURCE #error This is a nonstandard header. #endif Perhaps with _BSD_SOURCE too if the BSDs have similar wonko headers. With valediction, - Gregor Richards