From patchwork Sat Dec 21 00:06:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182330 Delivered-To: patch@linaro.org Received: by 2002:a92:1f98:0:0:0:0:0 with SMTP id f24csp1202644ilf; Fri, 20 Dec 2019 16:08:29 -0800 (PST) X-Google-Smtp-Source: APXvYqxDCtMF8lr6KyuXXKN6Y4JUuJPxHneu85idpXPbrNPKoeX9qT4326FX8pHIgs6hppGq/uVN X-Received: by 2002:a63:3756:: with SMTP id g22mr17599569pgn.375.1576886909479; Fri, 20 Dec 2019 16:08:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576886909; cv=none; d=google.com; s=arc-20160816; b=RGpAwTp4yYWzYKj4O+nvtEBjI62CmvUfto1Zfxm5ad8TK/84QBMCPlP/C2NvxiRuIS ZGMY7mKfrPbQ0pOPFu38OZ9fZRtKHw/QDIw+0jrkSN5iL8kvGHjgSi/pU1fbLdKbr9Jv P5CWauQ2Xhx/mRREZSYftzcgehOb/e9RPNi/5BDwNozl3JgYmPT0Z+lKSc914uoaTD/2 LCfqQheDwVBlf02qyAqTcDtcd4jsnkaBt1I5knAm1H8wVUfImtC3REuqAy34Ofkth62z f8HQLEfeZDqiIZ04EmvlD8WS/x9rKhIC0c0pTAX0nCB3ipFWpUa7oohZBpbyqhGWrUUv ek9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=qZRYhxlov3va7EA4tFZUNOS+M0nfG2QUNauMYPcbVKc=; b=rCm0yfoKrxfKg2VBCSiSoAGNl44SfESEYMR84ilqMk+Kfgmv+LX9Jjs+TJawWfTqmV Om/3/iiUNgHw/dNFJNVbxbeRbGjchwLqPe0bFFCnNdtcbUCJwa8mNAV4eDpxFUpB7/2t midCA/Oor6MGFTvGD6FixQ86hsxYzSQAn9bve+nRp8rDfABaQSmO+omQhPkXdOG82mf6 c9T4/1bwMPJ0Kcr1NyxAiXCEbjZn8/8/Baf87xQnh4BigPg4fkY2pJbpmYFlr0uO5AId iK63RMvwIFzJ9q+4HLJ33Sqi+osai3nyb7KFQHxu+eQ915snxhvIppaD1zt6wrkfMsqf fGqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Mr4d70U5; 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=QUARANTINE 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 v20si9873768pjn.100.2019.12.20.16.08.28; Fri, 20 Dec 2019 16:08:28 -0800 (PST) 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.s=20161025 header.b=Mr4d70U5; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 03CB87FD52; Sat, 21 Dec 2019 00:07:47 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mail.openembedded.org (Postfix) with ESMTP id E1CA87FC8B for ; Sat, 21 Dec 2019 00:06:50 +0000 (UTC) Received: by mail-pg1-f177.google.com with SMTP id x7so5719291pgl.11 for ; Fri, 20 Dec 2019 16:06:52 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=KAqVCxDKuwg4IUy8waKscnKvU9/bHAUhb13f/lwH8AQ=; b=Mr4d70U5++ZqG6lDFVabPXLDEsYljSOn2l3j4aAGkjt01t7hq9gTjKdca/saMGMx7E L9c9ZvQqe5MX6fv1Ke/ebqCtXaU5w3nJYyPbzWX5xTSIcja11USI6WKBzUoVuQdNPhVz Q+peSXOy+TCRzf/bRyFXb8wnpBuaW7/ZdFSso6SLeI8XJzBsMFrr2D4FITGhdh3kh1I4 69H9EGoRG8Eeqb0OddVXAsELpJevu0GG+Qvx+Rj+bYRRn3yf9TS1nANcRd+Jkv6rBVn2 e9pMpATNj6togM4SQWT/t8tBfCAc2E8K1PaJtTyaucVfer+JmfTJSfLvhJdEM+d1ikjX R4ug== 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:mime-version:content-transfer-encoding; bh=KAqVCxDKuwg4IUy8waKscnKvU9/bHAUhb13f/lwH8AQ=; b=pmIgy8XFojhy2K79+j1A23+tmNhdLJXTIq1xylZEwIbAt2WCgdo78u4USUw6Gi5DEj BYeZ974ahAIlXKGazQbYSTN7NuTUlW/ofwx6befRvWyqy/OEnvIpS9yOIN2Su1F0aAt6 qWYL2GxeQgqPsUG/oBuE3NAWX2rmL9j3fE/7DPhZAFFLQrYVDGO+KflfP346QRcP9dvL CWY6ZGN4mjpFQyD5ieW9SIE1FkzpmmTOpX4CsB6TD/T/3dNcHb1FijGtEf/auANG6+MD 8bHMmtsoykfVoz+VGO7Dt0TnGQOTP4w9bKmCzPRJJNvThCe6CTMkJ+UK3Z+AluzH+wcX z8Vw== X-Gm-Message-State: APjAAAWOx6dmoYSozF/p5VZ5O12DlCSYZR+T3+XznKpy6my2KO3d7vyZ NwZCkoBfOHDn8ZgCrrX5aE8Fniqy59U= X-Received: by 2002:a63:4c4f:: with SMTP id m15mr17635306pgl.346.1576886811575; Fri, 20 Dec 2019 16:06:51 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::36e9]) by smtp.gmail.com with ESMTPSA id d4sm11701624pjz.12.2019.12.20.16.06.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2019 16:06:51 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 20 Dec 2019 16:06:20 -0800 Message-Id: <20191221000635.1573390-8-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191221000635.1573390-1-raj.khem@gmail.com> References: <20191221000635.1573390-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 08/23] fluentbit: Fix packaging in multilib env 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Fixes ERROR: fluentbit-0.12.19-r0 do_package: QA Issue: fluentbit: Files/directories were installed but not shipped in any package: /usr/lib/libfluent-bit.so Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. Signed-off-by: Khem Raj --- .../fluentbit/fluentbit/cmake_multilib.patch | 18 ++++++++++++++++++ .../fluentbit/fluentbit_0.12.19.bb | 1 + 2 files changed, 19 insertions(+) create mode 100644 meta-oe/recipes-extended/fluentbit/fluentbit/cmake_multilib.patch -- 2.24.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/cmake_multilib.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/cmake_multilib.patch new file mode 100644 index 0000000000..8fe9f3e703 --- /dev/null +++ b/meta-oe/recipes-extended/fluentbit/fluentbit/cmake_multilib.patch @@ -0,0 +1,18 @@ +Use CMAKE_INSTALL_LIBDIR instead of hardcoding lib path + +Helps build on platforms where libpaths are not lib/ but say lib64/ + +Upstream-Status: Pending +Signed-off-by: Khem Raj + +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -182,7 +182,7 @@ if(NOT FLB_WITHOUT_SHARED_LIB) + PROPERTIES OUTPUT_NAME fluent-bit) + + # Library install routines +- install(TARGETS fluent-bit-shared LIBRARY DESTINATION lib) ++ install(TARGETS fluent-bit-shared LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) + endif() + + # Static Library diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_0.12.19.bb b/meta-oe/recipes-extended/fluentbit/fluentbit_0.12.19.bb index e50aa71a9f..27b910b8be 100644 --- a/meta-oe/recipes-extended/fluentbit/fluentbit_0.12.19.bb +++ b/meta-oe/recipes-extended/fluentbit/fluentbit_0.12.19.bb @@ -4,6 +4,7 @@ BUGTRACKER = "https://github.com/fluent/fluent-bit/issues" SRC_URI = "http://fluentbit.io/releases/0.12/fluent-bit-${PV}.tar.gz \ file://jemalloc.patch \ + file://cmake_multilib.patch \ " SRC_URI[md5sum] = "7c8708312ac9122faacf9e2a4751eb34" SRC_URI[sha256sum] = "23a81087edf0e2c6f2d49411c6a82308afc5224f67bbaa45729c057af62e9241"