Bas Couwenberg pushed to branch master at Debian GIS Project / sfcgal
Commits: 03c62f1e by Bas Couwenberg at 2026-02-16T05:18:28+01:00 Add patch to fix FTBFS with Boost 1.89. (closes: #1128145) - - - - - f088cbab by Bas Couwenberg at 2026-02-16T05:40:16+01:00 Replace boost1.89.patch with upstream changes. - - - - - 3 changed files: - debian/changelog - + debian/patches/boost1.89.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -8,6 +8,8 @@ sfcgal (2.2.0-2) UNRELEASED; urgency=medium * Drop Priority: optional, default since dpkg 1.22.13. * Bump Standards-Version to 4.7.3, changes: priority. * Replace libboost-all-dev build dependency with only required ones. + * Add upstream patch to fix FTBFS with Boost 1.89. + (closes: #1128145) -- Bas Couwenberg <[email protected]> Fri, 12 Sep 2025 17:50:04 +0200 ===================================== debian/patches/boost1.89.patch ===================================== @@ -0,0 +1,40 @@ +Description: Fix compilation with boost 1.89 + In the upcoming Boost 1.89.0 release, Boost.System stub has been + removed which causes CMake error: + . + ``` + CMake Error at /opt/homebrew/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 + ``` + . + This issue is fixed by dropping `system` from the `COMPONENTS` as it's + not needed since 1.69. With this change, boost minimum version to + build SFCGAL is now 1.69.0. This should not be an issue as this + version was released in 2018. +Author: Jean Felder <[email protected]> +Origin: https://gitlab.com/sfcgal/SFCGAL/-/commit/9b044794ab95758c56a51f51a98adcb3ef874060 +Bug: https://gitlab.com/sfcgal/SFCGAL/-/issues/306 + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -133,13 +133,13 @@ else() + message( STATUS "Boost_USE_MULTITHREAD=OFF" ) + endif() + +-#-- minimalist build allowed with boost version older than 1.48 +-set( SFCGAL_Boost_COMPONENTS thread system serialization ) ++#-- minimalist build allowed with boost version 1.69 or newer ++set( SFCGAL_Boost_COMPONENTS thread serialization ) + #-- program_options + if ( SFCGAL_BUILD_TESTS OR SFCGAL_BUILD_EXAMPLES OR SFCGAL_BUILD_OSG ) + set( SFCGAL_Boost_COMPONENTS chrono unit_test_framework filesystem program_options timer ${SFCGAL_Boost_COMPONENTS} ) + endif() +-find_package( Boost COMPONENTS ${SFCGAL_Boost_COMPONENTS} REQUIRED ) ++find_package( Boost 1.69.0 COMPONENTS ${SFCGAL_Boost_COMPONENTS} REQUIRED ) + if((${Boost_MAJOR_VERSION} EQUAL 1) AND (${Boost_MINOR_VERSION} EQUAL 58)) + message( STATUS "Defining BOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT" ) + add_definitions( "-DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT" ) ===================================== debian/patches/series ===================================== @@ -1 +1,2 @@ sfcgal-config.patch +boost1.89.patch View it on GitLab: https://salsa.debian.org/debian-gis-team/sfcgal/-/compare/bb77a754429e277e00c0b6bab89e303549bd366e...f088cbab015a8c511703aead21be8d6404716ce5 -- View it on GitLab: https://salsa.debian.org/debian-gis-team/sfcgal/-/compare/bb77a754429e277e00c0b6bab89e303549bd366e...f088cbab015a8c511703aead21be8d6404716ce5 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
