From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4093 Path: news.gmane.org!not-for-mail From: "Anthony G. Basile" Newsgroups: gmane.linux.lib.musl.general Subject: Re: GLOB_BRACE Date: Sun, 29 Sep 2013 17:51:16 -0400 Message-ID: <5248A0D4.1080704@opensource.dyc.edu> References: <20130916125049.GG20515@brightrain.aerifal.cx> <1379945328.1974.50@driftwood> <524051AD.8070008@gentoo.org> <20130923150323.GH20515@brightrain.aerifal.cx> <5243AB8E.1070706@gentoo.org> <20130926182309.GS20515@brightrain.aerifal.cx> <20130926183812.GT20515@brightrain.aerifal.cx> <5244859C.6060107@barfooze.de> <524578B9.4050808@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; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1380491424 15317 80.91.229.3 (29 Sep 2013 21:50:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Sep 2013 21:50:24 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4097-gllmg-musl=m.gmane.org@lists.openwall.com Sun Sep 29 23:50:28 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 1VQOsl-0000ch-L2 for gllmg-musl@plane.gmane.org; Sun, 29 Sep 2013 23:50:27 +0200 Original-Received: (qmail 15520 invoked by uid 550); 29 Sep 2013 21:50:26 -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 15501 invoked from network); 29 Sep 2013 21:50:25 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Thunderbird/17.0.9 In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:4093 Archived-At: 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. 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. -- Anthony G. Basile, Ph. D. Chair of Information Technology D'Youville College Buffalo, NY 14201 (716) 829-8197