From patchwork Sun Jan 13 08:47:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 1024037 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@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; 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="gkMLAp5W"; 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 43cqx871zmz9s55 for ; Sun, 13 Jan 2019 19:47:40 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E02E38557E; Sun, 13 Jan 2019 08:47:37 +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 YeIqVDrVaUkL; Sun, 13 Jan 2019 08:47:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2DC5984E97; Sun, 13 Jan 2019 08:47:36 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 65B2E1BF57B for ; Sun, 13 Jan 2019 08:47:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 62B0984AF1 for ; Sun, 13 Jan 2019 08:47:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TE3FoA-mDrWU for ; Sun, 13 Jan 2019 08:47:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by whitealder.osuosl.org (Postfix) with ESMTPS id B570184C2A for ; Sun, 13 Jan 2019 08:47:31 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id u6so8936416pfh.11 for ; Sun, 13 Jan 2019 00:47:31 -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:mime-version :content-transfer-encoding; bh=FwicevecMbamxj3DCOobYyO3O01HPlGB4iTxv7A6bsY=; b=gkMLAp5WrgpvUcuzfKqKwa9hxmmClaZM957Sx/M57+a38RbpRyxhPD2rFmuqNiylda /6nNB29ZM6q3RMPmbiksCHO/5F5ZfHJUcWkYFKAg2wgPz3eG3kG2/zEQI4+q+9GLOm/A +Lm3KjkEtmqx7WdVRpfl/2zj2ghnBjbfiwihQkgXxcoqPD0eW/WlI6fe6qZ4OEv45L+i WytDIOYWRg9xo4bybSVScJqlGxrrnEU+nDrzm7cK/zuCHYvjjm5xIkbYsZWnZmuLm3bu pXWOGc4yI0jEpOZqrixSpa3fKKgLQta7bZvR+vAPNdbb7J4Vw7FbL6vRWspszobpaNme y/6w== 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=FwicevecMbamxj3DCOobYyO3O01HPlGB4iTxv7A6bsY=; b=I5afWAX/Q711TCSIVxs2XA0MP8UXXFN2aDEiugJOGn4Y2r5vEuYYfsGW31/tjt8vkf 46xFlBHdXF2LWVlWFsis2jxvNjiPnnL0SSpLZlZDredM8uIc/FucOus+dWi0p0w2evod iGHI9pl+FgQbvjBz1fqbh80sMpgrUPO7VVW6rAX7Z9BicFfTdl6wOL8bwzME/JrPIHW9 iQvJ1Ew3n/3oADdh2ZiczfTcv3a1aHa5BpxzsnhbmWYbTvfCWP9J3i0HX1BaJBtJ4d// 3aoBidL3+pLYseXrMU9uuMpLVn4kZWYTwyMMDxKW7mD98yQBG4OJSNprS0LdNYDG//0I OAvA== X-Gm-Message-State: AJcUukcv5ushjh9j2y3xHOvqK3li6XsIEAb4vyWtyY9/T7oc+M3PyW1m I4PVmmPUzOTgMxx+eW+pGkeCDIsn X-Google-Smtp-Source: ALg8bN6FleF/r+bRaXNgnrVDPQQn/AArrM5I+jtpwLqcSKN6oh1omTLhqR7jZO0E+8YjMJFnrjgrug== X-Received: by 2002:a63:cd4c:: with SMTP id a12mr19476058pgj.252.1547369250917; Sun, 13 Jan 2019 00:47:30 -0800 (PST) Received: from chrisp-dl.ws.atlnz.lc ([2001:df5:b000:22:3a2c:4aff:fe70:2b02]) by smtp.gmail.com with ESMTPSA id b7sm119876839pfa.52.2019.01.13.00.47.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 13 Jan 2019 00:47:30 -0800 (PST) From: Chris Packham To: buildroot@buildroot.org Date: Sun, 13 Jan 2019 21:47:22 +1300 Message-Id: <20190113084722.19441-1-judge.packham@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2] syslog-ng: depend on !BR2_STATIC_LIBS 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Upstream now unconditionally requires dlfcn.h: - https://github.com/balabit/syslog-ng/commit/01258e56abc5804f8ea977ff9ab98cc8e2fd4702 Fixes: - http://autobuild.buildroot.net/results/c0bca852e053cd0e021205b3a949e750ae602333 Signed-off-by: Chris Packham Reviewed-by: Carlos Santos --- Changes in v2: - update comment when toolchain prerequisites are not met (thanks Baruch) package/syslog-ng/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/syslog-ng/Config.in b/package/syslog-ng/Config.in index fbc236221a..6407645974 100644 --- a/package/syslog-ng/Config.in +++ b/package/syslog-ng/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_SYSLOG_NG depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() + depends on !BR2_STATIC_LIBS # dlfcn.h depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS select BR2_PACKAGE_EVENTLOG select BR2_PACKAGE_LIBGLIB2 @@ -15,7 +16,8 @@ config BR2_PACKAGE_SYSLOG_NG https://syslog-ng.org/ -comment "syslog-ng needs a toolchain w/ wchar, threads" +comment "syslog-ng needs a toolchain w/ dynamic library, wchar, threads" depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS