Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] valgrind: added perl dependency
@ 2013-06-07 17:35 eu
  2013-06-07 17:42 ` Martin Jansa
  2013-07-16 22:16 ` [PATCH v2] " eu
  0 siblings, 2 replies; 13+ messages in thread
From: eu @ 2013-06-07 17:35 UTC (permalink / raw)
  To: openembedded-core

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

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



^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: [PATCH] valgrind: added perl dependency
  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
  2013-06-07 17:47   ` Felipe Tonello
  2013-07-16 22:16 ` [PATCH v2] " eu
  1 sibling, 2 replies; 13+ messages in thread
From: Martin Jansa @ 2013-06-07 17:42 UTC (permalink / raw)
  To: eu; +Cc: openembedded-core

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

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

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

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] valgrind: added perl dependency
  2013-06-07 17:42 ` Martin Jansa
@ 2013-06-07 17:43   ` Martin Jansa
  2013-06-07 17:47   ` Felipe Tonello
  1 sibling, 0 replies; 13+ messages in thread
From: Martin Jansa @ 2013-06-07 17:43 UTC (permalink / raw)
  To: eu; +Cc: openembedded-core

[-- 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 --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] valgrind: added perl dependency
  2013-06-07 17:42 ` Martin Jansa
  2013-06-07 17:43   ` Martin Jansa
@ 2013-06-07 17:47   ` Felipe Tonello
  2013-06-07 17:51     ` Felipe Tonello
  1 sibling, 1 reply; 13+ messages in thread
From: Felipe Tonello @ 2013-06-07 17:47 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core

Hi Martin,

On Fri, Jun 7, 2013 at 10:42 AM, Martin Jansa <martin.jansa@gmail.com> 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

You are right, it's not a build time dependency, but this fix works anyway hehe.

>
> grep -R '#/usr/bin/perl' packages-split/valgrind
>
> 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.

Yes, this makes sense.

Thank you

Felipe


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] valgrind: added perl dependency
  2013-06-07 17:47   ` Felipe Tonello
@ 2013-06-07 17:51     ` Felipe Tonello
  2013-06-07 18:37       ` Martin Jansa
  0 siblings, 1 reply; 13+ messages in thread
From: Felipe Tonello @ 2013-06-07 17:51 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core

I got this:

valgrind/usr/bin/ms_print
1:#! /usr/bin/perl

valgrind/usr/bin/cg_diff
1:#! /usr/bin/perl

valgrind/usr/bin/cg_annotate
1:#! /usr/bin/perl

valgrind/usr/bin/callgrind_annotate
1:#! /usr/bin/perl -w

valgrind/usr/bin/callgrind_control
1:#! /usr/bin/perl -w

valgrind-doc/usr/share/doc/valgrind/html/manual-core.html
165:<code class="filename">/usr/bin/perl</code>, or whatever interpreter

valgrind-doc/usr/share/doc/valgrind/valgrind_manual.ps
55978:(/usr/bin/perl) 77.7083 Tj

Do you know if these "binaries" are part of the main package or can be
extra? I'm not that familiar with valgrind.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] valgrind: added perl dependency
  2013-06-07 17:51     ` Felipe Tonello
@ 2013-06-07 18:37       ` Martin Jansa
  2013-06-11  7:36         ` Khem Raj
  0 siblings, 1 reply; 13+ messages in thread
From: Martin Jansa @ 2013-06-07 18:37 UTC (permalink / raw)
  To: Felipe Tonello; +Cc: openembedded-core

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

On Fri, Jun 07, 2013 at 10:51:14AM -0700, Felipe Tonello wrote:
> I got this:
> 
> valgrind/usr/bin/ms_print
> 1:#! /usr/bin/perl
> 
> valgrind/usr/bin/cg_diff
> 1:#! /usr/bin/perl
> 
> valgrind/usr/bin/cg_annotate
> 1:#! /usr/bin/perl
> 
> valgrind/usr/bin/callgrind_annotate
> 1:#! /usr/bin/perl -w
> 
> valgrind/usr/bin/callgrind_control
> 1:#! /usr/bin/perl -w
> 
> valgrind-doc/usr/share/doc/valgrind/html/manual-core.html
> 165:<code class="filename">/usr/bin/perl</code>, or whatever interpreter
> 
> valgrind-doc/usr/share/doc/valgrind/valgrind_manual.ps
> 55978:(/usr/bin/perl) 77.7083 Tj
> 
> Do you know if these "binaries" are part of the main package or can be
> extra? I'm not that familiar with valgrind.

Neither am I, but from filenames I would guess they are not mandatory to
run valgrind binary, hopefully someone who is using valgrind daily will
respond soon...

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

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] valgrind: added perl dependency
  2013-06-07 18:37       ` Martin Jansa
@ 2013-06-11  7:36         ` Khem Raj
  2013-06-26 18:39           ` Felipe Tonello
  0 siblings, 1 reply; 13+ messages in thread
From: Khem Raj @ 2013-06-11  7:36 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Patches and discussions about the oe-core layer

On Fri, Jun 7, 2013 at 11:37 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Fri, Jun 07, 2013 at 10:51:14AM -0700, Felipe Tonello wrote:
>> I got this:
>>
>> valgrind/usr/bin/ms_print
>> 1:#! /usr/bin/perl
>>
>> valgrind/usr/bin/cg_diff
>> 1:#! /usr/bin/perl
>>
>> valgrind/usr/bin/cg_annotate
>> 1:#! /usr/bin/perl
>>
>> valgrind/usr/bin/callgrind_annotate
>> 1:#! /usr/bin/perl -w
>>
>> valgrind/usr/bin/callgrind_control
>> 1:#! /usr/bin/perl -w
>>
>> valgrind-doc/usr/share/doc/valgrind/html/manual-core.html
>> 165:<code class="filename">/usr/bin/perl</code>, or whatever interpreter
>>
>> valgrind-doc/usr/share/doc/valgrind/valgrind_manual.ps
>> 55978:(/usr/bin/perl) 77.7083 Tj
>>
>> Do you know if these "binaries" are part of the main package or can be
>> extra? I'm not that familiar with valgrind.
>
> Neither am I, but from filenames I would guess they are not mandatory to
> run valgrind binary, hopefully someone who is using valgrind daily will
> respond soon...
>


they are fine with valgrind package itself. although its a rdepend and
not depend


> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] valgrind: added perl dependency
  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
  0 siblings, 2 replies; 13+ messages in thread
From: Felipe Tonello @ 2013-06-26 18:39 UTC (permalink / raw)
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer

Should I send another patch?

On Tue, Jun 11, 2013 at 12:36 AM, Khem Raj <raj.khem@gmail.com> wrote:
> On Fri, Jun 7, 2013 at 11:37 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> On Fri, Jun 07, 2013 at 10:51:14AM -0700, Felipe Tonello wrote:
>>> I got this:
>>>
>>> valgrind/usr/bin/ms_print
>>> 1:#! /usr/bin/perl
>>>
>>> valgrind/usr/bin/cg_diff
>>> 1:#! /usr/bin/perl
>>>
>>> valgrind/usr/bin/cg_annotate
>>> 1:#! /usr/bin/perl
>>>
>>> valgrind/usr/bin/callgrind_annotate
>>> 1:#! /usr/bin/perl -w
>>>
>>> valgrind/usr/bin/callgrind_control
>>> 1:#! /usr/bin/perl -w
>>>
>>> valgrind-doc/usr/share/doc/valgrind/html/manual-core.html
>>> 165:<code class="filename">/usr/bin/perl</code>, or whatever interpreter
>>>
>>> valgrind-doc/usr/share/doc/valgrind/valgrind_manual.ps
>>> 55978:(/usr/bin/perl) 77.7083 Tj
>>>
>>> Do you know if these "binaries" are part of the main package or can be
>>> extra? I'm not that familiar with valgrind.
>>
>> Neither am I, but from filenames I would guess they are not mandatory to
>> run valgrind binary, hopefully someone who is using valgrind daily will
>> respond soon...
>>
>
>
> they are fine with valgrind package itself. although its a rdepend and
> not depend
>
>
>> --
>> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] valgrind: added perl dependency
  2013-06-26 18:39           ` Felipe Tonello
@ 2013-06-26 20:35             ` Saul Wold
  2013-06-28 22:35             ` Khem Raj
  1 sibling, 0 replies; 13+ messages in thread
From: Saul Wold @ 2013-06-26 20:35 UTC (permalink / raw)
  To: Felipe Tonello; +Cc: Patches and discussions about the oe-core layer

On 06/26/2013 11:39 AM, Felipe Tonello wrote:
> Should I send another patch?
>

I think that Khem pointed out it should be an RDEPENDS not DEPENDS and 
you can drop the PR bump.

Sau!

> On Tue, Jun 11, 2013 at 12:36 AM, Khem Raj <raj.khem@gmail.com> wrote:
>> On Fri, Jun 7, 2013 at 11:37 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>>> On Fri, Jun 07, 2013 at 10:51:14AM -0700, Felipe Tonello wrote:
>>>> I got this:
>>>>
>>>> valgrind/usr/bin/ms_print
>>>> 1:#! /usr/bin/perl
>>>>
>>>> valgrind/usr/bin/cg_diff
>>>> 1:#! /usr/bin/perl
>>>>
>>>> valgrind/usr/bin/cg_annotate
>>>> 1:#! /usr/bin/perl
>>>>
>>>> valgrind/usr/bin/callgrind_annotate
>>>> 1:#! /usr/bin/perl -w
>>>>
>>>> valgrind/usr/bin/callgrind_control
>>>> 1:#! /usr/bin/perl -w
>>>>
>>>> valgrind-doc/usr/share/doc/valgrind/html/manual-core.html
>>>> 165:<code class="filename">/usr/bin/perl</code>, or whatever interpreter
>>>>
>>>> valgrind-doc/usr/share/doc/valgrind/valgrind_manual.ps
>>>> 55978:(/usr/bin/perl) 77.7083 Tj
>>>>
>>>> Do you know if these "binaries" are part of the main package or can be
>>>> extra? I'm not that familiar with valgrind.
>>>
>>> Neither am I, but from filenames I would guess they are not mandatory to
>>> run valgrind binary, hopefully someone who is using valgrind daily will
>>> respond soon...
>>>
>>
>>
>> they are fine with valgrind package itself. although its a rdepend and
>> not depend
>>
>>
>>> --
>>> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
>>>
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] valgrind: added perl dependency
  2013-06-26 18:39           ` Felipe Tonello
  2013-06-26 20:35             ` Saul Wold
@ 2013-06-28 22:35             ` Khem Raj
  1 sibling, 0 replies; 13+ messages in thread
From: Khem Raj @ 2013-06-28 22:35 UTC (permalink / raw)
  To: Felipe Tonello; +Cc: Patches and discussions about the oe-core layer


On Jun 26, 2013, at 11:39 AM, Felipe Tonello <eu@felipetonello.com> wrote:

> Should I send another patch?


Please do.

> 
> On Tue, Jun 11, 2013 at 12:36 AM, Khem Raj <raj.khem@gmail.com> wrote:
>> On Fri, Jun 7, 2013 at 11:37 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>>> On Fri, Jun 07, 2013 at 10:51:14AM -0700, Felipe Tonello wrote:
>>>> I got this:
>>>> 
>>>> valgrind/usr/bin/ms_print
>>>> 1:#! /usr/bin/perl
>>>> 
>>>> valgrind/usr/bin/cg_diff
>>>> 1:#! /usr/bin/perl
>>>> 
>>>> valgrind/usr/bin/cg_annotate
>>>> 1:#! /usr/bin/perl
>>>> 
>>>> valgrind/usr/bin/callgrind_annotate
>>>> 1:#! /usr/bin/perl -w
>>>> 
>>>> valgrind/usr/bin/callgrind_control
>>>> 1:#! /usr/bin/perl -w
>>>> 
>>>> valgrind-doc/usr/share/doc/valgrind/html/manual-core.html
>>>> 165:<code class="filename">/usr/bin/perl</code>, or whatever interpreter
>>>> 
>>>> valgrind-doc/usr/share/doc/valgrind/valgrind_manual.ps
>>>> 55978:(/usr/bin/perl) 77.7083 Tj
>>>> 
>>>> Do you know if these "binaries" are part of the main package or can be
>>>> extra? I'm not that familiar with valgrind.
>>> 
>>> Neither am I, but from filenames I would guess they are not mandatory to
>>> run valgrind binary, hopefully someone who is using valgrind daily will
>>> respond soon...
>>> 
>> 
>> 
>> they are fine with valgrind package itself. although its a rdepend and
>> not depend
>> 
>> 
>>> --
>>> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
>>> 
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>> 



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH v2] valgrind: added perl dependency
  2013-06-07 17:35 [PATCH] valgrind: added perl dependency eu
  2013-06-07 17:42 ` Martin Jansa
@ 2013-07-16 22:16 ` eu
  2013-07-16 22:54   ` Saul Wold
  1 sibling, 1 reply; 13+ messages in thread
From: eu @ 2013-07-16 22:16 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
---
 meta/recipes-devtools/valgrind/valgrind_3.8.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
index 3520d49..4ee1b64 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \
 
 X11DEPENDS = "virtual/libx11"
 DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
-PR = "r8"
+PR = "r9"
 
 SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
 	   file://fix_issue_caused_by_ccache.patch \
@@ -37,6 +37,8 @@ do_install_append () {
     install -m 644 ${B}/default.supp ${D}/${libdir}/valgrind/
 }
 
+RDEPENDS_${PN} += "perl"
+
 FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*"
 RRECOMMENDS_${PN}_powerpc += "${TCLIBC}-dbg"
 RRECOMMENDS_${PN}_powerpc64 += "${TCLIBC}-dbg"
-- 
1.8.1.4



^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: [PATCH v2] valgrind: added perl dependency
  2013-07-16 22:16 ` [PATCH v2] " eu
@ 2013-07-16 22:54   ` Saul Wold
  2013-07-16 23:09     ` Felipe Tonello
  0 siblings, 1 reply; 13+ messages in thread
From: Saul Wold @ 2013-07-16 22:54 UTC (permalink / raw)
  To: eu; +Cc: openembedded-core

On 07/16/2013 03:16 PM, 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
>
> Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
> ---
>   meta/recipes-devtools/valgrind/valgrind_3.8.1.bb | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
> index 3520d49..4ee1b64 100644
> --- a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
> +++ b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
> @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \
>
>   X11DEPENDS = "virtual/libx11"
>   DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
> -PR = "r8"
> +PR = "r9"
>
PR Bump is not needed, mentioned this in past reviews.

Sau!
>   SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
>   	   file://fix_issue_caused_by_ccache.patch \
> @@ -37,6 +37,8 @@ do_install_append () {
>       install -m 644 ${B}/default.supp ${D}/${libdir}/valgrind/
>   }
>
> +RDEPENDS_${PN} += "perl"
> +
>   FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*"
>   RRECOMMENDS_${PN}_powerpc += "${TCLIBC}-dbg"
>   RRECOMMENDS_${PN}_powerpc64 += "${TCLIBC}-dbg"
>


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH v2] valgrind: added perl dependency
  2013-07-16 22:54   ` Saul Wold
@ 2013-07-16 23:09     ` Felipe Tonello
  0 siblings, 0 replies; 13+ messages in thread
From: Felipe Tonello @ 2013-07-16 23:09 UTC (permalink / raw)
  To: Saul Wold; +Cc: Patches and discussions about the oe-core layer

Hum, I didn't noticed. Sorry.

I will send another patch.

On Tue, Jul 16, 2013 at 3:54 PM, Saul Wold <sgw@linux.intel.com> wrote:
> On 07/16/2013 03:16 PM, 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
>>
>> Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
>> ---
>>   meta/recipes-devtools/valgrind/valgrind_3.8.1.bb | 4 +++-
>>   1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
>> b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
>> index 3520d49..4ee1b64 100644
>> --- a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
>> +++ b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
>> @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM =
>> "file://COPYING;md5=c46082167a314d785d012a244748d803 \
>>
>>   X11DEPENDS = "virtual/libx11"
>>   DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}',
>> '', d)}"
>> -PR = "r8"
>> +PR = "r9"
>>
> PR Bump is not needed, mentioned this in past reviews.
>
> Sau!
>
>>   SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
>>            file://fix_issue_caused_by_ccache.patch \
>> @@ -37,6 +37,8 @@ do_install_append () {
>>       install -m 644 ${B}/default.supp ${D}/${libdir}/valgrind/
>>   }
>>
>> +RDEPENDS_${PN} += "perl"
>> +
>>   FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*"
>>   RRECOMMENDS_${PN}_powerpc += "${TCLIBC}-dbg"
>>   RRECOMMENDS_${PN}_powerpc64 += "${TCLIBC}-dbg"
>>
>


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-07-16 23:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox