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)

Reply via email to