Replies: 8 comments
-
Hmmm, meta-sca should be sstate-safe, so you wouldn't require a tmp directory for the build. In the past I used this layer in a way to always include everything unless explicitly excluded, but I get your point. |
Beta Was this translation helpful? Give feedback.
-
I'm pretty sure it does fully support sstate-cache, I will check again. When rerunning a build without removing tmp it takes 2 minutes. |
Beta Was this translation helpful? Give feedback.
-
I have opened a ticket for the whitelist here. Thanks for looking into it! |
Beta Was this translation helpful? Give feedback.
-
@gomme600 it seems you were right, as a few host specific paths slipped into the task hash signatures - although they shouldn't be there - I fixed that with #9492. |
Beta Was this translation helpful? Give feedback.
-
Is that included in the latest dunfell build now ? Edit : Just checked and seen that it is, am trying now ! |
Beta Was this translation helpful? Give feedback.
-
For some reason I am getting this error in my CI environment but not on my local build : Edit : That's the error I was getting here , looks like I need to update my CI environnement. |
Beta Was this translation helpful? Give feedback.
-
I just got this error : ERROR: base-files-3.0.14-r89 do_sca_get_sources: Execution of '/pamela/pcm-imx6quad-10191/tmp/work/pcm_imx6quad-actia-linux-gnueabi/base-files/3.0.14-r89/temp/run.do_sca_get_sources.5406' failed with exit code 1 |
Beta Was this translation helpful? Give feedback.
-
And I got this error on my local build : ERROR: gobject-introspection-1.62.0-r0 do_sca_tracefiles: Error executing a python function in exec_func_python() autogenerated: The stack trace of python calls that resulted in this exception/failure was: ERROR: Logfile of failure stored in: /home/slucas/meta-sca/repo3/build-imx_imx-distro_security_sota_test_xwayland/tmp/work/cortexa9t2hf-neon-actia-linux-gnueabi/gobject-introspection/1.62.0-r0/temp/log.do_sca_tracefiles.215 |
Beta Was this translation helpful? Give feedback.
-
In my CI environment (gitlab-ci), I keep the sstate-cache directory and reuse it for multiple builds. The tmp directory is deleted for each build. This causes meta-sca to rerun everytime (and takes almost 4 hours!).
I can't keep the tmp directory because I am building different projects (with a common base). Is there anything similar to the sstate-cache for meta-sca which could be shared across projects ?
Also, is there some kind of whitelist for layers instead of a blacklist ? I am currently using SCA_SPARE_LAYER and I don't want to inherit sca on each layer individually if possible.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions