| Summary: | Exception when executing gdkpixbuf completion hook | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Ross Burton <ross.burton> |
| Component: | core | Assignee: | Ross Burton <ross.burton> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | High | CC: | bluelightning, brian.avery, joshuagloe, meta.mr.watcher, meta.watcher, randy.e.witt, richard.purdie, sjolley.yp.pm |
| Version: | 2.2 | ||
| Target Milestone: | 2.2 M4 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Used to work) |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Ross Burton
2016-10-12 12:03:22 UTC
Managed to replicate locally. These local.conf changes put at the end: ### DISTRO = "poky-lsb" MACHINE = "qemuarm" SSTATE_MIRRORS ?= "\ file://.* http://autobuilder.yoctoproject.org/pub/sstate/PATH;downloadfilename=PATH \n \ " QEMU_USE_KVM="True" INHERIT += "testimage" TEST_SUITES = " ping ssh" Ran: $ rm -rf cache tmp $ bitbake core-image-lsb && bitbake core-image-lsb-sdk && bitbake core-image-lsb core-image-lsb-sdk -c testimage ---- Running from my own locally created sstate did *not* fail Here's the patch in question: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a75bccdd14cec2ce6b74a0e6dc3d557593f6abd2 It seems rather unlikely that the runqueue patch caused this for two reasons: 1) The code being controlled by this does not change anything in the data structures unless it knows it's going to bail out, after which it does exactly that - and we're not seeing it do that. 2) In any case we can be pretty sure that this code wasn't running already as part of a normal build since BB_SETSCENE_ENFORCE isn't set to 1 (apart from when testing installation of the eSDK). Yes that was pointed out to me earlier. Maybe Richards earlier optimisation patch? I believe the easiest way to reproduce this is: rm `find sstate-cache -iname '*gdk-pixbuf-native*' ` && rm tmp -rf && bitbake core-image-lsb The reason the error occurs is the "sstatecompletions" file with commands using gdk-pixbuf-native still gets ran on completion of the scene queue, even though gdk-pixbuf-native wasn't setscened. A good question is where did the gdk-pixbuf-native sstate go. It should have been said to run the command in Comment 4 https://bugzilla.yoctoproject.org/show_bug.cgi?id=10420#c4 after a successful build. I *think* I have a fix now that an misunderstanding of how sstate works has been cleared up. You learn something new every day. Fixed in oe-core 03cdb3366ded46cd760656e4cda0be37c1f82109. |