Bug 6203 - perl ptest installed in images without ptest-pkgs in IMAGE_FEATURES
Summary: perl ptest installed in images without ptest-pkgs in IMAGE_FEATURES
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.6
Hardware: All Multiple
: Medium normal
Target Milestone: 1.7
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-04-22 13:34 UTC by Gabriel Barbu
Modified: 2014-06-11 21:39 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
buildhistory info for perl-ptest module (183 bytes, application/octet-stream)
2014-05-22 13:23 UTC, Vaduva Alexandru
no flags Details
depends.dot file (231.56 KB, application/msword)
2014-05-22 13:23 UTC, Vaduva Alexandru
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Barbu 2014-04-22 13:34:51 UTC
Adding a package that depends on perl (i.e. perf) to an image that does not have ptest-pkgs as IMAGE_FEATURES (like core-image-sato) results in the perl ptest being installed:
cd tmp/work/p2020rdb-poky-linux-gnuspe/core-image-sato/1.0-r0/rootfs/usr/lib
find -path "*/ptest"
./dbus-ptest/ptest
./perl/ptest
Comment 1 Paul Eggleton 2014-04-22 14:19:21 UTC
Duplicate of bug 5702.

*** This bug has been marked as a duplicate of bug 5702 ***
Comment 2 Vaduva Alexandru 2014-05-15 11:28:16 UTC
(In reply to comment #1)
> Duplicate of bug 5702.
> 
> *** This bug has been marked as a duplicate of bug 5702 ***

My opinion is that this bug is not a duplicate of the dbus one.
The bug is related to different recipes.
The dbus fix is already upstream thanks to Chong Lu,
but the perl is another this, so a different recipe.
I will try to investigate this and offer a fix.
Comment 3 Vaduva Alexandru 2014-05-15 11:31:39 UTC
(In reply to comment #1)
> Duplicate of bug 5702.
> 
> *** This bug has been marked as a duplicate of bug 5702 ***

My opinion is that this bug is not a duplicate of the dbus one.
The bug is related to different recipes.
The dbus fix is already upstream thanks to Chong Lu,
but the perl is another this, so a different recipe.
I will try to investigate this and offer a fix.
Comment 4 Vaduva Alexandru 2014-05-20 14:21:54 UTC
Hello guys I am kind of in a dilemma with this bug.
If any of you has an idea why the ptest directory 
for perl package ends up residing into the rootfs 
I would appreciate the support.
Comment 5 Vaduva Alexandru 2014-05-20 14:47:29 UTC
I believe that all I need to do is disabled the tests on install when ptest is disabled, but I do not know the proper way to do this.
Comment 6 Vaduva Alexandru 2014-05-22 13:23:11 UTC
Created attachment 1971 [details]
buildhistory info for perl-ptest module

The info is available from the depends.dot file
Comment 7 Vaduva Alexandru 2014-05-22 13:23:35 UTC
Created attachment 1972 [details]
depends.dot file
Comment 8 Ross Burton 2014-05-22 14:30:34 UTC
perl-modules sneakily gained a dependency on perl-ptest.  Patch submitted.
Comment 9 Ross Burton 2014-06-11 21:39:13 UTC
Fixed in oe-core 94e164c5b5316e2797c5bab51d127935002c6008