From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4094 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: GLOB_BRACE Date: Sun, 29 Sep 2013 17:57:54 -0400 Message-ID: <20130929215754.GN20515@brightrain.aerifal.cx> References: <20130926182309.GS20515@brightrain.aerifal.cx> <20130926183812.GT20515@brightrain.aerifal.cx> <5244859C.6060107@barfooze.de> <524578B9.4050808@opensource.dyc.edu> <5248A0D4.1080704@opensource.dyc.edu> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1380491885 19563 80.91.229.3 (29 Sep 2013 21:58:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Sep 2013 21:58:05 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4098-gllmg-musl=m.gmane.org@lists.openwall.com Sun Sep 29 23:58:07 2013 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 1VQP0B-0007KB-6r for gllmg-musl@plane.gmane.org; Sun, 29 Sep 2013 23:58:07 +0200 Original-Received: (qmail 18031 invoked by uid 550); 29 Sep 2013 21:58:06 -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 18023 invoked from network); 29 Sep 2013 21:58:06 -0000 Content-Disposition: inline In-Reply-To: <5248A0D4.1080704@opensource.dyc.edu> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4094 Archived-At: On Sun, Sep 29, 2013 at 05:51:16PM -0400, Anthony G. Basile wrote: > On 09/27/2013 09:06 AM, Daniel Cegiełka wrote: > >2013/9/27 Anthony G. Basile : > > > >>Also openrc > >>doesn't build on musl and its still required for some fundamental gentoo > >>pieces, even though it competes with systemd. > > > >Could you describe compilation errors (temp/build.log)? Try patches... > > > >Daniel > > > > sysvinit was easy to fix, there was just a missing #include > . > > openrc-0.11.8 is dying on the following: > > x86_64-gentoo-linux-musl-gcc -I../includes -D_BSD_SOURCE > -D_XOPEN_SOURCE=700 -DHAVE_TERMCAP -MM libeinfo.c > .depend > make[2]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.11.8/work/openrc-0.11.8/src/libeinfo' > make[2]: Entering directory `/var/tmp/portage/sys-apps/openrc-0.11.8/work/openrc-0.11.8/src/libeinfo' > x86_64-gentoo-linux-musl-gcc -fPIC -DPIC -I../includes -D_BSD_SOURCE > -D_XOPEN_SOURCE=700 -DHAVE_TERMCAP -Os -pipe -fomit-frame-pointer > -std=c99 -Wall -Wextra -Wimplicit -Wshadow -Wformat=2 > -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn > -Wmissing-format-attribute -Wnested-externs -Winline -Wwrite-strings > -Wcast-align -Wcast-qual -Wpointer-arith > -Wdeclaration-after-statement -Wsequence-point -c libeinfo.c -o > libeinfo.So > In file included from libeinfo.c:53:0: > einfo.h:54:1: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'typedef' > einfo.h:65:1: warning: parameter names (without types) in function > declaration [enabled by default] > einfo.h:124:20: error: unknown type name 'ECOLOR' > einfo.h:143:1: warning: data definition has no type or storage class > [enabled by default] > einfo.h:143:1: warning: type defaults to 'int' in declaration of > '__END_DECLS' [enabled by default] > In file included from libeinfo.c:54:0: > > > which can be fixed by commentin out __BEGIN_DECLS and __END_DECLS. Or, if the header is intended to be usable from C++, by adding the correct #ifdef __cplusplus / extern "C" { / #endif, etc. blocks. > It then dies on > > make[2]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.11.8/work/openrc-0.11.8/src/librc' > make[2]: Entering directory `/var/tmp/portage/sys-apps/openrc-0.11.8/work/openrc-0.11.8/src/librc' > cc -O2 -g -std=c99 -Wall -Wextra -Wimplicit -Wshadow -Wformat=2 > -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn > -Wmissing-format-attribute -Wnested-externs -Winline -Wwrite-strings > -Wcast-align -Wcast-qual -Wpointer-arith > -Wdeclaration-after-statement -Wsequence-point -I../includes > -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -c librc.c -o librc.o > In file included from librc.h:67:0, > from librc.c:33: > rc.h:30:23: fatal error: sys/queue.h: No such file or directory > compilation terminated. sys/queue.h is a library in a header file. You can obtain a copy of it from a glibc system (it's BSD licensed) or a number of other systems. It's fully self-contained in the header file and there's no reason for it to be part of libc. Rich