Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 29 Sep 2013 17:51:16 -0400
From: "Anthony G. Basile" <basile@...nsource.dyc.edu>
To: musl@...ts.openwall.com
Subject: Re: GLOB_BRACE

On 09/27/2013 09:06 AM, Daniel Cegiełka wrote:
> 2013/9/27 Anthony G. Basile <basile@...nsource.dyc.edu>:
>
>> 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 
<sys/ttydefaults.h>.

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.