[OE-core] [PATCH] lttng-tools: use perl-misc, perl-modules in ptest deps

Otavio Salvador otavio at ossystems.com.br
Mon Feb 9 12:50:21 UTC 2015


On Mon, Feb 9, 2015 at 10:43 AM, Nathan Lynch <Nathan_Lynch at mentor.com> wrote:
> On 02/07/2015 03:48 PM, Otavio Salvador wrote:
>> On Fri, Feb 6, 2015 at 8:56 PM, Nathan Lynch <nathan_lynch at mentor.com> wrote:
>>> The testcases for lttng-tools use the "prove" command from perl-misc,
>>> which needs many modules not in the base perl package.
>>>
>>> Signed-off-by: Nathan Lynch <nathan_lynch at mentor.com>
>>
>> Wouldn't be better to specify the modules needed for the prove
>> command? This avoids unneeded packages to be installed.
>
> I had thought so too (sort of -- why doesn't perl-misc depend on the
> necessary module packages?), but I encountered runtime errors such
> as this (using perl-module-app-prove instead of perl-modules):
...

Your patch seems very close to what I would expect. I think the
granular dependency fix is the way to go otherwise we start to grow
the rootfs size and it will be a very difficult thing to fix in long
term. We should avoid this at any cost or we end build a bloated
system... not what we are looking for.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list