Bug 2167 - HOB creates new tmp-eglibc-eglibc TMPDIR
Summary: HOB creates new tmp-eglibc-eglibc TMPDIR
Status: RESOLVED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Shane Wang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-03-23 14:42 UTC by Eric Bénard
Modified: 2012-03-26 05:24 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Bénard 2012-03-23 14:42:33 UTC
in a plain oe-core setup, bitbake already worked in TMPDIR=tmp-eglibc
If I then launch hob, it creates a new TMPDIR=tmp-eglibc-eglibc (note that TCLIBCAPPEND is appended twice) which seems wrong as I would expect it to reuse the previous TMPDIR.

If I remove the old tmp-eglibc dir, then hob creates a new tmp-eglibc dir, so it seems that when it finds an old TMPDIR, hob appends again TCLIBCAPPEND instead of reusing the detected TMPDIR.
Comment 1 Eric Bénard 2012-03-23 15:57:10 UTC
Starting a build without an existing tmp directory clearly shows the bug as tmp-eglibc is created to create pseudo, and then tmp-eglibc-eglibc is created to continue the build.
Comment 2 Dongxiao Xu 2012-03-26 05:24:39 UTC
This issue is addressed by the following commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=64cb3cde276a8aa5c879256c3f19ca05abc58b06