Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-3699

DC/OS overlay module build failure due to the recent PICOJSON_USE_INT64 change.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: networking
    • Labels:
      None
    • Sprint:
      Core Sprint 2018-23
    • Story Points:
      2

      Description

      [18:03:51][Building package mesos-modules variant <default>] In file included from /pkg/src/mesos-modules/overlay/master.cpp:7:0:
      [18:03:51][Building package mesos-modules variant <default>] /opt/mesosphere/active/mesos/include/stout/json.hpp:25:0: error: "PICOJSON_USE_INT64" redefined [-Werror]
      [18:03:51][Building package mesos-modules variant <default>]  #define PICOJSON_USE_INT64
      [18:03:51][Building package mesos-modules variant <default>]  ^
      [18:03:51][Building package mesos-modules variant <default>] <command-line>:0:0: note: this is the location of the previous definition
      [18:03:51][Building package mesos-modules variant <default>] In file included from /opt/mesosphere/active/mesos/include/process/http.hpp:38:0,
      [18:03:51][Building package mesos-modules variant <default>]                  from /opt/mesosphere/active/mesos/include/process/authenticator.hpp:20,
      [18:03:51][Building package mesos-modules variant <default>]                  from /opt/mesosphere/active/mesos/include/process/process.hpp:24,
      [18:03:51][Building package mesos-modules variant <default>]                  from /opt/mesosphere/active/mesos/include/process/dispatch.hpp:20,
      [18:03:51][Building package mesos-modules variant <default>]                  from /pkg/src/mesos-modules/journald/journald.cpp:8:
      [18:03:51][Building package mesos-modules variant <default>] /opt/mesosphere/active/mesos/include/stout/json.hpp:25:0: error: "PICOJSON_USE_INT64" redefined [-Werror]
      [18:03:51][Building package mesos-modules variant <default>]  #define PICOJSON_USE_INT64
      [18:03:51][Building package mesos-modules variant <default>]  ^
      [18:03:51][Building package mesos-modules variant <default>] <command-line>:0:0: note: this is the location of the previous definition
      [18:03:51][Building package mesos-modules variant <default>] In file included from /pkg/src/mesos-modules/overlay/agent.cpp:9:0:
      [18:03:51][Building package mesos-modules variant <default>] /opt/mesosphere/active/mesos/include/stout/json.hpp:25:0: error: "PICOJSON_USE_INT64" redefined [-Werror]
      [18:03:51][Building package mesos-modules variant <default>]  #define PICOJSON_USE_INT64
      [18:03:51][Building package mesos-modules variant <default>]  ^
      [18:03:51][Building package mesos-modules variant <default>] <command-line>:0:0: note: this is the location of the previous definition
      [18:03:51][Building package mesos-modules variant <default>] In file included from /opt/mesosphere/active/mesos/include/mesos/resources.hpp:37:0,
      [18:03:51][Building package mesos-modules variant <default>]                  from /opt/mesosphere/active/mesos/include/mesos/hook.hpp:25,
      [18:03:51][Building package mesos-modules variant <default>]                  from /pkg/src/mesos-modules/dockercfg/remover.cpp:1:
      [18:03:51][Building package mesos-modules variant <default>] /opt/mesosphere/active/mesos/include/stout/json.hpp:25:0: error: "PICOJSON_USE_INT64" redefined [-Werror]
      [18:03:51][Building package mesos-modules variant <default>]  #define PICOJSON_USE_INT64
      [18:03:51][Building package mesos-modules variant <default>]  ^
      [18:03:51][Building package mesos-modules variant <default>] <command-line>:0:0: note: this is the location of the previous definition
      [18:03:52][Building package mesos-modules variant <default>] In file included from /opt/mesosphere/active/mesos/include/stout/flags/fetch.hpp:21:0,
      [18:03:52][Building package mesos-modules variant <default>]                  from /opt/mesosphere/active/mesos/include/stout/flags/flags.hpp:37,
      [18:03:52][Building package mesos-modules variant <default>]                  from /opt/mesosphere/active/mesos/include/stout/flags.hpp:16,
      [18:03:52][Building package mesos-modules variant <default>]                  from /opt/mesosphere/active/mesos/include/process/subprocess.hpp:23,
      [18:03:52][Building package mesos-modules variant <default>]                  from /opt/mesosphere/active/mesos/include/mesos/slave/containerizer.hpp:23,
      [18:03:52][Building package mesos-modules variant <default>]                  from /opt/mesosphere/active/mesos/include/mesos/slave/container_logger.hpp:26,
      [18:03:52][Building package mesos-modules variant <default>]                  from /opt/mesosphere/active/mesos/include/mesos/module/container_logger.hpp:23,
      [18:03:52][Building package mesos-modules variant <default>]                  from /pkg/src/mesos-modules/journald/lib_journald.cpp:8:
      [18:03:52][Building package mesos-modules variant <default>] /opt/mesosphere/active/mesos/include/stout/json.hpp:25:0: error: "PICOJSON_USE_INT64" redefined [-Werror]
      [18:03:52][Building package mesos-modules variant <default>]  #define PICOJSON_USE_INT64
      [18:03:52][Building package mesos-modules variant <default>]  ^
      [18:03:52][Building package mesos-modules variant <default>] <command-line>:0:0: note: this is the location of the previous definition
      

      Need corresponding change on dc/os overlay module. This was caused by the recent change from Mesos https://github.com/apache/mesos/commit/2a0d684a419cd57bed4b985b46bf537ba9fce63b

      Please fix against the most recent Mesos bump PR
      https://github.com/dcos/dcos/pull/3019

        Attachments

          Activity

            People

            • Assignee:
              kapil Kapil Arya (Inactive)
              Reporter:
              gilbert Gilbert Song
              Team:
              Mesos Team
              Watchers:
              Deepak Goel, Gilbert Song, Kapil Arya (Inactive)
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: