From patchwork Wed Apr 18 08:55:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danomi Manchego X-Patchwork-Id: 899972 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.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40Qwvj5mBYz9s3G for ; Wed, 18 Apr 2018 18:56:17 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 15F4D868B4; Wed, 18 Apr 2018 08:56:15 +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 VSYrWlsLsuZr; Wed, 18 Apr 2018 08:56:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id CA340868F4; Wed, 18 Apr 2018 08:56:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 9AC721C002D for ; Wed, 18 Apr 2018 08:56:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 966838447B for ; Wed, 18 Apr 2018 08:56:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LkrOkrryC-dK for ; Wed, 18 Apr 2018 08:56:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from resqmta-ch2-02v.sys.comcast.net (resqmta-ch2-02v.sys.comcast.net [69.252.207.34]) by hemlock.osuosl.org (Postfix) with ESMTPS id CAA6283FCB for ; Wed, 18 Apr 2018 08:56:11 +0000 (UTC) Received: from resomta-ch2-05v.sys.comcast.net ([69.252.207.101]) by resqmta-ch2-02v.sys.comcast.net with ESMTP id 8istfYLTzSzZV8istfNzhj; Wed, 18 Apr 2018 08:56:11 +0000 Received: from dmocelo-Aspire-E5-575G.hsd1.nj.comcast.net ([IPv6:2601:87:c480:4d8f::e433]) by resomta-ch2-05v.sys.comcast.net with SMTP id 8iskfWMBFDxPi8issf3L9y; Wed, 18 Apr 2018 08:56:10 +0000 From: Danomi Manchego To: buildroot@buildroot.org Date: Wed, 18 Apr 2018 04:55:59 -0400 Message-Id: <1524041759-11496-1-git-send-email-danomimanchego123@gmail.com> X-Mailer: git-send-email 2.7.4 X-CMAE-Envelope: MS4wfAJUamW9zyCcVp5OXNWjrmqk8kUPIn5wfKBmcVkvs+o45k0U9vp8UR/WSQ4tfQ+Z7X3YLSjR9pOUEVMcccAy+lNCNY0ZpvXfeK92y5P7eNKqatPdGC9q rD7OOYm1gz60Ke5WbKjc6W3ecayvMUDzfb+vu5XnGz46DxO5qM6B3Ws83fZi/gjaxr8oQ0uuozTPKXaVoQTZucwTeHVp9hnjTcHqiJtUUSX3N+w8TJeWxjlt lt/zIzDxKaJffuGTNUC559z/OFJmJSnsnWXmGVsFk9g= Subject: [Buildroot] [PATCH 1/1] prosody: add dependency on shared libraries 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: Dushara Jayasinghe MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The prosody package uses several Lua packages that require shared libraries. Therefore, prosody must require shared libraries too. Fixes: http://autobuild.buildroot.net/results/b126bce0bbd111f021ed5be7c8773fef2a8f8579 Signed-off-by: Danomi Manchego --- Note: this bug was reported as a luaexpat build error, but the fault is really due to prosody. When the autobuilder's defconfig is applied, the following is emitted: warning: (BR2_PACKAGE_PROSODY) selects BR2_PACKAGE_LUASEC which has unmet direct dependencies (!BR2_STATIC_LIBS && BR2_PACKAGE_HAS_LUAINTERPRETER) warning: (BR2_PACKAGE_PROSODY) selects BR2_PACKAGE_LUAEXPAT which has unmet direct dependencies (!BR2_STATIC_LIBS && BR2_PACKAGE_HAS_LUAINTERPRETER) warning: (BR2_PACKAGE_PROSODY) selects BR2_PACKAGE_LUAFILESYSTEM which has unmet direct dependencies (!BR2_STATIC_LIBS && BR2_PACKAGE_HAS_LUAINTERPRETER) warning: (BR2_PACKAGE_PROSODY) selects BR2_PACKAGE_LUASOCKET which has unmet direct dependencies (!BR2_STATIC_LIBS && BR2_PACKAGE_HAS_LUAINTERPRETER) warning: (BR2_PACKAGE_PROSODY) selects BR2_PACKAGE_LUASEC which has unmet direct dependencies (!BR2_STATIC_LIBS && BR2_PACKAGE_HAS_LUAINTERPRETER) warning: (BR2_PACKAGE_PROSODY) selects BR2_PACKAGE_LUAEXPAT which has unmet direct dependencies (!BR2_STATIC_LIBS && BR2_PACKAGE_HAS_LUAINTERPRETER) warning: (BR2_PACKAGE_PROSODY) selects BR2_PACKAGE_LUAFILESYSTEM which has unmet direct dependencies (!BR2_STATIC_LIBS && BR2_PACKAGE_HAS_LUAINTERPRETER) warning: (BR2_PACKAGE_PROSODY) selects BR2_PACKAGE_LUASOCKET which has unmet direct dependencies (!BR2_STATIC_LIBS && BR2_PACKAGE_HAS_LUAINTERPRETER) --- package/prosody/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/prosody/Config.in b/package/prosody/Config.in index ef26e27..32fa648 100644 --- a/package/prosody/Config.in +++ b/package/prosody/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_PROSODY bool "prosody" depends on BR2_USE_MMU # fork depends on BR2_PACKAGE_HAS_LUAINTERPRETER + depends on !BR2_STATIC_LIBS # luasec, luaexpat, luafilesystem select BR2_PACKAGE_LUAEXPAT # runtime select BR2_PACKAGE_LUASEC # runtime select BR2_PACKAGE_LUASOCKET # runtime @@ -15,6 +16,6 @@ config BR2_PACKAGE_PROSODY https://prosody.im -comment "prosody needs the lua interpreter" - depends on !BR2_PACKAGE_HAS_LUAINTERPRETER +comment "prosody needs the lua interpreter, dynamic library" + depends on !BR2_PACKAGE_HAS_LUAINTERPRETER || BR2_STATIC_LIBS depends on BR2_USE_MMU