Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 9FE4177010 for ; Tue, 13 Oct 2015 02:56:02 +0000 (UTC) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id t9D2u2xs005408 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 12 Oct 2015 19:56:02 -0700 (PDT) Received: from pek-hostel-deb01.wrs.com (128.224.153.151) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.248.2; Mon, 12 Oct 2015 19:56:01 -0700 From: Chen Qi To: , Date: Tue, 13 Oct 2015 10:43:58 +0800 Message-ID: <1444704238-7057-4-git-send-email-Qi.Chen@windriver.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1444704238-7057-1-git-send-email-Qi.Chen@windriver.com> References: <1444704238-7057-1-git-send-email-Qi.Chen@windriver.com> MIME-Version: 1.0 Subject: [meta-oe][PATCH 4/4] rrdtool: fix multilib problem X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2015 02:56:02 -0000 Content-Type: text/plain When building rrdtool with multilib enabled, we would meet the following error. ERROR: QA Issue: rrdtool: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/python2.7 /usr/lib/python2.7/site-packages /usr/lib/python2.7/site-packages/rrdtool.so .... Fix this problem by using nonarch_libdir instead of libdir. Signed-off-by: Chen Qi --- meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb index 6331393..cc87d1a 100644 --- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb +++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb @@ -121,8 +121,8 @@ RDEPENDS_${PN}-perl = "perl perl-module-lib perl-module-getopt-long perl-module- DESCRIPTION_${PN}-python = \ "The ${PN}-python package includes RRDtool bindings for python." -FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" +FILES_${PN}-python = "${nonarch_libdir}/python${PYTHON_BASEVERSION}/site-packages/*" RDEPENDS_${PN}-python = "python" FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/RRDs/.debug \ - ${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug" + ${nonarch_libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug" -- 1.9.1