* [Buildroot] [PATCH v2 1/2] package/libcpprestsdk: add dependency on Boost.System
@ 2025-09-04 19:58 Michael Nosthoff via buildroot
2025-09-04 19:58 ` [Buildroot] [PATCH v2 2/2] package/boost: remove dependencies " Michael Nosthoff via buildroot
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Michael Nosthoff via buildroot @ 2025-09-04 19:58 UTC (permalink / raw)
To: buildroot
libcpprestsdk searches for the Boost.System module in its
CMakeLists. Hence it should be selected as a dependency.
Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
---
package/libcpprestsdk/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/libcpprestsdk/Config.in b/package/libcpprestsdk/Config.in
index e533b30393..7688021ed0 100644
--- a/package/libcpprestsdk/Config.in
+++ b/package/libcpprestsdk/Config.in
@@ -13,6 +13,7 @@ config BR2_PACKAGE_LIBCPPRESTSDK
select BR2_PACKAGE_BOOST_FILESYSTEM
select BR2_PACKAGE_BOOST_RANDOM
select BR2_PACKAGE_BOOST_REGEX
+ select BR2_PACKAGE_BOOST_SYSTEM
select BR2_PACKAGE_BOOST_THREAD
select BR2_PACKAGE_OPENSSL
help
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread* [Buildroot] [PATCH v2 2/2] package/boost: remove dependencies on Boost.System 2025-09-04 19:58 [Buildroot] [PATCH v2 1/2] package/libcpprestsdk: add dependency on Boost.System Michael Nosthoff via buildroot @ 2025-09-04 19:58 ` Michael Nosthoff via buildroot 2025-09-05 6:57 ` Michael Nosthoff via buildroot 2026-01-13 19:45 ` Arnout Vandecappelle via buildroot 2026-01-02 17:25 ` [Buildroot] [PATCH v2 1/2] package/libcpprestsdk: add dependency " Thomas Petazzoni via buildroot 2026-01-13 19:45 ` Arnout Vandecappelle via buildroot 2 siblings, 2 replies; 6+ messages in thread From: Michael Nosthoff via buildroot @ 2025-09-04 19:58 UTC (permalink / raw) To: buildroot Boost.System is a header only library since Boost 1.69.0 [0]. A Stub Library remained for backward compatibility. This mainly affects CMake Packages that use FindPackage and explicitly list 'system'. For Boost internal modules this is not the case so remove this dependency. Buildroot packages should select BR2_PACKAGE_BOOST_SYSTEM explicitly if needed and not rely on a proxy dependency from other boost packages. [0] https://github.com/boostorg/system/blob/develop/doc/system/changes.adoc#changes-in-boost-169 Signed-off-by: Michael Nosthoff <buildroot@heine.tech> --- package/boost/Config.in | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/package/boost/Config.in b/package/boost/Config.in index c7c90aa9ab..fc7fd1c6cb 100644 --- a/package/boost/Config.in +++ b/package/boost/Config.in @@ -24,7 +24,6 @@ config BR2_PACKAGE_BOOST_ATOMIC config BR2_PACKAGE_BOOST_CHRONO bool "boost-chrono" - select BR2_PACKAGE_BOOST_SYSTEM help Useful time utilities. C++11. @@ -62,7 +61,6 @@ config BR2_PACKAGE_BOOST_CONTRACT bool "boost-contract" # pthread_condattr_setclock depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_PACKAGE_BOOST_SYSTEM help Contract programming for C++. @@ -77,7 +75,6 @@ config BR2_PACKAGE_BOOST_COROUTINE depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-context, boost-thread select BR2_PACKAGE_BOOST_CHRONO select BR2_PACKAGE_BOOST_CONTEXT - select BR2_PACKAGE_BOOST_SYSTEM select BR2_PACKAGE_BOOST_THREAD help deprecated coroutine library, the non-deprecated coroutine2 @@ -117,7 +114,6 @@ config BR2_PACKAGE_BOOST_FIBER depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 select BR2_PACKAGE_BOOST_CONTEXT select BR2_PACKAGE_BOOST_FILESYSTEM - select BR2_PACKAGE_BOOST_SYSTEM help C++11 userland threads library. @@ -134,7 +130,6 @@ config BR2_PACKAGE_BOOST_FILESYSTEM bool "boost-filesystem" depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic select BR2_PACKAGE_BOOST_ATOMIC - select BR2_PACKAGE_BOOST_SYSTEM help The Boost Filesystem Library provides portable facilities to query and manipulate paths, files, and directories. @@ -184,7 +179,6 @@ config BR2_PACKAGE_BOOST_LOCALE depends on !(BR2_TOOLCHAIN_HAS_GCC_BUG_64735 && BR2_PACKAGE_ICU) # boost-thread depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS \ || !BR2_PACKAGE_ICU # boost-thread - select BR2_PACKAGE_BOOST_SYSTEM select BR2_PACKAGE_BOOST_THREAD if BR2_PACKAGE_ICU select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE help @@ -209,7 +203,6 @@ config BR2_PACKAGE_BOOST_LOG select BR2_PACKAGE_BOOST_DATE_TIME select BR2_PACKAGE_BOOST_FILESYSTEM select BR2_PACKAGE_BOOST_REGEX - select BR2_PACKAGE_BOOST_SYSTEM select BR2_PACKAGE_BOOST_THREAD help Logging library. @@ -279,7 +272,6 @@ config BR2_PACKAGE_BOOST_PYTHON config BR2_PACKAGE_BOOST_RANDOM bool "boost-random" - select BR2_PACKAGE_BOOST_SYSTEM help A complete system for random number generation. @@ -306,13 +298,14 @@ comment "boost-stacktrace needs a toolchain w/ dynamic library" config BR2_PACKAGE_BOOST_SYSTEM bool "boost-system" help - Operating system support, including the diagnostics support - that will be part of the C++0x standard library. + Extensible Error Reporting. + + This library is now header only. Building a stub library + is still supported for backward compatibility. config BR2_PACKAGE_BOOST_TEST bool "boost-test" depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_BOOST_SYSTEM select BR2_PACKAGE_BOOST_TIMER help Support for simple program testing, full unit testing, and for @@ -323,7 +316,6 @@ config BR2_PACKAGE_BOOST_THREAD depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::current_exception select BR2_PACKAGE_BOOST_CHRONO - select BR2_PACKAGE_BOOST_SYSTEM help Portable C++ multi-threading. C++11, C++14. @@ -333,7 +325,6 @@ comment "boost-thread needs a toolchain not affected by GCC bug 64735" config BR2_PACKAGE_BOOST_TIMER bool "boost-timer" select BR2_PACKAGE_BOOST_CHRONO - select BR2_PACKAGE_BOOST_SYSTEM help Event timer, progress timer, and progress display classes. @@ -341,7 +332,6 @@ config BR2_PACKAGE_BOOST_TYPE_ERASURE bool "boost-type_erasure" depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread - select BR2_PACKAGE_BOOST_SYSTEM select BR2_PACKAGE_BOOST_THREAD help Runtime polymorphism based on concepts. @@ -371,7 +361,6 @@ config BR2_PACKAGE_BOOST_WAVE depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread select BR2_PACKAGE_BOOST_DATE_TIME select BR2_PACKAGE_BOOST_FILESYSTEM - select BR2_PACKAGE_BOOST_SYSTEM select BR2_PACKAGE_BOOST_THREAD help The Boost.Wave library is a Standards conformant, and highly -- 2.43.0 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH v2 2/2] package/boost: remove dependencies on Boost.System 2025-09-04 19:58 ` [Buildroot] [PATCH v2 2/2] package/boost: remove dependencies " Michael Nosthoff via buildroot @ 2025-09-05 6:57 ` Michael Nosthoff via buildroot 2026-01-13 19:45 ` Arnout Vandecappelle via buildroot 1 sibling, 0 replies; 6+ messages in thread From: Michael Nosthoff via buildroot @ 2025-09-05 6:57 UTC (permalink / raw) To: Michael Nosthoff; +Cc: buildroot Hi all, Forgot the Changelog... > Boost.System is a header only library since Boost 1.69.0 [0]. > > A Stub Library remained for backward compatibility. This > mainly affects CMake Packages that use FindPackage and > explicitly list 'system'. > > For Boost internal modules this is not the case so remove this > dependency. > > Buildroot packages should select BR2_PACKAGE_BOOST_SYSTEM explicitly > if needed and not rely on a proxy dependency from other boost packages. > > [0] https://github.com/boostorg/system/blob/develop/doc/system/changes.adoc#changes-in-boost-169 > > Signed-off-by: Michael Nosthoff <buildroot@heine.tech> --- v1 -> v2: - change wording of Boost.System Helptext to better reflect its current functionality and discourage people from selecting it if not really necessary. - split off patch for libcpprestsdk which is the only package that needed the dependency added - all other packages contain the dependency on BOOST_SYSTEM or don't need it. _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH v2 2/2] package/boost: remove dependencies on Boost.System 2025-09-04 19:58 ` [Buildroot] [PATCH v2 2/2] package/boost: remove dependencies " Michael Nosthoff via buildroot 2025-09-05 6:57 ` Michael Nosthoff via buildroot @ 2026-01-13 19:45 ` Arnout Vandecappelle via buildroot 1 sibling, 0 replies; 6+ messages in thread From: Arnout Vandecappelle via buildroot @ 2026-01-13 19:45 UTC (permalink / raw) To: Michael Nosthoff; +Cc: Arnout Vandecappelle, buildroot In reply of: > Boost.System is a header only library since Boost 1.69.0 [0]. > > A Stub Library remained for backward compatibility. This > mainly affects CMake Packages that use FindPackage and > explicitly list 'system'. > > For Boost internal modules this is not the case so remove this > dependency. > > Buildroot packages should select BR2_PACKAGE_BOOST_SYSTEM explicitly > if needed and not rely on a proxy dependency from other boost packages. > > [0] https://github.com/boostorg/system/blob/develop/doc/system/changes.adoc#changes-in-boost-169 > > Signed-off-by: Michael Nosthoff <buildroot@heine.tech> Applied to 2025.02.x and 2025.11.x. Thanks > --- > package/boost/Config.in | 19 ++++--------------- > 1 file changed, 4 insertions(+), 15 deletions(-) > > diff --git a/package/boost/Config.in b/package/boost/Config.in > index c7c90aa9ab..fc7fd1c6cb 100644 > --- a/package/boost/Config.in > +++ b/package/boost/Config.in > @@ -24,7 +24,6 @@ config BR2_PACKAGE_BOOST_ATOMIC > > config BR2_PACKAGE_BOOST_CHRONO > bool "boost-chrono" > - select BR2_PACKAGE_BOOST_SYSTEM > help > Useful time utilities. C++11. > > @@ -62,7 +61,6 @@ config BR2_PACKAGE_BOOST_CONTRACT > bool "boost-contract" > # pthread_condattr_setclock > depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL > - select BR2_PACKAGE_BOOST_SYSTEM > help > Contract programming for C++. > > @@ -77,7 +75,6 @@ config BR2_PACKAGE_BOOST_COROUTINE > depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-context, boost-thread > select BR2_PACKAGE_BOOST_CHRONO > select BR2_PACKAGE_BOOST_CONTEXT > - select BR2_PACKAGE_BOOST_SYSTEM > select BR2_PACKAGE_BOOST_THREAD > help > deprecated coroutine library, the non-deprecated coroutine2 > @@ -117,7 +114,6 @@ config BR2_PACKAGE_BOOST_FIBER > depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 > select BR2_PACKAGE_BOOST_CONTEXT > select BR2_PACKAGE_BOOST_FILESYSTEM > - select BR2_PACKAGE_BOOST_SYSTEM > help > C++11 userland threads library. > > @@ -134,7 +130,6 @@ config BR2_PACKAGE_BOOST_FILESYSTEM > bool "boost-filesystem" > depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic > select BR2_PACKAGE_BOOST_ATOMIC > - select BR2_PACKAGE_BOOST_SYSTEM > help > The Boost Filesystem Library provides portable facilities to > query and manipulate paths, files, and directories. > @@ -184,7 +179,6 @@ config BR2_PACKAGE_BOOST_LOCALE > depends on !(BR2_TOOLCHAIN_HAS_GCC_BUG_64735 && BR2_PACKAGE_ICU) # boost-thread > depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS \ > || !BR2_PACKAGE_ICU # boost-thread > - select BR2_PACKAGE_BOOST_SYSTEM > select BR2_PACKAGE_BOOST_THREAD if BR2_PACKAGE_ICU > select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE > help > @@ -209,7 +203,6 @@ config BR2_PACKAGE_BOOST_LOG > select BR2_PACKAGE_BOOST_DATE_TIME > select BR2_PACKAGE_BOOST_FILESYSTEM > select BR2_PACKAGE_BOOST_REGEX > - select BR2_PACKAGE_BOOST_SYSTEM > select BR2_PACKAGE_BOOST_THREAD > help > Logging library. > @@ -279,7 +272,6 @@ config BR2_PACKAGE_BOOST_PYTHON > > config BR2_PACKAGE_BOOST_RANDOM > bool "boost-random" > - select BR2_PACKAGE_BOOST_SYSTEM > help > A complete system for random number generation. > > @@ -306,13 +298,14 @@ comment "boost-stacktrace needs a toolchain w/ dynamic library" > config BR2_PACKAGE_BOOST_SYSTEM > bool "boost-system" > help > - Operating system support, including the diagnostics support > - that will be part of the C++0x standard library. > + Extensible Error Reporting. > + > + This library is now header only. Building a stub library > + is still supported for backward compatibility. > > config BR2_PACKAGE_BOOST_TEST > bool "boost-test" > depends on BR2_USE_MMU # fork() > - select BR2_PACKAGE_BOOST_SYSTEM > select BR2_PACKAGE_BOOST_TIMER > help > Support for simple program testing, full unit testing, and for > @@ -323,7 +316,6 @@ config BR2_PACKAGE_BOOST_THREAD > depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS > depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::current_exception > select BR2_PACKAGE_BOOST_CHRONO > - select BR2_PACKAGE_BOOST_SYSTEM > help > Portable C++ multi-threading. C++11, C++14. > > @@ -333,7 +325,6 @@ comment "boost-thread needs a toolchain not affected by GCC bug 64735" > config BR2_PACKAGE_BOOST_TIMER > bool "boost-timer" > select BR2_PACKAGE_BOOST_CHRONO > - select BR2_PACKAGE_BOOST_SYSTEM > help > Event timer, progress timer, and progress display classes. > > @@ -341,7 +332,6 @@ config BR2_PACKAGE_BOOST_TYPE_ERASURE > bool "boost-type_erasure" > depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread > depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread > - select BR2_PACKAGE_BOOST_SYSTEM > select BR2_PACKAGE_BOOST_THREAD > help > Runtime polymorphism based on concepts. > @@ -371,7 +361,6 @@ config BR2_PACKAGE_BOOST_WAVE > depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread > select BR2_PACKAGE_BOOST_DATE_TIME > select BR2_PACKAGE_BOOST_FILESYSTEM > - select BR2_PACKAGE_BOOST_SYSTEM > select BR2_PACKAGE_BOOST_THREAD > help > The Boost.Wave library is a Standards conformant, and highly > -- > 2.43.0 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH v2 1/2] package/libcpprestsdk: add dependency on Boost.System 2025-09-04 19:58 [Buildroot] [PATCH v2 1/2] package/libcpprestsdk: add dependency on Boost.System Michael Nosthoff via buildroot 2025-09-04 19:58 ` [Buildroot] [PATCH v2 2/2] package/boost: remove dependencies " Michael Nosthoff via buildroot @ 2026-01-02 17:25 ` Thomas Petazzoni via buildroot 2026-01-13 19:45 ` Arnout Vandecappelle via buildroot 2 siblings, 0 replies; 6+ messages in thread From: Thomas Petazzoni via buildroot @ 2026-01-02 17:25 UTC (permalink / raw) To: Michael Nosthoff via buildroot On Thu, 4 Sep 2025 21:58:07 +0200 Michael Nosthoff via buildroot <buildroot@buildroot.org> wrote: > libcpprestsdk searches for the Boost.System module in its > CMakeLists. Hence it should be selected as a dependency. > > Signed-off-by: Michael Nosthoff <buildroot@heine.tech> > --- > package/libcpprestsdk/Config.in | 1 + > 1 file changed, 1 insertion(+) Both applied, thanks! I hope the second patch will not cause too much breakage. Thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH v2 1/2] package/libcpprestsdk: add dependency on Boost.System 2025-09-04 19:58 [Buildroot] [PATCH v2 1/2] package/libcpprestsdk: add dependency on Boost.System Michael Nosthoff via buildroot 2025-09-04 19:58 ` [Buildroot] [PATCH v2 2/2] package/boost: remove dependencies " Michael Nosthoff via buildroot 2026-01-02 17:25 ` [Buildroot] [PATCH v2 1/2] package/libcpprestsdk: add dependency " Thomas Petazzoni via buildroot @ 2026-01-13 19:45 ` Arnout Vandecappelle via buildroot 2 siblings, 0 replies; 6+ messages in thread From: Arnout Vandecappelle via buildroot @ 2026-01-13 19:45 UTC (permalink / raw) To: Michael Nosthoff; +Cc: Arnout Vandecappelle, buildroot In reply of: > libcpprestsdk searches for the Boost.System module in its > CMakeLists. Hence it should be selected as a dependency. > > Signed-off-by: Michael Nosthoff <buildroot@heine.tech> Applied to 2025.02.x and 2025.11.x. Thanks > --- > package/libcpprestsdk/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/libcpprestsdk/Config.in b/package/libcpprestsdk/Config.in > index e533b30393..7688021ed0 100644 > --- a/package/libcpprestsdk/Config.in > +++ b/package/libcpprestsdk/Config.in > @@ -13,6 +13,7 @@ config BR2_PACKAGE_LIBCPPRESTSDK > select BR2_PACKAGE_BOOST_FILESYSTEM > select BR2_PACKAGE_BOOST_RANDOM > select BR2_PACKAGE_BOOST_REGEX > + select BR2_PACKAGE_BOOST_SYSTEM > select BR2_PACKAGE_BOOST_THREAD > select BR2_PACKAGE_OPENSSL > help > -- > 2.43.0 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-01-13 19:45 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2025-09-04 19:58 [Buildroot] [PATCH v2 1/2] package/libcpprestsdk: add dependency on Boost.System Michael Nosthoff via buildroot 2025-09-04 19:58 ` [Buildroot] [PATCH v2 2/2] package/boost: remove dependencies " Michael Nosthoff via buildroot 2025-09-05 6:57 ` Michael Nosthoff via buildroot 2026-01-13 19:45 ` Arnout Vandecappelle via buildroot 2026-01-02 17:25 ` [Buildroot] [PATCH v2 1/2] package/libcpprestsdk: add dependency " Thomas Petazzoni via buildroot 2026-01-13 19:45 ` Arnout Vandecappelle via buildroot
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.