[OE-core] [PATCH] valgrind: added perl dependency

Felipe Tonello eu at felipetonello.com
Fri Jun 7 17:47:30 UTC 2013


Hi Martin,

On Fri, Jun 7, 2013 at 10:42 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> On Fri, Jun 07, 2013 at 10:35:02AM -0700, eu at felipetonello.com wrote:
>> From: "Felipe F. Tonello" <eu at 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 at 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



More information about the Openembedded-core mailing list