From patchwork Sun Dec 15 05:09:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 181618 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp2770755ile; Sat, 14 Dec 2019 21:10:46 -0800 (PST) X-Google-Smtp-Source: APXvYqxt2JtJSeFzpdNsWAwiiG7qK5ZiYI/bs5EHVkmpxMhNPhVmf26UTt5q2D8l0h8IOYa6Pixu X-Received: by 2002:a63:fd0a:: with SMTP id d10mr9713099pgh.197.1576386646622; Sat, 14 Dec 2019 21:10:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576386646; cv=none; d=google.com; s=arc-20160816; b=tmx66DYr1dfdYfVA8JjgO1FOo5h9LNzVOa1JL2vuPVd2PwUWqbPJFCEbSlY90OT5L3 fIgZRzkGoKlXkeLeeB747EeAg92fGQwe6ciX/XMz2HJHvjy/kogRlf69pd5zlS/1THqj V0ZTjByUJIxjtA2SUTjl6o5xL9Gl5jERsYXYJ0SEQ4tfTYVyp+aEfG+0agBQFeDww5Km i80pk8NTJjKddi02KBDhkM8SUpSznjk0bJlkHlHkJ1qWNgnfojrpdrysdsBEGjOm8ZKj 8DqX7m5DVOpsNusPwa2vtoC4S3XPfKThX5r4buWVmD5W0vPwgA+UNVqg6Np0GHZJuMXy B6+g== 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=aN9zICFvaRq3AQ6wgrO/Dael4m6dw4cTxsnYjSvZQ3M=; b=f0axX4buWJH+xyB6QF4sM7SgZ0ewcKTXzTYh5YIjhtxLiEDbCAwLAr1R3ru6USbDqj 8yV0LWWCIzyAW8ls8YcPBQHmQqxBvqvaHNXFxrXKQCqwikW1z3hhKOiAqDVdTcXdds89 Q8pDsuxbAioRHYqx1O2vaMNxtVwl6lxPr2xW06Q3hgvZiL69fcyZkWimU9kMXcYnVAsj UnDrWkbLXZEPARZqmspCXCylRNpar0Zf8KSQHxDazqntXGb2N3fBIZWSncuQp0Tww5pr ZPluxz6B8K/rrSGdyMnaMQBAC/fObEby/WuEL/qSJj9z5V0ORazWvpO4X4oLTtcjTKi5 +XBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=nkGIzpnY; 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 b5si14002780pgw.509.2019.12.14.21.10.46; Sat, 14 Dec 2019 21:10:46 -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=nkGIzpnY; 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 5A4647F639; Sun, 15 Dec 2019 05:10:43 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mail.openembedded.org (Postfix) with ESMTP id 084EE7D71A for ; Sun, 15 Dec 2019 05:09:47 +0000 (UTC) Received: by mail-pg1-f179.google.com with SMTP id s64so1711473pgb.9 for ; Sat, 14 Dec 2019 21:09:49 -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=5cGLTrifvtkGahYF5X/p4TJtsCiU8f48cJwPuMAJg7c=; b=nkGIzpnY27pGvB4vJKfPq+LHzUxTf2bTm/GFKYGi6ofQg9SDb9kqUPEjhlJHzj6Q+h YX+wHc2CzW5gTtu893+aOT3eOjmSIMc4+JioPcg2boPWZyGkN5agS81mIA4h+U2ROhyP MlvquwH86sj5yuhRZX4/KZJ680sVytM1n2J2htRz1TxIA/S4XY74h5MDpe36y3NMCqtO l6vsON8HUtIrdStsXA8zJtPXQuk1v9nmsMcPmAN7ebPWzYaghSkI00fgUbNTUEIYAHlV 3qgcosL76BO6FEN/v1PqytgwGJXr3vTFgBcei4DCzcEOMszQ5P/IGvuR9AdcaxV8KbHt VPwg== 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=5cGLTrifvtkGahYF5X/p4TJtsCiU8f48cJwPuMAJg7c=; b=JROmlTSf0zM1lEwP+PUsiQwnIq300t2rR12tc/56qkkrkOkHVR13K+IcErkAAOSXlO M7pUx4AZWjK9MCwbzaRd/MBURj8HnZyevbKJ6nimFwSidd4JqR4XCohtlc7MUtrN7+Z1 1Z+WYGclEGrJQBQYJ8ZBLI6inQlytcpo/M+TmGa0VONSWAPGa/dvfkELLnH5ZMIQycTl 2vZcnZ5odhYoEGDZgqJTS0VYlEPsDbdgxrC0wJmuGP419NuW/nj9tSEtvJKzpM4pME8O vUR7DpcG+qJ14TjtlAQz5Ucg+9jAVweKCi9qrMCMyrXiT6Q2RK2ZdA3asR0yq9ZLT4RX ZDdw== X-Gm-Message-State: APjAAAVzX/mvo5vn+xdLrLQxsuKll8zzU+y4VeKyzJlVPNpx2fSBtJYk 9Fp+Ljieru/SdadJZ5w8BE4bmXG+G9g= X-Received: by 2002:a63:5d03:: with SMTP id r3mr10158870pgb.306.1576386588713; Sat, 14 Dec 2019 21:09:48 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::6563]) by smtp.gmail.com with ESMTPSA id c8sm16835575pfj.106.2019.12.14.21.09.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Dec 2019 21:09:48 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 14 Dec 2019 21:09:36 -0800 Message-Id: <20191215050936.25027-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191215050936.25027-1-raj.khem@gmail.com> References: <20191215050936.25027-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-networking][PATCH 2/2] grpc: Define libdir and cmakedir in terms of multilib 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 This helps in avoiding packaging errors seen with distros enabling multilib Fixes ERROR: grpc-1.24.3-r0 do_package: QA Issue: grpc: Files/directories were installed but not shipped in any package: /usr/lib/libgrpc++.so.1.24.3 ... /usr/lib/cmake /usr/lib/cmake/grpc /usr/lib/cmake/grpc/gRPCConfigVersion.cmake /usr/lib/cmake/grpc/gRPCConfig.cmake /usr/lib/cmake/grpc/gRPCTargets-noconfig.cmake /usr/lib/cmake/grpc/gRPCTargets.cmake Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or de lete them within do_install. Signed-off-by: Khem Raj --- meta-networking/recipes-devtools/grpc/grpc_1.24.3.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.24.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-devtools/grpc/grpc_1.24.3.bb b/meta-networking/recipes-devtools/grpc/grpc_1.24.3.bb index 24072c0832..3cde6f79cc 100644 --- a/meta-networking/recipes-devtools/grpc/grpc_1.24.3.bb +++ b/meta-networking/recipes-devtools/grpc/grpc_1.24.3.bb @@ -36,6 +36,8 @@ EXTRA_OECMAKE = " \ -DgRPC_INSTALL=ON \ -DCMAKE_CROSSCOMPILING=ON \ -DBUILD_SHARED_LIBS=ON \ + -DgRPC_INSTALL_LIBDIR=${baselib} \ + -DgRPC_INSTALL_CMAKEDIR=${baselib}/cmake/${BPN} \ " do_configure_prepend_mipsarch() { @@ -48,6 +50,6 @@ do_configure_prepend_toolchain-clang_x86() { BBCLASSEXTEND = "native nativesdk" -SYSROOT_DIRS_BLACKLIST_append_class-target = "${libdir}/cmake/grpc" +SYSROOT_DIRS_BLACKLIST_append_class-target = "${baselib}/cmake/grpc" FILES_${PN}-dev += "${bindir}"