Re: [meta-java][dunfell][PATCH ] cacao-initial-native: exclude BB_NUMBER_THREADS from sstate hash

venkatakoteswararao talluri <venkattalluri5559@...>

Hi All,
Can you please respond on this.

On Thu, Sep 8, 2022, 4:31 PM venkatakoteswararao talluri via <> wrote:

Hi All,

I'm trying to build on QCS610 codebase but I'm getting following error so can you please help me to solve this issue.

Error log:
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'luajit' (but /var/lib/jenkins/workspace/QCS610_OpenQ_Linux_1.x_Internal_/qcs610-le-1-0_ap_standard_oem/apps_proc/poky/meta-qti-bsp/recipes-products/images/ RDEPENDS on or otherwise requires it)
luajit was skipped: incompatible with host aarch64-oe-linux (not in COMPATIBLE_HOST)
NOTE: Runtime target 'luajit' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['luajit']
ERROR: Required build target 'qti-multimedia-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['qti-multimedia-image', 'luajit']

Please find the attached file.

Venkata Talluri

On Wed, Sep 7, 2022 at 10:40 PM Virendra Thakur via <> wrote:
From: Virendra Thakur <virendrak@...>

The sstate-cache for cacao-initial-native is not shareable across
multiple machines because the parallelisation configuration of Bitbake
is being embedded into the sstate hash of cacao-initial-native.

Exclude BB_NUMBER_THREADS from the do_install sstate hashing to avoid
this issue.

Commit message adapted from a5257d41f32812bc9426183cc8d2b6f07617b0d5.

Signed-off-by: Virendra Thakur <virendrak@...>
 recipes-core/cacao/ | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-core/cacao/ b/recipes-core/cacao/
index 8432456..1bf822d 100644
--- a/recipes-core/cacao/
+++ b/recipes-core/cacao/
@@ -40,5 +40,7 @@ do_configure:append() {
   sed -i -e "s|exec cacao \\$|exec cacao-initial \\$|" src/scripts/

+do_compile[vardepsexclude] += "BB_NUMBER_THREADS"
 SRC_URI[md5sum] = "8b8907c8b925761c9410bcadb9705346"
 SRC_URI[sha256sum] = "cb9363add825cedf77764fc49a223aaf43f0a9f485b711ba8c92f16b13fff188"

This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.

Venkata Talluri

Venkata Talluri

Join to automatically receive all group messages.