| Summary: | Enabling build history causes toolchain to be recompiled | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Jonathan Liu <net147> |
| Component: | devtools / tool chain | Assignee: | Paul Eggleton <bluelightning> |
| Status: | VERIFIED FIXED | QA Contact: | Andra Necula <andrax.g.necula> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | alexandru.c.georgescu, andrax.g.necula, bluelightning, laurentiu.palcu, meta.mr.watcher, meta.watcher, srifenbark |
| Version: | 1.6 | ||
| Target Milestone: | 1.6 M4 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | TC needed | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Done (doc changes complete) | |
|
Description
Jonathan Liu
2014-03-01 08:02:20 UTC
The manual says enabling build history will result in packaging tasks being re-run but it does not say that packages will be recompiled. It seems my recent "fix" didn't actually fix the problem for recipes that themselves add to SSTATEPOSTINSTFUNCS (e.g. eglibc-initial) - the value is still changing. The fix here required adding a new "vardepvalueexclude" varflag to BitBake (which does need documenting) and two patches to OE-Core; I have sent all of these out. Fix merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=003d3170edaa9472ee46111caa901ac7ddf9321c http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0f96a831bca57ee2fd1b3aa3face0989716a5848 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=229bcde8e445344bd6906cc8fab0088123ba6add This still happens. I tried the following: 1. MACHINE=qemux86-64 bitbake -c populate_sdk core-image-minimal 2. added the following in local.conf: INHERIT += "buildhistory" BUILDHISTORY_COMMIT = "1" 3. MACHINE=qemux86-64 bitbake -c populate_sdk core-image-minimal At this point, almost everything is getting rebuilt... Hopefully the last fix: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a3f0852b1460188a7f95fb9079e665797fc63f7c I'll be adding a bug to add a QA test for this as well. Hi, The documentation fix for this was to add some varflags to the list in http://www.yoctoproject.org/docs/1.6/user-manual/user-manual.html#variable-flags. In particular, the new flag "vardepvalueexclude". Along with that varflag are some other flags that help with the signature stuff. Paul reviewed these changes and approved them. Scott (In reply to comment #6) > Hopefully the last fix: > > http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/ > ?id=a3f0852b1460188a7f95fb9079e665797fc63f7c > > I'll be adding a bug to add a QA test for this as well. Hi Paul, Can you tell me the bug no? (In reply to comment #9) > The bug to add the test for this is bug 5953. Ok thanks. I see that Corneliu is assigned to it so I am adding him as a QA contact. I also marked 5953 as a "TC needed" into the whiteboard Mihai, you could add also a TC for images, not only TC itself Verified on master commit: 8ac8eca2e3bd8c78e2b31ea974930ed0243258a3 |