Bug 11988 - devtool modify misses tools in a clean build tree
Summary: devtool modify misses tools in a clean build tree
Status: RESOLVED DUPLICATE of bug 11198
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-08-28 10:33 UTC by Ola Nilsson
Modified: 2017-08-28 20:19 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ola Nilsson 2017-08-28 10:33:13 UTC
It seems some tools needed by devtool are not available in a fresh tree, and are not built automatically by devtool.

"devtool modify mdadm" fails in a clean build folder.
The problem is that xz is not on the path.

Running 'bitbake xz-native' makes xz available and 'devtool modify mdadm' succeeds.

I'm guessing other packages have other prerequisites that may be missing depending on the fetcher and any downloaded file types. 

Should devtool auto-build the fetcher dependencies, or ask the user to do so?

Building up until the unpack task of the target recipe should work for getting any prerequisites built.
Comment 1 Ola Nilsson 2017-08-28 10:34:30 UTC
This was on poky master, don't know if it is a problem on pyro or earlier.
Comment 2 Paul Eggleton 2017-08-28 20:19:09 UTC
This is a known bug unfortunately - I'm still trying to figure out how to rework the code so that this can be fixed.

*** This bug has been marked as a duplicate of bug 11198 ***