Neil Conway created MESOS-5540:
----------------------------------

             Summary: Consider supporting building with non-GNU libc
                 Key: MESOS-5540
                 URL: https://issues.apache.org/jira/browse/MESOS-5540
             Project: Mesos
          Issue Type: Improvement
          Components: general
            Reporter: Neil Conway


Some Linux distributions don't use glibc -- e.g., Alpine Linux uses musl. Mesos 
currently fails to compile using musl for at least the following two reasons:

1. {{linux/fs.hpp}} includes {{fstab.h}}, which isn't provided by musl.
2. various places use {{fts.h}}, which isn't provided by musl

For (1), it seems this functionality is only needed by {{FsTest. 
FileSystemTableRead}}, so I think it can be safely removed.

For (2), there are standalone implementations of the FTS functions, e.g., 
https://github.com/pullmoll/musl-fts/ . We could either vendor such an 
implementation or require the user to install an FTS implementation as a 
library (e.g., https://pkgs.alpinelinux.org/package/edge/main/x86_64/fts). If 
we do the latter, we'd need to be prepared to link against {{libfts.a}} if 
needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to