Bug 2167

Summary: HOB creates new tmp-eglibc-eglibc TMPDIR
Product: [Build System, Metadata & Runtime] Hob Reporter: Eric Bénard <eric>
Component: hobAssignee: Shane Wang <shane.wang>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: dongxiao.xu, jessica.zhang, jiajun.xu, poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

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