[
https://issues.apache.org/jira/browse/MESOS-7520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16057647#comment-16057647
]
Aaron Wood commented on MESOS-7520:
-----------------------------------
We still need fixes to the Duration class.
> Mesos fails to compile with GCC 7.1
> -----------------------------------
>
> Key: MESOS-7520
> URL: https://issues.apache.org/jira/browse/MESOS-7520
> Project: Mesos
> Issue Type: Bug
> Components: agent, build, master
> Affects Versions: 1.2.0
> Reporter: Aaron Wood
> Assignee: Aaron Wood
> Priority: Trivial
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80829
> {code}
> error 12-May-2017 15:46:40 In file included from
> ../../src/authorizer/authorizer.cpp:29:0:
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:45:39: error:
> 'Megabytes(32).Megabytes::<anonymous>' is not a constant expression because
> it refers to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Bytes MIN_MEM = Megabytes(32);
> error 12-May-2017 15:46:40 ^
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:49:59: error:
> 'Seconds(15).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Duration DEFAULT_HEARTBEAT_INTERVAL
> = Seconds(15);
> error 12-May-2017 15:46:40
> ^
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:57:59: error:
> 'Seconds(15).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Duration DEFAULT_AGENT_PING_TIMEOUT
> = Seconds(15);
> error 12-May-2017 15:46:40
> ^
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:67:61: error:
> 'Minutes(10).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Duration
> MIN_AGENT_REREGISTER_TIMEOUT = Minutes(10);
> error 12-May-2017 15:46:40
> ^
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:95:56: error:
> 'Seconds(5).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Duration WHITELIST_WATCH_INTERVAL =
> Seconds(5);
> error 12-May-2017 15:46:40
> ^
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:100:61: error:
> 'Minutes(15).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Duration
> DEFAULT_REGISTRY_GC_INTERVAL = Minutes(15);
> error 12-May-2017 15:46:40
> ^
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:102:60: error:
> 'Weeks(2).Weeks::<anonymous>' is not a constant expression because it refers
> to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Duration
> DEFAULT_REGISTRY_MAX_AGENT_AGE = Weeks(2);
> error 12-May-2017 15:46:40
> ^
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:122:58: error:
> 'Seconds(10).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Duration ZOOKEEPER_SESSION_TIMEOUT =
> Seconds(10);
> error 12-May-2017 15:46:40
> ^
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:131:59: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Duration DEFAULT_ALLOCATION_INTERVAL
> = Seconds(1);
> error 12-May-2017 15:46:40
> ^
> error 12-May-2017 15:46:40 In file included from
> ../../src/authentication/http/basic_authenticator_factory.cpp:27:0:
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:45:39: error:
> 'Megabytes(32).Megabytes::<anonymous>' is not a constant expression because
> it refers to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Bytes MIN_MEM = Megabytes(32);
> error 12-May-2017 15:46:40 ^
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:49:59: error:
> 'Seconds(15).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Duration DEFAULT_HEARTBEAT_INTERVAL
> = Seconds(15);
> error 12-May-2017 15:46:40
> ^
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:57:59: error:
> 'Seconds(15).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Duration DEFAULT_AGENT_PING_TIMEOUT
> = Seconds(15);
> error 12-May-2017 15:46:40
> ^
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:67:61: error:
> 'Minutes(10).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Duration
> MIN_AGENT_REREGISTER_TIMEOUT = Minutes(10);
> error 12-May-2017 15:46:40
> ^
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:95:56: error:
> 'Seconds(5).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Duration WHITELIST_WATCH_INTERVAL =
> Seconds(5);
> error 12-May-2017 15:46:40
> ^
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:100:61: error:
> 'Minutes(15).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Duration
> DEFAULT_REGISTRY_GC_INTERVAL = Minutes(15);
> error 12-May-2017 15:46:40
> ^
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:102:60: error:
> 'Weeks(2).Weeks::<anonymous>' is not a constant expression because it refers
> to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Duration
> DEFAULT_REGISTRY_MAX_AGENT_AGE = Weeks(2);
> error 12-May-2017 15:46:40
> ^
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:122:58: error:
> 'Seconds(10).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Duration ZOOKEEPER_SESSION_TIMEOUT =
> Seconds(10);
> error 12-May-2017 15:46:40
> ^
> error 12-May-2017 15:46:40 ../../src/master/constants.hpp:131:59: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:40 constexpr Duration DEFAULT_ALLOCATION_INTERVAL
> = Seconds(1);
> error 12-May-2017 15:46:40
> ^
> build 12-May-2017 15:46:42 Makefile:6833: recipe for target
> 'authorizer/libmesos_no_3rdparty_la-authorizer.lo' failed
> error 12-May-2017 15:46:42 make[2]: ***
> [authorizer/libmesos_no_3rdparty_la-authorizer.lo] Error 1
> error 12-May-2017 15:46:42 make[2]: *** Waiting for unfinished jobs....
> build 12-May-2017 15:46:43 Makefile:6819: recipe for target
> 'authentication/http/libmesos_no_3rdparty_la-basic_authenticator_factory.lo'
> failed
> error 12-May-2017 15:46:43 make[2]: ***
> [authentication/http/libmesos_no_3rdparty_la-basic_authenticator_factory.lo]
> Error 1
> error 12-May-2017 15:46:43 In file included from
> ../../src/internal/evolve.cpp:33:0:
> error 12-May-2017 15:46:43 ../../src/master/constants.hpp:45:39: error:
> 'Megabytes(32).Megabytes::<anonymous>' is not a constant expression because
> it refers to an incompletely initialized variable
> error 12-May-2017 15:46:43 constexpr Bytes MIN_MEM = Megabytes(32);
> error 12-May-2017 15:46:43 ^
> error 12-May-2017 15:46:43 ../../src/master/constants.hpp:49:59: error:
> 'Seconds(15).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:43 constexpr Duration DEFAULT_HEARTBEAT_INTERVAL
> = Seconds(15);
> error 12-May-2017 15:46:43
> ^
> error 12-May-2017 15:46:43 ../../src/master/constants.hpp:57:59: error:
> 'Seconds(15).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:43 constexpr Duration DEFAULT_AGENT_PING_TIMEOUT
> = Seconds(15);
> error 12-May-2017 15:46:43
> ^
> error 12-May-2017 15:46:43 ../../src/master/constants.hpp:67:61: error:
> 'Minutes(10).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:43 constexpr Duration
> MIN_AGENT_REREGISTER_TIMEOUT = Minutes(10);
> error 12-May-2017 15:46:43
> ^
> error 12-May-2017 15:46:43 ../../src/master/constants.hpp:95:56: error:
> 'Seconds(5).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:43 constexpr Duration WHITELIST_WATCH_INTERVAL =
> Seconds(5);
> error 12-May-2017 15:46:43
> ^
> error 12-May-2017 15:46:43 ../../src/master/constants.hpp:100:61: error:
> 'Minutes(15).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:43 constexpr Duration
> DEFAULT_REGISTRY_GC_INTERVAL = Minutes(15);
> error 12-May-2017 15:46:43
> ^
> error 12-May-2017 15:46:43 ../../src/master/constants.hpp:102:60: error:
> 'Weeks(2).Weeks::<anonymous>' is not a constant expression because it refers
> to an incompletely initialized variable
> error 12-May-2017 15:46:43 constexpr Duration
> DEFAULT_REGISTRY_MAX_AGENT_AGE = Weeks(2);
> error 12-May-2017 15:46:43
> ^
> error 12-May-2017 15:46:43 ../../src/master/constants.hpp:122:58: error:
> 'Seconds(10).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:43 constexpr Duration ZOOKEEPER_SESSION_TIMEOUT =
> Seconds(10);
> error 12-May-2017 15:46:43
> ^
> error 12-May-2017 15:46:43 ../../src/master/constants.hpp:131:59: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:43 constexpr Duration DEFAULT_ALLOCATION_INTERVAL
> = Seconds(1);
> error 12-May-2017 15:46:43
> ^
> error 12-May-2017 15:46:44 In file included from
> ../../src/docker/docker.cpp:48:0:
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:32:61: error:
> 'Minutes(1).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration
> EXECUTOR_REGISTRATION_TIMEOUT = Minutes(1);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:33:59: error:
> 'Seconds(2).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration EXECUTOR_REREGISTER_TIMEOUT
> = Seconds(2);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:37:70: error:
> 'Seconds(5).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration
> DEFAULT_EXECUTOR_SHUTDOWN_GRACE_PERIOD = Seconds(5);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:39:49: error:
> 'Minutes(15).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration RECOVERY_TIMEOUT =
> Minutes(15);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:41:65: error:
> 'Seconds(10).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration
> STATUS_UPDATE_RETRY_INTERVAL_MIN = Seconds(10);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:42:65: error:
> 'Minutes(10).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration
> STATUS_UPDATE_RETRY_INTERVAL_MAX = Minutes(10);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:45:67: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration
> DEFAULT_REGISTRATION_BACKOFF_FACTOR = Seconds(1);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:52:59: error:
> 'Minutes(1).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration REGISTER_RETRY_INTERVAL_MAX
> = Minutes(1);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:55:65: error:
> 'Minutes(1).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration
> AUTHENTICATION_RETRY_INTERVAL_MAX = Minutes(1);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:59:69: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration
> DEFAULT_AUTHENTICATION_BACKOFF_FACTOR = Seconds(1);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:61:38: error:
> 'Weeks(1).Weeks::<anonymous>' is not a constant expression because it refers
> to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration GC_DELAY = Weeks(1);
> error 12-May-2017 15:46:44 ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:62:51: error:
> 'Minutes(1).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration DISK_WATCH_INTERVAL =
> Minutes(1);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:81:42: error:
> 'Gigabytes(1).Gigabytes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Bytes DEFAULT_MEM = Gigabytes(1);
> error 12-May-2017 15:46:44 ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:84:44: error:
> 'Gigabytes(10).Gigabytes::<anonymous>' is not a constant expression because
> it refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Bytes DEFAULT_DISK = Gigabytes(10);
> error 12-May-2017 15:46:44 ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:93:52: error:
> 'Megabytes(32).Megabytes::<anonymous>' is not a constant expression because
> it refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Bytes DEFAULT_EXECUTOR_MEM =
> Megabytes(32);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:102:49: error:
> 'Hours(6).Hours::<anonymous>' is not a constant expression because it refers
> to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration DOCKER_REMOVE_DELAY =
> Hours(6);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:106:52: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration DOCKER_INSPECT_DELAY =
> Seconds(1);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:115:59: error:
> 'Seconds(5).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration DOCKER_VERSION_WAIT_TIMEOUT
> = Seconds(5);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:120:57: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration DOCKER_FORCE_KILL_TIMEOUT =
> Seconds(1);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/slave/constants.hpp:135:57: error:
> 'Gigabytes(2).Gigabytes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Bytes DEFAULT_FETCHER_CACHE_SIZE =
> Gigabytes(2);
> error 12-May-2017 15:46:44
> ^
> build 12-May-2017 15:46:44 mv -f
> common/.deps/libmesos_no_3rdparty_la-resources_utils.Tpo
> common/.deps/libmesos_no_3rdparty_la-resources_utils.Plo
> error 12-May-2017 15:46:44 In file included from
> ../../src/master/flags.cpp:24:0:
> error 12-May-2017 15:46:44 ../../src/master/constants.hpp:45:39: error:
> 'Megabytes(32).Megabytes::<anonymous>' is not a constant expression because
> it refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Bytes MIN_MEM = Megabytes(32);
> error 12-May-2017 15:46:44 ^
> error 12-May-2017 15:46:44 ../../src/master/constants.hpp:49:59: error:
> 'Seconds(15).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration DEFAULT_HEARTBEAT_INTERVAL
> = Seconds(15);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/master/constants.hpp:57:59: error:
> 'Seconds(15).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration DEFAULT_AGENT_PING_TIMEOUT
> = Seconds(15);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/master/constants.hpp:67:61: error:
> 'Minutes(10).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration
> MIN_AGENT_REREGISTER_TIMEOUT = Minutes(10);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/master/constants.hpp:95:56: error:
> 'Seconds(5).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration WHITELIST_WATCH_INTERVAL =
> Seconds(5);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/master/constants.hpp:100:61: error:
> 'Minutes(15).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration
> DEFAULT_REGISTRY_GC_INTERVAL = Minutes(15);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/master/constants.hpp:102:60: error:
> 'Weeks(2).Weeks::<anonymous>' is not a constant expression because it refers
> to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration
> DEFAULT_REGISTRY_MAX_AGENT_AGE = Weeks(2);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/master/constants.hpp:122:58: error:
> 'Seconds(10).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration ZOOKEEPER_SESSION_TIMEOUT =
> Seconds(10);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:44 ../../src/master/constants.hpp:131:59: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:44 constexpr Duration DEFAULT_ALLOCATION_INTERVAL
> = Seconds(1);
> error 12-May-2017 15:46:44
> ^
> error 12-May-2017 15:46:45 In file included from
> ../../src/exec/exec.cpp:55:0:
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:32:61: error:
> 'Minutes(1).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Duration
> EXECUTOR_REGISTRATION_TIMEOUT = Minutes(1);
> error 12-May-2017 15:46:45
> ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:33:59: error:
> 'Seconds(2).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Duration EXECUTOR_REREGISTER_TIMEOUT
> = Seconds(2);
> error 12-May-2017 15:46:45
> ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:37:70: error:
> 'Seconds(5).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Duration
> DEFAULT_EXECUTOR_SHUTDOWN_GRACE_PERIOD = Seconds(5);
> error 12-May-2017 15:46:45
> ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:39:49: error:
> 'Minutes(15).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Duration RECOVERY_TIMEOUT =
> Minutes(15);
> error 12-May-2017 15:46:45
> ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:41:65: error:
> 'Seconds(10).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Duration
> STATUS_UPDATE_RETRY_INTERVAL_MIN = Seconds(10);
> error 12-May-2017 15:46:45
> ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:42:65: error:
> 'Minutes(10).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Duration
> STATUS_UPDATE_RETRY_INTERVAL_MAX = Minutes(10);
> error 12-May-2017 15:46:45
> ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:45:67: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Duration
> DEFAULT_REGISTRATION_BACKOFF_FACTOR = Seconds(1);
> error 12-May-2017 15:46:45
> ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:52:59: error:
> 'Minutes(1).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Duration REGISTER_RETRY_INTERVAL_MAX
> = Minutes(1);
> error 12-May-2017 15:46:45
> ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:55:65: error:
> 'Minutes(1).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Duration
> AUTHENTICATION_RETRY_INTERVAL_MAX = Minutes(1);
> error 12-May-2017 15:46:45
> ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:59:69: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Duration
> DEFAULT_AUTHENTICATION_BACKOFF_FACTOR = Seconds(1);
> error 12-May-2017 15:46:45
> ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:61:38: error:
> 'Weeks(1).Weeks::<anonymous>' is not a constant expression because it refers
> to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Duration GC_DELAY = Weeks(1);
> error 12-May-2017 15:46:45 ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:62:51: error:
> 'Minutes(1).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Duration DISK_WATCH_INTERVAL =
> Minutes(1);
> error 12-May-2017 15:46:45
> ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:81:42: error:
> 'Gigabytes(1).Gigabytes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Bytes DEFAULT_MEM = Gigabytes(1);
> error 12-May-2017 15:46:45 ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:84:44: error:
> 'Gigabytes(10).Gigabytes::<anonymous>' is not a constant expression because
> it refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Bytes DEFAULT_DISK = Gigabytes(10);
> error 12-May-2017 15:46:45 ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:93:52: error:
> 'Megabytes(32).Megabytes::<anonymous>' is not a constant expression because
> it refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Bytes DEFAULT_EXECUTOR_MEM =
> Megabytes(32);
> error 12-May-2017 15:46:45
> ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:102:49: error:
> 'Hours(6).Hours::<anonymous>' is not a constant expression because it refers
> to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Duration DOCKER_REMOVE_DELAY =
> Hours(6);
> error 12-May-2017 15:46:45
> ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:106:52: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Duration DOCKER_INSPECT_DELAY =
> Seconds(1);
> error 12-May-2017 15:46:45
> ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:115:59: error:
> 'Seconds(5).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Duration DOCKER_VERSION_WAIT_TIMEOUT
> = Seconds(5);
> error 12-May-2017 15:46:45
> ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:120:57: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Duration DOCKER_FORCE_KILL_TIMEOUT =
> Seconds(1);
> error 12-May-2017 15:46:45
> ^
> error 12-May-2017 15:46:45 ../../src/slave/constants.hpp:135:57: error:
> 'Gigabytes(2).Gigabytes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:45 constexpr Bytes DEFAULT_FETCHER_CACHE_SIZE =
> Gigabytes(2);
> error 12-May-2017 15:46:45
> ^
> build 12-May-2017 15:46:46 Makefile:6994: recipe for target
> 'internal/libmesos_no_3rdparty_la-evolve.lo' failed
> error 12-May-2017 15:46:46 make[2]: ***
> [internal/libmesos_no_3rdparty_la-evolve.lo] Error 1
> build 12-May-2017 15:46:47 mv -f
> internal/.deps/libmesos_no_3rdparty_la-devolve.Tpo
> internal/.deps/libmesos_no_3rdparty_la-devolve.Plo
> error 12-May-2017 15:46:48 In file included from
> ../../src/master/master.hpp:78:0,
> error 12-May-2017 15:46:48 from
> ../../src/common/protobuf_utils.cpp:47:
> error 12-May-2017 15:46:48 ../../src/master/constants.hpp:45:39: error:
> 'Megabytes(32).Megabytes::<anonymous>' is not a constant expression because
> it refers to an incompletely initialized variable
> error 12-May-2017 15:46:48 constexpr Bytes MIN_MEM = Megabytes(32);
> error 12-May-2017 15:46:48 ^
> error 12-May-2017 15:46:48 ../../src/master/constants.hpp:49:59: error:
> 'Seconds(15).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:48 constexpr Duration DEFAULT_HEARTBEAT_INTERVAL
> = Seconds(15);
> error 12-May-2017 15:46:48
> ^
> error 12-May-2017 15:46:48 ../../src/master/constants.hpp:57:59: error:
> 'Seconds(15).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:48 constexpr Duration DEFAULT_AGENT_PING_TIMEOUT
> = Seconds(15);
> error 12-May-2017 15:46:48
> ^
> error 12-May-2017 15:46:48 ../../src/master/constants.hpp:67:61: error:
> 'Minutes(10).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:48 constexpr Duration
> MIN_AGENT_REREGISTER_TIMEOUT = Minutes(10);
> error 12-May-2017 15:46:48
> ^
> error 12-May-2017 15:46:48 ../../src/master/constants.hpp:95:56: error:
> 'Seconds(5).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:48 constexpr Duration WHITELIST_WATCH_INTERVAL =
> Seconds(5);
> error 12-May-2017 15:46:48
> ^
> error 12-May-2017 15:46:48 ../../src/master/constants.hpp:100:61: error:
> 'Minutes(15).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:48 constexpr Duration
> DEFAULT_REGISTRY_GC_INTERVAL = Minutes(15);
> error 12-May-2017 15:46:48
> ^
> error 12-May-2017 15:46:48 ../../src/master/constants.hpp:102:60: error:
> 'Weeks(2).Weeks::<anonymous>' is not a constant expression because it refers
> to an incompletely initialized variable
> error 12-May-2017 15:46:48 constexpr Duration
> DEFAULT_REGISTRY_MAX_AGENT_AGE = Weeks(2);
> error 12-May-2017 15:46:48
> ^
> error 12-May-2017 15:46:48 ../../src/master/constants.hpp:122:58: error:
> 'Seconds(10).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:48 constexpr Duration ZOOKEEPER_SESSION_TIMEOUT =
> Seconds(10);
> error 12-May-2017 15:46:48
> ^
> error 12-May-2017 15:46:48 ../../src/master/constants.hpp:131:59: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:48 constexpr Duration DEFAULT_ALLOCATION_INTERVAL
> = Seconds(1);
> error 12-May-2017 15:46:48
> ^
> build 12-May-2017 15:46:48 Makefile:7022: recipe for target
> 'master/libmesos_no_3rdparty_la-flags.lo' failed
> error 12-May-2017 15:46:48 make[2]: ***
> [master/libmesos_no_3rdparty_la-flags.lo] Error 1
> error 12-May-2017 15:46:49 In file included from
> ../../src/master/master.hpp:78:0,
> error 12-May-2017 15:46:49 from
> ../../src/local/local.cpp:61:
> error 12-May-2017 15:46:49 ../../src/master/constants.hpp:45:39: error:
> 'Megabytes(32).Megabytes::<anonymous>' is not a constant expression because
> it refers to an incompletely initialized variable
> error 12-May-2017 15:46:49 constexpr Bytes MIN_MEM = Megabytes(32);
> error 12-May-2017 15:46:49 ^
> error 12-May-2017 15:46:49 ../../src/master/constants.hpp:49:59: error:
> 'Seconds(15).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:49 constexpr Duration DEFAULT_HEARTBEAT_INTERVAL
> = Seconds(15);
> error 12-May-2017 15:46:49
> ^
> error 12-May-2017 15:46:49 ../../src/master/constants.hpp:57:59: error:
> 'Seconds(15).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:49 constexpr Duration DEFAULT_AGENT_PING_TIMEOUT
> = Seconds(15);
> error 12-May-2017 15:46:49
> ^
> error 12-May-2017 15:46:49 ../../src/master/constants.hpp:67:61: error:
> 'Minutes(10).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:49 constexpr Duration
> MIN_AGENT_REREGISTER_TIMEOUT = Minutes(10);
> error 12-May-2017 15:46:49
> ^
> error 12-May-2017 15:46:49 ../../src/master/constants.hpp:95:56: error:
> 'Seconds(5).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:49 constexpr Duration WHITELIST_WATCH_INTERVAL =
> Seconds(5);
> error 12-May-2017 15:46:49
> ^
> error 12-May-2017 15:46:49 ../../src/master/constants.hpp:100:61: error:
> 'Minutes(15).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:49 constexpr Duration
> DEFAULT_REGISTRY_GC_INTERVAL = Minutes(15);
> error 12-May-2017 15:46:49
> ^
> error 12-May-2017 15:46:49 ../../src/master/constants.hpp:102:60: error:
> 'Weeks(2).Weeks::<anonymous>' is not a constant expression because it refers
> to an incompletely initialized variable
> error 12-May-2017 15:46:49 constexpr Duration
> DEFAULT_REGISTRY_MAX_AGENT_AGE = Weeks(2);
> error 12-May-2017 15:46:49
> ^
> error 12-May-2017 15:46:49 ../../src/master/constants.hpp:122:58: error:
> 'Seconds(10).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:49 constexpr Duration ZOOKEEPER_SESSION_TIMEOUT =
> Seconds(10);
> error 12-May-2017 15:46:49
> ^
> error 12-May-2017 15:46:49 ../../src/master/constants.hpp:131:59: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:49 constexpr Duration DEFAULT_ALLOCATION_INTERVAL
> = Seconds(1);
> error 12-May-2017 15:46:49
> ^
> error 12-May-2017 15:46:50 In file included from
> ../../src/master/master.hpp:78:0,
> error 12-May-2017 15:46:50 from
> ../../src/master/master.cpp:87:
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:45:39: error:
> 'Megabytes(32).Megabytes::<anonymous>' is not a constant expression because
> it refers to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Bytes MIN_MEM = Megabytes(32);
> error 12-May-2017 15:46:50 ^
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:49:59: error:
> 'Seconds(15).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Duration DEFAULT_HEARTBEAT_INTERVAL
> = Seconds(15);
> error 12-May-2017 15:46:50
> ^
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:57:59: error:
> 'Seconds(15).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Duration DEFAULT_AGENT_PING_TIMEOUT
> = Seconds(15);
> error 12-May-2017 15:46:50
> ^
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:67:61: error:
> 'Minutes(10).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Duration
> MIN_AGENT_REREGISTER_TIMEOUT = Minutes(10);
> error 12-May-2017 15:46:50
> ^
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:95:56: error:
> 'Seconds(5).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Duration WHITELIST_WATCH_INTERVAL =
> Seconds(5);
> error 12-May-2017 15:46:50
> ^
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:100:61: error:
> 'Minutes(15).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Duration
> DEFAULT_REGISTRY_GC_INTERVAL = Minutes(15);
> error 12-May-2017 15:46:50
> ^
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:102:60: error:
> 'Weeks(2).Weeks::<anonymous>' is not a constant expression because it refers
> to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Duration
> DEFAULT_REGISTRY_MAX_AGENT_AGE = Weeks(2);
> error 12-May-2017 15:46:50
> ^
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:122:58: error:
> 'Seconds(10).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Duration ZOOKEEPER_SESSION_TIMEOUT =
> Seconds(10);
> error 12-May-2017 15:46:50
> ^
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:131:59: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Duration DEFAULT_ALLOCATION_INTERVAL
> = Seconds(1);
> error 12-May-2017 15:46:50
> ^
> error 12-May-2017 15:46:50 In file included from
> ../../src/master/master.hpp:78:0,
> error 12-May-2017 15:46:50 from
> ../../src/master/http.cpp:79:
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:45:39: error:
> 'Megabytes(32).Megabytes::<anonymous>' is not a constant expression because
> it refers to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Bytes MIN_MEM = Megabytes(32);
> error 12-May-2017 15:46:50 ^
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:49:59: error:
> 'Seconds(15).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Duration DEFAULT_HEARTBEAT_INTERVAL
> = Seconds(15);
> error 12-May-2017 15:46:50
> ^
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:57:59: error:
> 'Seconds(15).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Duration DEFAULT_AGENT_PING_TIMEOUT
> = Seconds(15);
> error 12-May-2017 15:46:50
> ^
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:67:61: error:
> 'Minutes(10).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Duration
> MIN_AGENT_REREGISTER_TIMEOUT = Minutes(10);
> error 12-May-2017 15:46:50
> ^
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:95:56: error:
> 'Seconds(5).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Duration WHITELIST_WATCH_INTERVAL =
> Seconds(5);
> error 12-May-2017 15:46:50
> ^
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:100:61: error:
> 'Minutes(15).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Duration
> DEFAULT_REGISTRY_GC_INTERVAL = Minutes(15);
> error 12-May-2017 15:46:50
> ^
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:102:60: error:
> 'Weeks(2).Weeks::<anonymous>' is not a constant expression because it refers
> to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Duration
> DEFAULT_REGISTRY_MAX_AGENT_AGE = Weeks(2);
> error 12-May-2017 15:46:50
> ^
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:122:58: error:
> 'Seconds(10).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Duration ZOOKEEPER_SESSION_TIMEOUT =
> Seconds(10);
> error 12-May-2017 15:46:50
> ^
> error 12-May-2017 15:46:50 ../../src/master/constants.hpp:131:59: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:50 constexpr Duration DEFAULT_ALLOCATION_INTERVAL
> = Seconds(1);
> error 12-May-2017 15:46:50
> ^
> error 12-May-2017 15:46:51 In file included from
> ../../src/slave/slave.hpp:76:0,
> error 12-May-2017 15:46:51 from
> ../../src/local/local.cpp:74:
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:32:61: error:
> 'Minutes(1).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Duration
> EXECUTOR_REGISTRATION_TIMEOUT = Minutes(1);
> error 12-May-2017 15:46:51
> ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:33:59: error:
> 'Seconds(2).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Duration EXECUTOR_REREGISTER_TIMEOUT
> = Seconds(2);
> error 12-May-2017 15:46:51
> ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:37:70: error:
> 'Seconds(5).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Duration
> DEFAULT_EXECUTOR_SHUTDOWN_GRACE_PERIOD = Seconds(5);
> error 12-May-2017 15:46:51
> ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:39:49: error:
> 'Minutes(15).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Duration RECOVERY_TIMEOUT =
> Minutes(15);
> error 12-May-2017 15:46:51
> ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:41:65: error:
> 'Seconds(10).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Duration
> STATUS_UPDATE_RETRY_INTERVAL_MIN = Seconds(10);
> error 12-May-2017 15:46:51
> ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:42:65: error:
> 'Minutes(10).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Duration
> STATUS_UPDATE_RETRY_INTERVAL_MAX = Minutes(10);
> error 12-May-2017 15:46:51
> ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:45:67: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Duration
> DEFAULT_REGISTRATION_BACKOFF_FACTOR = Seconds(1);
> error 12-May-2017 15:46:51
> ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:52:59: error:
> 'Minutes(1).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Duration REGISTER_RETRY_INTERVAL_MAX
> = Minutes(1);
> error 12-May-2017 15:46:51
> ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:55:65: error:
> 'Minutes(1).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Duration
> AUTHENTICATION_RETRY_INTERVAL_MAX = Minutes(1);
> error 12-May-2017 15:46:51
> ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:59:69: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Duration
> DEFAULT_AUTHENTICATION_BACKOFF_FACTOR = Seconds(1);
> error 12-May-2017 15:46:51
> ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:61:38: error:
> 'Weeks(1).Weeks::<anonymous>' is not a constant expression because it refers
> to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Duration GC_DELAY = Weeks(1);
> error 12-May-2017 15:46:51 ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:62:51: error:
> 'Minutes(1).Minutes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Duration DISK_WATCH_INTERVAL =
> Minutes(1);
> error 12-May-2017 15:46:51
> ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:81:42: error:
> 'Gigabytes(1).Gigabytes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Bytes DEFAULT_MEM = Gigabytes(1);
> error 12-May-2017 15:46:51 ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:84:44: error:
> 'Gigabytes(10).Gigabytes::<anonymous>' is not a constant expression because
> it refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Bytes DEFAULT_DISK = Gigabytes(10);
> error 12-May-2017 15:46:51 ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:93:52: error:
> 'Megabytes(32).Megabytes::<anonymous>' is not a constant expression because
> it refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Bytes DEFAULT_EXECUTOR_MEM =
> Megabytes(32);
> error 12-May-2017 15:46:51
> ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:102:49: error:
> 'Hours(6).Hours::<anonymous>' is not a constant expression because it refers
> to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Duration DOCKER_REMOVE_DELAY =
> Hours(6);
> error 12-May-2017 15:46:51
> ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:106:52: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Duration DOCKER_INSPECT_DELAY =
> Seconds(1);
> error 12-May-2017 15:46:51
> ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:115:59: error:
> 'Seconds(5).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Duration DOCKER_VERSION_WAIT_TIMEOUT
> = Seconds(5);
> error 12-May-2017 15:46:51
> ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:120:57: error:
> 'Seconds(1).Seconds::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Duration DOCKER_FORCE_KILL_TIMEOUT =
> Seconds(1);
> error 12-May-2017 15:46:51
> ^
> error 12-May-2017 15:46:51 ../../src/slave/constants.hpp:135:57: error:
> 'Gigabytes(2).Gigabytes::<anonymous>' is not a constant expression because it
> refers to an incompletely initialized variable
> error 12-May-2017 15:46:51 constexpr Bytes DEFAULT_FETCHER_CACHE_SIZE =
> Gigabytes(2);
> error 12-May-2017 15:46:51
> ^
> build 12-May-2017 15:46:51 Makefile:6945: recipe for target
> 'exec/libmesos_no_3rdparty_la-exec.lo' failed
> error 12-May-2017 15:46:51 make[2]: ***
> [exec/libmesos_no_3rdparty_la-exec.lo] Error 1
> build 12-May-2017 15:46:54 Makefile:6931: recipe for target
> 'docker/libmesos_no_3rdparty_la-docker.lo' failed
> error 12-May-2017 15:46:54 make[2]: ***
> [docker/libmesos_no_3rdparty_la-docker.lo] Error 1
> build 12-May-2017 15:46:56 mv -f
> executor/.deps/libmesos_no_3rdparty_la-v0_v1executor.Tpo
> executor/.deps/libmesos_no_3rdparty_la-v0_v1executor.Plo
> build 12-May-2017 15:46:57 mv -f
> common/.deps/libmesos_no_3rdparty_la-values.Tpo
> common/.deps/libmesos_no_3rdparty_la-values.Plo
> build 12-May-2017 15:46:57 mv -f
> logging/.deps/libmesos_no_3rdparty_la-flags.Tpo
> logging/.deps/libmesos_no_3rdparty_la-flags.Plo
> build 12-May-2017 15:46:58 mv -f
> common/.deps/libmesos_no_3rdparty_la-type_utils.Tpo
> common/.deps/libmesos_no_3rdparty_la-type_utils.Plo
> build 12-May-2017 15:46:58 mv -f
> authentication/cram_md5/.deps/libmesos_no_3rdparty_la-auxprop.Tpo
> authentication/cram_md5/.deps/libmesos_no_3rdparty_la-auxprop.Plo
> error 12-May-2017 15:46:59 make[2]: ***
> [common/libmesos_no_3rdparty_la-protobuf_utils.lo] Error 1
> build 12-May-2017 15:46:59 Makefile:6882: recipe for target
> 'common/libmesos_no_3rdparty_la-protobuf_utils.lo' failed
> build 12-May-2017 15:46:59 mv -f
> appc/.deps/libmesos_no_3rdparty_la-spec.Tpo
> appc/.deps/libmesos_no_3rdparty_la-spec.Plo
> build 12-May-2017 15:47:00 mv -f
> logging/.deps/libmesos_no_3rdparty_la-logging.Tpo
> logging/.deps/libmesos_no_3rdparty_la-logging.Plo
> build 12-May-2017 15:47:03 Makefile:7001: recipe for target
> 'local/libmesos_no_3rdparty_la-local.lo' failed
> error 12-May-2017 15:47:03 make[2]: ***
> [local/libmesos_no_3rdparty_la-local.lo] Error 1
> build 12-May-2017 15:47:06 mv -f
> authentication/cram_md5/.deps/libmesos_no_3rdparty_la-authenticator.Tpo
> authentication/cram_md5/.deps/libmesos_no_3rdparty_la-authenticator.Plo
> build 12-May-2017 15:47:08 mv -f
> hook/.deps/libmesos_no_3rdparty_la-manager.Tpo
> hook/.deps/libmesos_no_3rdparty_la-manager.Plo
> build 12-May-2017 15:47:09 mv -f
> authentication/cram_md5/.deps/libmesos_no_3rdparty_la-authenticatee.Tpo
> authentication/cram_md5/.deps/libmesos_no_3rdparty_la-authenticatee.Plo
> build 12-May-2017 15:47:09 mv -f
> docker/.deps/libmesos_no_3rdparty_la-spec.Tpo
> docker/.deps/libmesos_no_3rdparty_la-spec.Plo
> build 12-May-2017 15:47:09 mv -f
> master/.deps/libmesos_no_3rdparty_la-maintenance.Tpo
> master/.deps/libmesos_no_3rdparty_la-maintenance.Plo
> build 12-May-2017 15:47:11 Makefile:7029: recipe for target
> 'master/libmesos_no_3rdparty_la-http.lo' failed
> error 12-May-2017 15:47:11 make[2]: ***
> [master/libmesos_no_3rdparty_la-http.lo] Error 1
> build 12-May-2017 15:47:14 mv -f
> common/.deps/libmesos_no_3rdparty_la-http.Tpo
> common/.deps/libmesos_no_3rdparty_la-http.Plo
> build 12-May-2017 15:47:14 mv -f
> common/.deps/libmesos_no_3rdparty_la-resources.Tpo
> common/.deps/libmesos_no_3rdparty_la-resources.Plo
> build 12-May-2017 15:47:17 Makefile:7043: recipe for target
> 'master/libmesos_no_3rdparty_la-master.lo' failed
> error 12-May-2017 15:47:17 make[2]: ***
> [master/libmesos_no_3rdparty_la-master.lo] Error 1
> build 12-May-2017 15:47:25 mv -f
> authorizer/local/.deps/libmesos_no_3rdparty_la-authorizer.Tpo
> authorizer/local/.deps/libmesos_no_3rdparty_la-authorizer.Plo
> build 12-May-2017 15:47:26 mv -f
> common/.deps/libmesos_no_3rdparty_la-command_utils.Tpo
> common/.deps/libmesos_no_3rdparty_la-command_utils.Plo
> build 12-May-2017 15:47:34 mv -f
> hdfs/.deps/libmesos_no_3rdparty_la-hdfs.Tpo
> hdfs/.deps/libmesos_no_3rdparty_la-hdfs.Plo
> build 12-May-2017 15:47:46 mv -f
> files/.deps/libmesos_no_3rdparty_la-files.Tpo
> files/.deps/libmesos_no_3rdparty_la-files.Plo
> build 12-May-2017 15:47:48 mv -f
> executor/.deps/libmesos_no_3rdparty_la-executor.Tpo
> executor/.deps/libmesos_no_3rdparty_la-executor.Plo
> build 12-May-2017 15:47:51 mv -f
> checks/.deps/libmesos_no_3rdparty_la-health_checker.Tpo
> checks/.deps/libmesos_no_3rdparty_la-health_checker.Plo
> build 12-May-2017 15:47:51 make[2]: Leaving directory '/mesos/build/src'
> build 12-May-2017 15:47:51 Makefile:3482: recipe for target 'all' failed
> error 12-May-2017 15:47:51 make[1]: *** [all] Error 2
> build 12-May-2017 15:47:51 make[1]: Leaving directory '/mesos/build/src'
> build 12-May-2017 15:47:51 Makefile:765: recipe for target 'all-recursive'
> failed
> error 12-May-2017 15:47:51 make: *** [all-recursive] Error 1
> {code}
> https://reviews.apache.org/r/59413/
> https://reviews.apache.org/r/59454/
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)