From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 774D9CA1012 for ; Thu, 4 Sep 2025 19:59:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 37FEF40697; Thu, 4 Sep 2025 19:59:21 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id h6MKnoVdtyU7; Thu, 4 Sep 2025 19:59:20 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 620A840699 Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id 620A840699; Thu, 4 Sep 2025 19:59:20 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) by lists1.osuosl.org (Postfix) with ESMTP id 631551E04 for ; Thu, 4 Sep 2025 19:59:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 555646072D for ; Thu, 4 Sep 2025 19:59:18 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id g9AJlxMLxW1r for ; Thu, 4 Sep 2025 19:59:17 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a01:4f8:1c0c:5073::1; helo=mail.heine.tech; envelope-from=buildroot@heine.tech; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 2405360729 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 2405360729 Received: from mail.heine.tech (mail.heine.tech [IPv6:2a01:4f8:1c0c:5073::1]) by smtp3.osuosl.org (Postfix) with ESMTPS id 2405360729 for ; Thu, 4 Sep 2025 19:59:17 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id E496B1814B9; Thu, 4 Sep 2025 21:59:13 +0200 (CEST) To: buildroot@buildroot.org Date: Thu, 4 Sep 2025 21:58:09 +0200 Message-ID: <20250904195812.3259342-4-buildroot@heine.tech> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250904195812.3259342-2-buildroot@heine.tech> References: <20250904195812.3259342-2-buildroot@heine.tech> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heine.tech; s=dkim; t=1757015954; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=IcMkAMH1mGIzGHDYnuaycEsw+Rb9u/G294U+y6CMby0=; b=QUyV/HOsGW1jPShzxVEbKTIze2wsVt8qYvEbQktWMqRXV1mrCefTZ5ffr1aw0qs6azxnBd XDZjicRw1R6J9f1WLsHB6or69S5V0vtRqFg/r5eTg2panLrSDTG5JCLMbtik5+028oWkdr U3ujwg1A4lYCrPGf+ik6gJcLd1KulDM= X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=heine.tech X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (1024-bit key) header.d=heine.tech header.i=@heine.tech header.a=rsa-sha256 header.s=dkim header.b=QUyV/HOs Subject: [Buildroot] [PATCH v2 2/2] package/boost: remove dependencies on Boost.System X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Michael Nosthoff via buildroot Reply-To: Michael Nosthoff Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "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 --- 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