Compiling Weston with musl-libc (WAS: [PATCH weston] weston-launch: use custom error function)
Eric Engestrom
eric.engestrom at imgtec.com
Fri Sep 30 13:41:31 UTC 2016
On Fri, Sep 30, 2016 at 02:07:38PM +0200, Armin Krezović wrote:
> On 30.09.2016 13:59, Eric Engestrom wrote:
> > On Fri, Sep 30, 2016 at 11:36:24AM +0100, Murray Calavera wrote:
> >> On 30 September 2016 at 11:10, Eric Engestrom <eric.engestrom at imgtec.com>
> >> wrote:
> >>
> >>> On Thu, Sep 29, 2016 at 09:26:16PM +0100, Murray Calavera wrote:
> >>>> error.h is a gnu extension and not available in other
> >>>> popular libcs like musl. This patch provides a replacement.
> >>>>
> >>>> Signed-off-by: Murray Calavera <murray.calavera at gmail.com>
> >>>
> >>> How did you test this? For me, `CC=musl-gcc ./autogen.sh` stops on:
> >>> [...]
> >>> checking for library containing pam_open_session... no
> >>> configure: error: weston-launch requires pam
> >>>
> >>
> >> Have you got libpam installed?
> >> I don't see how this patch could have affected the configure,
> >> does it configure without this patch?
> >
> > I do have it, and it works fine with both `CC=gcc` and `CC=clang`, but
> > `CC=musl-gcc` and `CC=musl-clang` both fail with that error.
> >
> > Is this also how you use musl? If it is, then the issue is probably on
> > my side, I won't take anymore of your time with this :)
> >
>
> Did you apply the patch that was sent by him before this one? IIRC,
> we narrowed that issue yesterday on IRC.
I tried both with and without that patch, and it made no difference.
I think I'll just give up. Even though it would have been nice to test
with musl, I don't need it, so I'll leave it to those who do :P
Thanks for trying, guys :)
/me runs away and forgets all about musl
More information about the wayland-devel
mailing list