[oe-commits] [openembedded-core] 12/16: staging: Ensure we handle glibc-locale do_stash_locale correctly

git at git.openembedded.org git at git.openembedded.org
Fri Sep 7 16:49:14 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit d8d5b624058920113f9d297f7f711d6d3249ae39
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Sep 7 12:15:52 2018 +0100

    staging: Ensure we handle glibc-locale do_stash_locale correctly
    
    Occasionally we see warnings like:
    
    WARNING: core-image-sato-1.0-r0 do_populate_sdk: Manifest /home/pokybuild/yocto-worker/nightly-qa-extras/build/build/tmp/sstate-control/manifest-allarch-nativesdk-linux-libc-headers.populate_sysroot not found in i686_linux allarch (variant '')?
    
    which occur when do_populate_sdk is run in an otherwise empty TMPDIR.
    
    It occurs because do_stash_locale is not recognised as a setscene task
    and is removed from the taskgraph meaning the dependency chains fed
    through setscene_depvalid don't match what was actually setscene'd.
    
    That task is recipe specific and not in the global SSTATETASKS so we
    hardcode the value for now to stop the build warnings. This is going to
    need to be revisited for a more generic solution.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/staging.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 27b012e..a1e4cf7 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -294,6 +294,8 @@ python extend_recipe_sysroot() {
     start = set([start])
 
     sstatetasks = d.getVar("SSTATETASKS").split()
+    # Add recipe specific tasks referenced by setscene_depvalid()
+    sstatetasks.append("do_stash_locale")
 
     def print_dep_tree(deptree):
         data = ""

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list