Skip to content

Build fails with upcoming Boost 1.89.0 #7219

@cho-m

Description

@cho-m

Issue

This issue is advance notice that compilation fails with the upcoming Boost 1.89.0 (planned release Aug 13).

The Boost changes that impact OSRM backend include:

  1. boostorg/asio@cb99678 - boost::asio::deadline_timer is no longer available via boost/asio.hpp. For now, this is available via the boost/asio/deadline_timer.hpp1 but it may be removed in future release given deprecated status.

  2. boostorg/geometry@38455d0 - boost/geometry/multi/ headers are removed. Specifically for multi_linestring, it has been available in boost/geometry/geometries/geometries.hpp or boost/geometry/geometries/multi_linestring.hpp since 1.56.02

Steps to reproduce

Please provide the steps required to reproduce your problem.

  • osrm-backend version being used - v6.0.0
  • OSM extract that was processed - N/A
  • Processing commands (e.g. CH vs MLD processing) - N/A
  • Server queries - N/A

Can be reproduced by building with Boost 1.89.0.beta1 or with Boost 1.89.0 (tomorrow). Haven't checked but sometimes Boost has macros to hide deprecated code.

Specifications

Please provide details of your development environment.

  • Library/dependency versions - versions from Homebrew formulae
  • Operating system - macOS 15
  • Hardware - arm64

Footnotes

  1. https://www.boost.org/doc/libs/1_89_0_beta1/doc/html/boost_asio/reference/deadline_timer.html#boost_asio.reference.deadline_timer.requirements

  2. https://www.boost.org/doc/libs/1_56_0/libs/geometry/doc/html/geometry/reference/models/model_multi_linestring.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions