You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Andrew Schwartzmeyer (JIRA)" <ji...@apache.org> on 2017/04/12 21:01:41 UTC

[jira] [Assigned] (MESOS-7296) CMake 2.8.10 does not support TIMESTAMP

     [ https://issues.apache.org/jira/browse/MESOS-7296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Schwartzmeyer reassigned MESOS-7296:
-------------------------------------------

    Assignee: Andrew Schwartzmeyer

> CMake 2.8.10 does not support TIMESTAMP
> ---------------------------------------
>
>                 Key: MESOS-7296
>                 URL: https://issues.apache.org/jira/browse/MESOS-7296
>             Project: Mesos
>          Issue Type: Bug
>          Components: build, cmake
>         Environment: Anywhere with CMake 2.x instead of 3.x (specifically 2.8.10).
>            Reporter: Andrew Schwartzmeyer
>            Assignee: Andrew Schwartzmeyer
>            Priority: Trivial
>              Labels: build
>
> The patch https://reviews.apache.org/r/57052/ moved the build time and date info out of compile definitions and into a build file. While testing, an existent bug was discovered where the CMake command `string(TIMESTAMP BUILD_TIME "%s" UTC)` is unsupported with CMake 2.8.10. Instead of replacing the variable with the time, it replaces with with "%s".
> This is not a Linux vs Windows bug. This is specifically unsupported in 2.8.10. Configuring with `cmake3` does not reproduce the bug.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)