From patchwork Sat Feb 10 19:58:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 871696 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="uEhFNU+S"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zf2qt2CMKz9s7h for ; Sun, 11 Feb 2018 07:01:14 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C008C876FF; Sat, 10 Feb 2018 20:01:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pQz2_BEtCdTB; Sat, 10 Feb 2018 20:01:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 143CC876F1; Sat, 10 Feb 2018 20:01:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 8CE211C00C1 for ; Sat, 10 Feb 2018 20:01:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8817C876F1 for ; Sat, 10 Feb 2018 20:01:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2Iib-oIizooi for ; Sat, 10 Feb 2018 20:01:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 0E194876DD for ; Sat, 10 Feb 2018 20:01:10 +0000 (UTC) Received: by mail-wr0-f195.google.com with SMTP id s5so11470311wra.0 for ; Sat, 10 Feb 2018 12:01:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=JtoBHuszG0cVvHuWgrIBFg53jiKBNk+CjnelysvE4jM=; b=uEhFNU+SL9EFacbmPJ+O+O1V8JUExQOz8o/XiKgj8fy8gG7XBvukqFq/KurjA781pC nVD5kYSckaxYglfAbULG3SXGADpfw80vsY80PzwqcFC4XLYE5sdgjbU/aJgxcFbhSBHF pASr0hCx/LRTm9xyNXhmBvMs3rctQOc4ShpuYtDAe/6DAoEJiv6l5ykfbiiv5jDTrRrR 9p7fknaCbDVUHs/B9xYaw9Z71YocUL8cahEhLockzFudhNsUwufew/TfXNgLtLFCos5U JuNQtUjyfZ/wTKNFHSesNRpMxZwCGhq/vtdrInHl2bVthnlNPw0NkpbbZqS5r/ZdtPGn 108Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=JtoBHuszG0cVvHuWgrIBFg53jiKBNk+CjnelysvE4jM=; b=JW1eWuCmohK739GRRmJqRFSzKVQ0GLtWl1XPHFWGnhmz1U47utgrAmp1uuST2JKAtU TC4NkISd408J6fN204Gi8LvrB8lgul2vmm+4xj4gdVpXJiFj7r2WCM7Ud3sHdCLYwHGg AtayY7TR5OUIbf4klbhsG1s44NyVrBzeI5yuqZe6TybW2LFbtZSXeItO6RUSmbenwaxX H0o0udcBz07/WnghGg1BVKbaPhygYSGOZv1/NjBhtGp+eeJ6vp6IOCbU6w1KxGb3QpF4 D4zuOTt93LP5+oPQbOlEEwa9wbHi8J0+JT611G9zrJEA5QFh2jqjN7kZmnox7Bd5yylH +nWg== X-Gm-Message-State: APf1xPCSOXwDTCX1k9QDMqb9Nwblc/jPDHdDi0yt2lFd64kqVQdHtQ9h m+WleUPW6j20IzAI9cz/NeMI4Q== X-Google-Smtp-Source: AH8x227Jew5BAZolj6wXfG7r7+aFP+4OBUvkiJguTSjeIWb6S9ZV8h8R3GwmQrcV86B0KGmKDhWjQA== X-Received: by 10.223.209.6 with SMTP id a6mr6077682wri.169.1518292867777; Sat, 10 Feb 2018 12:01:07 -0800 (PST) Received: from fabrice-VirtualBox.home (ARennes-656-1-312-199.w109-218.abo.wanadoo.fr. [109.218.80.199]) by smtp.gmail.com with ESMTPSA id z20sm5213397wrz.20.2018.02.10.12.01.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Feb 2018 12:01:06 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sat, 10 Feb 2018 20:58:15 +0100 Message-Id: <20180210195815.20942-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH v2,1/1] domoticz: depends on NPTL X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" boost 1.66 uses pthread_condattr_setclock in boost/asio/detail/impl/posix_event.ipp. Boost is mostly a header-only library, in particular the asio stuff. There are sub-options for the parts of Boost that are not purely headers, but there are not any sub-options for the parts of Boost that are just headers. So, the options are either to add sub-options to Boost, or to make Boost as a whole only available on NPTL toolchains. The latter is a bit annoying as it would mean adding this dependency to all Boost reverse dependencies, even those not using asio. So, instead of updating boost, add a dependency to BR2_TOOLCHAIN_HAS_THREADS_NPTL to domoticz. This is the best solution that can be done today. It's not perfect, but it's good enough. Fixes: - http://autobuild.buildroot.net/results/197baa15cbf7f4fc7b3ccc602515af3f375ed68f Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2 (after review of Peter Korsgaard and Thomas Petazzoni): - Add Thomas's explanation/opinion in commit message package/domoticz/Config.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package/domoticz/Config.in b/package/domoticz/Config.in index 34bf2521a2..530027f273 100644 --- a/package/domoticz/Config.in +++ b/package/domoticz/Config.in @@ -3,7 +3,8 @@ config BR2_PACKAGE_DOMOTICZ depends on BR2_USE_MMU # mosquitto depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mosquitto depends on !BR2_STATIC_LIBS # mosquitto - depends on BR2_TOOLCHAIN_HAS_THREADS + # pthread_condattr_setclock + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR depends on BR2_PACKAGE_LUA_5_2 || BR2_PACKAGE_LUA_5_3 @@ -26,10 +27,11 @@ config BR2_PACKAGE_DOMOTICZ http://domoticz.com -comment "domoticz needs lua >= 5.2 and a toolchain w/ C++, threads, wchar, dynamic library" +comment "domoticz needs lua >= 5.2 and a toolchain w/ C++, NPTL, wchar, dynamic library" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ !BR2_USE_WCHAR || BR2_STATIC_LIBS || \ !(BR2_PACKAGE_LUA_5_2 || BR2_PACKAGE_LUA_5_3)