Uploaded image for project: 'Puppet Agent'
  1. Puppet Agent
  2. PA-2893

Boost upgrade to latest version breaks puppet-agent builds(leatherman) on osx

    XMLWordPrintable

    Details

    • CI Pipeline/s:
      platform puppet-agent
    • Team:
      Night's Watch
    • Story Points:
      1
    • Sprint:
      NW - 2019-09-18
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      We are installing the latest version of boost using homebrew.
      This is causing problems in leatherman build process when a new boost version is released

      15:29:08 Call Stack (most recent call first):
      15:29:08   /usr/local/lib/cmake/boost_system-1.71.0/boost_system-config.cmake:43 (include)
      15:29:08   /usr/local/lib/cmake/Boost-1.71.0/BoostConfig.cmake:117 (find_package)
      15:29:08   /usr/local/lib/cmake/Boost-1.71.0/BoostConfig.cmake:182 (boost_find_component)
      15:29:08   /usr/local/Cellar/cmake/3.15.3/share/cmake/Modules/FindBoost.cmake:443 (find_package)
      15:29:08   ruby/CMakeLists.txt:1 (find_package)
      15:29:08 
      15:29:08 
      15:29:09 -- Found PythonInterp: /usr/bin/python (found version "2.7.10") 
      15:29:09 -- Configuring done
      15:29:09 CMake Error at tests/CMakeLists.txt:2 (add_executable):
      15:29:09   Target "leatherman_test" links to target "Boost::date_time" but the target
      15:29:09   was not found.  Perhaps a find_package() call is missing for an IMPORTED
      15:29:09   target, or an ALIAS target is missing?
      15:29:09 
      

      Since leatheman requires boost > 1.54, we can pin boost to a known good version(latest available is 1.60)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gheorghe.popescu Gheorghe Popescu
              Reporter:
              gheorghe.popescu Gheorghe Popescu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support