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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 6747DC433F5 for ; Sat, 28 May 2022 08:41:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 26D916F4BC; Sat, 28 May 2022 08:41:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0scu9qgd81s5; Sat, 28 May 2022 08:41:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 2FA3860B65; Sat, 28 May 2022 08:41:38 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E23DC1BF95F for ; Sat, 28 May 2022 08:40:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id C0D6684CD3 for ; Sat, 28 May 2022 08:40:31 +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 4FRrrbqhxXYr for ; Sat, 28 May 2022 08:40:31 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.122]) by smtp1.osuosl.org (Postfix) with ESMTP id 128A084CCE for ; Sat, 28 May 2022 08:40:31 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 4021) id D71BA84130; Sat, 28 May 2022 08:29:02 +0000 (UTC) From: Peter Korsgaard To: buildroot@buildroot.org Date: Sat, 28 May 2022 10:31:43 +0200 X-Git-Refname: refs/heads/2022.02.x X-Git-Oldrev: f5de25df1c7b2cfa3631e25cd71a21ec139aecc3 X-Git-Newrev: d95cb8ce3836cc4e53603d8f51bf268347a54a04 X-Patchwork-Hint: ignore Message-Id: <20220528082902.D71BA84130@busybox.osuosl.org> Subject: [Buildroot] [git commit branch/2022.02.x] package/luajit: depend on !BR2_PACKAGE_LUA 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: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" commit: https://git.buildroot.net/buildroot/commit/?id=d95cb8ce3836cc4e53603d8f51bf268347a54a04 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x We can't enable lua and luajit at the same time as they both provide the virtual luainterpreter package. Fixes: package/luajit/luajit.mk:80: *** Configuration error: both "luajit" and "lua" are selected as providers for virtual package "luainterpreter". Only one provider can be selected at a time. Please fix your configuration. Stop. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit e11431dd611bd3f9f23a2fc48f3b077d35073b9d) Signed-off-by: Peter Korsgaard --- package/luajit/Config.in | 2 ++ package/snort3/Config.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/package/luajit/Config.in b/package/luajit/Config.in index 3111a2548f..f27099e80c 100644 --- a/package/luajit/Config.in +++ b/package/luajit/Config.in @@ -14,6 +14,8 @@ config BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS config BR2_PACKAGE_LUAJIT bool "luajit" depends on !BR2_STATIC_LIBS # dlopen + # Luajit conflicts with the regular lua package + depends on !BR2_PACKAGE_LUA # Luajit is only available for some target architectures, and # has some complexity wrt 32/64. See luajit.mk for details. depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS diff --git a/package/snort3/Config.in b/package/snort3/Config.in index dcc29b820a..9b96e7cb58 100644 --- a/package/snort3/Config.in +++ b/package/snort3/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_SNORT3 bool "snort3" + depends on !BR2_PACKAGE_LUA # luajit depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS # luajit depends on !(BR2_PACKAGE_DAQ || BR2_PACKAGE_SNORT) depends on BR2_USE_MMU # fork() @@ -34,6 +35,7 @@ config BR2_PACKAGE_SNORT3 https://www.snort.org/snort3 comment "snort3 needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.9" + depends on !BR2_PACKAGE_LUA depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS depends on !(BR2_PACKAGE_DAQ || BR2_PACKAGE_SNORT) depends on BR2_USE_MMU _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot