Bug 11256 - HOSTTOOLS can link to directories
Summary: HOSTTOOLS can link to directories
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.3 M4
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-03-28 09:30 UTC by Ross Burton
Modified: 2017-03-31 14:39 UTC (History)
2 users (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 Ross Burton 2017-03-28 09:30:59 UTC
The example was $PATH contained /etc for some reason, and tmp/hosttools/python3 ended up being a symlink to /etc/python3/, which is a directory.

The hosttools population should verify that the target is an executable file (or symlink to).
Comment 1 Ross Burton 2017-03-30 13:35:15 UTC
Patches on the bitbake/oe-core lists.
Comment 2 Ross Burton 2017-03-31 14:39:47 UTC
Merged in oe-core 7f40c934c3aeb1d34f95f30b281e25a17c428fce.