From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Greylist: delayed 763 seconds by postgrey-1.34 at layers.openembedded.org; Thu, 28 Nov 2019 15:37:52 UTC Received: from mslow2.mail.gandi.net (mslow2.mail.gandi.net [217.70.178.242]) by mail.openembedded.org (Postfix) with ESMTP id 348687F8BB for ; Thu, 28 Nov 2019 15:37:51 +0000 (UTC) Received: from relay11.mail.gandi.net (unknown [217.70.178.231]) by mslow2.mail.gandi.net (Postfix) with ESMTP id 18C633AF4F6 for ; Thu, 28 Nov 2019 15:28:40 +0000 (UTC) Received: from nexussix.ar.arcelik (unknown [84.44.14.226]) (Authenticated sender: cengiz@kernel.wtf) by relay11.mail.gandi.net (Postfix) with ESMTPSA id DF2D9100015; Thu, 28 Nov 2019 15:28:37 +0000 (UTC) From: Cengiz Can To: openembedded-devel@lists.openembedded.org Date: Thu, 28 Nov 2019 18:28:24 +0300 Message-Id: <20191128152823.162778-1-cengiz@kernel.wtf> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Subject: [PATCH v2] recipes-support: gperftools: RDEPENDS for pprof 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: , X-List-Received-Date: Thu, 28 Nov 2019 15:37:52 -0000 Content-Transfer-Encoding: 8bit gperftools comes with pprof tool that usually needs to be run at target machine to aggregate CPUPROFILE data. However since we were not shipping objdump (binutils), Getopt::long and POSIX perl5 modules, it was failing. I've extended RDEPENDS_${PN} with those so that whenever someone installs gperftools, those dependencies are fulfilled as well. Signed-off-by: Cengiz Can --- meta-oe/recipes-support/gperftools/gperftools_2.7.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb index 731c83516..ee34acec2 100644 --- a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb +++ b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb @@ -35,5 +35,10 @@ PACKAGECONFIG[static] = "--enable-static,--disable-static," PACKAGE_BEFORE_PN += "libtcmalloc-minimal" FILES_libtcmalloc-minimal = "${libdir}/libtcmalloc_minimal*${SOLIBS} ${libdir}/libtcmalloc_minimal_debug*${SOLIBS}" + +# pprof tool requires Getopt::long and POSIX perl5 modules. +# Also runs `objdump` on each cpuprofile data file +RDEPENDS_${PN} += "binutils perl-module-getopt-long perl-module-posix" + RDEPENDS_${PN} += "libtcmalloc-minimal (= ${EXTENDPKGV})" -- 2.24.0