Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: eu@felipetonello.com
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] valgrind: added perl dependency
Date: Fri, 7 Jun 2013 19:43:38 +0200	[thread overview]
Message-ID: <20130607174338.GJ22710@jama> (raw)
In-Reply-To: <20130607174252.GI22710@jama>

[-- Attachment #1: Type: text/plain, Size: 2325 bytes --]

On Fri, Jun 07, 2013 at 07:42:52PM +0200, Martin Jansa wrote:
> On Fri, Jun 07, 2013 at 10:35:02AM -0700, eu@felipetonello.com wrote:
> > From: "Felipe F. Tonello" <eu@felipetonello.com>
> > 
> > This is necessary since the valgrind package depends on /usr/bin/perl.
> > 
> > This patch will fix this error while installing into rootfs:
> > Computing transaction...error: Can't install valgrind-3.8.1-r8@armv7a_vfp_neon: no package provides /usr/bin/perl
> 
> This doesn't look as build-time dependency and before you add it to
> RDEPENDS_${PN} use grep to find which file in valgrind package is using
> /usr/bin/perl shebang
> 
> grep -R '#/usr/bin/perl' packages-split/valgrind

ups, missed ! but you probably got the ide

> 
> and if it's just some "extra" script not always needed for valgrind,
> then move it to extra package and add perl only to
> PN-this-extra-package.
> 
> Cheers,
> 
> > 
> > Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
> > ---
> >  meta/recipes-devtools/valgrind/valgrind_3.8.1.bb | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
> > index 3520d49..ae2c5a2 100644
> > --- a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
> > +++ b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
> > @@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \
> >                      file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215"
> >  
> >  X11DEPENDS = "virtual/libx11"
> > -DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
> > -PR = "r8"
> > +DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)} perl"
> > +PR = "r9"
> >  
> >  SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
> >  	   file://fix_issue_caused_by_ccache.patch \
> > -- 
> > 1.8.1.4
> > 
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2013-06-07 17:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-07 17:35 [PATCH] valgrind: added perl dependency eu
2013-06-07 17:42 ` Martin Jansa
2013-06-07 17:43   ` Martin Jansa [this message]
2013-06-07 17:47   ` Felipe Tonello
2013-06-07 17:51     ` Felipe Tonello
2013-06-07 18:37       ` Martin Jansa
2013-06-11  7:36         ` Khem Raj
2013-06-26 18:39           ` Felipe Tonello
2013-06-26 20:35             ` Saul Wold
2013-06-28 22:35             ` Khem Raj
2013-07-16 22:16 ` [PATCH v2] " eu
2013-07-16 22:54   ` Saul Wold
2013-07-16 23:09     ` Felipe Tonello

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130607174338.GJ22710@jama \
    --to=martin.jansa@gmail.com \
    --cc=eu@felipetonello.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox