Skip to content

[boost-mysql] build failure due to missing dependency #44294

@dfederm

Description

@dfederm

Operating system

Windows

Compiler

MSVC

Steps to reproduce the behavior

`./vcpkg install boost-mysql`

Failure logs

CMake Error at F:/dbs/Cx/vcpkg/microsoft.build.vcpkg/2025.3.10.307-300239058e/tools/scripts/buildsystems/vcpkg.cmake:859 (_find_package):
  Could not find a package configuration file provided by "boost_compat"
  (requested version 1.87.0) with any of the following names:

    boost_compatConfig.cmake
    boost_compat-config.cmake

  Add the installation prefix of "boost_compat" to CMAKE_PREFIX_PATH or set
  "boost_compat_DIR" to a directory containing one of the above files.  If
  "boost_compat" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  F:/dbs/el/vcpkg/vcpkg_installed/x64-windows-static-md/x64-windows-static-md/share/boost/BoostConfig.cmake:67 (find_package)
  F:/dbs/el/vcpkg/vcpkg_installed/x64-windows-static-md/x64-windows-static-md/share/boost/BoostConfig.cmake:128 (boostcfg_find_component)
  F:/dbs/el/vcpkg/vcpkg_installed/x64-windows-static-md/x64-windows-static-md/share/boost/vcpkg-cmake-wrapper.cmake:3 (_find_package)
  F:/dbs/Cx/vcpkg/microsoft.build.vcpkg/2025.3.10.307-300239058e/tools/scripts/buildsystems/vcpkg.cmake:813 (include)
  F:/dbs/el/vcpkg/vcpkg_installed/x64-windows-static-md/x64-windows-static-md/share/boost/cmake-build/BoostRoot.cmake:234 (find_package)
  F:/dbs/el/vcpkg/vcpkg_installed/x64-windows-static-md/x64-windows-static-md/share/boost/cmake-build/BoostRoot.cmake:291 (__boost_scan_dependencies)
  CMakeLists.txt:10 (include)

Additional context

I believe boost-mysql is missing a dependency on boost-compat. This dependency was added here: boostorg/mysql#363

This is likely a regression from #42678

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions