Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-48949

build doesn't copy tlm/third-party-CMakeLists.txt to third_party dir

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 7.1.0
    • build
    • None
    • Untriaged
    • 1
    • Unknown
    • Build Team 2021 Sprint 21

    Description

      Did repo sync on top of my Neo repository

      Tried to make and the configure was broken:

      CMake Error at third_party/CMakeLists.txt:12 (add_subdirectory):
        add_subdirectory given source "google-benchmark" which is not an existing
        directory.
       
       
      CMake Error at third_party/CMakeLists.txt:17 (add_subdirectory):
        add_subdirectory given source "googletest" which is not an existing
        directory.
       
       
      -- Project 'gsl_lite', package 'gsl-lite' version: '0.38.1'
      CMake Deprecation Warning at third_party/HdrHistogram_c/CMakeLists.txt:1 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
       
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
       
       
      CMake Error at third_party/CMakeLists.txt:43 (add_subdirectory):
        add_subdirectory given source "spdlog" which is not an existing directory.
       
       
      CMake Error at third_party/CMakeLists.txt:47 (target_compile_definitions):
        Cannot specify compile definitions for target "spdlog" which is not built
        by this project.
      

      The cause of these errors was "third_party/CMakeLists.txt" being stale

      The following command fixed the build:
      cp tlm/third-party-CMakeLists.txt third_party/CMakeLists.txt

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-48949
          # Subject Branch Project Status CR V

          Activity

            People

              wayne Wayne Siu
              artem Artem Stemkovski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h

                  Gerrit Reviews

                    There are no open Gerrit changes

                    PagerDuty