You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jim Carroll (JIRA)" <ji...@apache.org> on 2016/03/08 23:41:40 UTC

[jira] [Created] (MESOS-4901) Build fails on some systems due to unportable use of time.h

Jim Carroll created MESOS-4901:
----------------------------------

             Summary: Build fails on some systems due to unportable use of time.h
                 Key: MESOS-4901
                 URL: https://issues.apache.org/jira/browse/MESOS-4901
             Project: Mesos
          Issue Type: Bug
          Components: build
    Affects Versions: 0.25.1
            Reporter: Jim Carroll


The 3rdparty library header file:

3rdparty/libprocess/3rdparty/stout/include/stout/duration.hpp

uses #include <time.h> but then assumes "struct timevar" is defined. "struct timevar" is defined in <sys/time.h> not in <time.h>. This works on most systems but not on all. 

Notably, it doesn't work on Alpine.





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