Skip to content

boost_system missing from 1.89, referenced by Boost-1.89.0/BoostConfig.cmake

I recently upgraded to boost 1.89.0-1. AUR's sunshine-git started failing to compile with the following error:

CMake Error at /usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:141 (find_package):
  Could not find a package configuration file provided by "boost_system"
  (requested version 1.89.0) with any of the following names:

    boost_systemConfig.cmake
    boost_system-config.cmake

  Add the installation prefix of "boost_system" to CMAKE_PREFIX_PATH or set
  "boost_system_DIR" to a directory containing one of the above files.  If
  "boost_system" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  /usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:262 (boost_find_component)
  /usr/share/cmake/Modules/FindBoost.cmake:609 (find_package)
  third-party/Simple-Web-Server/CMakeLists.txt:44 (find_package)

I checked package history, and boost 1.88.0-3 contained the referenced file:

# pacman -F boost_system-config.cmake
extra/boost 1.88.0-3 [installed: 1.89.0-1]
    usr/lib/cmake/boost_system-1.88.0/boost_system-config.cmake

Is boost_system missing a package error in boost 1.89.0?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information