From patchwork Fri Nov 19 17:55:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1557334 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=TW5tR5Ge; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Hwkt56sXqz9sRR for ; Sat, 20 Nov 2021 04:58:21 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 925B340554; Fri, 19 Nov 2021 17:58:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0CIEoGXTP7LH; Fri, 19 Nov 2021 17:58:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id B310D40105; Fri, 19 Nov 2021 17:58:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id AFD5B1BF37C for ; Fri, 19 Nov 2021 17:58:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id ACF21829B1 for ; Fri, 19 Nov 2021 17:58:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id McJ34-ClBrMA for ; Fri, 19 Nov 2021 17:58:15 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by smtp1.osuosl.org (Postfix) with ESMTPS id CC1688272D for ; Fri, 19 Nov 2021 17:58:14 +0000 (UTC) Received: by mail-wr1-x433.google.com with SMTP id i5so19560278wrb.2 for ; Fri, 19 Nov 2021 09:58:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=467TG0F23dmxOPpcxIoEia+1KBM1HJ8Z+MktLcyfPzk=; b=TW5tR5Ge/gLAR+pyaAKraU4Ht8ITmXjVV+Px7jZX6KQlQoy7QNJ6a6XPBmRalhVTY9 AveAyg/gT1VjcQtx5OAOm+EHUfgHrFAYzfhd/jDPuikswVae4WvoKn2bEmrxj3/4ECGj WECD9Y4yIH/U6k1bB3HQaL5Ojr1h5VEZH38mAXn//0MgTbF3FtkEqjIruK6VahllIYUa 7TQmD1HZnFffKAKvgrWU9MbbSzkr3OTEeAaDo7hBgDeAQwd78ZojuTSejdWb19ILGpDW THzscYhfAlYjlFQ8quJLbgivP9CEuYf/n9pqb7XZWMC8kq+D9lpD1SIXf93sMYcJY/RA jGnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=467TG0F23dmxOPpcxIoEia+1KBM1HJ8Z+MktLcyfPzk=; b=yNPmcP0m9GdsFOC5h8O1WgG2LYYYJ0ZDePly+vG6o5LAd/phBTxEM1MX9f8SCZVHbx LhVLdAtn29UivZwlIRFKCrsCIiX5PW8jLgwfb44HWIMi/FirRCbzNPi7bTYCBwQd7Awy UICyiTNR/3sZ1ahVDBXiLrNQWcZ0wKkGrsoJGFDZDIUb6OVBl/A3zmyZy18EMvGbcNFJ B7dKGWrDCdfJlF7blKkhiYf9hVUa55U32frtUPgB6mWuhWCluU94Vm6eljQiyDrkimiu sQYF/tbkVYl+T+xY2oKquCD8/mLj462RjJHJaXRui3qjT/omFa6/yOW4ojIXnyeQ6DYa M9ow== X-Gm-Message-State: AOAM530DN6JGCRwif0S0LEzEJKw4k2BS9CguzeoH8oFyEEki2M1pjS8e ZhSgLtt3M5n/iicb2i3Ps2bzBMSvaF0= X-Google-Smtp-Source: ABdhPJz4Aar7TVs8oJJslSrwEGzftQlRcVxL7v814z92ZWt1agmc9nYYqKeTVAM5BvAkzGGs8smLgg== X-Received: by 2002:a5d:628f:: with SMTP id k15mr9806069wru.363.1637344692831; Fri, 19 Nov 2021 09:58:12 -0800 (PST) Received: from kali.home (lfbn-ren-1-370-97.w2-10.abo.wanadoo.fr. [2.10.20.97]) by smtp.gmail.com with ESMTPSA id k37sm404225wms.21.2021.11.19.09.58.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Nov 2021 09:58:12 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 19 Nov 2021 18:55:52 +0100 Message-Id: <20211119175553.2413433-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2, 1/2] Revert "package/log4cxx: select boost chrono and date-time with gcc < 7" X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine , Thomas Petazzoni Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" This reverts commit 3c2245cb65741c965f4bb87d35ac3c64f250a1ae to move these selects on boost side as the build failure was raised with gcc >= 7 (making this commit a "no-op"). Indeed, the build failure is raised with cmake < 3.21.3, because cmake assumed that boost thread depends on date-time until https://github.com/Kitware/CMake/commit/1ad0c5ae53fc0c4f774166337f0e9c93c578cf9b. Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2 (after review of Yann E. Morin): - Update commuit message to explain that this commit is a no-op and the relationship with cmake package/log4cxx/Config.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/log4cxx/Config.in b/package/log4cxx/Config.in index 27a5f06988..6f1956f829 100644 --- a/package/log4cxx/Config.in +++ b/package/log4cxx/Config.in @@ -12,8 +12,6 @@ config BR2_PACKAGE_LOG4CXX select BR2_PACKAGE_APR_UTIL select BR2_PACKAGE_BOOST if !BR2_TOOLCHAIN_GCC_AT_LEAST_7 select BR2_PACKAGE_BOOST_ATOMIC if !BR2_TOOLCHAIN_GCC_AT_LEAST_7 - select BR2_PACKAGE_BOOST_CHRONO if !BR2_TOOLCHAIN_GCC_AT_LEAST_7 - select BR2_PACKAGE_BOOST_DATE_TIME if !BR2_TOOLCHAIN_GCC_AT_LEAST_7 select BR2_PACKAGE_BOOST_THREAD if !BR2_TOOLCHAIN_GCC_AT_LEAST_7 help Apache log4cxx is a logging framework for C++ patterned From patchwork Fri Nov 19 17:55:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1557335 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=o4CoDTcO; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HwktK3l59z9sRR for ; Sat, 20 Nov 2021 04:58:33 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id F322A80DDE; Fri, 19 Nov 2021 17:58:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wzy7auL2DEqy; Fri, 19 Nov 2021 17:58:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 5F64980CC6; Fri, 19 Nov 2021 17:58:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id B7F341BF37C for ; Fri, 19 Nov 2021 17:58:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id A419040367 for ; Fri, 19 Nov 2021 17:58:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pHdIbTcLF-AG for ; Fri, 19 Nov 2021 17:58:16 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by smtp4.osuosl.org (Postfix) with ESMTPS id 67906402F7 for ; Fri, 19 Nov 2021 17:58:16 +0000 (UTC) Received: by mail-wm1-x32e.google.com with SMTP id n33-20020a05600c502100b0032fb900951eso11104941wmr.4 for ; Fri, 19 Nov 2021 09:58:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YwV2unrhli6uSX5Hl75EcmGVOdYLhi3MYfzbFMnwsjw=; b=o4CoDTcOZxQj73NVPFMKx8620A8bPKDW6YwJBLgeqJrFcGKz88o15ezUDa4B8s6DF1 cpbWxhDY5V0nNq0K0EGa/v/wlYRXlwpJJDaSlLgwYzI9bbDEoUhSH5dHDJkkxaK5k/7O DQJXMwN69dHC4r1pUcrovUPd1CmXkorTNuN69DfeZBF8NJLXYrVtI5CW8+zx0wNQLiQk yWw+f8i9orfzo3Xc5FBqAZI/TdP9WVg+BnCRjuKfdO2WM5vt8p5qxwZkX551G4gt+UmI El/a65Df+0Wag8mXaCJePM5GO3EPf4STpJu6h1fgFTrCfNxh/tuN8dhcWtjkZKrSNYXk ySTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YwV2unrhli6uSX5Hl75EcmGVOdYLhi3MYfzbFMnwsjw=; b=4iIGOmLCG3DooRBWWSC3CIx/E+azWr1qi+kHLxQ7VhmLe8MkHWEoLOsz5oubbntpDO nggl7ggtu7z8s7WFb0hbfCpVXFCbb79lRYa+ndpzel02Ch/IcN8V4Hp6pGpNQSQkv+D3 v67eBilqe1X1gs65Kx+vHm/FIzOnWzWnubOCDr1xSxeJuilq2qZAgFgQi90LWVqwDEf1 4ThQZQ327aId12ZLAm5GZraZp/FSmn0xl2M+i1Z6RTglEdMNftg5fw8M0nZhY+pax/of C7V1OV9MO7TPRK3ONKvkW8bk3Eztfd9c5SQP+5hFeqfEShIuhDLY3/UAst6xIB4MoCf+ i59g== X-Gm-Message-State: AOAM531TeLnTN8sAymRWEPhkIXaU9qLMQlQFuEuejqVmPm33nt2zknkL bnKnxxyUNYBa0SRlLho+BwqEKnTWJ88= X-Google-Smtp-Source: ABdhPJx1mFvP/TM4g60m6TlO8W68PlxHRD6WAU+AeOozsvXRJkt09zmpHb9jkjmkCxkgfs8PLFUSKA== X-Received: by 2002:a05:600c:500b:: with SMTP id n11mr1948021wmr.38.1637344694352; Fri, 19 Nov 2021 09:58:14 -0800 (PST) Received: from kali.home (lfbn-ren-1-370-97.w2-10.abo.wanadoo.fr. [2.10.20.97]) by smtp.gmail.com with ESMTPSA id k37sm404225wms.21.2021.11.19.09.58.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Nov 2021 09:58:14 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 19 Nov 2021 18:55:53 +0100 Message-Id: <20211119175553.2413433-2-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211119175553.2413433-1-fontaine.fabrice@gmail.com> References: <20211119175553.2413433-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2,2/2] package/boost: threads needs date-time X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine , Thomas Petazzoni Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Fix the following build failure with gcc >= 7 raised since commit 4e267a7d3d5d350710a81ada188a1629348e4b4a because until cmake 3.21.3 and https://github.com/Kitware/CMake/commit/1ad0c5ae53fc0c4f774166337f0e9c93c578cf9b, cmake assumed that boost threads depends on boost date-time. As, we can't patch all cmake in the field, just select boost date-time. -- Found Boost: /home/buildroot/autobuild/instance-3/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include (found version "1.77.0") found components: thread chrono atomic missing components: date_time Fixes: - http://autobuild.buildroot.org/results/e7443e3bc955e7eddd7bed63e2728880dabb31a7 Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2 (after review of Yann E. Morin): - Update commit message to explain the relationship with cmake package/boost/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/boost/Config.in b/package/boost/Config.in index 1c405a36c3..8310294ffd 100644 --- a/package/boost/Config.in +++ b/package/boost/Config.in @@ -348,6 +348,7 @@ 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_DATE_TIME select BR2_PACKAGE_BOOST_SYSTEM help Portable C++ multi-threading. C++11, C++14.