From patchwork Thu Oct 24 06:37:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1182647 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ivHi1VF9"; dkim-atps=neutral Received: from fraxinus.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 ozlabs.org (Postfix) with ESMTPS id 46zHbv26xkz9sPv for ; Thu, 24 Oct 2019 17:37:30 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E6579868BF; Thu, 24 Oct 2019 06:37:28 +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 Z1PbRXNkLWin; Thu, 24 Oct 2019 06:37:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3B498868B6; Thu, 24 Oct 2019 06:37:28 +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 6CC191BF861 for ; Thu, 24 Oct 2019 06:37:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 67689868B6 for ; Thu, 24 Oct 2019 06:37:26 +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 jx-DOsE0O13t for ; Thu, 24 Oct 2019 06:37:24 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 0450C868A6 for ; Thu, 24 Oct 2019 06:37:24 +0000 (UTC) Received: by mail-wm1-f42.google.com with SMTP id w9so122708wmm.5 for ; Wed, 23 Oct 2019 23:37:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tEVCdhi9Bn8WD/B0LCTvKDGUomQAtzeT56Euq0vOuEw=; b=ivHi1VF9q6/EAatlfPey7XlS5Yo7s73xKtLuxHU03kdP8Y5kMWpGb36fm9x1D9r4Nc JDQ8pp9WQ/q+4Y8P295dRhDaSy4k32zNGfIs/5xz+a6e3VeKr34ZJa/BOWiu+1NgcqqF Qpib6TilDwP7q6W8rdA3Dsh2rDImRCy6fphkJhYSQ0NGVqA4HcWlnrnkbuaVqstnCa57 izHHyhE/A/AY+D6YcgcuegM/sZqMRQuXg7dVp5fd1rLKj8DITYEdNBuiYYCI7T9pyvfn O6uoerEPSv0gg/St1TZ0kqA1THNQ9IKulCSP1a1uzpeWCYVfQdm+PD3kMsHXKwa+uwwF 07Mg== 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:mime-version :content-transfer-encoding; bh=tEVCdhi9Bn8WD/B0LCTvKDGUomQAtzeT56Euq0vOuEw=; b=FBYLP4qVCEOBuD+vu7g0nX7KQnRnW3uj/Jy6owGs4M6vRA2HR+fWHyP9zJHYUDyHZt islCloXyIyyAX2h8OSIufdu1/mJ+cQ0bMBrp8KseFJElqpyyrZwPjqytQH7d3AQcHXA0 85t0I2faO3Ti44/Ufhq03pQ3IckwdQbCNnoks1aYWAF3ZAORmKAZ//xiq/7KPfUlmXFD tP/TbL76fF73VgA0ZHjt5p6557yF/YaBfL32GJnAArWvhYFVxOxen52tdJSRS7Ki2SuF qpOiQ11TJbf+NPqCnnvO23+nq8CrlLLAAlGpbYECMJdzSIgra9KAilepknsuASqYeP8P WOkw== X-Gm-Message-State: APjAAAUhecEkr6mKw4YX/d8t0oK7qnwx5FRMZaQFiBDf6590rfXMqXVq 9iBcf3kaAZtoi9zvRw3LoqBySq50 X-Google-Smtp-Source: APXvYqxvgd9RNCZIw49z3qz7W7Vxbx8gW/tcttemD2V4o/vQaK7Whq8cDxAhrQ459iv8/1XaatuU6g== X-Received: by 2002:a1c:f011:: with SMTP id a17mr3183714wmb.18.1571899042014; Wed, 23 Oct 2019 23:37:22 -0700 (PDT) Received: from hthiery01.sab.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id 79sm2243628wmb.7.2019.10.23.23.37.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 23:37:21 -0700 (PDT) From: heiko.thiery@gmail.com To: buildroot@buildroot.org Date: Thu, 24 Oct 2019 08:37:16 +0200 Message-Id: <20191024063716.6562-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH vX 1/1] package/libyang: fix build w/o threads X-BeenThere: buildroot@busybox.net 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: Heiko Thiery , thomas.petazzoni@bootlin.com Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Heiko Thiery For building libyang a toolchain with thread support is needed. Add the dependancy to BR2_TOOLCHAIN_HAS_THREADS. Fixes: - http://autobuild.buildroot.net/results/1d84ff4aab67a98113d967b65467109e80bb5917 Signed-off-by: Heiko Thiery --- package/libyang/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/libyang/Config.in b/package/libyang/Config.in index ebe51ff099..fec1160a6f 100644 --- a/package/libyang/Config.in +++ b/package/libyang/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBYANG bool "libyang" + depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS select BR2_PACKAGE_PCRE select BR2_PACKAGE_PCRE_UCP @@ -9,5 +10,5 @@ config BR2_PACKAGE_LIBYANG https://github.com/CESNET/libyang -comment "libyang needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "libyang needs a toolchain w/ threads, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS