| Summary: |
Setting TMPDIR breaks ESDK generation |
| Product: |
[Yocto Project Subprojects] eSDK
|
Reporter: |
Richard Purdie <richard.purdie> |
| Component: |
eSDK | Assignee: |
Paul Eggleton <bluelightning> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
Francisco Pedraza <francisco.j.pedraza.gonzalez> |
| Severity: |
normal
|
|
|
| Priority: |
Medium+
|
|
|
| Version: |
unspecified | |
|
| Target Milestone: |
2.2 M4 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
If I set: DISTRO = "poky-lsb" TMPDIR = "${TOPDIR}/tmp-lsb" then I: bitbake core-image-minimal -c populate_sdk_ext bitbake core-image-minimal -c testsdkext I see the error: ERROR: core-image-minimal-1.0-r0 do_testsdkext: Couldn't install the extensible SDK: Poky (Yocto Project Reference Distro) Extensible SDK installer version 2.1+snapshot =================================================================================== You are about to install the SDK to "/media/build1/poky/build/tmp-lsb/work/qemumips-poky-linux/core-image-minimal/1.0-r0/testsdkext/tc". Proceed[Y/n]? Y Extracting SDK............................................................................................done Setting it up... Extracting buildtools... Preparing build system... ERROR: SDK preparation failed: error log written to /media/build1/poky/build/tmp-lsb/work/qemumips-poky-linux/core-image-minimal/1.0-r0/testsdkext/tc/preparing_build_system.log Contents of preparing_build_system.log: ### Shell environment set up for builds. ### You can now run 'bitbake <target>' Common targets are: core-image-minimal core-image-sato meta-toolchain meta-ide-support You can also run generated qemu images with a command like 'runqemu qemux86' Preparing SDK for core-image-minimal, meta-extsdk-toolchain:do_populate_sysroot... ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). Following is the list of potential problems / advisories: Error, TMPDIR has changed location. You need to either move it back to /media/build1/poky/build/tmp-lsb/work/qemumips-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image/tmp-renamed-sdk/tmp or rebuild ERROR: core-image-minimal-1.0-r0 do_testsdkext: Function failed: do_testsdkext ERROR: Logfile of failure stored in: /media/build1/poky/build/tmp-lsb/work/qemumips-poky-linux/core-image-minimal/1.0-r0/temp/log.do_testsdkext.41071 ERROR: Task (/media/build1/poky/meta/recipes-core/images/core-image-minimal.bb:do_testsdkext) failed with exit code '1' which seems to be because there is a tmp/ directory left in the SDK which isn't otherwise there. I suspect the TMPDIR setting interferes with the SDK generation somehow.