Bug 7126 - Enhance QA checks to detect build host path usage
Summary: Enhance QA checks to detect build host path usage
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.8
Hardware: All Multiple
: Medium enhancement
Target Milestone: 1.8
Assignee: Alejandro Hernandez
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-01-08 11:16 UTC by Paul Eggleton
Modified: 2015-04-16 22:37 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2015-01-08 11:16:02 UTC
While working on the php recipe in meta-oe, I foind a couple of issues that our QA checks don't currently pick up:

1) Symlinks that point to a location under TMPDIR that is 99% certain to be broken on the target. (IIRC we do already have broken symlink detection, but the symlinks aren't broken at build time on the host.)

2) Shebangs (first line of a script starting with #!) that point to locations under TMPDIR. This may already be detected by file-rdeps, but we really ought to flag it up explicitly along with the offending file.

We should add or enhance the existing QA check code so that these issues are flagged.