| Summary: | ESDK can contain path to build sysroot as SDK sysroot | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Ross Burton <ross.burton> |
| Component: | devtools / tool chain | Assignee: | Paul Eggleton <bluelightning> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | meta.mr.watcher, meta.watcher, sgw |
| Version: | 2.2 | ||
| Target Milestone: | 2.3 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Ross Burton
2016-12-13 00:09:50 UTC
Confirmed that building from clean with default TMPDIR fixes the problem. There's a nativesdk package somewhere that embeds the TMPDIR path in, and if this TMPDIR isn't under the build directory then the path logic explodes. The recipe that includes this path is meta/recipes-core/meta/meta-environment-extsdk.bb. There's also a reference in meta/classes/populate_sdk_ext.bbclass (see the line setting the binrelpath variable).
The approach we've taken up to this point is to allow the default through for TMPDIR, but given that people point that to other locations that doesn't really work. We can probably fix it just by forcing TMPDIR to a known value (e.g. "${TOPDIR}/tmp" and assuming that value in meta-environment-extsdk.bb instead. We'll need to double-check that doesn't break OE-Core standalone use since that has a different default TMPDIR (though it shouldn't cause an issue there).
|