From patchwork Sat Jul 15 01:55:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107846 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1667762qge; Fri, 14 Jul 2017 18:58:07 -0700 (PDT) X-Received: by 10.84.179.194 with SMTP id b60mr18964558plc.166.1500083887635; Fri, 14 Jul 2017 18:58:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500083887; cv=none; d=google.com; s=arc-20160816; b=gVAti4EsW6/OzGocjgWCd/UnO1X42fk+kPP1FPJgwZLCspqq8VEvKBvKpqXUa5dC3R KS/0ZQZANhbycX5260Y2ZpKdzE8NWYUI6e8esDfy6E9ferr+yoHGEmf+tgCjGyw3YgCJ iy0nesbxPzYIEy+QDmKXef6gP+cNL4dZHHj/J8VTNelk5d8tcsxEiiZ2O79cGYYM8yz1 btouefGMG8HdLQvdHSm2o+DCkapZvPRiFRLc6A+jQnzEq/4zHA5lPiNW6oFzRfbpG9mW x22jT1xlMnQf3POdHZnfT1Xsk59yXEoqEZDYhBBwcZVsklaS+7rCmn2jX7GVqsG5Epha goPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=JZ7rWtrnbgk7gvtqYjxxmM58R6ByNO8GiHP8nCdRM0w=; b=S6W2IxFPGpGNo89FJKoKz2A8h5q05eD4TIrN9WZBUiT8M6dwL+fFiJIugro5pyb7Jm oTDogZjjsJW5rEPqOGROBJHsqNfNlBPHru58UgxsXDlr6tDU6AxTWwq+76KbyqP4Zqmk E6I1pGQ81M3+Wj1hlMbext6kNOrz+7vzxfjGDzwoulV7Qop8NjHa+YG6OVFfyyJQT9P9 pVGLAeCiPVQP1EJKcSXwgDn17s3hd8K8CKspGpjx/2vbBiNCWQGYJfo8ARfIU4JWzS6x N+uwP1C5FPKCtu7KuOUUMTe5DGfUg15J66d/chOKO1utmOJIQ24k8//ZjCAMEzYjn8OD nO3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=AbL3XY4P; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id x4si7701013pgc.451.2017.07.14.18.58.07; Fri, 14 Jul 2017 18:58:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=AbL3XY4P; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 59D3E782DB; Sat, 15 Jul 2017 01:57:54 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f54.google.com (mail-pg0-f54.google.com [74.125.83.54]) by mail.openembedded.org (Postfix) with ESMTP id 7D4B5782B5 for ; Sat, 15 Jul 2017 01:55:53 +0000 (UTC) Received: by mail-pg0-f54.google.com with SMTP id 123so2668808pgd.3 for ; Fri, 14 Jul 2017 18:55:54 -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:in-reply-to:references; bh=xyk/O5wBNEECj5ODPlD/4HSjdfqiYn/cHqULFEma67w=; b=AbL3XY4P3fDL10jBi7zAVk8tG/MzmmbNBQA5xAYOXubTXJkoFukAaw1525XD2bLuot XcwQVBRRmQkE2IcMSmtfMc55ZXTJuYV6SJB/FlHT+EQ2l6gHfnD8gWvbQNOaeZX/O5LW 0KdVsAxiRNdFNDs5SyrOZ1N/3dd+TcVi6Bu7LMJSfF+BV+q/LD2ofRNksAthUNBTxQ7h P3fjxjhY8URtDYTY8td18fX31ihRh5+pZ+r2iSxM5FvnrmPxqRTmDSoUosyn9B1G8rPu aokhddL4q4oX8smnMNEzoZCdBdhRx4fAEkemp0eY0JbCjEyTpfrACc5FRl5FAR7asrND H1Tg== 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:in-reply-to :references; bh=xyk/O5wBNEECj5ODPlD/4HSjdfqiYn/cHqULFEma67w=; b=trKAvWZIYYBtmIAoco04iz/X1asKFLbQ4BpbH11EaHQxn0NKIBMpT3mrTbMa/shNnn sCB4r0uHYS92oGxNBcLp8KqPf99JZ7dOq4lpVsopSAdJ1fTUVggOEfm+w1f4P/dIHXD5 ZyPS+v5GsXwO3c18g8NXDJsXzIP/uRYqtKxcXod7lJWfRhnj1UHwUkrBbkdGMjp+pIMk C0bEgvyX9rItVqNqy3bWUtR6kYQk96npgzXo6TERY01ZzNUx4m/+V7K5PaBlBNf4zIO8 GE5FE3gCRx9vfrwWJeb/NShh+vq8ySlJZRBbVQmoUmx73TMS561tlDvdxXApeQK8WPxy g7fw== X-Gm-Message-State: AIVw110D3f4sLCCUqxbgEDbRIBpjMI8sR/hXuiCX/g74oxohTNCGw54E 4swbykvoROAznFE4 X-Received: by 10.84.241.135 with SMTP id b7mr18907721pll.107.1500083754180; Fri, 14 Jul 2017 18:55:54 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::7028]) by smtp.gmail.com with ESMTPSA id l4sm18189589pgr.21.2017.07.14.18.55.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Jul 2017 18:55:53 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 14 Jul 2017 18:55:38 -0700 Message-Id: <20170715015539.31584-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170715015539.31584-1-raj.khem@gmail.com> References: <20170715015539.31584-1-raj.khem@gmail.com> Subject: [oe] [meta-webserver][PATCH V2 5/6] monkey: Link in libexecinfo on musl X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Needed for backtrace() APIs Signed-off-by: Khem Raj --- ...-configure-Respect-LIBS-variable-from-env.patch | 29 ++++++++++++++++++++++ .../recipes-httpd/monkey/monkey_1.5.6.bb | 9 +++++++ 2 files changed, 38 insertions(+) create mode 100644 meta-webserver/recipes-httpd/monkey/files/0001-configure-Respect-LIBS-variable-from-env.patch -- 2.13.3 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-webserver/recipes-httpd/monkey/files/0001-configure-Respect-LIBS-variable-from-env.patch b/meta-webserver/recipes-httpd/monkey/files/0001-configure-Respect-LIBS-variable-from-env.patch new file mode 100644 index 000000000..7a229513b --- /dev/null +++ b/meta-webserver/recipes-httpd/monkey/files/0001-configure-Respect-LIBS-variable-from-env.patch @@ -0,0 +1,29 @@ +From b0526a9b5325bd4758dad8d14efd85c98ef2ebff Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 14 Jul 2017 18:25:23 -0700 +Subject: [PATCH] configure: Respect LIBS variable from env + +For musl we need to pass -lexecinfo from env +this change accomodates that + +Signed-off-by: Khem Raj +--- + configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure b/configure +index 4286c34..f1c65db 100755 +--- a/configure ++++ b/configure +@@ -620,7 +620,7 @@ LIBDEFS = -DSHAREDLIB -fPIC \$(DEFS) + INCDIR = ./include + LDFLAGS = $LDFLAGS + DESTDIR = ../bin/monkey +-LIBS = -ldl $libs ++LIBS = -ldl $libs ${LIBS} + OBJ = monkey.o mk_method.o mk_mimetype.o mk_vhost.o mk_request.o \\ + mk_header.o mk_config.o mk_signals.o \\ + mk_user.o mk_utils.o mk_epoll.o mk_scheduler.o \\ +-- +2.13.3 + diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb b/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb index be8ed37b9..97dc2769a 100644 --- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb +++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb @@ -7,7 +7,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" SECTION = "net" +DEPENDS_append_libc-musl = " libexecinfo" + SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \ + file://0001-configure-Respect-LIBS-variable-from-env.patch \ file://monkey.service \ file://monkey.init" @@ -24,7 +27,13 @@ EXTRA_OECONF = "--plugdir=${libdir}/monkey/ \ --disable-plugins=mbedtls \ --debug \ --malloc-libc" + +do_configure_prepend_libc-musl() { + export LIBS="-lexecinfo" +} + DISABLE_STATIC = "" +CLEANBROKEN = "1" inherit autotools-brokensep pkgconfig update-rc.d systemd